EasyHttpRequests-Talk

Summary: Talk page for EasyHttpRequests.
Maintainer: overtones99
Users: (View? / Edit)

This space is for User-contributed commentary and notes. Please include your name and a date along with your comment.

Comments

If I understand correctly the string to be assigned to $FmtPV['$urlVarX'] is evaluated twice, and therefore you need to quote it twice. See PageVariables#custompv and MoreCustomPageVariables . I'm new to php, but I think it is safer to nest single quotes inside double-quotes in this case, otherwise the content of $_REQUEST['x'] can mess up with other quotation marks.

      $FmtPV['$urlVarX'] = '$_REQUEST["x"]';

It may be better to do some kind of filtering of the strings for security reasons, though I don't know how much of a concern it is. --Procione? January 23, 2011, at 05:49 PM

Talk page for the EasyHttpRequests recipe (users?).