ID: 8525
Updated by: sniper
Old-Status: Feedback
Status: Closed
Bug Type: Filesystem function related
Assigned To: 

No feedback.

Previous Comments:

[2001-01-04 05:08:53] [EMAIL PROTECTED]
Do you use PHP as CGI or module? IIRC you can't use stripslashes($bild) in the module 
version on Win32.
Instead you have to access directly to $bild.



[2001-01-02 15:18:04] [EMAIL PROTECTED]
I have problems with fileupload with the new version (4.04).
With the old version ( 3.x) all worked fine.

Look at this:
$smallpic = stripslashes($bild);
                  if ((file_Exists($smallpic)) AND (!($smallpic=="")))
                   $fp = fopen($smallpic,  "r");
                   $datei = fread($fp, filesize($smallpic));
                   $smallname = $id."bild.jpg";
                   $fp = fopen("$bildpfad$smallname", "w+");
                   fwrite($fp, "$datei");
                  } else $smallname="";

Normally, in $smallname should be the correct filename
from the uploaded pic - but it's empty. It's empty, 
because the file does not exists.
In $smallname I have something like
"c:tempphp9005.TMP"    - but I think this is incorrect.

Well - with the old version (3.x) it worked fine.



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to