Instead of http://blahblah.com/blahblah.php?user=H ... oon&&/text
I want this http://blahblah.com/blahblah/HomerTheDragoon.gif
Ive seen it done, i just cant figure it out, Thanks.
How do i Generate images to like a url? useing gd of course
Moderator: General Moderators
-
HomerTheDragoon
- Forum Newbie
- Posts: 21
- Joined: Sat Jul 08, 2006 2:10 am
-
Dr.Goodvibes
- Forum Newbie
- Posts: 19
- Joined: Wed May 24, 2006 10:14 am
- Location: New Zealand
One way I found of doing this is to include the following in the .htaccess file.
Then in a directory of your choice you place the image viewing file named blahblah without any file type extension.
This means you should have something like:
This assumes you are using Apache and php.
Code: Select all
<Files blahblah>
ForceType application/x-httpd-php
</Files>This means you should have something like:
Code: Select all
<img src='http://blahblah.com/blahblah/anyTextYouLike.gif' alt='Dynamic image' />- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA