Function get_return_url()

A multipurpose module, plugin and component

Function get_return_url()

New postby stonkers » Wed Feb 09, 2011 10:37 pm

Edvard,

I'm having an issue trying to use a self calling page. I'm using your tutorial at http://edo.webmaster.am/jumi/tutorial/self-calling-forms-tutorial.html The following fails:

Code: Select all
if ($query_string = mosGetParam( $_SERVER, 'QUERY_STRING', '' ))

with the error:

Call to undefined function mosGetParam() in /var/www/html/joomla/validation.php on line 51

I've tried to convert this to JRequest::getVar, but not exactly sure how this would convert. I'm brand new to Joomla and PHP (coming from a C# ASP.NET world).

Thanks,
Eric
stonkers
 
Posts: 4
Joined: Wed Feb 09, 2011 10:31 pm

Re: Function get_return_url()

New postby stonkers » Wed Feb 09, 2011 10:44 pm

Note that my Joomla version is 1.5.15
stonkers
 
Posts: 4
Joined: Wed Feb 09, 2011 10:31 pm

Re: Function get_return_url()

New postby stonkers » Wed Feb 09, 2011 11:41 pm

OK, looks like I don't need this function anymore. I can do the following:

Code: Select all
JURI::getInstance()->toString();
stonkers
 
Posts: 4
Joined: Wed Feb 09, 2011 10:31 pm


Return to Jumi

Who is online

Users browsing this forum: No registered users and 5 guests

cron