Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 02 Aug 2011, 17:55
radiofranky radiofranky is offline
 
Join Date: Jun 2011
$vbulletin->GPC['subject'] is for subject what about for post body?

Hi,
I used $vbulletin->GPC['subject'] .= " for $".$vbulletin->GPC['saleprice'] .", {$pct}% off (orig.$" . $vbulletin->GPC['price'] . ")"; to add additional info to my title.

I was wondering what is the GPC['???'} for post body? I would like to add something at the end of post boy.

Is there a article that has a list and description of each GPC[?]


thanks
Reply With Quote
  #2  
Old 02 Aug 2011, 18:00
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
I believe GPC comes from "Get/Post/Cookie", and it's filled in by calls to $vbulletin->input->clean_gpc() (or clean_array_gpc()). So I'm not quite sure what you're asking - the varibales available in GPC depends on what clean_gpc() calls have been made in the script up to the point where you use it.
Reply With Quote
  #3  
Old 02 Aug 2011, 19:29
radiofranky radiofranky is offline
 
Join Date: Jun 2011
HI,
I got it. It's "message" for the post body.

thanks
Reply With Quote
Reply



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

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


New To Site? Need Help?

All times are GMT. The time now is 02:43.

Layout Options | Width: Wide Color: