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 page generated sends me :
toto tata
Of course and you
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
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
] PERL/PHP, MSSQL, Unix AIX
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
?
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
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
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
Hi,
I got a little project and I need to come up with a solution on how to
finish it and was hoping if you guys can give me any ideas.
I have a PERL script on a Unix AIX machine that checks for incoming update
of data. Specificly what it does is, when it runs, it will look at the
corresponding
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
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
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
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
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 test-payflow.verisignscks.com`;
How can it be done with PHP?
OR
run the perl script from a PHP
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
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
15 matches
Mail list logo