PHP.ini directive override

From: Date: Tue, 21 Jan 2003 23:16:10 +0000
Subject: PHP.ini directive override
Groups: php.windows 
Request: Send a blank email to php-windows+get-18019@lists.php.net to get a copy of this message
Question about overriding some PHP.ini parameters. Since the security folks will not allow direct FTP from a user to an external system I put up a PHP page that will allow a user to authenticate and select from a list the external system they would like to connect to. Got the idea from a PHP project called 'WebFTP'. This will allow the users to download their file. Problem come in 2 of the PHP.ini directives. One is the script execution timeout and the other is the definition of the upload_tmp_dir. Can either or both of these be overridden for this script? I have other scripts on this server so I don't want to change the global script execution timeout higher than 30 seconds. But for this FTP page I want it to be something like 90 seconds. Basically the FTP page needs to retrieve the file from the remote server and store it onto a local temp folders then initiate the POST back to the user's browser that will cause the save as popup box. This download from the remote site seems to timeout a lot. Any help or ideas? __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com

« previous php.windows (#18019) next »