This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#351 2010-10-10 09:50:58

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Lets make a new Scratch viewer!

nXIII wrote:

MathWizz wrote:

"Fatal error: Allowed memory size of 134217728 bytes exhausted..."
tongue  Is there a way to up the memory or do I have to figure out a different way of doing it?

You're probably doing infinite recursion if you did that....

Yeah... I figured that out...


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#352 2010-10-10 09:53:08

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Lets make a new Scratch viewer!

lol


You can now reach me on Twitter @johnnydean1_

Offline

 

#353 2010-10-10 10:21:42

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Lets make a new Scratch viewer!

What's a good hosting site where you can upload any kind of file? Then I could upload the "upload.php" to that, then link to it on the Weebly site.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#354 2010-10-10 10:25:44

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Lets make a new Scratch viewer!

Ill have a look give me 1 minute


You can now reach me on Twitter @johnnydean1_

Offline

 

#355 2010-10-10 10:30:41

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Lets make a new Scratch viewer!

Webs
Free websites
Piczo

Any of them work?


You can now reach me on Twitter @johnnydean1_

Offline

 

#356 2010-10-10 11:32:52

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: Lets make a new Scratch viewer!

http://www.freewebhostingarea.com/.
Highly recommended (by me).


/* No comment */

Offline

 

#357 2010-10-10 12:07:43

midnightleopard
Scratcher
Registered: 2007-09-13
Posts: 1000+

Re: Lets make a new Scratch viewer!

Hey guys, I just bought a big JavaScript book, I understand it's object oriented syntax quite well now. When I get farther in the book, I can help code the viewer. My book came out before the Canvas element, so I don't know about that, but I should be able to help a lot later.

We are using php to get the file uploaded right? Then JS to decode it and play it? It won't be hard to code once we've got the .sb decoded.


http://pwp.wizards.com/5103673563/Scorecards/Landscape.png

Offline

 

#358 2010-10-10 12:08:56

midnightleopard
Scratcher
Registered: 2007-09-13
Posts: 1000+

Re: Lets make a new Scratch viewer!

For a website we can use godaddy.com. It's not free, but we get very good web hosting and a domain name of our choice. It is quite cheap as well. Let's finish a site before we worry about that stuff.


http://pwp.wizards.com/5103673563/Scorecards/Landscape.png

Offline

 

#359 2010-10-10 12:23:32

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: Lets make a new Scratch viewer!

ARGH!!!  mad
Is anyone listening to me!!! Webs, weebly and other hosts DO NOT allow PHP and have adds!!!!  mad   mad
Use freehostingcloud or orange serve!!! PLEASE.


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#360 2010-10-10 12:24:29

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Lets make a new Scratch viewer!

Yes midnightleopard (can I call you MNL), we will decode it with javascript.


You can now reach me on Twitter @johnnydean1_

Offline

 

#361 2010-10-10 15:26:39

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Lets make a new Scratch viewer!

Daffy22 wrote:

ARGH!!!  mad
Is anyone listening to me!!! Webs, weebly and other hosts DO NOT allow PHP and have adds!!!!  mad   mad
Use freehostingcloud or orange serve!!! PLEASE.

Um, Weebly doesn't have ads and it does allow php, but pages have the .html extension so if you made a page called "upload.php", it would be called "uploadphp.html". I mainly use Weebly because it doesn't have ads. And freehostingcloud seems good, but it asks a lot when you sign up for an account. Why does it need my address and phone number? I'm not using it.

Last edited by ScratchReallyROCKS (2010-10-10 15:32:27)


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#362 2010-10-10 15:32:59

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: Lets make a new Scratch viewer!

000webhost.


/* No comment */

Offline

 

#363 2010-10-10 15:45:22

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Lets make a new Scratch viewer!

TheSuccessor wrote:

000webhost.

No it deletes your account if your not active!


You can now reach me on Twitter @johnnydean1_

Offline

 

#364 2010-10-10 15:51:18

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: Lets make a new Scratch viewer!

ScratchReallyROCKS wrote:

Daffy22 wrote:

ARGH!!!  mad
Is anyone listening to me!!! Webs, weebly and other hosts DO NOT allow PHP and have adds!!!!  mad   mad
Use freehostingcloud or orange serve!!! PLEASE.

Um, Weebly doesn't have ads and it does allow php, but pages have the .html extension so if you made a page called "upload.php", it would be called "uploadphp.html". I mainly use Weebly because it doesn't have ads. And freehostingcloud seems good, but it asks a lot when you sign up for an account. Why does it need my address and phone number? I'm not using it.

weebly allows PHP?
PHP shouldn't work if the document has a .html extension. ???  hmm
Anyway it would be limited so you wouldn't be able to upload files. I would try freehostingcloud, just enter any random number or string of letters in those fields. It doesn't matter!  lol


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#365 2010-10-10 15:53:41

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Lets make a new Scratch viewer!

ok I will set up a freehostingcloud account, please post your email and I will say when I have got it. I will then email the details to all the users.


You can now reach me on Twitter @johnnydean1_

Offline

 

#366 2010-10-10 15:55:16

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Lets make a new Scratch viewer!

johnnydean1 wrote:

ok I will set up a freehostingcloud account, please post your email and I will say when I have got it. I will then email the details to all the users.

Except that we're not supposed to post our emails.

Just set up the account and add the codes. I'll link to it from the Weebly site.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#367 2010-10-10 16:02:16

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Lets make a new Scratch viewer!

Ive set up a account user and pass along with my email are going on the weebly site!


You can now reach me on Twitter @johnnydean1_

Offline

 

#368 2010-10-10 16:13:38

pwiter
Scratcher
Registered: 2010-06-02
Posts: 100+

Re: Lets make a new Scratch viewer!

I keep forgetting to ask you guys this, but can I join your team? I have some knowlegde of PHP, I know HTML, I know a little VBscript, and some javascript! I am currently learning asp and asp.net. If I can join I will be active for about 30 min on sunday and sat. but about 1hr on mon-friday. I'll be more active when I clear some stuff out of my way.
EDIT--------------------------------------------------------------------------------------------------------------------
Oh yeah, I know Python!

Last edited by pwiter (2010-10-10 16:55:28)


http://i.imgur.com/YBeXc.png

Offline

 

#369 2010-10-10 16:21:22

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Lets make a new Scratch viewer!

Daffy22 wrote:

nXIII wrote:

Daffy22 wrote:

We need to allow users to upload the project first before playing it.  wink

No, look:

Code:

<form action="index.php" enctype="multipart/form-data" method="post">'+
                        '<p><input type="file" name="sbfile" />'+
                        '</p><div style="position: absolute; bottom: 0px; right: 0px;">'+
                        '<input type="submit" value="Open" />'+
                        '<input type="button" value="Cancel" onclick="c(\'OpenC\');" />'+
                        '</div>'+
                        '</form>

(randomly pasted JavaScript code)
+

Code:

file_get_contents($_FILES["sbfile"]["tmp_name"]

(randomly pasted PHP code)

maybe your right!  big_smile

_____________
Note to all: If we get this player really good I will use this on mod share to play projects made with mods!  big_smile

Can we use this?


You can now reach me on Twitter @johnnydean1_

Offline

 

#370 2010-10-10 16:26:11

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Lets make a new Scratch viewer!

johnnydean1 wrote:

Daffy22 wrote:

nXIII wrote:

No, look:

Code:

<form action="index.php" enctype="multipart/form-data" method="post">'+
                        '<p><input type="file" name="sbfile" />'+
                        '</p><div style="position: absolute; bottom: 0px; right: 0px;">'+
                        '<input type="submit" value="Open" />'+
                        '<input type="button" value="Cancel" onclick="c(\'OpenC\');" />'+
                        '</div>'+
                        '</form>

(randomly pasted JavaScript code)
+

Code:

file_get_contents($_FILES["sbfile"]["tmp_name"]

(randomly pasted PHP code)

maybe your right!  big_smile

_____________
Note to all: If we get this player really good I will use this on mod share to play projects made with mods!  big_smile

Can we use this?

...not like it would help you >.<
This is for a dialog window, so the positioning would be messed up. It's also like six lines long so I probably wasn't the first to write it.

Last edited by nXIII (2010-10-10 16:26:22)


nXIII

Offline

 

#371 2010-10-10 16:32:20

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Lets make a new Scratch viewer!

Can you define it a bit more?


You can now reach me on Twitter @johnnydean1_

Offline

 

#372 2010-10-10 16:49:57

midnightleopard
Scratcher
Registered: 2007-09-13
Posts: 1000+

Re: Lets make a new Scratch viewer!

sures. Okay. I'm learning JavaScript... I already am a python wizard so I got it's syntax down pretty well. I would highly recomend godaddy.com as a host. It has php, mysql databases, domain name, no ads, and very cheap (like five bucks a year.)


http://pwp.wizards.com/5103673563/Scorecards/Landscape.png

Offline

 

#373 2010-10-10 16:55:59

pwiter
Scratcher
Registered: 2010-06-02
Posts: 100+

Re: Lets make a new Scratch viewer!

midnightleopard wrote:

sures. Okay. I'm learning JavaScript... I already am a python wizard so I got it's syntax down pretty well. I would highly recomend godaddy.com as a host. It has php, mysql databases, domain name, no ads, and very cheap (like five bucks a year.)

What's this to!


http://i.imgur.com/YBeXc.png

Offline

 

#374 2010-10-10 17:02:01

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: Lets make a new Scratch viewer!

okay my scratch email is daffy22scratch@gmail.com


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#375 2010-10-10 19:16:22

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Lets make a new Scratch viewer!

Hey guys, the forum's down on the website for a while. I hope to fix it as soon as I can.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

Board footer