Re: Upload files problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx> escribió en el mensaje 
news:4474ED4D.7040307@xxxxxxxxxxxxxxxxxxx
> 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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux