SunQuest
           PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

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 Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old June 29th, 2004, 10:52 AM
carbon14 carbon14 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: York, United Kingdom
Posts: 1 carbon14 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Virtual files / avoiding incomplete headers

What I'm trying to do, is to create a virtual directory space on the webserver. The files do not actually exist, but a php script will read the requested URL and use that to decide the output to generate.

I have already used auto_prepend_file in the php.ini and this is part of the solution, but if the target URL does not exist, php doesn't even execute the auto_prepend file and all I get is an 'incomplete set of headers' error.

I want to be able to either:

1. configure PHP to execute a script everytime it is invoked.
2. configure PHP to execute a script if it's main target does not exist.
3. configure IIS to call php to execute a specific script, regardless of the URL.

I don't want to have to create dummy files for all of the URLs.

I am using PHP 4.3.1 running as CGI on IIS 5 / W2K


Thanks,

carbon14


Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > Virtual files / avoiding incomplete headers


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