Page 1 of 1

How do i Generate images to like a url? useing gd of course

Posted: Wed Jul 12, 2006 3:48 pm
by HomerTheDragoon
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.

Posted: Fri Jul 14, 2006 5:59 pm
by feyd
mod_rewrite..

Posted: Tue Aug 15, 2006 11:35 pm
by Dr.Goodvibes
One way I found of doing this is to include the following in the .htaccess file.

Code: Select all

<Files blahblah>
ForceType application/x-httpd-php
</Files>
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:

Code: Select all

<img src='http://blahblah.com/blahblah/anyTextYouLike.gif' alt='Dynamic image' />
This assumes you are using Apache and php.

Posted: Wed Aug 16, 2006 12:17 am
by RobertGonzalez
Better idea...
Feyd wrote:mod_rewrite..
PS This does not utilize, and has no need for, GD. This is server related and as such has been moved to the Apache, IIS, Web Servers Forum.