Re: how to: variable = php parsed file include
| From: | Julio Nobrega Trabalhando | Date: | Thu, 28 Feb 2002 20:40:18 +0000 |
| Subject: | Re: how to: variable = php parsed file include | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-86650@lists.php.net to get a copy of this message | ||
Find on phorm.php where you want to put your nav bar, and use:
include('file_name.php');
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
"Brian Petro" <brian@bpwebdesign.com> wrote in message
news:20020228193716.3259.qmail@pb1.pair.com...
> I've got a site that I've used php to include the navigation bar as a
> separate file. Within that nav-bar is a small php application. I have no
> problem including the php nav-bar file and it gets parsed by php and the
> application works. The problem is that I also want to use the same file
> include for the navigation in a dynamic "thank you" page that is generated
> by a php-based form processor. I'm using phorm.com's php form processor
> which I really like. The "dynamic" "thank you" page that it generates is
> actually a hard coded html page which phorm.php parses to replace form
> variables. I think my best way to do what I want is to have the script
grab
> the nav-bar file, parse it through php, then take the string results and
set
> a variable equal to that string. That way I can still use the script's
> built in parsing that replaces form variables in the hard coded "thank
you"
> page. Does anyone know the syntax to do this? I understand the concept,
> but I'm way over my head.
>
> Thanks!
>
>
>