Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Post an argument to a perl/php page.

Status
Not open for further replies.

Proqrammer

Programmer
Sep 17, 2006
64
Hi there, I wanna be able to post a variable (let's say a string) to a PHP or Perl page. Are there any commands or tools to do this under any version of Linux? what different ways are there to do this?
 
Perl's LWP package can do what you want. Plus a whole lot more.
Of course, if you only want to see if it's working (rather than setting up a nice reusable test harness) and you don't mind going old-school and primitive, you can always telnet localhost 80 and just paste in the request...

Steve

[small]"Every program can be reduced by one instruction, and every program has at least one bug. Therefore, any program can be reduced to one instruction which doesn't work." (Object::perlDesignPatterns)[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top