If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Warning Message if there is no image uploaded (Adv-Guestbook  XML
Forum Index » Support Forum
Author Message
Anonymous



Hi,

I dont know if this is a bug or a malconfiguration of my php.

Programm: Advanced Guestbook
Version: 2.3.1 (Many Thanx at this point to the author for this great tool)

If the image which ist entered at the Image Filename Box does not exists, there comes a message:

Warning: getimagesize(): Read error! in /home/homepage/public_html/book/lib/add.class.php on line 129

After this Error the normal Error Page Text appears.

How can I disable the warning message ? The user should only get the error page message?

The above warning message is a security risc because the user gets the full unix path to the guestbook.

Thanx, Andy.
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Having the directory layout of a server is not a security risk, they still need to access the server to do anything. And if they access the server they will have full access to all directories.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

As to solve the problem, you might of got a files permissions wrong or missed it.

If its not a permission thing, it needs better error handling.

Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

It's not a security risk as I said. You could turn off ALL PHP error messages if you're that concerned.

As to stopping this message I could look into it if I can get off Halo 2 long enough.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum