27 Discussion / Question Topics

Remove Filter
Member Avatar for Squidge

hi everyone. been a while since i have been on here, alot has changed. I am in the middle of amending/adding features to an installer using python. I have the dropbox API (for business) set up and working, upload and downloading without issue. The potential issue i see is during …

Member Avatar for rproffitt
0
1K
Member Avatar for Squidge

Hi all, its been a while since i have been on DW. I have started tasking MDT deployment. The issue i have is i need to capture a user input, for example a custom serial number. This will then be passed into the registry hive for OEM'ing. I have a …

Member Avatar for Squidge
0
122
Member Avatar for Squidge

Good afternoon all. I have built the below class, and seem to have a problem where nothing is being displayed: <?php include_once '../include/tableStructure.php'; include 'crud.php'; //<- class by pritaeas class navigation { public $dsn; public function __construct() { $this->dsn = new crud($username, $passwd, $tableConfig); } public function nav($table, $live, $loc) …

Member Avatar for Squidge
0
260
Member Avatar for Squidge

Hi all, I seem to have an issue with my CSS. The page setup that has the issue is: <footer> <section 1></section 1> <section 2></section 2> <section 3></section 3> </footer> The sections are set to 33% width and floating left. The containing footer does not seem to expand in height: …

Member Avatar for Squidge
0
179
Member Avatar for Squidge

I have a very simple class for date display: class timing { public $today; public $year; function __construct() { date_default_timezone_set('GMT'); } function now() { return $this->today = date("D j M Y"); } function year() { return $this->year = date("Y"); } } I am pulling in using: $x = new timing(); …

Member Avatar for Squidge
0
115
Member Avatar for Squidge

Hi All, I am using pritaeas found here: http://www.daniweb.com/web-development/php/code/430455/configurable-table-class I am pulling in the data and my brain has taken a vacation. I am using $arr = $dsn->getRecord('memeber', array('user_id' => 2)); But cannot for the life of me pull the data out. I get duplication as well from the data: …

Member Avatar for pritaeas
0
148
Member Avatar for Squidge

Evening all. I am goign through my Image upload script and found it looks messy, would you recommend an cleaner way of doing this: move_uploaded_file($_FILES['file']['tmp_name'], 'photos/' . $_FILES['file']['name']); try { $fileName = $_FILES['file']['name']; $resizeObj = new resize('photos/' . $fileName); // *** Resize options: exact, portrait, landscape, auto, crop $resizeObj->resizeImage(225, 150, …

Member Avatar for Squidge
0
114
Member Avatar for Squidge

Hi All, I am creating an "About Us" portfolio page for a company. On this page will be a small bio and a photo. The bio is not a problem, uploading and storing/calling the image is not a problem, as i already have code i can reuse. The part i …

Member Avatar for Squidge
0
173
Member Avatar for Squidge

Afternoon all. I have noticed recently that i am unable to log in to DaniWeb from Android Mobile. When selecting the "Member Login" the pop out box appears then disappears before i can do anything. Could this be looked at? Or has DaniWeb got a mobile app?

Member Avatar for <M/>
0
201
Member Avatar for Squidge

Hi All, Not sure really where this should go but..... I have recently setup a shared HTDOCS under XAMPP across a dual boot system (Win7 & Ubuntu). Not sure if there is an interest, but if anyone would like to know how to do it, please give me a shout …

Member Avatar for Squidge
0
131
Member Avatar for Squidge

Evening all I am working my way through Zend Framework 1.x, and seem to have an issue. I am trying to set the `doctype()` to HTML5: class Bootstrap extends Zend_Application_Bootstrap_Bootstrap { protected function __initDoctype() { $this->bootstrap('view'); $view = $this->getResources('view'); $view->doctype('HTML5'); } } I have check the documentation and using `doctype('HTML5')` …

Member Avatar for LastMitch
0
489
Member Avatar for Squidge

Strange question i am afraid, i have a friend who is after information on a database called "Profile". Does anyone have any links to this, as I have been unable to find anything

Member Avatar for Squidge
0
148
Member Avatar for Squidge

Hi all. Does anyone have a good autoloader script for namespace classes ? Namespace is identical to the file structure.

Member Avatar for Squidge
0
122
Member Avatar for Squidge

Hi all. I recently set up dual boot Os (7, and Ubuntu 12.10). The namespace call was/is working on the Windows 7 env (same version of XAMPP). I know Linux is case sensitive so i have amended the file/folder calls. Although the file exists, i am getting: `Message: Class classLib\dataBase\database_Connection …

Member Avatar for Squidge
0
197
Member Avatar for Squidge

Hi all, I am putting together a CRUD. I have read through tutorials, and references. Just wanted to see if i was on the right track: <?php // root -> /classLib/CRUD/CRUD spl_autoload_extensions(".php"); spl_autoload_register(); use classLib\database\database_Connection as DB; class CRUD { private $id; #__construct to be extended public function __construct($id=null){ $this->id …

Member Avatar for diafol
0
348
Member Avatar for Squidge

Evening all. I am using nivoSlider, and have come across an issue with ow i'd like it to work. Here is a sample of the slider: http://gavdev.roundthebend.info/index2.html This is what i would like it to do: http://www.directenergypurchasing.com/ This is the HTML: <link rel="stylesheet" href="nivo-slider/nivo-slider.css" type="text/css" media="screen" /> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> <script …

Member Avatar for AleMonteiro
0
180
Member Avatar for Squidge

Evening All, I am looking to start a class that dynamically creates a sitemap.xml on command and if possible auto uploads to google. The only thing is all the scripts i have come across by searching google tend to be using static pages. My links are dynamic and are also …

Member Avatar for Squidge
0
590
Member Avatar for Squidge

hi all, I have a scrap working but it also brings the restred trade mark. I have permission from the company to do this. How do i strip these out? // get simple_html_dom from http://simplehtmldom.sourceforge.net/ include_once('simple_html_dom.php'); // @todo change $url for form input $url = ""; $html = file_get_html($url); // …

Member Avatar for Squidge
0
364
Member Avatar for Squidge

Hi all, I am in need of assistance. I am trying to configure PEAR with XAMPP 1.8.0 on Win 7 64Bit. I download the go-pear.phar (http://pear.php.net/manual/en/installation.getting.php) and ran the instructions. Updated my env path. All looked ok. Tried to run `pear help` and i get nothing, no error, not a …

Member Avatar for Squidge
0
409
Member Avatar for Squidge

Ok, following from my previous thread (now resolved) i want to convert and use namespace. **headScript.php**: <?php class headScript { public function connection() { try { $dbh = new PDO("mysql:host=localhost;dbname=roundth4_rtb2", 'root', ''); // Dev return $dbh; } catch(PDOException $e) { echo "Error :- " . $e->getMessage(); die(); } } public …

Member Avatar for Squidge
0
188
Member Avatar for Squidge

Hi all, Hoping you can assist. I am probably starring at the darn thing but i cannot see the wood through the trees :) class headScript { public function connection() { try { $dbh = new PDO("mysql:host=localhost;dbname=xxx", 'xxx', 'xxx'); // Dev return $dbh; } catch(PDOException $e) { echo "Error :- …

Member Avatar for Squidge
0
149
Member Avatar for Squidge

Hey Mods. I have changed my avatar 2~3 days ago. But my old one is still posting when i do things. Why?

Member Avatar for Squidge
0
61
Member Avatar for Squidge

Hi all, I am working on a generic form validation class. However I have hit a stubling block. Form fields will never be the same from user to user. Is there a work around for this? Would it be easier to use numerical values for field names and use multiple …

Member Avatar for Squidge
0
203
Member Avatar for Squidge

WTF, i got a PM today. Please block how ever this bell end is: > Hello my name is queen how are you doing ,i hope fine i saw your profile today and became interested in you, it will be my humble pleasure to know you the more, and i …

Member Avatar for happygeek
0
134
Member Avatar for Squidge

I have been looking over current frameworks available and I am looking to settle on CodeIgnitor. What framework and IDE do you use? What are the plus sides, limitations of your choice?

Member Avatar for Squidge
2
141
Member Avatar for Squidge

Hi all, Does anyone have a good rss class? i am looking to use one where i have a list of feeds in a database and you can select which feed to display via CMS

Member Avatar for siteky
0
110
Member Avatar for Squidge

Hello evryone. I am new to PHP and MySQL. I have created an admin area for where selected people can add, delete, and edit data from a database. I have managed to get the add, and delete to work, but I am stuck with the editing. Can you help? [CODE]<!DOCTYPE …

Member Avatar for diafol
0
146