i have server A which must post something to secure server B, and that server B output will take over browser control. i am pursuing SAME EFFECT as if i clicked SUBMIT in this form: <
< ... <
i need this call to be made automatically -without user clicking- so i use curl to post the data to the sever using https and wait for its output. the output of that call is a new web page with its own links. so i get links & images with its relative path, ie: <, which is broken ! the URL in the browser is still the calling one. i call curl from php in this way: $out=`(curl -d ... https... -L)`; $output=parse($out); echo $output; parsing the returned data and prepending missing url can fix some. but some times i won't know how to parse in advance ! how to avoid this ? is curl the right tool for this purpose ? thanks ---------------------------- Juan Valentin-Pastrana jvalentin@arrakis.es ICQ# 56166878 _______________________________________________ Curl-and-php mailing list Curl-and-php@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/curl-and-php