Search found 5 matches

by bogdani
Thu Jan 15, 2004 12:12 pm
Forum: PHP - Code
Topic: errno=2
Replies: 9
Views: 745

the problem was from register globals which was off,... now I upload the image using $_FILES and it's okay. but when I'm trying to display it, it just give me "Array" instead of content of the image,.. do you know what code should I use ? I use: <?php if($id) { mysql_select_db($database_ft...
by bogdani
Thu Jan 15, 2004 9:12 am
Forum: PHP - Code
Topic: errno=2
Replies: 9
Views: 745

I am using POST to submit data,..

twigletmac -> I remind you that the script is 100% okay on other 2 servers, but on this FreeBSD hosted server it gives me this error,..

Thanks
by bogdani
Wed Jan 14, 2004 10:42 pm
Forum: PHP - Code
Topic: errno=2
Replies: 9
Views: 745

I'ts very weird. It seems to have something to do with that hosting provider ? Some settings to database / server ?
by bogdani
Wed Jan 14, 2004 10:38 pm
Forum: PHP - Code
Topic: errno=2
Replies: 9
Views: 745

Line 4: $data2 = addslashes(fread(fopen($form_data2, "r"), filesize($form_data2)));

It is a form that uploads an image into database...
by bogdani
Wed Jan 14, 2004 10:02 pm
Forum: PHP - Code
Topic: errno=2
Replies: 9
Views: 745

errno=2

Hello everybody, Can you help me with this? From where is generated this error (having in mind that the code is okay and it worked nicely on my localhost server and on another remote server). :roll: Warning: filesize() [function.filesize]: Stat failed for (errno=2 - No such file or directory) in /us...