Re: Cold Fusion ->PHP cont...
| From: | Jordan S. Jones | Date: | Tue, 11 Jul 2000 17:02:08 +0000 |
| Subject: | Re: Cold Fusion ->PHP cont... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-5952@lists.php.net to get a copy of this message | ||
Kelly...
about cflocation..
<?
header("LOCATION: page to go to");
?>
has to be done before any HTML is sent to the client..
Jordan S. Jones
""Kelly Meeks"" <meeks@rightangleinc.com> wrote in message
news:000c01bfeb74$13d4a560$2f0aa8c0@pavilion.internal.crocker.net...
Hey Folks,
Bumping my head on using the include statement.
The following code snippet..
if ($temp=1)
{
$theloc="UPI_RecordAction.php3?RecordID=$row[0]";
include($theloc);
}
else
{
$theloc="UPI_RecordAction.php3?RecordID=$RecordID";
include($theloc);
}
generates this error...
Warning: Failed opening 'UPI_RecordAction.php3?RecordID=2' for inclusion in
/home/user2/rangle/WWW/clients/upi2/UPI_RecordAction.php3 on line 43
I have no idea why it fails. I can paste in the url info in my browser, and
it finds the page no problem. Any suggestions?
Also, Cold Fusion has a command (cflocation) that will, instead of including
one file in another, will redirect to specific page. Is there a PHP
equivalent?
Thanks for the help.
Kelly