Log In · Register

 
random background
caleb4992
post May 4 2008, 06:07 PM
Post #1


Senior Member
***

Group: Member
Posts: 50
Joined: Aug 2007
Member No: 565,680



ok in this script it says to upload the notepad2 document to imageshack.us but i don't understand how

this is the script
Script
 
 
Start new topic
Replies (1 - 11)
heyo-captain-jac...
post May 4 2008, 06:14 PM
Post #2


/人◕‿‿◕人\
*******

Group: Official Member
Posts: 8,283
Joined: Dec 2007
Member No: 602,927



QUOTE(caleb4992 @ May 4 2008, 06:07 PM) *
ok in this script it says to upload the notepad2 document to imageshack.us but i don't understand how

this is the script
Script

Its the image you have to upload
 
caleb4992
post May 4 2008, 06:20 PM
Post #3


Senior Member
***

Group: Member
Posts: 50
Joined: Aug 2007
Member No: 565,680



this is the code
<?
$random = array(
'http://img150.imageshack.us/img150/9206/103532325724ca12435fbbq2.jpg,
'http://img186.imageshack.us/img186/8223/bubblesyd5.jpg',
'http://img186.imageshack.us/img186/4585/nissanskylinewallpapervt9.jpg',
'http://img120.imageshack.us/img120/6299/nyjm5.jpg',
'http://img150.imageshack.us/img150/9039/16039739243fd2d3d990oew9.jpg'
);
shuffle($random);
header("Location: $random[0]");
?>

it says to upload that

the code to put in my about me only has one url spot
 
heyo-captain-jac...
post May 4 2008, 06:29 PM
Post #4


/人◕‿‿◕人\
*******

Group: Official Member
Posts: 8,283
Joined: Dec 2007
Member No: 602,927



I just realised you're trying to put PHP into a myspace profile, I didn't look what you posted this in.


PHP doesn't go into myspace. Since PHP is evil or so myspace says.
 
caleb4992
post May 4 2008, 06:31 PM
Post #5


Senior Member
***

Group: Member
Posts: 50
Joined: Aug 2007
Member No: 565,680



is there another way i can put a random background image on my myspace using those images i have in the code?
 
heyo-captain-jac...
post May 4 2008, 06:32 PM
Post #6


/人◕‿‿◕人\
*******

Group: Official Member
Posts: 8,283
Joined: Dec 2007
Member No: 602,927



You could use an animated image, but that would work different.

With this code, you end up having it change each time it reloads.
With an animated image, it changes every second or so. And that will hurt your eyes, if nothing else.
 
Marlons
post May 4 2008, 06:34 PM
Post #7


Thread Killer
******

Group: Staff Alumni
Posts: 1,012
Joined: Jun 2007
Member No: 530,544



^ Or that one Katamari random Background image thing.
 
caleb4992
post May 4 2008, 06:35 PM
Post #8


Senior Member
***

Group: Member
Posts: 50
Joined: Aug 2007
Member No: 565,680



so theres no other way to do it then?
 
Marlons
post May 4 2008, 06:37 PM
Post #9


Thread Killer
******

Group: Staff Alumni
Posts: 1,012
Joined: Jun 2007
Member No: 530,544



Try this.

http://www.abrax.us/Katamari/Random/ImageGen.php
 
caleb4992
post May 4 2008, 06:44 PM
Post #10


Senior Member
***

Group: Member
Posts: 50
Joined: Aug 2007
Member No: 565,680



thank you just what i wanted
 
Marlons
post May 4 2008, 06:46 PM
Post #11


Thread Killer
******

Group: Staff Alumni
Posts: 1,012
Joined: Jun 2007
Member No: 530,544



No problem.

Now someone close the topic.
 
miyashu
post May 4 2008, 07:09 PM
Post #12


cake or DEATH
*****

Group: Staff Alumni
Posts: 631
Joined: Sep 2005
Member No: 223,586



of course. :)

topic closed.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: