
fingers
Members-
Content Count
11 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout fingers
-
Rank
Newbie
-
I thought I'd take 5 minutes to share this thinking that if it saves 1 person the 6 hours that it took me to find this solution then it's been worth my 5 minutes! I use windows 7 / xampp / php 5.5.11 and my computer and pear are not friends. Pear rarely installs anything correctly. When I ran 'pear install HTML_QuickForm2' from the cmd tool it just gave me a QuickForm2 folder which contained a bunch of other empty folders. Here's how I fixed it 1. I deleted this folder and downloaded the HTML_QuickForm2-2.0.2.tgz from the pear website. 2. I extracted this using 7zip. This gave the
-
Hi Larry Whilst debugging an error in script 9.9 - page.php I inadvertantly discovered that array('min_range' =>1) doesn't seem to do anything in this line: !filter_var($_GET['id'], FILTER_VALIDATE_INT, array('min_range' => 1))) After fixing my problem I played around with this, changing it to == 2, < 0, => 5 etc. and omitting it altogether, yet the script still worked. Have I missed something? Thanks Gary
-
I can't find phpDocumentor.ini anywhere. I've searched xampp/php/pear which is where I think it should be. Where is it usually placed? I'm using: Windows NT HOME 6.1 build 7601 (Windows 7 Home Premium Edition Service Pack 1) i586 Apache/2.4.9 (Win32) OpenSSL/1.0.1g PHP/5.5.11 I'm guessing that it's not there for some reason. I've seen some online but they all have differences. Thanks Gary
-
I'm having trouble getting php documentor to work and keep getting the message: cannot open phpDocumentor.ini in directory C:/xampp/php/pear -Is phpdoc in either the path or include_path in your php.ini file? Is there any way that I can fix this without spending 2 days trying to figure out what I'm being asked? Thanks, Gary
-
Yo Larry For some reason my script only works when I quote the integer i.e '%d' $q = sprintf("INSERT INTO tasks (parent_id, task) VALUES ('%d', '%s')", $parent_id, mysqli_real_escape_string($dbc, strip_tags($_POST['task']))); If I don't do this the task does not get added. Any ideas? PHPStorm hinted that I should do this. I'm using - Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.5.15 Thanks for the great work Gary
-
Charset
fingers replied to fingers's topic in PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (4th Edition)
Thank you