Some details of my HOME PC. I am running the following ....
Win2000 SP4; IE V6; 512MB RAM; H/Disk Space OK.
In the past couple of weeks I have installed/configured from binaries for ..
MySQL V4.1.5 [mysql-4.1.5-gamma-essential-win.msi]
Apache V2.0.50 [apache_2.0.50-win32-x86-no_ssl.msi]
PHP V5.0.2 [php-5.0.2-win32.zip]
PHPMYADMIN V2.6.0 [phpmyadmin-2.6.0-pl2.zip]
OBJECTIVE: To use my HOME PC to run a local APACHE web server on which to
develop websites that make use of PHP scripts and MySQL databases. My PC
will NOT be used as a service machine.
PROBLEM: I cannot get data from my FORMS to appear in my browser window.
i.e. I just get an HTML Heading from the PHP script and no Data or
associated Text from the Form via the ECHO command.
COMMENTS: The standard phpinfo.php test works fine. PHP date functions work
OK. I can also use the ECHO command to print the content of concatenated
variables containing strings OK.
I think the main problem is with actual DATA from a Form via Globals or
Superglobals not working.
I've tried different means of obtaining the Form data, both the old
$HTTP_POST_VARS and also the newer and preferred $_POST[...]. Associated
with this I have also tried changing the REGISTER_GLOBALS and
REGISTER_LONG_ARRAYS directive settings of the PHP.INI config file, all to
no avail. Note also that I have been restarting APACHE after each change to
PHP.INI to make sure any change is implemented.
I'm not clear on this latter point as I would have thought that Restarting
APACHE was only necessary after alterations to its own config file,
HTTPD.CONF?
I think that I may have a configuration problem with either or both PHP and
APACHE. Maybe they are not working correctly together?
Can anyone offer any help? FAQ's I've seen essentially cover the points
listed above.