[PHP] problem with system()

2001-09-14 Thread Arash Dejkam
Hi, I'm trying to unzip a file and save the unzipped data in a variable in PHP using : $result = system ( gzip -d -c myfile.gz ); /* 'gzip -d -c' unzips the file to 'stdout' */ the above command outputs the result directly to browser instead of putting it in $result. I tried exec() too but

[PHP] preg_replace_callback()

2001-09-08 Thread Arash Dejkam
Hi, What is a callback in preg_replace_callback(...) ? how can I use it ? can anybody give me an example ? Thanks, Arash -- 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

[PHP] Re: when to delete a temporary file ?

2001-07-07 Thread Arash Dejkam
Lasse [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Arash Dejkam [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I've created a site where users can upload photos and specify which other users are

[PHP] when to delete a temporary file ?

2001-07-06 Thread Arash Dejkam
the confirm button, but what if the user close his/her browser before clicking the confirm button ? the file remains there for ever !! what's your suggestion ? Thanks Arash Dejkam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: [PHP] protected Images without using htaccess

2001-06-23 Thread Arash Dejkam
Hi, and the shorthand for this : ?php $img=ImageCreateFromJPEG($filename); ImageJPEG($img); ? Thanks Arash Dejkam Fredrik Arild Takle [EMAIL PROTECTED] wrote in message 9gvl19$er6$[EMAIL PROTECTED]">news:9gvl19$er6$[EMAIL PROTECTED]... 1. Authenticate user 2. Put the pictures in

[PHP] PHP authenticating and session management

2001-06-22 Thread Arash Dejkam
really confused ! Thanks Arash Dejkam -- 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] Re: PHP authenticating and session management

2001-06-22 Thread Arash Dejkam
request a php page, PHP will see if a specific Session ID has been sent with the request. If this is the case, the prior saved environment is recreated. -Stephen Yau Arash Dejkam writes: Hi, I want to use PHP session manager but I have some problems, I want the session start in

[PHP] protected Images without using htaccess

2001-06-22 Thread Arash Dejkam
? Thanks Arash Dejkam -- 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]