Hi,
I installed Xampp on my server(windows 2003).I am having perl script(i.e cgi program).Inside cgi program, i wants to use HTML HYPERLINK-that should points to my PHP program and plus i wants to pass one parameter to this hyperlink.

Is it possible to call PHP script?If is it possible means, please see my line coding

print "<tr><td>";
print "&nbsp&nbsp&nbsp&nbsp<a href=c:/xampp/htdocs/test.php?emp=$id target=workwind>Uploading</a>";
print "</td></tr>";

In above, if i need to made any changes means please give your coding.Then how can i get the parameter emp=$id in test.php. Please help me out.Please check my PHP path also.

Recommended Answers

All 2 Replies

What happens when you type c:/xampp/htdocs/test.php?emp=$id into the URL area of your browser? I bet your browser can't read that as a valid URL. Your browser needs a valid URL that looks like http://HOSTNAME/test.php?emp=$id where you replace HOSTNAME with the real host name (try http://localhost/test.php?emp=$id ).

Hi,
thanks for your hint. How can get the HYPERLINK value in the test.php file. Then it is possible to call PHP file(by HYPERLINK) inside cgi script. Need some more information or help.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.