Parse URL arguments

All WYSIWYG Web Builder support issues that are not covered in the forums below.
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
Post Reply
Markup
 
 
Posts: 38
Joined: Sat Feb 04, 2023 3:55 pm

Parse URL arguments

Post by Markup »

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.
Last edited by Markup on Wed Mar 01, 2023 12:55 pm, edited 1 time in total.
User avatar
Pablo
 
Posts: 23451
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Parse URL arguments

Post by Pablo »

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/
Markup
 
 
Posts: 38
Joined: Sat Feb 04, 2023 3:55 pm

Re: Parse URL arguments

Post by Markup »

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.
User avatar
Pablo
 
Posts: 23451
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Parse URL arguments

Post by Pablo »

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.
Markup
 
 
Posts: 38
Joined: Sat Feb 04, 2023 3:55 pm

Re: Parse URL arguments

Post by Markup »

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.
Thank you for the information. That is going to make things much, much easier.

I am pretty well versed in PHP. For me, it is second only to C/C++ for getting the job done.
Post Reply