Log In · Register

 
 
Closed TopicStart new topic
Question, Myspace 1.0
austinseals
post Oct 24 2009, 12:30 AM
Post #1


Senior Member
***

Group: Member
Posts: 62
Joined: Sep 2009
Member No: 746,049



Is there a code that,
in a certain line of text, you can add certain entries and every time the page is refreshed,
that line of text will change to the next entry?
 
fixtatik
post Oct 24 2009, 01:06 AM
Post #2


Senior Member
******

Group: Member
Posts: 1,237
Joined: May 2008
Member No: 648,123



Until Myspace allows special scripts, no. But you could do it with a rotating image. You'd just have to write a script that outputs an image, then link to it.
CODE
<img src="http://site.com/image.php" />

You can always Google something like "PHP image rotator" and get a million results.
 
austinseals
post Oct 24 2009, 01:47 AM
Post #3


Senior Member
***

Group: Member
Posts: 62
Joined: Sep 2009
Member No: 746,049



Like Mike's photo for his account on here?
 
fixtatik
post Oct 24 2009, 02:26 AM
Post #4


Senior Member
******

Group: Member
Posts: 1,237
Joined: May 2008
Member No: 648,123



Yeah, you could do it like Mike's photo. His is a PHP script with a .PNG extension (doable through an htaccess file). If you don't have your own site and can't use an htaccess file, then you'll have to find a place that lets you upload a PHP script and use that instead.
 

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