# I need my php to post paypal variables

**URL:** <https://forum.kirupa.com/t/i-need-my-php-to-post-paypal-variables/207393>\
**Category:** Uncategorized\
**Created:** [November 16, 2006, 11:01pm UTC](https://forum.kirupa.com/t/i-need-my-php-to-post-paypal-variables/207393 "2006-11-16T23:01:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrismeisner](https://avatars.discourse-cdn.com/v4/letter/c/9de053/32.png) [@chrismeisner](https://forum.kirupa.com/u/chrismeisner)\
**Post date:** [November 16, 2006, 11:01pm UTC](https://forum.kirupa.com/t/i-need-my-php-to-post-paypal-variables/207393/1 "2006-11-16T23:01:33Z")

</div>

so i have a flash cart component i bought that sends out paypal variables , i just need a correct .php script to receive and email the variables sent .  
heres paypals list of variables they use .  
[https://www.paypal.com/IntegrationCenter/ic\_std-variable-reference.html](https://www.paypal.com/IntegrationCenter/ic_std-variable-reference.html)  
and this is the sad script im working with now , just to get something to show up :

```php
<?php
$sendTo = "chris@chrismeisner.com";
$subject = "work you bastard";
$message = $_POST["quantity"];
mail($sendTo, $subject, $message, $headers);
?>

```

obviously nothing is coming up in the message of the email .  
thanks a bunch 🙂  
-chris
