PDA

Click to See Complete Forum and Search --> : perl,aramorph...


Rosa
Apr 27th, 2007, 02:57 AM
i want your help in my problem please,

i have aramorph.pl program and i want to run it in apach server (lcalhost) i do not know how i do it
if u have any idea to connect it with PHP code ,post the answer.

i read this http://www.vbforums.com/showthread.php?t=417988 topic but it is not helping me because i want to run it in localhost and save the output to file

i'm using Windows XP ,Appserv 2.5.7

---------------
thanks kows but..

i'm testing to connect simple perl program with php code by (exec function)
and the output is "helo world!" .....this is fine

but i think the aramorph.pl have different way also have many instruction :( and i would your help urgently please.

Thanks again

MeanMachine
May 15th, 2007, 08:43 AM
Mmmmmmm Perl is part of history now and is on it's way out. VB .NET or C# rule this kingdom! :wave:

nebulom
May 22nd, 2007, 01:09 AM
You just have to save the .pl on cgi-bin directory of your %APACHE% installation directory. C:\Program Files\Apache Group\Apache2\cgi-bin for me. Please check your setup.

Now for hello world app. Copy
#!C:\usr\bin\perl -w
use CGI qw (:all);

print header, "<h1>Hello World</h1>"; on C:\Program Files\Apache Group\Apache2\cgi-bin\hello.pl and access it on browser as http://localhost/cgi-bin/hello.pl

Also note the invocation of perl.exe on C:\usr\bin\, meaning I installed my perl here on C:\usr. Again, please check your setup.