Re: Including a https .aspx form/response in a PHP page - Tricky?
| From: | Curt Zirzow | Date: | Sun, 27 Jul 2003 23:40:25 +0000 |
| Subject: | Re: Including a https .aspx form/response in a PHP page - Tricky? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-157117@lists.php.net to get a copy of this message | ||
* Thus wrote Paul Fitz (pfitz@dodo.com.au):
>
> Hi All,
Hello.
>
> I have tried the bellow with no success
> (firstly I use a form in one of PHP pages gathering the same $_POST variable
> names as the .aspx form, then send it to the below action page)-
> I have also tried sending the variables as $_GET.
>
> I have a feeling I may have to use the CURL library here? Any suggestions
> are greatly appreciated.
Yes, curl would make your life a whole lot easier.
> <?php
>
> // Post variables already collected, now do this action
>
> $url =
>
> "http://adsl-wholesale.datafast.net.au/EndUser/ADSLAvailability.aspx";
> $file = fopen ($url, "r");
The POST vars don't get sent to the webpage your retrieving from
your php script.
HTH,
Curt
--
"I used to think I was indecisive, but now I'm not so sure."