IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old June 12th, 2005, 01:24 PM
barryk barryk is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 13 barryk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 35 m 18 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old June 12th, 2005, 01:58 PM
barryk barryk is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 13 barryk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 35 m 18 sec
Reputation Power: 0
how about no extension? at all and have the code in just index that would work on most forums would it not?

Anybody?

Reply With Quote
  #3  
Old June 12th, 2005, 03:02 PM
edwinbrains's Avatar
edwinbrains edwinbrains is offline
Retired Moderator
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2004
Location: London, UK
Posts: 6,670 edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)  Folding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced Folder
Time spent in forums: 1 Week 6 Days 23 h 36 m 40 sec
Reputation Power: 92
This probably does what you want:

http://www.isapirewrite.com/
__________________
- Edwin -

The General Rules Thread | The General FAQ Thread

Reply With Quote
  #4  
Old June 12th, 2005, 03:09 PM
barryk barryk is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 13 barryk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 35 m 18 sec
Reputation Power: 0
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > treat image as php (so we can do dynamic stuff)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway