PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
sandy1028
Forum Commoner
Posts: 60 Joined: Thu Jul 26, 2007 3:56 am
Post
by sandy1028 » Sun Sep 09, 2007 11:42 pm
Hi,
I am sending the values from php to perl files in the form tag
<form action="/cgi-bin/a.pl" method="post">
The values get passed only if the perl file is placed in cgi-bin directory.
The problem is values are not passed to the perl file and file contents are displaced in the browser instead of the values.
timvw
DevNet Master
Posts: 4897 Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium
Post
by timvw » Mon Sep 10, 2007 12:44 am
The values get passed only if the perl file is placed in cgi-bin directory
That is a matter of configuring your webserver.