There is another way to do this...
ob_start();
readfile($file);
$var = ob_get_contents();
ob_end_clean();
If you want to parse the file as PHP before inputting it into the
variable, instead of using readfile() use this:
eval("require(\"".$file."\");");
$HTTP_REFERER
$_SERVER["HTTP_REFERER"]
Samuel | http://enetwizard.net
-Original Message-
From: Ken Kirtley [mailto:kdkirtley@;earthlink.net]
Sent: Saturday, October 26, 2002 5:47 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Referral Site...
I'm new to PHP and so this may be something of a
Use $_GET["select"] for the switch statement
Some of the people on this list would even recommend you make another
variable first, such as $userselect = $_GET["select"] and use
$userselect as your switch statement, though I think it pointless.
Or turn register_globals on in the php.ini file (not
XML, by definition is an eXtensible Markup Language. That means the
markup associated with a document can be whatever that person wants it
to be. I think a better question to ask is if there are any projects
out there who are working toward a standard XML document type for
contact information, an
4 matches
Mail list logo