Madman00 Posted February 4, 2005 Posted February 4, 2005 Anyone can tell me what might be causing the following error. Warning: Unexpected character in input: '' (ASCII=6) state=1 in /usr/local/dh/cgi-system/php.cgi on line 124 Warning: Unexpected character in input: '' (ASCII=8) state=1 in /usr/local/dh/cgi-system/php.cgi on line 124 Parse error: parse error, unexpected '/' in /usr/local/dh/cgi-system/php.cgi on line 124 A file on our side contains the following: <form method="post" action="<?=$_SERVER['SCRIPT_NAME']?>"> I was adviced to change it to <form method="post" action="<?=$_SERVER['PHP_SELF']?>"> This is not fixing the problem. Anyone can tell me the difference between the 2. Is it somethign from my side that i can do and fix or is it the webhoster. Any comments on this topic is greatly appriciated.
Guest Posted February 4, 2005 Posted February 4, 2005 do you have a URL? PHP_SELF is a PHP variable that refers to the name of the .php file that is currently running. IOW, inside of testme.php, PHP_SELF = testme.php. -jared
Recommended Posts
Archived
This topic is now archived and is closed to further replies.