PHP Server configurations problem...!(?)

Hi, everyone.
I would like to post a problem I encountered. If anyone can help me out, I'd appreciate that.

So it's like this: I'm a newly web designer/programmer and I installed IIS, PHP and MySQL on my laptop so I could test the new sites as I would create them.
The probelm is that when I'm going to test them the PHP server I installed works only part of it.

An example that works
================
(file index.php)
<?php
echo("Hello");
?>


An example that doesn't work
=====================
(file index.html)
<a href="result.php?name=Mike">If you're Mike, click here to enter.</a>

(file result.php)
<?php
echo ("Hello " . $name . ".");
?>


In this final example the variable $name is NULL inside the file result.php, therefor that result shown on screen is "Hello ." instead of "Hello Mike."

I already tested a previously made webpage with php that worked, but in my laptop is doesn't. I suspect that problem is some missing configuration or something like it.
Can anyone please help me out with this? PHP Server configurations problem...!(?)

Thanks to all...

*** St. Michael ***

 

 

 

 

Top