Re: Upload files problems

From: Date: Fri, 26 May 2006 18:39:07 +0000
Subject: Re: Upload files problems
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-236986@lists.php.net to get a copy of this message
My host uses safe mode... What other thing can I do? Some other method exists to send files besides POST method? Thank you, Tom. "Ryan Creaser" <rjcreaser@internode.on.net> escribió en el mensaje news:4474ED4D.7040307@internode.on.net... > Ing. Tomás Liendo wrote: > >>Hi! >>When the users of my system try to go up files of more than 460 K, they >>receive the message: >>Fatal error: Maximum execution time of 90 seconds exceeded in >>c:\websites\iracbiogenar48\iracbiogen.com.ar\virtual\procesa_msjpriv.php >>on line 2 >> >>I'm using the following method to up load the files: >> >>if($archivo_name<>"") >>{ >> $dpath="./archivos_recibidos/".$archivo_name; >> if(move_uploaded_file($archivo, $dpath)) >> {//Se realiza la transmision del archivo al servidor. >> echo "<font size=2 face=Arial, Helvetica, sans-serif>El >> archivo ".$archivo_name.". ha sido transferido >> exitosamente.</font></div></td>"; >>} >>else >>{ >> echo "<font size=2 face=Arial, Helvetica, >> sans-serif>ADVERTENCIA: El arcvhio ".$archivo_name.". no ha podido >> enviarse.</font></div></td>"; >>} >> >> >>Do I have control on these 90 seconds? or is a parameter of the server? >>What can I do to solve this problem? >> >>Ahead of time thank you very much, >> >>Tom. >> >> > See http://php.net/set_time_limit, although it might not work > if your host > uses safe mode. > > - Ryan

« previous php.general (#236986) next »