[thelist] PERL to PHP Form

Jeff Wilhelm jeffwilhelm2 at hotmail.com
Thu Jul 11 14:35:01 CDT 2002


Well, in the .pl you'd probably have a link to the PHP form, correct?

In the link to the PHP make sure you include the variable name and value
that you want to pass to the PHP.

So the link might read something like:
<a href="/file.php?name=Jeff">Click Here!</a>
That will pass the value Jeff to the php file in the form of a variable
named name.

To access it in the PHP file you could just use <?=$name;?> which would echo
the value Jeff to the screen.

Jeff


----- Original Message -----
From: "Andrew Maynes" <andrew at uk-webdeveloper.co.uk>
To: <thelist at lists.evolt.org>
Sent: Thursday, July 11, 2002 3:28 PM
Subject: RE: [thelist] PERL to PHP Form


> jeff I about to build the form which will be a basic form that the user
will
> fill out the details I just want one of the field to contain info from a
.pl
> script could you show me a little bit more what you mean, I wont be having
> globals on?
>
> cheers Andrew
>
> -----Original Message-----
> From: thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org]On Behalf Of Jeff Wilhelm
> Sent: Thursday, July 11, 2002 07:26
> To: thelist at lists.evolt.org
> Subject: Re: [thelist] PERL to PHP Form
>
>
> > I have a perl script and want to pass a variable $domain to a php form
> could
> > someone show me how to do this please?
>
> Andrew, depending on your php settings (globals on, etc...) you can
usually
> just call the form like:
> site.php?variable=value
>
> Jeff
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.374 / Virus Database: 209 - Release Date: 7/9/02
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.374 / Virus Database: 209 - Release Date: 7/9/02
>
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !
>



More information about the thelist mailing list