need some help with PHP tutorial

Status
Not open for further replies.
ok i been following the PHP tutorial here on devshed

http://www.devshed.com/Server_Side/PHP/PHP101/PHP101_2/page2.html

I create the html (test.html) file in the first part and the login.php in the second part. Now when i got to test.html and put my name in and hit submit..it will go to login.php and not echo back the name. i tried using .php3, .php instead of .php4 extension and that doesnt seem to work either..i am stumped. I tried looking in the comments section of the article and someone mentioned having the same problem. But they changed the extension and it worked for them after that.

I'm running apache 1.3 with the latest stable release of PHP on a slackware 8 box.
 

Smee

Ars Tribunus Militum
1,792
I had a similar problem with php/apache not being configured correctly (on a windows box.
A good way to test it is create a .php file that simply echos a word to the sreen:

<?php echo "helo world"; ?>

If that doesn't work, your box is not configured correctly. Once I realised that, I reread the configuration manual and went through it again, found my mistake, fixed it and tried again and it worked.

Smee
 
Status
Not open for further replies.