No, I don't believe you can "include" a perl module.

What you will have to do, depends on what the perl module does.

If you need to pass parameters between PHP and Perl, take a look at
the PHP 'passthru' function.

You might also want to look at 'exec'.

Alternatively, you could get your PHP script to output html with the
perl script as a link that the user can click on, or as the action of
a form.

Greg
Sites4All Limited
www.sites4all.co.uk

--- In [email protected], "Gordon Stewart" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> Ive designed a FAQ section to a site - in PHP...
> 
> The rest of the site is in Perl / CGI (im not too hot on that)...
> 
> However, Im thinking of accessing one of their perl modules, to
> include in my PHP script.
> 
> (im away for 2-3 nights, back on weekend)
> 
> QUESTION :- Can we simply use the PHP "include" command to run a Perl
> script ? - Or is there anything special we need to do ?
> 
> -- 
> G
> NZ community groups - [EMAIL PROTECTED]
> Freecycle Auckland :-
> http://groups.yahoo.com/group/AucklandFreecycle/
>


Reply via email to