Re: E-commerce payment systems for apache/mod_perl

2002-07-03 Thread Vlad Safronov

hi,

I use two services for payment proccessing. One for digital money
www.cyphermint.com/epay/ (quite complex for initial installing, i don't like
it) and
the second for cc processing (much more simple) you can just give
them info about your contract (say id, price, amount) and redirect
user on their site for payment processing
(http://www.assist.ru/eng/about/cardpayments/)
I don't thunk these services are suitable for, but you read some help on
it and understand what exactly you need.

-vlad

 Any obvious choices for a relatively small-scale e-commerce payment
 processing system for a server running apache / mod_perl?
 --
 David Dyer-Bennet, [EMAIL PROTECTED]  /  New TMDA anti-spam in test
  John Dyer-Bennet 1915-2002 Memorial Site http://john.dyer-bennet.net
 Book log: http://www.dd-b.net/dd-b/Ouroboros/booknotes/
  New Dragaera mailing lists, see http://dragaera.info





Re: [JOB] Crack OOP Perl whitebox tester wanted

2002-06-25 Thread Vlad Safronov

Hi,

What is the right way of authorizing users under Mason?
Should it be done as PerlAccessHandler or coded in handler.pl?

---
#
require myhandler.pl

Location /registered
PerlAccessHandler Apache::MyAccessHandler
PerlHandler HTML::Mason
/Location
---

Vlad




What is the right way of authorizing users under HTML::Mason?

2002-06-25 Thread Vlad Safronov

Hi,
 
 What is the right way of authorizing users under Mason?
Should it be done as PerlAccessHandler or coded in handler.pl?
 
 ---
 #
 require myhandler.pl
 
 Location /registered
PerlAccessHandler Apache::MyAccessHandler
PerlHandler HTML::Mason
/Location
---
 
 Vlad
 




[OT] Really need Comments! very strange bug that happens only on Linux.

2002-02-19 Thread Vlad Safronov

Hi,

While testing my perl scripts I found a strange bug that happens only on
Linux (RH 6.2, 7.0),
See the code below. Before your read the all text, tell me what's the Buffer
value?
3238200? The answer is NO! Try this example on your Linux box

SOURCE test.c:
-=-=-=-=
#include stdio.h
#include stdlib.h

main () {
double Sum, ResultSum;
ResultSum = 1;
Sum = 323.82;
char *Buffer = new char[255];
sprintf(Buffer, %d, (long)(Sum * ResultSum));
printf(Buffer = [%s], Sum = %.4f, Sum * Result = %.4f\n, Buffer, Sum, (Sum
* ResultSum));

return 0;
}

RESULTS
-=-=-=-=
now compile on Linux RedHat 6.2 with gcc version egcs-2.91.66 19990314/Linux
(egcs-1.1.2 release)
Output:
$ g++ test.c
$ ./a.out
Buffer = [3238199], Sum = 323.8200, Sum * Result = 3238200.
-=-=-=-=

the Buffer value is very strange! I have no ideas how Buffer can be 3238199!
FreeBSD (old 3.x) works well and Buffer=3238200 as it should be, but on
Linux 6.2, 7.0 it is 3238199..

Any ideas?

/Vlad




Re: Exporting C++ class to Perl?

2001-10-31 Thread Vlad Safronov

Hi,

Actually I mean examples that contain CPP code which has been exported to
Perl..
anyway I'll study 'Inline*' modules.

Vlad.

- Original Message -
From: Sisyphus [EMAIL PROTECTED]
To: Vlad Safronov [EMAIL PROTECTED]
Sent: Wednesday, October 31, 2001 3:15 AM
Subject: Re: Exporting C++ class to Perl?


 Hi,

 You might be able to do what you want with the 'Inline' and 'Inline::CPP'
 modules from cpan.

 Check them out - they're pretty well documented and contain examples.

 The inline mailing list is also available for support. For details of how
to
 subscribe to the list, see http://lists.perl.org/ and click on the link to
 'inline'.

 Cheers,
 Rob
 - Original Message -
 From: Vlad Safronov [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, October 31, 2001 3:26 AM
 Subject: Exporting C++ class to Perl?


  Hi,
 
  How can I export C++ class and its interface to Perl?
  Is it just like exporting simple C function to Perl (in perlxs doc.
  example)?
  Is there good (not big) CPAN examples for this problem?
 
  Vlad.
 
 





Help needed. LWP-5.48 dicovered..

2001-08-03 Thread Vlad Safronov

Hi All,

I know all of you are very busy, but could you look at POST request results
( this is print $req-as_string ) :
What is the %00H in the last line???


my $resp = $ua-request(POST 'https://www.assist.ru/reports/results.cfm',
[ @params ]);
my $req  = $resp-request;
print $req-as_string

[ debug | Thu Aug  2 03:50:02 2001 ] POST http://bsadm.yyy.com/banners.xhtml
User-Agent: libwww-perl/5.48
Content-Length: 3103
Content-Type: application/x-www-form-urlencoded

orderid1=299bannerid1=56title1=AMT%26amp%3BC%20Ltd.body1=%F0%CF%CC%C9%CD%
C5%D2%CE%D9%C5%0D%0A%CD%C1%C7%CE%C9%D4%CE%
[..]
%0D%0A%EB%CF%CE%D3%D5%CC%D8%D4%C1%C3%C9%C9href1=http%3A%2F%2Famtc.org%2Frus
%2FSales.htmlphrases1=%CD%C1%C7%CE%A9%00%
[.. look at %00]
[.. skipped a lot ]
%CC%CB%C1%20-%D4%CF%CD%CF%E2%00%00%00H%FC%20-

What is the %00H ??? How could it happend??? Is it LWP bug?
phrases1 does not contain 'H' chars ..

Vlad.





What's the benefits of using XML ?

2000-02-10 Thread Vlad Safronov


What's the benefits of using XML in building web site with dynamic
content?
(web site is a front end to database)

-- 

Best regards,
**
Vlad A. Safronov [EMAIL PROTECTED]