RE: [PHP] problem with fsockopen ............

2003-08-18 Thread cyz
If you want to block the http headers sent back by the web server,use fopen() instead. > -Original Message- > From: fongming [mailto:[EMAIL PROTECTED] > Sent: Monday, August 18, 2003 11:29 PM > To: [EMAIL PROTECTED] > Subject: [PHP] problem with fsockopen > > > Hi,Sir: > >

RE: [PHP] Problem occurs when included file includes anther file.

2003-08-14 Thread cyz
Thank you for your reply first. Yes I know I could set include_path either in the php.ini or at runtime.But it's a little bit dirty I think.What I am confused about is the fact that require("./inc.php") can not work while require("inc.php"); works correctly. How does php determine the includ

RE: [PHP] Problem occurs when included file includes anther file.

2003-08-08 Thread cyz
Well,if so,why works? I didn't change the default include_path.Sure that '/inc' isn't in the include_path.But it just works. You see,the include_path ".:/usr/local/lib/php" refers to the current dirctory where the file locates and the PEAR directory.The focus is what this current directory "." re