The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Return URL Query String - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: Feature Suggestions (https://forums.formtools.org/forumdisplay.php?fid=7)
+--- Thread: Return URL Query String (/showthread.php?tid=155)



Return URL Query String - 2x4 - May 18th, 2009

Ben,

Haven't checked the Beta yet, but presuming no change from 1.5+ as the return URL query string goes (passing data)...

The normal way for a query string is ?key=value&key=value... etc.

However, quite a few MVC based application have it /value/value/value... etc.
It would be nice if there was a switch (radio button maybe) that would select the proper method of formatting the return URL query string for passing data.

I do it manually with 1.5+, either I use a file that has the regular QS, or the MVC type, depending on the site configuration, but it is a *hack*. ;-)

It shouldn't be a biggie to address this, I think.

Thx!


RE: Return URL Query String - Ben - May 18th, 2009

Interesting...! I haven't heard of passing the data in that way before. How is the information made sense of without specifying the key? value/value/value wouldn't let you know what information is in each section.

Is this way of passing the info along standardized?

- Ben


RE: Return URL Query String - 2x4 - May 19th, 2009

(May 18th, 2009, 2:47 PM)Ben Wrote: Interesting...! I haven't heard of passing the data in that way before. How is the information made sense of without specifying the key? value/value/value wouldn't let you know what information is in each section.

Is this way of passing the info along standardized?

- Ben

Ben, the keys are defined in the application controller. Of course, that implies that the order matters. (The FT does it anyway based on the order of the pairs defined in the last step of form config).

And yes, it is a standardized way of passing the info in the MVC OOP. It is also a cleaner way to pass info, evidently. ;-)