Re: How to connect MS Access with ODBC

2007-09-19 Thread herostar1981
On Sep 19, 5:45 am, [EMAIL PROTECTED] wrote: > --- herostar1981 <[EMAIL PROTECTED]> wrote: > > Hi all, > >I am meeting a big problem. > > I try to use Perl to connect MS Access database from a remote > > machine . > > But I can not find a good way. > &

Re: How to connect MS Access with ODBC

2007-09-19 Thread herostar1981
On Sep 19, 5:45 am, [EMAIL PROTECTED] wrote: > --- herostar1981 <[EMAIL PROTECTED]> wrote: > > Hi all, > >I am meeting a big problem. > > I try to use Perl to connect MS Access database from a remote > > machine . > > But I can not find a good way. > &

How to connect MS Access with ODBC

2007-09-19 Thread herostar1981
Hi all, I am meeting a big problem. I try to use Perl to connect MS Access database from a remote machine . But I can not find a good way. I want use the DSN-less way. I search it from google, and get this example: use DBI; $dbh = DBI->connect('dbi:ODBC:driver=Microsoft Access Driver (*.mdb);dbq

Re: a question write to file!

2007-07-06 Thread herostar1981
oenix) wrote: > On 7/5/07, herostar1981 <[EMAIL PROTECTED]> wrote: > > > > What trouble? Are you saying that $kml printed to a file isa > > > different than $kml rendered in a web browser, or what? > > > yes, they are different. I don't know how to des

Re: a question write to file!

2007-07-05 Thread herostar1981
please... this forum refresh so slowly On 7 5 , 1 06 , [EMAIL PROTECTED] (Tom Phoenix) wrote: > On 7/5/07, herostar1981 <[EMAIL PROTECTED]> wrote: > > > for (my $i=0;$i<=$#data;$i++) > > { $kml.="0station". > > $sta[$i]."";} >

Re: a question write to file!

2007-07-05 Thread herostar1981
> At this point, if I use following script, I can work as I wish: > print "Content-type: text/html\n\n"; > print $kml; 1station38a href=http://globec.whoi.edu>U.S.GLOBEC http://mapservice-xu.whoi.edu/globec.gif";> http://mapservice-xu.whoi.edu/maps-bin/globec-xu/map4>GEORGES BANK MAPSERVER http

Re: a question write to file!

2007-07-05 Thread herostar1981
, this is used to finish the whole file content: for (my $i=0;$i<=$#data;$i++) { $kml.="0station". $sta[$i]."";} At this point, if I use following script, I can work as I wish: print "Content-type: text/html\n\n"; print $kml; if I use "print FID $kml;"

Re: SOS: a question write to file!

2007-07-05 Thread herostar1981
I am sorry. Can you explain clearly? I don't know what's wrong. Your mean is the script code or the content I want to write to the file? Thanks a lot. Best Regards, xu On 7 5 , 11 35 , [EMAIL PROTECTED] (Tom Phoenix) wrote: > On 7/5/07, herostar1981 <[EMAIL PROTECTED]> w

Re: SOS: a question write to file!

2007-07-05 Thread herostar1981
Thanks. But I can not understand you. Can you tell me the correct methods? I am not sure what's wrong. And I have spent the whole morning to find the mistake. Please help me... BR, xu On 7 5 , 11 35 , [EMAIL PROTECTED] (Tom Phoenix) wrote: > On 7/5/07, herostar1981 <[EMAIL PROTEC

SOS: a question write to file!

2007-07-05 Thread herostar1981
Hi anybody, I have a big question. why are the contents different between what I write to file and what print in screen? I write a cgi script. In my opinion, it should write some information into file which locates /htdocs/tmp. But I don't know what happened. It can print in terms of htm

I can't write the apropriate content to the file.

2007-06-08 Thread herostar1981
Hi everybody, I have a perl script, which can write some message to a new file, looks like the following. my $cmd="touch /data3/OGCserver-xu/htdocs/tmp/$time".".kml"; `$cmd`;#`touch ../../htdocs/tmp/xuhuanxiang.kml`; `chmod 777 /data3/OGCserver-xu/htdocs/tmp/$time.kml`; open (XHX,">","/data3/OG

how to draw a bargraph with Chart::Graph::Gnuplot

2007-06-05 Thread herostar1981
hi everybody, I have a big problem about bargraph it seems that it only draws lines using the Chart::Graph::Gnuplot module. But I need to draw a horizonal bargraph now... How to do that? Thanks a lot.. Best Regards, xu -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e