Skip to content
Advertisement

Tag: parameters

PHP – hide url (GET) parameters

I have a link in my PHP/HTML like this: When users click on the link, the parameters are handled by a 3rd party website which log the users in seamlessly. Is it possible to hide/mask/camouflage the url so that users don’t see the parameters while still passing them over to the designated site? If no, how would you guys go

Php Curl adding Params

Im a newbie im trying to get a script to trigger another script with Curl in PHP but it dosent seem to be sending the paramaters. Is there a seperate function to append parameters? Could anyone point me in the right direction?? Answer You need curl_setopt() along with the CURLOPT_POSTFIELDS param. That’ll POST the given params to the target page.

PHP function with variable as default value for a parameter

By default a PHP function uses $_GET variables. Sometimes this function should be called in an situation where $_GET is not set. In this case I will define the needed variables as parameter like: actionOne(234) To get an abstract code I tried something like this: which results in an error: Parse error: syntax error, unexpected T_VARIABLE Is it impossible to

Advertisement