Webpath vs Absolute Path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello List,
 
  I'm running an IIS 5.0 server on Windows 2000 box and have PHP Version
4.3.2 with 512 Megs Ram. I am using the CGI mode.
 
It's a webserver running about 26 Virtual Domains.  All Domains are running
PHP and have php scripts.
 
Something recently has happened and I'm not sure why.  I am hoping someone
on this list can help me.  All of these sites have been running for over 6
months or longer.  Just today a new problem pop'd up, I noticed some of my
sites were timing out and php failing to execute; I could not think of
anything similiar about the sites that were timing out.  Out of the 26
virtual domains, about 7 were timing out.  After much much much debugging I
could only find one thing similiar;
 
Instead of using an absolute o/s path:
IE: <?INCLUDE("d:\dir1\dir2\test.php");?>
 
These were using a webpath:
IE: <?INCLUDE("http://www.test.com/test.php";);?>
 
I changed his webpath calls to use an absolute path and boom, the sites are
working again Perfectly.
 
Now I prefer and usually always us an absolute o/s path, but we have another
php developer who doesn't.  Again these sites had been running correctly for
over 6 months and now all of a sudden stopped.
 
What could have caused these websites to stop allowing a webpath?  Why would
it all of a sudden stop working?
 
 



Tony Devlin 
V. President / CTO 	 Airewaves Broadband 
69 Robert Smalls Prkwy. 
Suite 4B 
Beaufort, SC 29902 	
tdevlin@airewaves.com 
http://www.airewaves.com <http://www.airewaves.com/>  	
tel: 
fax: 
mobile: 	(843) 379-2473 
(800) 861-6301 
(678) 480-4959 	
 	

	 	
	
 
 

[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux