Zelaron Gaming Forum  
Stats Arcade Portal Forum FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read
Go Back   Zelaron Gaming Forum > The Zelaron Nexus > Forum News, Suggestions and Discussion

 
 
Thread Tools Display Modes

 
Reply
Posted 2004-12-07, 10:26 AM in reply to Demosthenes's post starting "Just a couple of other things you might..."
It shouldn't save pictures twice if you click only once. If you click twice, that might be another story. Since all images are in the root directory (easy to remember), I wrote a script that increments the file name with a number in order to prevent overwriting.
"Stephen Wolfram is the creator of Mathematica and is widely regarded as the most important innovator in scientific and technical computing today." - Stephen Wolfram
Old
Profile PM WWW Search
Chruser never puts off to tomorrow what can be done the day after tomorrowChruser never puts off to tomorrow what can be done the day after tomorrowChruser never puts off to tomorrow what can be done the day after tomorrowChruser never puts off to tomorrow what can be done the day after tomorrowChruser never puts off to tomorrow what can be done the day after tomorrow
 
 
Chruser
 



 
Reply
Posted 2004-12-07, 02:00 PM in reply to Chruser's post starting "It shouldn't save pictures twice if you..."
It let me upload a text file renamed as a jpg - http://www.picaroni.com/text_renamed_as_jpg.jpg

..Although, it DID change the text into this:

Quote:
<br />
<b>Warning</b>: imagecreatefromstring(): Data is not in a recognized format. in <b>/home/zelaron/domains/picaroni.com/public_html/showfull.php</b> on line <b>47</b><br />
<br />
<b>Warning</b>: imagesx(): supplied argument is not a valid Image resource in <b>/home/zelaron/domains/picaroni.com/public_html/showfull.php</b> on line <b>48</b><br />
<br />
<b>Warning</b>: imagesy(): supplied argument is not a valid Image resource in <b>/home/zelaron/domains/picaroni.com/public_html/showfull.php</b> on line <b>49</b><br />
<br />
<b>Warning</b>: imagecreatetruecolor(): Invalid image dimensions in <b>/home/zelaron/domains/picaroni.com/public_html/showfull.php</b> on line <b>50</b><br />
<br />
<b>Warning</b>: imagecopyresampled(): supplied argument is not a valid Image resource in <b>/home/zelaron/domains/picaroni.com/public_html/showfull.php</b> on line <b>51</b><br />
<br />
<b>Warning</b>: imagejpeg(): supplied argument is not a valid Image resource in <b>/home/zelaron/domains/picaroni.com/public_html/showfull.php</b> on line <b>93</b><br />
<br />
<b>Warning</b>: imagedestroy(): supplied argument is not a valid Image resource in <b>/home/zelaron/domains/picaroni.com/public_html/showfull.php</b> on line <b>105</b><br />
Also, the standard SQL injection trick didn't work ("or 1=1", you know the drill) so that's good, and all bad file types seem to get the error-in-the-file treatment, though it still uploads it without errors..

-----

Although, I just noticed that there seems to be no way to log out short of deleting your own cookies.

-----

I'll mention also that it allows you to sign up with a just a space for the email field, which I assume you want to be valid. (Unless you figure it's not a problem if they can't retrieve their password if they give a space for the email)

Also, I love the PORKY PORK messages

Last edited by BlueCube; 2004-12-07 at 02:13 PM.
Old
Profile PM WWW Search
BlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHzBlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHz
 
 
BlueCube
 



 
Reply
Posted 2004-12-07, 02:35 PM in reply to BlueCube's post starting "It let me upload a text file renamed as..."
Thanks for helping me bug test Picaroni everyone. BlueCube, about the email part, I'll mess with syntax to get some form of checking to work. As-is, there isn't even a retrieve lost password feature, so it doesn't matter greatly. I will definitely take care of the logout page.

And as for the upload part, I have directed my safety measures at the actual displayment part. Even if someone could manage to upload a php file with functions that delete all files on the site, what good would it do them if it couldn't be run in the first place?

(And for the record, the images aren't really placed in the root)
"Stephen Wolfram is the creator of Mathematica and is widely regarded as the most important innovator in scientific and technical computing today." - Stephen Wolfram
Old
Profile PM WWW Search
Chruser never puts off to tomorrow what can be done the day after tomorrowChruser never puts off to tomorrow what can be done the day after tomorrowChruser never puts off to tomorrow what can be done the day after tomorrowChruser never puts off to tomorrow what can be done the day after tomorrowChruser never puts off to tomorrow what can be done the day after tomorrow
 
 
Chruser
 



 
Reply
Posted 2004-12-07, 02:47 PM in reply to Chruser's post starting "Thanks for helping me bug test Picaroni..."
Signed up.

You should put Zelaron in the "Links" content.
Old
Profile PM WWW Search
kaos is an uncelestial body of masskaos is an uncelestial body of masskaos is an uncelestial body of mass
 
 
kaos
 



 
Reply
Posted 2004-12-07, 03:29 PM in reply to kaos's post starting "Signed up. You should put Zelaron in..."
Images with a space in the name seem to break the deletion javascript.

"SpaceIn TheName.png" (1105 bytes) gives:
Code:
javascript:MsgOkCancel("SpaceIn
as the deletion link.
Old
Profile PM WWW Search
BlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHzBlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHz
 
 
BlueCube
 



 
Reply
Posted 2004-12-07, 03:59 PM in reply to Chruser's post starting "Thanks for helping me bug test Picaroni..."
You might want to make it only allow image file types when it goes to browse files to upload. Just makes it easier for people (like me) who have tons of crap mixed together to find image files.
Old
Profile PM WWW Search
Xenn shows clear signs of ignorance and confidence; the two things needed to succeed in lifeXenn shows clear signs of ignorance and confidence; the two things needed to succeed in life
 
Xenn
 



 
Reply
Posted 2004-12-18, 06:38 PM in reply to Xenn's post starting "You might want to make it only allow..."
IE does not allow that, AFAIK
Old
Profile PM WWW Search
WetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusion
 
 
WetWired
 



 
Reply
Posted 2004-12-19, 02:49 PM in reply to WetWired's post starting "IE does not allow that, AFAIK"
Okay, I rewrote the file system entirely. It took me quite a few hours to get all the details in place, but it should work now, and run smoother. I will attempt to retrieve the current images in the DB and store them as files, but apparently, lots of erroneous files have been uploaded and might be causing trouble. Either way, you are required to sign up again. This shouldn't become necessary again.
"Stephen Wolfram is the creator of Mathematica and is widely regarded as the most important innovator in scientific and technical computing today." - Stephen Wolfram
Old
Profile PM WWW Search
Chruser never puts off to tomorrow what can be done the day after tomorrowChruser never puts off to tomorrow what can be done the day after tomorrowChruser never puts off to tomorrow what can be done the day after tomorrowChruser never puts off to tomorrow what can be done the day after tomorrowChruser never puts off to tomorrow what can be done the day after tomorrow
 
 
Chruser
 



 
Reply
Posted 2004-12-19, 03:42 PM in reply to Chruser's post starting "Okay, I rewrote the file system..."
Chruser said:
Okay, I rewrote the file system entirely. It took me quite a few hours to get all the details in place, but it should work now, and run smoother. I will attempt to retrieve the current images in the DB and store them as files, but apparently, lots of erroneous files have been uploaded and might be causing trouble. Either way, you are required to sign up again. This shouldn't become necessary again.
What about my pictures from 2 months ago?
Old
Profile PM WWW Search
Randuin is neither ape nor machine; has so far settled for the in-between
 
 
Randuin
 



 
Reply
Posted 2004-12-19, 04:09 PM in reply to Chruser's post starting "Okay, I rewrote the file system..."
i signed up... looks cool, but GIF's indeed won't woek --> http://www.picaroni.com/NeedleFighters5BIG.gif

also, why isnt BMP allowed ?
Old
Profile PM WWW Search
Dr. Geekstar is neither ape nor machine; has so far settled for the in-betweenDr. Geekstar is neither ape nor machine; has so far settled for the in-between
 
 
Dr. Geekstar
 



 

Bookmarks

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules [Forum Rules]
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 07:27 PM.
'Synthesis 2' vBulletin 3.x styles and 'x79' derivative
by WetWired the Unbound and Chruser
Copyright ©2002-2008 zelaron.com
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.