BuffaloHELP
Aug 31 2005, 08:58 PM
thablkpanda,Please stay within the topic. If it's a question pertaining to your post you can PM moderators directly. What was your topic title? PM me with your answer, please. According to your post records the last post you made was just recently. snlildude87,I created a folder quote.png and place my index.php like so CODE <?php /************************************************** **********************/ /* PHP RandomRotator v1.0 */ /* =========================== */ /* */ /* Written by Steve Dawson - http://www.stevedawson.com */ /* Freelance Web Developer - PHP, Perl and Javascript programming */ /* */ /* This program is free software. You can redistribute it and/or modify */ /************************************************** **********************/ ## HTML or plain text can be randomised. see associated random.txt for the quotes/html. ## See the associated ReadMe.txt file for full installation instructions.
## The name of the .txt file which hold the rotating info (currently random.txt) $filename = "random.txt"; $file = file($filename);
srand((double)microtime()*1000000); while ($RandomRotator == "") { $RandomRotator = ereg_replace("\n","",$file[rand(0,count($file))]); }
## This prints the banner, quotes or random text, or whatever is in the random.txt file print "$RandomRotator"; ?> and my random.txt as CODE "The HERO is one who knows how to hang on one minute longer." -Norwegian Proverb.
"The noblest service comes from nameless hands, and the best servant (as the Lord has taught us) does his or her work Unseen." -Anonymous
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep. -Unknown
Half of my life is revision of the other half. -Unknown
...quick to compassion, slow to anger... -JC
...to express unique idea with unique words is called genius -Me" All I'm getting is a small box with saying, 'user posted image' and nothing. I even tried to disguise random.txt as random.jpg but failed. I even tried to have random.txt as CODE <img alt="my random quote">
<img alt="my random quote2"> so that the image box will come up but the quote would be in the image frame. It works in the regular browser (either ways) but not for the forum. Thank you.
Reply
TripleH13
Aug 31 2005, 09:58 PM
thanks man it seems cool and i wanted to do this for a while so thanks
Reply
[i]_R_Crazy_Idiot
Sep 7 2005, 03:38 AM
Awesomeness, I hope to try this on some other forums as well.
Reply
epox
Sep 7 2005, 05:12 AM
i was asking myself if i could add random text in the same way
Reply
DYABLO
Sep 7 2005, 05:40 AM
thanks if this really works it would help me alot cause i have so many sigs. thanks snlildude87
Reply
Masked
Sep 7 2005, 08:45 PM
thanks for sharing  cant wwait to try this one out.
Reply
Saint_Michael
Sep 7 2005, 09:03 PM
yeah what snlil ysaid ou would have to echo the php then it should pop up, and i just noticed that now about the random quotes, i never noticed it before.
Reply
snlildude87
Sep 7 2005, 09:30 PM
I'm not sure if the echo will work, but I think that it should.... Buffalo, I see that you double spaced your quotes file. It needs to be single spaced. See if that works....
Reply
BuffaloHELP
Sep 8 2005, 12:18 AM
I edited my random.txt to be single spaced. I edited so that it shows as CODE ## This prints the banner, quotes or random text, or whatever is in the random.txt file echo "$RandomRotator"; as the last line. But it fails. Here is the link http://buffalohelp.net/dev/random_quotes.png and see if you can work it out.
Reply
snlildude87
Sep 8 2005, 01:46 AM
QUOTE(BuffaloHELP @ Sep 7 2005, 09:18 PM) Here is the link http://buffalohelp.net/dev/random_quotes.png and see if you can work it out. Hmm, the link works, and I can see the quotes in text form. Are you saying that it doesn't work when you call it from trap17?
Reply
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9
Recent Queries:--
how to create a rotating sig - 6.49 hr back. (1)
-
how to make random sig - 15.38 hr back. (5)
-
make sigs up - 45.43 hr back. (1)
-
how do i save my siggy as jpg - 47.01 hr back. (1)
-
how to make siggy banner - 62.86 hr back. (2)
-
make sigs - 72.68 hr back. (1)
-
image rotator for siggys - 84.32 hr back. (2)
-
sig making - 92.09 hr back. (1)
-
how to make a sigs - 133.76 hr back. (1)
-
sig rotator - 4.45 hr back. (10)
-
outlook signature line rotator - 137.94 hr back. (1)
-
how to make sig - 37.77 hr back. (6)
-
how to make a sig with gif - 172.84 hr back. (1)
-
how to make siggy box - 179.18 hr back. (1)
Similar Topics
Keywords : make, sig, rotator, people, multiple, sigs
- Sharepoint Calendars Integrated Into Outlook 2007
Showing multiple Sharepoint Calendars in Outlook 2007 (Company wide De (0)
Start Multiple Programs With One Shortcut
Windows XP (15) Welcome to my turoial on how to start multiple programs using one shortcut. You may probably be
wondering how this is possible. Well this tutorial will use a language from MS-DOS called batch. I
am not sure whether it is "language", but I do know that it is a way to program for MS-DOS. Batch is
simply a way to run several MS-DOS commands with just one command. All batch files are run through
Command Prompt, but they can be accessed with shortcuts also. Here are a few requirements for this
tutorial. Requirements Windows XP (I tested this on XP, but it should work on m....
Image Rotator Script (another One)
easy to implement (0) In case you haven't noticed, I have a different Avatar display on the Forum each time the page
is refreshed. /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif"
/> For those of you who might want the script to do that, here is the one I am using: HTML
$filesp = glob('*.png'); if(empty($filesp)){ echo
'no images found...die br >'; die(); } else{ foreach ($filesp as
$file) { $img_array[] = trim($file); }....
Dynamic Signature - Yet Another Way To Do It
Create dynamic sigs for multiple users using .htaccess and RewriteRule (0) Ever since I connected a program I made in Visual Basic to MySQL database, I had an idea to create
some sort of a status page... And I did that, where I updated my connection status every 60 seconds,
updated my Winamp playlist, and several other interesting things... Then, I figured I could create
an image, and display all that info, and show it on forums, as a signature... And I made a great
PHP script, that look real fancy, and does the job perfectly... So, I was adding the reference to
http://status.galahad.trap17.com/stat.php to all the forums... BUT (there's ....
How To Group Multiple Sets Of Data In Microsoft Excel 2007
(0) How to Group Multiple Sets of Data in Microsoft Excel 2007 Sometimes you may open several
workbooks and work with a number of the same workbooks at a time. You can open this group of files
with Microsoft Excel 2007 simultaneously. But you have to define them as part of a workspace, and
save them in a single Excel 2007 file. To do this, follow below steps: 1- Click On the View tab and
then in the Window group click Save Workspace. The Save Workspace dialog box appears. 2- In the File
name field, type your work name and then Click Save. 3- At the top-left of window, C....
Installing Multiple Os On Your Pc
How to do that (0) Hi everyone, Ok before I start, I want to let you guys know the meanings of some of the
terminologies I will be using in here. Boot loader is a small program which the operating system
places on the selected partition (in most cases, the MBR ). it is a small program that loads the
operating system into the computer’s memory when the system is booted and also starts the
operating system. So, before you can think of configuring your PC to have multiple boot, you should
also know how to play around with 'em boot loaders too. And you should also make sure that y....
Multiple Classes In Html
you can use more than one at a time (8) Multiple Classes in Css Styles Classes are used in html pages to give certain defined
attributes to elements. They are useful when the attributes are to be used in more than one place on
a page. (Named Id's are only allowed once per page, but I digress... might have a tutorial on
that some day.) Sometimes you want Red text and sometimes you want Bold text. Easy enough to do,
simply define a class and apply it to the element you want red or bold. Use this class where you
want on the page, since classes are enabled to be used in several spots, for different u....
Yet Another Signature Rotator
(Easier, and more Efficient) (7) Hey Trap, It's Mr. Panda, and I'm introducing a signature rotator script I came across
several months ago. Unlike most other signature rotators on trap17, this one does DOES NOT
require the configuration process, and a new signature can be added, simply by uploading it to the
proper directory. Seeing as this requires so much less configuration, I do hope it will be
implemented by some of you 'Sig Masters' out there /biggrin.gif' border='0'
style='vertical-align:middle' alt='biggrin.gif' /> , that have to add another line of code to your
rotator file....
Multiple Admin Login (php)
This is a script that doesnt requre SQL (3) first off make a login.html page Code: QUOTE Admin Login Username: Password:
then make a check.php page Code: QUOTE $admin1 = "admin1"; //
first admin username $adm_pass1 = "password1"; // first admin password $admin2 =
"admin2"; // second admin username $adm_pass2 = "password2"; // second admin password
if(($username == $admin1 && $password == $adm_pass1) || ($username ==
$admin2 && $password == $adm_pass2)){ echo "Congratulations " . $_POST . " ....
Simple Image Rotator
randomly rotate images (6) First, It's really confusing. Do you know any tutorials on Image Manipulation on PHP?
Here's another simple one: 1. Create a 5 image. 2. Rename them to something like:
image1.jpg; image2.jpg; and so on... 3. Create your PHP file (rotation.php) 4. Enter the
following code: CODE <?php header("content-type: image/jpeg");
readfile("image".mt_rand(1,3).".jpg"); ?> 5. Execute your
script.....
Looking for make, sig, rotator, people, multiple, sigs
|
*RANDOM STUFF*
*SIMILAR VIDEOS*
Searching Video's for make, sig, rotator, people, multiple, sigs
*MORE FROM TRAP17.COM*
|
advertisement
|
|