By the way, you're also missing quotes in your $_REQUEST statement...you have $_REQUEST[userid]...this should be $_REQUEST["userid"]...I copied yours and realized afterwards that it had no quotes...if you use my sql statement, you will also need to add quotes.
Over the weekend I installed a new System running Windows XP, Apache 2.2.2, PHP 5.2.3 and out the the box I am getting the same problem. I cannot use relative paths and include_path=.;C:\PHP5\pear is being set outside of C:\Windows\php.ini...On another box, I have Fedora 4, PHP 4, Apache 2.0.58...
Hey guys, thanks for your response.
phpinfo() shows the location of my php.ini as /etc/php.ini...After some searching, I found the following files /usr/share/pear/pearcmd.php and /usr/share/pear/peclcmd.php that both has a ini_set('include_path', '/usr/share/pear'); in them...I've commented out...
I am running Fedore Core 6 and recently I upgraded PHP and Pear. Before the upgrade, include_path was not used and most of my scripts used relative paths. After the upgrade, I am getting 'file not found' errors in my error_log and blank pages on my sites for all my scripts that have...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.