cURL php upload posting $_FILES[file][name] array creation
Hi All,
I'm uploading from https site to a remote https site. I'm having trouble using method POST multipart/form-data as firefox sees this unencrypted post data and aborts the operation. I was thinking of using curl (details below) but i get "undefined index : file in upload.php. (as these super(or automatic) globals arn't passed. In the fetch1.php below, i'm attempting to post variables and recreate these globals on the new server. I cannot get it to register the global variables upload form -> fetch1.php(on same server) -> upload.php (remote ssl) fetch1.php Code:
<?php then upload.php tries to extract post variables and create globals Code:
<?php any help would be greatly appreciated.. thanks |
Quote:
|
thanks Sergei
I'm uploading images from my https://www.example.com.au (commercial shared server) to my https://example.net.au because commercial shared server doesn't have APC enabled and I want to getprogress , (that part is ajax and it works fine with curl ) I also want to resize and store large images and avoid bandwith/storage if all goes as planned. I also hope to load share using ping to establish the home server loads. May be I should write it to mysql and read it again at the other end, but i still have to pass one common variable to reference the upload. I Want the progress bar to stay nested in the page my form is on one server and is passing url variables to another server (also https but different certificate) My commercial shared server host will not put a shared ssl in the domain.(and still provide a seal). I was thinking of dropping the seal as I intend to outsource the e-commerce bit. It all works fine on I.E, but firefox is a bit more safe savy. Cheers |
All times are GMT -5. The time now is 06:09 AM. |