Hi,

i have a php script on server1 that sends var1 in a url to server2 like http://server2/script.php?var1=test

server2 then posts back to server1 with the url http://server1/callback.php?var1=test&var2=somedata

i then want callback.php to redirect to http://server3/someScript.php?var1=test&var2=somedata

but callback.php dosnt seem to be redirecting to server3 ?
If i type the url http://server1/callback.php?var1=test&var2=somedata directly into the browser it sends the data to server3 fine but i dont want to have to type in the url myself i want it to be automatic?

is this possible ?

Thanks,
Mark H.

Hi,

i have a php script on server1 that sends var1 in a url to server2 like http://server2/script.php?var1=test

server2 then posts back to server1 with the url http://server1/callback.php?var1=test&var2=somedata

i then want callback.php to redirect to http://server3/someScript.php?var1=test&var2=somedata

but callback.php dosnt seem to be redirecting to server3 ?
If i type the url http://server1/callback.php?var1=test&var2=somedata directly into the browser it sends the data to server3 fine but i dont want to have to type in the url myself i want it to be automatic?

is this possible ?

Thanks,
Mark H.

Post your code snippets I will help you

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.