How to get php to run as say .jpg... ?

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
Mnet:Web
-


Joined: 05 Nov 2002
Posts: 24
Location: UK, England

PostPosted: Sat Oct 18, 2003 1:00 pm    Post subject: How to get php to run as say .jpg... ? Reply with quote

Hello, I vist nemerous forums and I want to know how I can make it so that I can link (image) to say www.mysite.com/myfolder/myimagephpcreate.jpg so i can create images on the fly..?
_________________
-- Miles

www.mnetweb.co.uk
And..
www.phphelp.com (offical administator)
Back to top View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Mnet:Web
-


Joined: 05 Nov 2002
Posts: 24
Location: UK, England

PostPosted: Sat Oct 18, 2003 1:21 pm    Post subject: Reply with quote

I found out....

You must tell PHP.exe to process the extention
_________________
-- Miles

www.mnetweb.co.uk
And..
www.phphelp.com (offical administator)
Back to top View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
harley
-


Joined: 24 Nov 2003
Posts: 2

PostPosted: Wed Sep 08, 2004 4:11 pm    Post subject: Reply with quote

Mnet:Web wrote:
I found out....

You must tell PHP.exe to process the extention


ok so how do i do that?
_________________
Back to top View user's profile Send private message
aprelium-beta
-


Joined: 24 Jun 2004
Posts: 383

PostPosted: Thu Sep 09, 2004 1:44 am    Post subject: Reply with quote

harley wrote:
Mnet:Web wrote:
I found out....

You must tell PHP.exe to process the extention


ok so how do i do that?

One solution is to add jpg to the list of extensions supported by the PHP interpreter.
You can also use another extension (let's say jpeg) and associate it woth PHP while jpg remains for static files. With this setting, .jpeg files should contain the PHP code to generate images on the fly. Search this forum for GD and you'll find some examples about how to do so.
_________________
Beta Testing Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group