Zelaron Gaming Forum  
Stats Arcade Portal Forum FAQ Community Calendar Today's Posts Search
Go Back   Zelaron Gaming Forum > The Zelaron Nexus > Forum News, Suggestions and Discussion

 
 
Thread Tools Display Modes

 
Reply
Posted 2004-12-06, 02:49 PM in reply to Chruser's post "Beta testers needed for Zelaron's own..."
Cool, Chruser. I'm about to go sign up.
Old
Profile PM WWW Search
Demosthenes seldom sees opportunities until they cease to beDemosthenes seldom sees opportunities until they cease to beDemosthenes seldom sees opportunities until they cease to beDemosthenes seldom sees opportunities until they cease to be
 
Demosthenes
 



 
Reply
Posted 2004-12-06, 02:52 PM in reply to Demosthenes's post starting "Cool, Chruser. I'm about to go sign up."
mjordan2nd said:
Cool, Chruser. I'm about to go sign up.
Well, I tried to upload a couple of images, and none of them would upload.
Old
Profile PM WWW Search
Demosthenes seldom sees opportunities until they cease to beDemosthenes seldom sees opportunities until they cease to beDemosthenes seldom sees opportunities until they cease to beDemosthenes seldom sees opportunities until they cease to be
 
Demosthenes
 



 
Reply
Posted 2004-12-06, 03:01 PM in reply to Demosthenes's post starting "Well, I tried to upload a couple of..."
That's strange. What's the error, and what file types did you attempt to upload?

I just tried it; seems to work just fine.
http://www.picaroni.com/62904.jpg
"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 shouldn't have fed itChruser shouldn't have fed itChruser shouldn't have fed itChruser shouldn't have fed itChruser shouldn't have fed it
 
 
Chruser
 



 
Reply
Posted 2004-12-06, 03:10 PM in reply to Chruser's post starting "That's strange. What's the error, and..."
I tried a jpeg file, didnt work.
Old
Profile PM WWW Search
Sovereign enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHzSovereign enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHz
 
 
Sovereign
 



 
Reply
Posted 2004-12-06, 03:22 PM in reply to Chruser's post starting "That's strange. What's the error, and..."
Fixed it. Apparently, Mozilla gives jpg/jpeg files mime type image/jpeg, while IE names them image/pjpeg. I just had to add the case. This is to prevent other file types from (easily) being uploaded. In other words, you can't just rename .exe into .jpg to store it.
"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 shouldn't have fed itChruser shouldn't have fed itChruser shouldn't have fed itChruser shouldn't have fed itChruser shouldn't have fed it
 
 
Chruser
 



 
Reply
Posted 2004-12-06, 03:46 PM in reply to Chruser's post starting "Fixed it. Apparently, Mozilla gives..."
Just a couple of other things you might want to know:
1.) It doesn't show a thumbnail of my saved pictures to me.
2.) It saves the picture twice. For instance, it saved 13.jpg as 13.jpg and 12.jpg. It did this a couple of other times as well, with other pictures.
Old
Profile PM WWW Search
Demosthenes seldom sees opportunities until they cease to beDemosthenes seldom sees opportunities until they cease to beDemosthenes seldom sees opportunities until they cease to beDemosthenes seldom sees opportunities until they cease to be
 
Demosthenes
 



 
Reply
Posted 2004-12-06, 04:23 PM in reply to Demosthenes's post starting "Just a couple of other things you might..."
Eh I'm gonna sign up.
Old
Profile PM WWW Search
HandOfHeaven seldom sees opportunities until they cease to beHandOfHeaven seldom sees opportunities until they cease to beHandOfHeaven seldom sees opportunities until they cease to beHandOfHeaven seldom sees opportunities until they cease to be
 
 
HandOfHeaven
 



 
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 shouldn't have fed itChruser shouldn't have fed itChruser shouldn't have fed itChruser shouldn't have fed itChruser shouldn't have fed it
 
 
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
 



 

Bookmarks

« Previous Thread | Next Thread »

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

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 08:25 AM.
'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.