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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to