I recently installed the XAMPP 1.5.4 on my laptop to learn PHP and MySQL programming.
What I have been following is this book, and in the second chapter, a use of Post/Get method with php is introduced.
The codes are very simple. In the first page called whatsName.html, users can type a name and press the submit. And the name is desplayed in the next page, hiUser.php.
But this does not work on my computer. In the url, the submitted value is certainly desplayed such as hiUser.php?userName=test. However, the name does not get displayed in that page. Other elements are properly displayed but it's just missing the value sent from the previous page.
The book has a CD and I tried the files in the CD for that instrution. With no luck, I got the exactly the same result as I had tried by myself. So I have the correct codes but does not work.
I guess there must be something wrong with the server, maybe the php? I don't know. The PHP Version is 5.1.6. Did I have to turn on some extensions in order to accept the Post/Get method?
Any informaion would be greatly appreciated.