This really isn't the place for discussing PHP shopping carts, we'd love to 
help you, but I think you need to help yourself a little bit first. 

Do some PHP tutorials on File IO (that's what "fputs" is about) and basic 
web stuff (using REQUEST, POST, GET vars, learn about the web environment). 
If others see that you have tried to solve the problem, they will be much 
more likely to assist you.

PHP tutorials:
http://www.htmlgoodies.com/beyond/php
http://www.homeandlearn.co.uk/php/php.html

PHP docs (to understand the tutorials):
http://php.net/

PHP Primer
http://www2.astro.psu.edu/users/sdb210/documents/phpprimer_v0.1.pdf


On Tuesday, 5 June 2012 07:46:26 UTC-5, Hassan Alnatour wrote:
>
> Dear ALL , 
>
> i need help in translating this php code to python  , i dont understand 
> the last line :
>
> <? 
> // TYPE = OTHER OR SHOPPING CART (means fixed account)
>
>
> $mid = "";  // merchant ID
> $appid = ""; // application ID
> $orderid = ""; // merchant's order ID
> $app_secrect_key = ""; // from the product page
> $muid = ""; // merchant's user ID
> $ordercurr = "usd"; // merchant's order currency in small letters only
> $orderamt = 100;
> $orderamt = $orderamt . ".00"; // merchant's order amount
> $ordertext = "Product Name";
>
> $msignature =  md5($appid . $orderid . $ordercurr . $orderamt . 
> $app_secrect_key);
>
> ?>
>
>
> best regards,
>

Reply via email to