MLDBM

2002-05-03 Thread Conan Chai
hi all, i want to use MLDBM to store some data(name with multiple values), but error occurs. i have installed these modules, but i'm not sure what i'm missing. MLDBM DB_file Data::Dumper the codes: use MLDBM 'DB_File'; tie %data, "MLDBM", "database", O_CREAT|O_RDWR, 0644 or die "can't open/crea

Re: http headers

2002-04-25 Thread Conan Chai
.com Proxy-Connection: Keep-Alive > > > > --- Conan Chai <[EMAIL PROTECTED]> wrote: > > > hi, > > > > > > are there any perl modules that splits the http > > > request headers into name/value pairs? > &

http headers

2002-04-23 Thread Conan Chai
hi, are there any perl modules that splits the http request headers into name/value pairs? Conan It Will Come To Us !!! [EMAIL PROTECTED]

proxy server

2002-04-22 Thread Conan Chai
hi, how do i read in the request from a browser? the browser is set to point to my proxy server. i have tried the following codes while(sysread($client,$request,1024) > 0) { #do something } and $bytes = sysread($client,$request,1024); if($bytes > 0) { #do something } obviously the br

proxy server that listens on 2 ports

2002-04-18 Thread Conan Chai
hi all, i'm writing a simple proxy server that listens on 2 ports, 1 for browser and another for admin client. the admin client is for administrative tasks such as adding new users and reseting downloaded bytes. i'm currently using the IO::Select module but this mode is blocking I/O, so i inten

output graph to file

2002-03-26 Thread Conan Chai
Hi, i want to ouput a graph image that i generated to a file but not quite sure how to do it, below is what i have done.pls advise Conan . . . use GD::Graph::bars; my $graph = new GD::Graph::bars(800, 600); my $gd_image = $graph->plot( \@data ); # @data contains x & y values for t

apache in win2k

2002-03-12 Thread Conan Chai
dear all, i just install apache 1.3.26 in win2k. the html documents are running properly but cgi is not running. i have perl v5.6.1 installed. everytime i run a cgi script, the server error_log says "couldn't spawn child process: c:/program files/apache group/apache/cgi-bin/pizza.cgi". this er