Author |
Message |
29/04/2002 01:52:28
|
sven
Newbie
Joined: 19/04/2002 14:49:20
Messages: 4
Offline
|
When visitor's don't submit a picture, the following error appears:
Warning: getimagesize: Unable to open '' for reading. in c:\program files\apache group\apache\htdocs\guestbook2\lib\add.class.php on line 108
Guestbook - Error
Wrong image file type
What can I do to correct this??
|
|
29/04/2002 11:47:20
|
Anonymous
|
I have the exact same problem!
Does it have something to do with the PHP upload_tmp_dir ? I don't have it set to the same as the guestbook tmp-directory...
Otherwise the guestbook looks really nice, and if you specify a picture it works beautifully!
I have Apache 2.0.35 and php 4.2.0 (module)...
Thankful for all help I can get!
|
|
29/04/2002 13:27:35
|
sven
Newbie
Joined: 19/04/2002 14:49:20
Messages: 4
Offline
|
Agree with you - it looks fine when you specify a picture. Make sure you let me know if you figure it out, and I'll do the same with you.
By the way, could you PLEASE tell me how you got PHP to work with Apache 2.0.35 ?? (a bit detailed explanation would be appreciated)
Thanks
Sven
|
|
29/04/2002 14:17:41
|
Anonymous
|
put a '@' before the function to suppressed the error message
@getimagesize
|
|
29/04/2002 19:27:47
|
sven
Newbie
Joined: 19/04/2002 14:49:20
Messages: 4
Offline
|
that doesn't help any!
|
|
|