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

#1 2011-11-09 03:45:56

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Ever used include() to include an image file in PHP?

Don't. It ruins everything!

Last edited by WindowsExplorer (2011-11-09 03:48:07)


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#2 2011-11-09 08:31:14

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

Re: Ever used include() to include an image file in PHP?

Why would you?


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

Offline

 

#3 2011-11-09 08:36:57

rabbit1131
Scratcher
Registered: 2009-10-16
Posts: 1000+

Re: Ever used include() to include an image file in PHP?

You just gave me the idea....  tongue


The Intergalactic Adventures of Revesilia! I hope you will partake in this gigantic undertaking, to build the sequel to the hit map The Adventures of Revesilia! The Intergalactic Adventures of Revesilia Map Builders Application thread! http://internetometer.com/image/35004.png

Offline

 

#4 2011-11-09 10:51:54

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: Ever used include() to include an image file in PHP?

I tried it once for a banner. I wish I hadn't. The webpage took a REALLY long time to load and nearly crashed Google Chrome!!!

Okay, maybe I was egzadurating a bit  tongue


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#5 2011-11-09 11:31:12

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: Ever used include() to include an image file in PHP?

WindowsExplorer wrote:

and nearly crashed Google Chrome!!!

PHP is server-side
it can't crash your browser  tongue

Offline

 

#6 2011-11-09 11:55:15

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

Re: Ever used include() to include an image file in PHP?

Don't copy and paste this into your address bar:

Code:

javascript:while(true){}

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

Offline

 

#7 2011-11-09 11:56:14

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: Ever used include() to include an image file in PHP?

MathWizz wrote:

Don't copy and paste this into your address bar:

Code:

javascript:while(true){}

Then why post it....?

Offline

 

#8 2011-11-09 12:17:53

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Ever used include() to include an image file in PHP?

ProgrammingFreak wrote:

MathWizz wrote:

Don't copy and paste this into your address bar:

Code:

javascript:while(true){}

Then why post it....?

So that if someone sees it on some other site, they can avoid it!  tongue

Offline

 

#9 2011-11-09 12:23:28

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Ever used include() to include an image file in PHP?

MathWizz wrote:

Don't copy and paste this into your address bar:

Code:

javascript:while(true){}

I didn't. I typed it in.  big_smile

Offline

 

#10 2011-11-09 12:30:57

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Ever used include() to include an image file in PHP?

scimonster wrote:

MathWizz wrote:

Don't copy and paste this into your address bar:

Code:

javascript:while(true){}

I didn't. I typed it in.  big_smile

By the way, it doesn't do anything in Chrome or IE.

Offline

 

#11 2011-11-09 12:40:43

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

Re: Ever used include() to include an image file in PHP?

LS97 wrote:

scimonster wrote:

MathWizz wrote:

Don't copy and paste this into your address bar:

Code:

javascript:while(true){}

I didn't. I typed it in.  big_smile

By the way, it doesn't do anything in Chrome or IE.

It seems that Chrome only pastes 'while(true){}' and not the 'javascript:' part. 0.o


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

Offline

 

#12 2011-11-09 13:02:48

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: Ever used include() to include an image file in PHP?

In chrome it just freezes the page, but you can just open a new tab. So much for that  tongue


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#13 2011-11-09 13:15:22

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Ever used include() to include an image file in PHP?

MathWizz wrote:

LS97 wrote:

scimonster wrote:


I didn't. I typed it in.  big_smile

By the way, it doesn't do anything in Chrome or IE.

It seems that Chrome only pastes 'while(true){}' and not the 'javascript:' part. 0.o

That happens in most browsers. But even if you add the javascript to it, it doesn't freeze the browser.

Offline

 

#14 2011-11-09 14:04:13

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Ever used include() to include an image file in PHP?

MathWizz wrote:

LS97 wrote:

scimonster wrote:


I didn't. I typed it in.  big_smile

By the way, it doesn't do anything in Chrome or IE.

It seems that Chrome only pastes 'while(true){}' and not the 'javascript:' part. 0.o

Yeah, I tried it in Chrome, 'cause I didn't really want to crash Firefox, but that's what it did.
Then I tried in IE, and it didn't do anything.
Then I used Firefox. It crashed, then came back to life with a "script has become unresponsive" message.

Offline

 

#15 2011-11-09 14:48:52

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Ever used include() to include an image file in PHP?

This seems to have slipped the reins and trotted off into another topic some how.  Closing.


http://i39.tinypic.com/2nav6o7.gif

Offline

 

Board footer