[PHP] ereg problem?

2003-07-24 Thread chenqi1
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

答复: [PHP] Difference between equal $_SERVERvariables?

2003-07-24 Thread chenqi1
$_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.

[PHP] How to debug the php scripts?

2003-07-23 Thread chenqi1
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

[PHP] Help?

2003-07-21 Thread chenqi1
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 Name: //test.php the same source works well with php4 and apache 1.3.27 but it doesn't work well in my new enviroment, until I modified test.php like this //new test.php wh