Re: [PHP] Perl PHP output format mismatching

2006-05-15 Thread chris smith
On 5/15/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, I'm currently writing a PHP page, which uses a small Perl script. But I encounter an annoying problem with endline character. A small example : $perl = new Perl(); $perl-eval('print toto\ntata'); In this configuration, the HTML

Re: [PHP] Perl PHP output format mismatching

2006-05-15 Thread Richard Lynch
On Mon, May 15, 2006 4:21 am, [EMAIL PROTECTED] wrote: I'm currently writing a PHP page, which uses a small Perl script. But I encounter an annoying problem with endline character. A small example : $perl = new Perl(); $perl-eval('print toto\ntata'); Your apostrophes in PHP don't

RE: [PHP] PERL/PHP, MSSQL, Unix AIX

2003-03-11 Thread Poon, Kelvin (Infomart)
Thanks, but what can FreeTDS do? So it can connect to my AIX server and retrieve that text file out? Kelvin -Original Message- From: Frank M. Kromann [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 1:35 AM To: Poon, Kelvin (Infomart) Cc: '[EMAIL PROTECTED]' Subject: Re: [PHP

RE: [PHP] PERL/PHP, MSSQL, Unix AIX

2003-03-11 Thread Adam Voigt
? Kelvin -Original Message- From: Frank M. Kromann [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 1:35 AM To: Poon, Kelvin (Infomart) Cc: '[EMAIL PROTECTED]' Subject: Re: [PHP] PERL/PHP, MSSQL, Unix AIX

Re: [PHP] PERL/PHP, MSSQL, Unix AIX

2003-03-09 Thread Frank M. Kromann
Hi Kelvin, You can use both PERL and PHP (prefered :-)). You need to download, compile and install FreeTDS (http://freetds.org). If you are using PHP you need to recompile it using --with-mssql. This will enable the mssql extension. You can then create a php script to read the text file, parse

Re: [PHP] PERL/PHP, MSSQL, Unix AIX

2003-03-09 Thread Frank M. Kromann
Hi Kelvin, You can use both PERL and PHP (prefered :-)). You need to download, compile and install FreeTDS (http://freetds.org). If you are using PHP you need to recompile it using --with-mssql. This will enable the mssql extension. You can then create a php script to read the text file, parse

Re: [PHP] Perl PHP

2003-01-05 Thread Jurre Thiel
That doesn't make any sense and has nothing to do with Perl, since PHP will magically convert perl.pl to 'perl.pl'. I think you should do something like: ?php exec('perl perl.pl'); ? Assumming you are on an Unix enviroment and Perl is installed. Leif K-Brooks [EMAIL PROTECTED] schreef in

Re: [PHP] Perl PHP

2003-01-05 Thread Marek Kilimajer
Jurre Thiel wrote: That doesn't make any sense and has nothing to do with Perl, since PHP will magically convert perl.pl to 'perl.pl'. I think perl will be magically converted to perl and pl to pl, and those two strings concatenated together using . inbetween will be perlpl -- PHP

Re: [PHP] Perl PHP

2003-01-05 Thread Jurre Thiel
Sorry, i didn't think of that. I still think exec('perl perl.pl'); does the job, not exec('perl.pl'); Marek Kilimajer [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Jurre Thiel wrote: That doesn't make any sense and has nothing to do with Perl, since PHP will

RE: [PHP] Perl PHP

2003-01-05 Thread Mark Charette
The first line of the script had the magic incantation: #!/usr/local/bin/perl (or something very similar) which makes the leading 'perl' superfluous. PHP scripts can be made into self executing scripts in a similar fashion if the 1st line looks like: #!/path/to/the/php/command/line/executable

Re: [PHP] Perl PHP

2003-01-04 Thread Leif K-Brooks
Not good at perl, but you need to do: ?php exec('perl.pl'); ? Sam wrote: I don't know what the heck this is but it works: #!/usr/bin/perl $ENV{LD_LIBRARY_PATH} .=:.:..:../lib; $ENV{CLASSPATH} .= :Verisign.jar:.; print `javac PFProJava.java`; print `java PFProJava

Re: [PHP] Perl - PHP question

2002-10-24 Thread Jonathan Sharp
You either need to: 1) Set multiple cookies for each index: setCookie('session[foo]'...) setCookie('session[bar]'...) 2) Serialize/unserialize your array. setCookie('session', serialize($session_array) ); $session = unserialize($_COOKIE['session']); -js Tom Woody wrote: Did a google and