Jump to content

[SOLVED] jpg/png/gif to php


The Little Guy

Recommended Posts

Easiest way would just be:

 

RewriteEngine On
RewriteRule url/(.*) newTempImg.php?url=$1

 

 

That would of course cause problems though if someone tried to tamper with the URL.

 

 

Simple example.  How specific do you want it?  Do you want to make sure it's a valid URL in PHP or during the rewriting?

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.