![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| PHP PHP for some can be one of the hardest website programming codes, so do you need help on your PHP script, if it is php4, php5 or lower this is the place for you for any PHP help. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| dundonald <usenet@domain.sickofspam> thoughtfully wrote: >Andy Hassall <andy@andyh.co.uk> thoughtfully wrote: > >>On Sat, 12 Jul 2003 19:35:29 +0000 (UTC), dundonald <usenet@domain.sickofspam> >>wrote: >> >>>I've installed apache, PHP and MySQL on a local machine. Everything seems >>>to be working ok apart from any form variables are not being declared >>>automatically. For example, a check for the $submit variable after a form >>>submit like the code below doesn't work, ie the form is always displayed. Is >>>there a setting/configuration that I need to make in php.ini or some other >>>file? >> >> What makes you think they should be? See the manual; by default global >>variables are not set for form variables, as of PHP 4.2.0, released over a year >>ago. >> >>http://www.php.net/manual/en/languag...predefined.php > >Thanks. Have been out of the scene for a while so wasn't aware of the new >version. However I am setting register_globals=On and it still isn't >working. I am running PHP 4.3.2. The only thing I can think of is my >php.ini file isn't being picked up? Checking phpinfo the "Configuration File >(php.ini) Path" field states "no value". Any ideas? Ok problem solved. php.ini was in my windows\system dir instead of windows dir. -- thedundons co uk | |||
|
| Featured Websites | ||||
|
![]() |
| Tags: automatic, declaration, form, variables |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Killing variables | Barton | PHP | 0 | 07-01-2007 3:31 PM |
| problem reading form variables in PHP | AndyR | PHP | 1 | 07-01-2007 3:29 PM |
| php dropping variables | Dan | PHP | 3 | 07-01-2007 3:17 PM |
| Druidism, Normism & Declaration of Heaven on Earth903 | Juliette Powel | Ebay Technical Questions | 1 | 05-31-2007 1:17 PM |
| Baha'i, Normism & Declaration of Heaven on Earth1067 | Julia Anderson | Operating Systems And Software | 0 | 05-29-2007 12:51 AM |
| Featured Websites | ||||
|