App Connect State Management Support Product Page
Answered
how to set php variable value from URL?
Asked 21 Jun 2017 09:25:52
1
has this question
21 Jun 2017 09:25:52 Firdaus Rohman posted:
Like my previous question on Session, now I want to set php var and its value by query string, for example site.com/?var=value. Replies
Replied 21 Jun 2017 09:42:36
21 Jun 2017 09:42:36 Teodor Kuduschiev replied:
Hi Firdaus,
What kind of variable do you want to create and how exactly will you use it?
What kind of variable do you want to create and how exactly will you use it?
Replied 21 Jun 2017 09:56:16
21 Jun 2017 09:56:16 Firdaus Rohman replied:
Hi Teodor.
It is php variable that I would use to load certain elements depends on the value of the var, using php.
It is php variable that I would use to load certain elements depends on the value of the var, using php.
Replied 21 Jun 2017 10:02:39
21 Jun 2017 10:02:39 Teodor Kuduschiev replied:
Hi Fridaus,
There is no such an option in app connect - to set PHP variables. Why would you need to use PHP to show/hide elements when you can do this with app connect?
There is no such an option in app connect - to set PHP variables. Why would you need to use PHP to show/hide elements when you can do this with app connect?
Replied 21 Jun 2017 10:33:13
21 Jun 2017 10:33:13 Firdaus Rohman replied:
I use app connect for that purpose. However, there are certain elements I need to completely secured on server side that I don't want browser to load it at all when not needed (not just display=none). I'm also experimenting a single page with modules loaded by php.
Replied 21 Jun 2017 10:55:25
21 Jun 2017 10:55:25 Teodor Kuduschiev replied:
Hi Firdaus,
If you do not want to render the regions, just use the conditional region component in App Connect.
If you do not want to render the regions, just use the conditional region component in App Connect.
Replied 21 Jun 2017 11:00:31
21 Jun 2017 11:00:31 Firdaus Rohman replied:
Noted about that Teodor. Will get back to you should I need more help. Thank you.