Re: Newbie frustration!

From: Date: Wed, 24 Jan 2001 10:56:57 +0000
Subject: Re: Newbie frustration!
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-36394@lists.php.net to get a copy of this message
On Tuesday 23 January 2001 22:03, Gerry wrote: > All I need is to be able to learn how to load everything from a script > and how to call the script with a URL to the directory. > eg. <? if (Yarns/) > { > include "header,nav, fetch content,footer"; > else "?"; > } > ?> > > <a href="http://mysite.com/Yarns/"> > Yarns</a> Read http://www.phpbuilder.com/columns/tim19990117.php3 Basically you create "virtual directories", e.g. a PHP script named "Yarns" which simply include()s your one "real" script. -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) The use of COBOL cripples the mind; its teaching should, therefore, be regarded as a criminal offence. - Edsger W. Dijkstra

« previous php.general (#36394) next »