mmkay, basicly i have some cool sigs and i can't decide which to use, previously i saw this guy that had some code or something so whenever u reloaded a page he had posted on, it loaded a different sig, and he had like 4 sigs, so when u refreshed tha page, it cycled through them in order, i was just wondering if any of u know this "code", and if so, what is it??
Do you have a server equipped with PHP?
Oh well, if you do, then Google is your friend:
CodeHe said he hasn't tested it, but using my general programming knowledge from C++, I'm pretty sure it will work.
CODE
<?
// tell the user's browser that it is an image
header("Content-type: image/png");
$rand = rand(1,4);
// load the background
$image = imagecreatefrompng("$rand.png");
// and now... we display the image
imagepng($image);
imagedestroy($image);
?>
Save that as randomsig.png.
Then, make a .htaccess and in it put:
CODE
<Files *.png>
ForceType application/x-httpd-php
</Files>
Upload them both to the same file, then img link to it. Should work, I'm using code thats just a modified version of mine.
I seriously think you're going to have to explain all of that to him again.
Explain what?
From my understanding, he needs to change 4 to the number of signatures he has and then name each signature 1.png, 2.png, etc. for Shmeeps'.
Yup, that's it.
Although you might have to put $sig in braces {}, sometimes it works with, sometimes not, really depends on the function. I don't know because mine writes all the text to image, I don't have multiple images.
O.O
i have no experience with PHP so... unless u have a pre-made code that i can just copy and paste i won't understand anything
Well, first you need to check if you webhost has PHP.
I'd also suggest you learn it, not only will you not have to copy and paste, but it'll do you good later.
mmkay, go ahead and look elsewhere, i might be a few weeks...........
PHP is hard to learn >.>
I'm thinking of it as my 'thing to learn before I got on to programming'
Good luck.
aaah, ty ty ty... *sigh*
i'm already confused, no need to help me, i'll just read thru i again......
*sigh*