From: Shrock, C. <Sh...@in...> - 2002-03-02 00:19:47
|
most likely, the register_globals setting in your php.ini is set to Off. This means that the only way you can get to the variable is through something like this: echo $HTTP_GET_VARS['Sectid']; instead of echo $Sectid; > -----Original Message----- > From: Rob Paxon [mailto:se...@po...] > Sent: Friday, March 01, 2002 12:25 PM > To: Pos...@li... > Subject: [Post-nuke-users] Help with variables in the URL > > > Well I am relatively new to PostNuke and coding with it. > > I have a question that seems like the solution should be easy enough. > > I am making a module that requires variables be passed to it in the > URL. I make the variables added to the url as I normally would > (blahblah.com/blah.php?Variable=blah). For some reason this isn't > working when I tack it to the end of the module's URL. I don't > understand why, other modules do the exact same thing and work fine. > > For example, while: > modules.php?op=modload&name=Library&file=index&func=section&Sectid=ART > > Now, the script can't grab the $Sectid variable > When I do > echo $Sectid; > to see, nothing is echoed. > > Any ideas why this isn't working? > > ------------------- > >>Rob Paxon aka seek > >se...@po... > >aim: "rob paxon" or "i iz rob" > >>mediaocre industries > >http://www.pogmania.com/mediaocre > > > > _______________________________________________ > Post-nuke-users mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/post-nuke-users > |