|
-
Apr 27th, 2007, 02:57 AM
#1
Thread Starter
New Member
perl,aramorph...
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
-
May 15th, 2007, 08:43 AM
#2
New Member
Re: perl,aramorph...
Mmmmmmm Perl is part of history now and is on it's way out. VB .NET or C# rule this kingdom!
-
May 22nd, 2007, 01:09 AM
#3
Fanatic Member
Re: perl,aramorph...
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
Code:
#!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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|