Jasper Bryant-Greene wrote:
Al wrote:
I'd use this. It's simple and doesn't involve CURL. Here is a brief
outline.
$file_str= base64encode(serialize($_GET)); //$_GET can be any array
Any reason why you base64_encode here? fwrite is binary-safe so base64
encoding your data is slow and a
Graham Anderson wrote:
As an alternative, if I:
1) posted variables to a script with curl
$ch = curl_init ("path2myScript/movieBuilder.php");
curl_setopt ($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_POST,1);
curl_setopt ($ch, CURLOPT_POSTFIELDS,
"mask=mask.gif&drag=drag.gif&movie=fonovi
thanks
Well, I had to try
As an alternative, if I:
1) posted variables to a script with curl
$ch = curl_init ("path2myScript/movieBuilder.php");
curl_setopt ($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_POST,1);
curl_setopt ($ch, CURLOPT_POSTFIELDS,
"mask=mask.gif&drag=drag.gif&movie
Graham Anderson wrote:
The below method is the way I send variables to the movieBuilder.php
file [located in the 'src' attribute] with GET Variables
It does work :)
How would I use CURL to POST the same variables to the movieBuilder.php
file WITHIN the 'src' attribute ?
You can't. Browsers
The below method is the way I send variables to the movieBuilder.php
file [located in the 'src' attribute] with GET Variables
It does work :)
How would I use CURL to POST the same variables to the movieBuilder.php
file WITHIN the 'src' attribute ?
FYI, I am able to POST to the movieBuilder.
Al wrote:
I'd use this. It's simple and doesn't involve CURL. Here is a brief
outline.
$file_str= base64encode(serialize($_GET)); //$_GET can be any array
Any reason why you base64_encode here? fwrite is binary-safe so base64
encoding your data is slow and a waste of space.
Create a te
6 matches
Mail list logo