Universal Videogame List - www.uvlist.net

Pointless verbosity

posted in bugs

threads list     
by Sanguine
# 6 months and 17 days ago
Warning: fsockopen(): unable to connect to www.esrb.org:80 in /home/www/vhosts/uvlist.net/httpdocs/Snoopy.class.php on line 1149

If you're handling the errors, I think PHP hides the error report of functions whose name starts with @, so instead of fsockopen() you use @fsockopen(). It could've been some other character though as it has been a long time since I last worked with PHP (over 4 years now, I think).

Also, in unrelated note. I'd recommend changing all PHP files not intended to be executed by themselves to .inc or something and creating a server rule to forbid access to them. Although this can be accomplished with regular file permissions usually, it never hurts to make certain of it. And it helps recognize "modules" from actual runnable scripts without knowing what the thing does beforehand :)
by andread
# 6 months and 15 days ago
The @ character is correct, but in that case, being a "plug in" class, I hoped I didn't need to fix it.
Now fixed :-)

Most included files do nothing when called directly, as they need additional parameters to work, specially the ones doing DB updates.
Moreover, most procedures executes only when the user is correctly logged, so random users should be harmless, at least.
threads list     
Welcome new user!

You can create a free account to vote, review, tag games, add images, view galleries and more.
login:
password:
Forum search
forum threads

BIGGER TEXT
Select your language





DISCLAIMER: All image galleries, logos and names are property of the respective authors - This site doesn't make use nor permits the download of copyrighted material such as ISO, game roms, software, music, movies or similar. The site is primarily based on reviews, screenshots and various game details. - Please contact me if you believe your work has been used in a way that may constitute copyright infringement.