PHP mastermind needed here

i have (probably noob) question here:

is there any way to pass variables directly from php file to another php file using POST method BUT without using forms, flash or anything except PHP :q:

http://ca3.php.net/curl

thx

If your host doesn’t provide the curl library, they may provide the curl executable - it’s a bit of a hack, but you can use backticks (``) to execute the curl binary passing the correct options… something like this


 $str = `curl -d "foo=foo&foo2=foo2" http://myurl/`;
 // $str is the result
 print $str;
 

sessions vars too, no…?