[PHP] need help on system()

2001-07-11 Thread Fai

I run the php script as following:
?php
//test.php
system(/usr/bin/sudo /usr/bin/quota -v test)
?
php  test.php - I can get the output
in the browser: http://localhost/test.php - I cannot see any output

However,
?php
system(finger);
?
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://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




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 General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[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 the list administrators, e-mail: [EMAIL PROTECTED]




[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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[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 (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[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://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[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 Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]