[SOLVED] Â Receive parameter in URL and pass to PHPRunner application |
2/8/2019 11:07:47 AM |
PHPRunner General questions | |
T
Tayyab Ilyas author
I want to receive some parameters in URL before the website (which developed in PHPRunner) initiates and then save the parameter values in the database |
|
J
|
John 2/8/2019 |
You can use $_GET["variable name"] |
T
|
Tayyab Ilyas author 2/8/2019 |
Hi, Yes I have an idea how you do it outside of PHPRunner but I am not sure how do I use this within PHPRunner. Is there any event which triggers at first when PHPRunner developed app laods. I see after app initialization event but is there any event like before app initialization? You can use $_GET["variable name"] See https://www.w3school...p/php_forms.asp for guidance and usage.. John |
![]() |
Admin 2/8/2019 |
Use AfterAppInit event for this purpose. |
T
|
Tayyab Ilyas author 2/10/2019 |
Use AfterAppInit event for this purpose.
|
S
|
smez 2/11/2019 |
Use $_SESSION instead of $_Session |
T
|
Tayyab Ilyas author 2/15/2019 |
Hi Smez, Use $_SESSION instead of $_Session See: https://stackoverflo...ions-being-lost |