Jump to content

Help for $_GET with a complete URL as parameter


guruk

Recommended Posts

Hi

 

is there a way to implement a complete url with own parameters in a $_GET command?

 

like param1=hello

    param2=test.php?t=1&v=3&x=3

    param3=thanks

 

i know its normal not possible because of the & . i also know the solution with uriencode, but my client says thats not possible. he only could do a " or ### in the beginning and end to mark that special parameter like.. 

      myscript.php?param1=hello&param2="test.php?t=1&v=3&x=3"&param3=thanks

or    myscript.php?param1=hello&param2=###test.php?t=1&v=3&x=3###&param3=thanks

 

but anyhow.. how should I read this.. i did not found a standart solution with $_GET and Quotes

so it looks i need a total own Routine to read the full parameter from $_SERVER['REQUEST_URI']

 

Do you have a solution for me? with standart $_GET or with a function that emulates the $_GET and works with Quotes?

 

I would appreciate you can help :)

 

thanks

Chris

 

 

:) yes USUALY would be like that

 

but my client says he cannot give me a encoded url (like you do)

 

so.. just with a ### in the beginning and end.

 

tja... what should i say.. client is king...

 

so for me looks like just a procedure that reads the $_SERVER['REQUEST_URI'] can save my day :)

 

greets

chris

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.