[PHP] regular expression

2001-01-14 Thread Fai
^.+@.+\\..+$ This regular expression can check if the email address is valid. But it cannot validate the email address with two "@", does anybody know how to enhance this regular expression to be able to validate the email address with two "@". -- PHP General Mailing List (http://www.php.net/

[PHP] cookie problem

2001-01-18 Thread Fai
I'm working with php3 and IIS, i had set cookie with: name, $session->cookie, $session->timeid+3600, "/"); ?> but these cokkie work right only on localhost and not on the others computer of the LAN, the options setting of internet: enable Cookie, where is the problem? Thank You! -- PHP General

[PHP] cookie does not work

2001-01-18 Thread Fai
I'm working with php3 and IIS, i had set cookie with: name, $session->cookie, $session->timeid+3600, but these cookie work right only on localhost and not on the others computer of the LAN, the options setting of internet: enable Cookie, can anybody tell me why? Thank You! -- PHP General Ma

[PHP] mysql question?

2001-01-22 Thread Fai
mysql use myisamchk and myisamchk --recover to check and repair the table. However, does anybody know how myisamchk indicates that whether the table is damaged or whether the the repair is successful when running myisamchk or myisamchk --recover command? -- PHP General Mailing List (http://ww

[PHP] using php generate html file?

2001-03-06 Thread Fai
Does any body know how to use php to generate html file? That is when a user input for a webpage title, webpage background color or image in a php page, and then we can generate a html file which contains the properties of user's input such as background color. -- PHP General Mailing List (htt

[PHP] reloading a webpage?

2001-03-10 Thread Fai
Does any body know how to ensure the web page will clear the previous history (cache) and reload the new data when the same webpage re-displays to browser? That is the current webpage content is based on previous webpage input, and when we press "back" button to re-enter previous webpage input th

[PHP] image counter?

2001-03-14 Thread Fai
We always use 0-9 images to generate the image counter but this image counter contains more than one image. Does any body know how to combine these images as one? That is the final output of image counter is one image. Thank you very much! -- PHP General Mailing List (http://www.php.net/) To

[PHP] need help

2001-05-16 Thread Fai
Can anybody tell me what does the following mean? $path=substr(__FILE__, 0, strlen(__FILE__) - strlen(basename(__FILE__)) - 1); Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact th

Re: [PHP] Variable Passing

2001-05-22 Thread Fai
Set register_globals = On. But actually, you can use $HTTP_*_VARS[] to get the values from the form. * represent: GET, POST or COOKIE > > Please could anyone tell me which part of the ini file I need to modify to > allow me to pass variables from one form to another. > > Regards > Internaut > > >

[PHP] pdf question?

2001-03-30 Thread Fai
Does any body has some code samples on how to use PHP to generate PDF document? also any examples on how to use PHP to convert the text of Chinese Traditional Big5 into Chinese Simplified GB? Thank You very much! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAI

[PHP] need help on system()

2001-07-11 Thread Fai
I run the php script as following: php < test.php - I can get the output in the browser: http://localhost/test.php - I cannot see any output However, I can both get the output in the console and browser. Does anybody know the reasons? Thank you very much! -- PHP General Mailing List (http