I have a problem which i'm not sure how to solve -
I need to use a php redirect file to send variables to paypal using POST method, not GET.
The variables will be called from a config file... ie, config.php
$price = '1'
$currency = '1'
Reason: I'm using this to hide paypal button code whilst still allowing these variables to be changed using other php code.
My idea was this (not code - just process):
2)POST: price = $price etc
3)header( 'Location: paypal address **while sending post values**' )
can this be done?
If so, how?
Could a "fake form" be created by redirect.php instead of performing process 3
and have the php code "click" submit automatically?
If this doesn't make sense please let me know so that I can clarify...
Many thanks in advance,