Can't pass B01-Freeform Options to custom API

General ShopSite user discussion

Can't pass B01-Freeform Options to custom API

Postby tgavin » Thu Aug 30, 2007 5:37 pm

For some reason I can't get the value of B01-Freeform Option to pass to my custom PHP API. For testing, I mail myself the result.

If I use customdump.php, yep, I see it. But when passing to PHP I get nothing.

Code: Select all
$stdin = fopen("php://stdin","r");
fscanf($stdin,"%{$SERVER['CONTENT_LENGTH']}s",$query_string);
parse_str($query_string,$params);
$str = $params['B01-Freeform Options'];
mail('me@myemail.com','test',$str);
tgavin
 
Posts: 13
Joined: Mon Jul 09, 2007 9:05 am

Return to User Forum

Who is online

Users browsing this forum: No registered users and 63 guests