|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
treat image as php (so we can do dynamic stuff)
Can anybody think of a simple way using IIS 6, that just for one directory I would be able to name a php script .gif/png/jpg etc so I can create a dynamic image that forum users wont have a problem using in there sig.
It can be done quite easy on apache with a htaccess containing AddHandler application/x-httpd-php .jpg Or better yet any other suggestions? ![]() I have had a play with MIME Types, but dont know if im barking up the wrong tree ![]() ie: script.jpg and that is a php script usin GD to make a dynamic image |
|
#2
|
|||
|
|||
|
how about no extension? at all and have the code in just index that would work on most forums would it not?
Anybody? |
|
#3
|
||||
|
||||
|
|
|
#4
|
|||
|
|||
|
yeah that could be annother way of doing it.. i'll try and test some methods soon and keep this thread updated. There nothing worse than searching on a forum and just finding the question! lol
![]() |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > treat image as php (so we can do dynamic stuff) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|