Home > PHP > Simple Script In Php

Simple Script In Php

November 22nd, 2009

What I need, is a script which will receive all of the variables that are posted to it and then ping those to another URL.

Please note:
1. Variables may be Post or Get
2. The script must be able to determine if the final destination already has variables and either add them with & or with ?

So the procedure will go something like this:

1. http://www.mydomain.com/thisscript.php?a=foo&b=coo
(there will be an undermined number of variable and it may be post or get)
2. All of the variables are then put together to post to another page.
eg. http://www.anotherdomain.com/anotherscript.asp?a=foo&b=coo

3. If the final destination already has variables, then it will add them
eg. http://www.anotherdomain.com/anotherscript.asp?z=loo&a=foo&b=coo

In summary, you are taking in an undetermined number of variables and spitting them out to another url using an if statement to determine if the final url already has variables attached.

Please only bid on this if you have already created the script and can demonstrate it to me.


Simple Script In Php

Categories: PHP Tags: , , , , , ,
Comments are closed.
Bear