Thread: PHP help please
View Single Post
Old 01-21-2005, 01:43 PM  
StuartD
Sofa King Band
 
StuartD's Avatar
 
Join Date: Jul 2002
Location: Outside the box
Posts: 29,903
Quote:
Originally Posted by GiantGnome
what about this one?

if (stristr($_SERVER["SERVER_SOFTWARE"], "apache") !hahahaha false)
include( "http://" . $_SERVER["SERVER_NAME"] . "/scripts/febfpa2link.html" );

?>
I'm asuming you have a double equal sign after that !

Don't... it's just !=

example:

Code:
if (stristr($_SERVER["SERVER_SOFTWARE"], "apache") != false)
        include( "http://" . $_SERVER["SERVER_NAME"] . "/scripts/febfpa2link.html" );
StuartD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote