Tilted Forum Project Discussion Community

Tilted Forum Project Discussion Community (https://thetfp.com/tfp/)
-   Tilted Technology (https://thetfp.com/tfp/tilted-technology/)
-   -   [php/perl] send post values to php from perl (https://thetfp.com/tfp/tilted-technology/61909-php-perl-send-post-values-php-perl.html)

Realizm 07-09-2004 09:14 AM

[php/perl] send post values to php from perl
 
Is there a way to send POST values from a PERL script to a PHP script?

SinisterMotives 07-09-2004 10:44 AM

I'm not sure if you can store values as native variables in one language and expect another language to understand them. You could try writing them to a file in Perl and have the PHP script parse them out of that file.

ratbastid 07-09-2004 10:49 AM

You could post them to the PHP script's url using LWP. Basically you pretend to be a web browser submitting a page, and submit the POST data payloar to the script via the web server.

You could also shell out to the PHP script and cram the POST-formatted data into its stdin, I suppose.

Without knowing more of what you're trying to accomplish, that's my best suggestion.


All times are GMT -8. The time now is 11:27 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43