$_SERVER['HTTP_HOST'] and $_SERVER['SERVER_NAME']are different in my
circumstance,I found that the $_SERVER['SERVER_NAME']is the same with the
ServerName value you set in httpd.conf.
who can tell me what's the pattern string mean.
if(ereg([\\][n],$username))
{
/*Do err*/
}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there any useful implement to debug the php scripts,just like Visual
studio.Now I'm using echo to debug the scripts,it disgusts me:(
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I installed apache1.3.12 as the web server and php5 beta version,I write a
test.html and test.php like this:
//test.htm
form action=test.php method=post
Name:input type=text name=namebr
input type=image src=image.gif name=sub
/form
//test.php
?php
echo Hello!.$name ;
?
the same source works
4 matches
Mail list logo