Is there a way to parse URL arguements? i.e. https://website/bob/f.php?a=1&b=2
I know I can add the arguments, but I have not found where to get the data from the arguments.
Parse URL arguments
Forum rules
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Parse URL arguments
Last edited by Markup on Wed Mar 01, 2023 12:55 pm, edited 1 time in total.
Re: Parse URL arguments
This is not specific to WWB, but it will require JavaScript or PHP.
For example:
https://www.js-howto.com/how-to-parse-a ... avascript/
For example:
https://www.js-howto.com/how-to-parse-a ... avascript/
Re: Parse URL arguments
I know how to do it in PHP. I was not aware I could inject PHP code directly into a project page. Being able to do that would solve a lot of things for me.
While I am here. Is there a method to allow PHP server side variable access/creation? I know how to do it in PHP. I was just wondering if the same mechanism allowing me to get the arguments/variables from the URL would allow me to set/get server side variables as well.
While I am here. Is there a method to allow PHP server side variable access/creation? I know how to do it in PHP. I was just wondering if the same mechanism allowing me to get the arguments/variables from the URL would allow me to set/get server side variables as well.
Re: Parse URL arguments
You can insert custom code via Page HTML or an HTML object.
https://www.wysiwygwebbuilder.com/add_html.html
Any script or code that works elsewhere will also work in WWB.
Note however that we cannot help you with programming related questions.
https://www.wysiwygwebbuilder.com/add_html.html
Any script or code that works elsewhere will also work in WWB.
Note however that we cannot help you with programming related questions.
Re: Parse URL arguments
Thank you for the information. That is going to make things much, much easier.Pablo wrote: Wed Mar 01, 2023 2:15 pm You can insert custom code via Page HTML or an HTML object.
https://www.wysiwygwebbuilder.com/add_html.html
Any script or code that works elsewhere will also work in WWB.
Note however that we cannot help you with programming related questions.
I am pretty well versed in PHP. For me, it is second only to C/C++ for getting the job done.