MathWizz wrote:
Taneb wrote:
I tried uploading a file to the viewer and got this:
Code:
<?php if ($_FILES["file"]["size"] < 200000000) // size limit { if ($_FILES["file"]["error"] > 0) { echo "Return Code: " . $_FILES["file"]["error"] . "<br />"; } else { echo "Upload: " . $_FILES["file"]["name"] . "<br />"; echo "Type: " . $_FILES["file"]["type"] . "<br />"; echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb<br />"; echo "Temp file: " . $_FILES["file"]["tmp_name"] . "<br />"; if (file_exists("upload/" . $_FILES["file"]["name"])) { echo $_FILES["file"]["name"] . " already exists. "; } else { move_uploaded_file($_FILES["file"]["tmp_name"], "upload/" . $_FILES["file"]["name"]); echo "Stored in: " . "upload/" . $_FILES["file"]["name"]; } } } else { echo "Invalid file"; } ?>What's going on?
LOL!!! SRR EPIC FAILED!!! Jk... That is php code and I don't know what he/she was trying to do with it but it doesn't work right now...
I think it needs <html><body> on one side and </body></html> on the other, but I'm no expert, I'm afraid.
Offline
Taneb wrote:
MathWizz wrote:
Taneb wrote:
I tried uploading a file to the viewer and got this:
Code:
<?php if ($_FILES["file"]["size"] < 200000000) // size limit { if ($_FILES["file"]["error"] > 0) { echo "Return Code: " . $_FILES["file"]["error"] . "<br />"; } else { echo "Upload: " . $_FILES["file"]["name"] . "<br />"; echo "Type: " . $_FILES["file"]["type"] . "<br />"; echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb<br />"; echo "Temp file: " . $_FILES["file"]["tmp_name"] . "<br />"; if (file_exists("upload/" . $_FILES["file"]["name"])) { echo $_FILES["file"]["name"] . " already exists. "; } else { move_uploaded_file($_FILES["file"]["tmp_name"], "upload/" . $_FILES["file"]["name"]); echo "Stored in: " . "upload/" . $_FILES["file"]["name"]; } } } else { echo "Invalid file"; } ?>What's going on?
LOL!!! SRR EPIC FAILED!!! Jk... That is php code and I don't know what he/she was trying to do with it but it doesn't work right now...
I think it needs <html><body> on one side and </body></html> on the other, but I'm no expert, I'm afraid.
Nah... You don't need those for php. the problem is that weebly doesn't support php.
Offline
ok MathWizz hows it going?
Offline
johnnydean1 wrote:
ok MathWizz hows it going?
Offline
Its under review...
Offline
MathWizz wrote:
johnnydean1 wrote:
Its under review...
Wadoya mean?
The sites under review!
Offline
johnnydean1 wrote:
Try this
hint...
Offline
pwiter wrote:
I made a dev site for this. www.htmltop.orangeserve.com
I'll try to make it up to date for us!
It's to keep us up to date on what your doing!
johnnydean1 email me and I'll tell you the admin username and password for it. p.s
It's not like the weebly site!
Offline
w00t! Reviewed!
EDIT: BTW: nXIII! I found the bits for the thumbnail.
Last edited by MathWizz (2010-10-13 20:59:04)
Offline
Taneb wrote:
I tried uploading a file to the viewer and got this:
Code:
<?php if ($_FILES["file"]["size"] < 200000000) // size limit { if ($_FILES["file"]["error"] > 0) { echo "Return Code: " . $_FILES["file"]["error"] . "<br />"; } else { echo "Upload: " . $_FILES["file"]["name"] . "<br />"; echo "Type: " . $_FILES["file"]["type"] . "<br />"; echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb<br />"; echo "Temp file: " . $_FILES["file"]["tmp_name"] . "<br />"; if (file_exists("upload/" . $_FILES["file"]["name"])) { echo $_FILES["file"]["name"] . " already exists. "; } else { move_uploaded_file($_FILES["file"]["tmp_name"], "upload/" . $_FILES["file"]["name"]); echo "Stored in: " . "upload/" . $_FILES["file"]["name"]; } } } else { echo "Invalid file"; } ?>What's going on?
Yep, the PHP is in a .html document not a .php document that it should be in!
Offline
Right, it seems we are getting close to finishing decoding the .sb file!
Should some of us think about playing it with HTML5?
Could the php site be put on the weebly site in a iframe? Does weebly let you have iframes?
Offline
Weebly lets you use custom HTML. If you know it well enough then you could make it. Although I don't know too much HTML, so I may be wrong about the ability to code an iFrame on it.
Offline
henley wrote:
Weebly lets you use custom HTML. If you know it well enough then you could make it. Although I don't know too much HTML, so I may be wrong about the ability to code an iFrame on it.
if it lets you use custom HTML then we could simply add an iframe to the viewer it's self using the simple <iframe></iframe> tags!
EDIT: typo error
Last edited by Daffy22 (2010-10-14 11:19:52)
Offline
Dont use HTML5 as much as possible
Offline
Oh and Pwiter scrap your site as I cant get it working...
Offline
johnnydean1 wrote:
Oh and Pwiter scrap your site as I cant get it working...
If you guys need, I can help you guys make a website!
Offline
We dont so much need a wesite ATM but I will remeber that
Offline
MathWizz wrote:
w00t! Reviewed!
EDIT: BTW: nXIII! I found the bits for the thumbnail.
Will you tell me?
Offline
nXIII wrote:
MathWizz wrote:
MathWizz wrote:
w00t! Reviewed!
EDIT: BTW: nXIII! I found the bits for the thumbnail.Will you tell me?
![]()
Remember that byte array? That was it. I know it doesn't have 160 x 120 items but that's that same amount that Scratch reads.
Offline
MathWizz wrote:
nXIII wrote:
MathWizz wrote:
w00t! Reviewed!
EDIT: BTW: nXIII! I found the bits for the thumbnail.Will you tell me?
![]()
Remember that byte array? That was it. I know it doesn't have 160 x 120 items but that's that same amount that Scratch reads.
That's really weird.... hm.
Offline
BTW: I can make a proper website for free and without any 'spoon fed' templates made by webs and weebly. I can make it on the host mathwiz is using and make my own CSS and .PHP docs!
(just let me know)
Offline
If we let MathWizz finish with the decoding then we can make a website then!
Offline