Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Dynamic Image extension change

Newbie Spellweaver
Joined
Feb 5, 2007
Messages
35
Reaction score
0
When you create a dynamic image, you get the resulting format link:
Code:
http://yourpage.com/script.php?image=whatever

However, some forums do not allow that as an image tag. Is there a way to change it to something.jpg/gif(or any other extension) while keeping it a dynamic image?
 
Custom Title Activated
Loyal Member
Joined
Aug 8, 2004
Messages
3,892
Reaction score
20
Sure, easy as pie. Just use MOD_REWRITE for apache or its IIS equivalent. For instance, FrogBlog produces a feedlink ( ), but there is in fact no such file anywhere on the server as its being dynamically served trough the index.php :smile:

I suggest either searching google for mod_rewrite instructions or simply downloading frogblog, its as good a code example as any :icon6:
 
Divine Celestial
Loyal Member
Joined
Jul 7, 2004
Messages
853
Reaction score
5
Modifying your script to strip trailing image extensions is another method.
 
Back
Top