![]() |
Re: a different sig each time
glad i could return a favor, you've helped me many a time PM.
|
Re: a different sig each time
does it have to be a png file.. can i change that. im not very good at php.. i getting help from someone who dont know much but know more then me..
|
Re: a different sig each time
No, you can use one of the many image format PHP supports (provided PHP has been installed on your server with the right image lib extensions).
Have a look at www.php.net and search for the image capabilities of PHP. Everything is explained. |
Re: a different sig each time
k. thanks..
|
Re: a different sig each time
Quote:
|
Re: a different sig each time
Another (possibly slightly hackier, but still does the same) way to do this only with out the GD libs, would be something like this:
PHP Code:
The only main differences between this and the GD version are (like i said), this doesnt require GD, and it can be generated faster, thru not having to create a seperate image. |
Re: a different sig each time
testing...
wahey it works!! Thanks Frosty! That's true, I prefer this method ! :) |
Re: a different sig each time
glad i could help :)
|
Re: a different sig each time
i've got a slightly more 'interesting' method here, which will open a dir, read all the images in it, (doesnt matter about filenames, so long as they have valid extentions), then pick one of them at random, and display it if you want it. Would be easier for 'organising' sigs :p
|
Re: a different sig each time
do you mind giving out the source?.. or something that is easy to change so it fits or another.. i would be pretty happy if you did..
its not very importent to me.. just a cool thing to have.. must add im complete noob when it comes to php coding.. |
All times are GMT +2. The time now is 22:09. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.