Page 1 of 1
send info without redirectoring to site
Posted: Thu Dec 18, 2003 11:30 am
by Monad
hi
i want to send info from one site for example one buy now button has some info i want to send to another site but when user click the buy now button he will not redirect to the site he will remain on the same site but only info will go to the other site and end user will b redirected to the checkout or anyother page on the same site.
Thanks in advance
Posted: Thu Dec 18, 2003 11:42 am
by Draco_03
When you send info from a form you decide where it s redirected... idon t really know what you mean.. but if it can help you can always look for
$_SERVER['PHP_SELF'] on google...
Posted: Thu Dec 18, 2003 11:46 am
by igoy
you can use Flash / iFrame / Frame / Javascript Remoting for this..
please check this similar post for more info...
viewtopic.php?t=15655
dunno if that will give you whole solution but might lead you some direction, also you can check this... if you want to know some coding of flash LoadVars
viewtopic.php?t=11509
Posted: Thu Dec 18, 2003 11:59 am
by mrvanjohnson
Just off the cuff, if I were to do something like this. I would probably have the page kick of a exec() in the background and then have the page do a redirect. Then you can use PHP or Perl or whatever you want to send the information to the other site.
Posted: Thu Dec 18, 2003 12:02 pm
by Monad
thanks a lot guys
igoy i dont want to use flash. by the way in asp v can do this iwth Microsoft XML HTTP object and u can get detail code from there
http://www.goemerchant.com/techsupport/ ... on=gateway
i want a solution like that please.
Draco_03
i just want to send info to another site from a site and want the end user to remain on the same site
Posted: Thu Dec 18, 2003 12:38 pm
by Weirdan
You can always use [php_man]cURL[/php_man] extension to emulate redirect.