Jump to content

[SOLVED] Php Code in a .gif?


AbydosGater

Recommended Posts

Dont think its really what you're after, but you could set up apache to parse files with .gif extensions as php files. Wouldn't really be a gif file, but yeah. I was messing around with it because i wanted a dynamic picture on my myspace - and they wont allow images with .php extensions.

Link to comment
Share on other sites

The work around I know of is a  Folder named something like image.gif and in that folder you have an index.php file that has a image/gif header.

 

I used this trick to create an avatar for my old site that displayed the ip, location and other stuff to the person looking at my avatar.. Kind'a cool actually

Link to comment
Share on other sites

No thats not what i want, I am sending emails and i want to send via in HTML, and i want to attach a small .gif image to the end of the email that hopefully will run the mail() or mysql_query() function to cause some method of me knowing when they read the email...

 

Andy

 

EDIT: Salis: Hmm thanks that sounds like a good idea.. what header did you put at the top of the php file?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.