If index.php includes top1.php, there cannot be any calls to funstions defined in top1.php from index.php Please let me know where I went wrong
/////index.php <?php include("http://localhost/dss-tee/top1.php"); setHeader('title'); ?> //////top1.php <?php function setHeader($siteTitle){ echo $siteTitle; return true; } ?> > -----Original Message----- > From: Mikey [mailto:[EMAIL PROTECTED] > Sent: Friday, August 08, 2003 3:48 PM > To: [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] not able to pass values to OR access global > values by the included file > > > Wouldn't it be easier to do: > > $action = 1; > include ("file.php"); > > HTH, > > Mikey > -----Original Message----- > From: Krishna Murali-A19032 [mailto:[EMAIL PROTECTED] > Sent: 08 August 2003 10:23 > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] not able to pass values to OR access > global values by the > included file > > > when i include php files i would like to pass values to the > included file > like > > include("file.php?action=1"); > > I am not able to do this. I have tried setting cookies and > try to acces the > cookies from file.php. It didn't work. > > Can anyone suggest me a way out of this? > > Thanks > Murali > S. Murali Krishna > Software Engineer > Software Technology Group (SofTec) > Mission Statement : To be the BEST in ALL the roles that I play. > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php