PDA

View Full Version : $vbulletin->GPC['subject'] is for subject what about for post body?


radiofranky
08-02-2011, 03:55 PM
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

kh99
08-02-2011, 04:00 PM
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.

radiofranky
08-02-2011, 05:29 PM
HI,
I got it. It's "message" for the post body.

thanks