- Code: Select all
test.html
=========
<a href="welcome.php?name=Andy"> Hi, I'm Andy! </a>
welcome.php
===========
<?php
echo( "Welcome to our Web site, $name!" );
?>
output
======
"Welcome to our Web site, !"
I've even tried $HTTP_POST_VARS & $_POST and place this into the variable $name & then echo. This only produces the same result. I'm aware that this is very similar to a previous post however it was not fully resolved and I'm wondering if someone could shine a light onto the situation.
Could something be wrong in my PHP setup. I've done the basic setup to get it running with only reccomended editing of PHP.ini & httpd.conf (lines added to follow).
- Code: Select all
LoadModule php4_module c:/php/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
Thanks,
Andy Yates


