Re: web page function

From: Date: Thu, 25 Jul 2002 03:39:57 +0000
Subject: Re: web page function
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-109409@lists.php.net to get a copy of this message
Hi Steve, try this: if (basename($SCRIPT_NAME) == "index.php") print "some silly message"; Jim Grill Support Web-1 Hosting http://www.web-1hosting.net ----- Original Message ----- From: "Steve Minter" <sminter@houston.rr.com> To: <php-general@lists.php.net> Sent: Wednesday, July 24, 2002 9:50 PM Subject: [PHP] web page function I am tring to refer to a web page using a function. What function refers to a web page? example: if (page=index.php) { print $something } What function should "page" be? Thanks Steve

« previous php.general (#109409) next »