Passing values from php to perl file

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

Post Reply
sandy1028
Forum Commoner
Posts: 60
Joined: Thu Jul 26, 2007 3:56 am

Passing values from php to perl file

Post by sandy1028 »

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 »

The values get passed only if the perl file is placed in cgi-bin directory
That is a matter of configuring your webserver.
Post Reply