11
Alex_Grey
Re: passing paramaters
  • 2009/1/6 2:59

  • Alex_Grey

  • Just popping in

  • Posts: 43

  • Since: 2007/6/16


if we use this thread as an example of how GET is used. the current url is something similar to xoops.org/modules/newbb/viewtopic.php?topic_id=67209&forum=27

if we $_GET['topic_id'] that value would be 67209 . if we $_GET['forum'] that value is 27 .

here is also a link to some more info about GET http://www.tizag.com/phpT/postget.php

and the most important is to be careful of MySQL injection. someone else will have to provide a better example.

Hope that helps.

also, allow_call_time_pass_reference shouldn't have to be changed. call time pass by reference is when you pass the variables by reference when you are calling the function. and not when it is defined as such.
“There is nothing impossible to him who will try.” ~Alex The Great~
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

12
CS_Swan
Re: passing paramaters
  • 2009/1/6 21:23

  • CS_Swan

  • Just popping in

  • Posts: 28

  • Since: 2008/11/28


this is still not working

it would be nice if someone could take this php file and turn it into a module that created a new block for each feed.
i am still looking for a workaround.
to get the file rss2html.php to accept parameters from a block intead of from the address bar.


Login

Who's Online

384 user(s) are online (311 user(s) are browsing Support Forums)


Members: 0


Guests: 384


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits