Hi 2 all.
I want to ask you one question. I want to create random image rotator which will be called with http://www.mydomain.com/username.jpg (or gif, .png) and displays random picture every time it is called. How to do this?
How to call php script?
Moderator: General Moderators
Re: How to call php script?
If you really want to use the jpg extension for that you'll have to call in apache for help. Can't you use username.php to generate the image?
Re: How to call php script?
I want to use random images as signature for forums. I dont know is it possible to do with .php extension because I want to insert it into [img] tags...
Re: How to call php script?
It will cost you 5 minutes to try it out:
1) create the php page you will use as your image
2) put some image in it (eg http://be.php.net/manual/en/function.im ... string.php).
3) test if this works
1) create the php page you will use as your image
2) put some image in it (eg http://be.php.net/manual/en/function.im ... string.php).
3) test if this works
Re: How to call php script?
yes
I will test it
Re: How to call php script?
koen.h wrote:It will cost you 5 minutes to try it out:
1) create the php page you will use as your image
2) put some image in it (eg http://be.php.net/manual/en/function.im ... string.php).
3) test if this works
Re: How to call php script?
I'm not sure what you are asking. The step you need to take now is create your script for random image display. You'll need something else than what's in the php manual of course.