[PHP-DB] Payment Gateways

2005-07-20 Thread Ahmed Shams

Hi all,
I am working on a project that I haven't came across before and I would 
appreciate all the help I can get with it. Our client is requesting a 
payment gateway system where we communicate with the bank and provide 
reports and stats about the transactions. The reports part is relatively 
familiar but the communications with the bank is what is puzzeling me. I 
know the bank is providing an API but I need a similar code to work with. If 
anyone can provide me with a similar project which I can change to our specs 
or tell me how to start I would be extremely greatful.

Thanks

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] Help with file upload

2003-03-10 Thread Ahmed Shams


I am trying to upload a file but the problem i am having is that i get no 
value if i used $HTTP_POST_FILES['userfile']['name']  i have my register 
globals on and everything but i just can't see what am i doing wrong. here 
is my code:
/*?
-$dir = .\Apache\htdoc\ ;
-$dir .= $_POST['img1'];
-$temp1 = $_POST['img1'];

-$filename = $HTTP_POST_FILES['img1']['name'];
-echo filename is $filenamebr\n;
-$temp_file = $HTTP_POST_FILES[img1][tmp_name];
-$file_type = $HTTP_POST_FILES[img1][type];
-if($HTTP_POST_VARS['img1']['name'] != ){
copy($temp1,$dir) or
die (Couldn't copy the file);
-}else{
die(No input file specified);
-}
-?

-HTML
-BODY
-h1Successful upload /h1
-p
-You sent: ? print $_POST['img1']; ?, a ? echo$img1_size; ?
- byte file of type ? echo$img1_type; ?. /p
-/body
-/html
*/
please help me because i need this ASAP.. thank you all

_
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php