vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v1.x (Archive - Closed for Posting) > Troubleshooting / "How do I..." Questions

 
 
Thread Tools Display Modes
  #1  
Old 05-19-2004, 03:54 PM
Mike_XBLW Mike_XBLW is offline
Member
 
Join Date: Feb 2004
Posts: 40
Default ?page=xxx&variable=XXX

Still not getting this to work, Brian. I'm absolutely clueless.

I put up a new module and can't seem to get it to pass the variable. Is there somewhere I have to define the variable like there was in vbadvanced?

Anyway...here's the page:

http://www.xblw.com/cmps_index.php?Review=44

and the source http://www.xblw.com/rev2.php&Review=44

As for the code in there...it's pretty simple:

PHP Code:
<?php echo "I wish this would echo the number that I put up there.  It's $Review"?>
You've helped me out quite a bit in the past...so, hope this one is pretty easy.

Thanks
  #2  
Old 05-19-2004, 06:43 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: ?page=xxx&variable=XXX

You could either use "$_REQUEST['Review']", or add this line in your cmps_index.php file, right after the call to global.php:

globalize($_REQUEST, array('Review' => INT));
  #3  
Old 05-19-2004, 07:09 PM
Mike_XBLW Mike_XBLW is offline
Member
 
Join Date: Feb 2004
Posts: 40
Default Re: ?page=xxx&variable=XXX

for the sake of argument...I did both...to no avail
  #4  
Old 05-19-2004, 07:35 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: ?page=xxx&variable=XXX

Try opening your vba_cmps_include_bottom.php file and look for:

global $pages, $stylevar, $headinclude, $header, $footer, $vboptions, $vba_options, $navbar, $cusid;

Replace that with:

global $pages, $stylevar, $headinclude, $header, $footer, $vboptions, $vba_options, $navbar, $cusid, $_REQUEST;

Then try using the variable $_REQUEST['Reviewid'] again and see if it works. Sorry I forgot that I had removed the $_REQUEST variable from that function before. I know it was in there before, but I must have forgotten why I had it in there and removed it. If that still doesn't work and you'd like to fill out a support ticket via the Members Area I'll be glad to take a look and see what the problem is.
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:31 PM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.