PHP Classes

file upload error

Recommend this page to a friend!

      PHP HTTP protocol client  >  All threads  >  file upload error  >  (Un) Subscribe thread alerts  
Subject:file upload error
Summary:Cannot break/continue error
Messages:3
Author:Joetw
Date:2005-12-16 05:22:57
Update:2005-12-16 17:30:48
 

  1. file upload error   Reply   Report abuse  
Picture of Joetw Joetw - 2005-12-16 05:22:57
I got these message:

<b>Fatal error</b>: Cannot break/continue 1 level in <b>/home/geoyue/public_html/http.php</b> on line <b>1068</b><br />

Any suggestion for me?

  2. Re: file upload error   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2005-12-16 12:33:26 - In reply to message 1 from Joetw
That is a bug. I will upload a fixed version soon. For now replace the lines that say:

if(!($success=$this->PutLine("--".$boundary."--")))
break;

By:

if($success)
$success=$this->PutLine("--".$boundary."--");

  3. Re: file upload error   Reply   Report abuse  
Picture of Joetw Joetw - 2005-12-16 17:30:48 - In reply to message 2 from Manuel Lemos
Thx for ur help