Because it isn't? Instead of echoing $PHP_SELF, echo $_SERVER['PHP_SELF']. With the $_POST problem, it's complaining that you're using a variable that isn't defined. Use?
<?php
if(array_key_exists('formfieldnamegoeshere',$_POST)){
print $_POST['formfieldnamegoeshere'];
}
?>
Chris Jackson wrote:
Im an experianced ASP developer and im getting frustrated with PHP. why is
it so dificult
to do the simplest things in php?
thanks
-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php