Re: Auto Load PHP

From: Date: Mon, 14 Aug 2000 21:00:11 +0000
Subject: Re: Auto Load PHP
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-11683@lists.php.net to get a copy of this message
Hi, I tried the below: What I am trying to do is load a HTML page and then load the PHP script after the page is loaded is there a HTML delay process to re-direct to another page automaticly similar to the post and submit only the user does not click any buttons the page just loads. Thanks David.......... > > It sounds like you are using the Perl/HTML paradigm but there is not need. > eg: > > -------file1.php start-------- > <?php > $scpt_firstname = "Bob"; > $scpt_surname = "Mold" > require("cheers.php"); > ?> > -------file1.php end-------- > > -------cheers.php start-------- > <?php > echo "Thank you $scpt_firstname $scpt_surname <br>\n"; > ?> > -------cheers.php end-------- > > > HTH, > David. > ----- Original Message ----- > From: David Costelloe <dwc99@home.com> > To: <php-general@lists.php.net> > Sent: Monday, August 14, 2000 11:05 AM > Subject: [PHP] Auto Load PHP > > > Hi, > I am wondering of the possibilities of being able to automaticly load a PHP > file and pass 2 variables to the php script once the HTML portion of the PHP > code is completed. > Example: > User received a PHP thank you page,once the page is loaded I would like to > run another PHP script and pass 2 variables. > > Any ideas would be creatly appreciated. > > Thanks > David......... > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#11683) next »