Re: [PHP] Perl GD

2009-06-23 Thread Eddie Drapkin
I think you've got the wrong mailing list, man. On Tue, Jun 23, 2009 at 11:11 AM, Chris Denman wrote: > Hi! > > Just installed the latest release of GD on my Centos 5 server with no > installation issues and all libraries OK. > However, getting lots of: > > [13973]ERR: 24: Error in Perl code: Bad

[PHP] Perl GD

2009-06-23 Thread Chris Denman
Hi! Just installed the latest release of GD on my Centos 5 server with no installation issues and all libraries OK. However, getting lots of: [13973]ERR: 24: Error in Perl code: Bad file descriptor at /var/www/vhosts/ w12.org/httpdocs/glassify/indexdie.htm line 11. And BLACK boxes behind where i

Re: [PHP] (Perl) Regular Expressions - oposite match or get the non-matches of a substring

2009-02-11 Thread Virgilio Quilario
> Hi all, > > I consider myself quite good with Regular Expression, but i could never find > out how to match something like: > > "match this but not this and that" > > so i would like to match the first "match this" (or "another this") but not > "not this". > > Seems pretty straight forward but i

Re: [PHP] (Perl) Regular Expressions - oposite match or get the non-matches of a substring

2009-02-11 Thread Per Jessen
German Geek wrote: > I consider myself quite good with Regular Expression, but i could > never find out how to match something like: > > "match this but not this and that" > > so i would like to match the first "match this" (or "another this") > but not "not this". > > Seems pretty straight for

[PHP] (Perl) Regular Expressions - oposite match or get the non-matches of a substring

2009-02-10 Thread German Geek
Hi all, I consider myself quite good with Regular Expression, but i could never find out how to match something like: "match this but not this and that" so i would like to match the first "match this" (or "another this") but not "not this". Seems pretty straight forward but i haven't found a (g

Re: [PHP] perl regexp gui

2007-12-26 Thread Jim Lucas
OOzy Pal wrote: > Is there a linux program that can help me testing my patterns (preg) > something like GRegExp but for perl regexp > http://www.weitz.de/regex-coach/#older -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them.

[PHP] perl regexp gui

2007-12-26 Thread OOzy Pal
Is there a linux program that can help me testing my patterns (preg) something like GRegExp but for perl regexp -- OOzy Ubuntu-Gutsy (7.10) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP/Perl

2007-12-02 Thread lists
Hi, Job onsite at Telecom giant in Finland (guess what telecom giant). Please see http://jobs.perl.org/job/7322 for more info. Send CV if you're interested to [EMAIL PROTECTED] /Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Perl style chomp()

2007-11-01 Thread Jim Lucas
mike wrote: On 11/1/07, Jim Lucas <[EMAIL PROTECTED]> wrote: I noticed, while perusing the chop() manual page, that some people were giving examples of Perl's chop() and chomp() functions. Comments made about both said the examples were good, but not correct. what about trim(), rtrim() and

Re: [PHP] Perl style chomp()

2007-11-01 Thread mike
On 11/1/07, Jim Lucas <[EMAIL PROTECTED]> wrote: > I noticed, while perusing the chop() manual page, that some people were > giving examples of Perl's > chop() and chomp() functions. Comments made about both said the examples > were good, but not correct. what about trim(), rtrim() and ltrim()

[PHP] Perl style chomp()

2007-11-01 Thread Jim Lucas
I noticed, while perusing the chop() manual page, that some people were giving examples of Perl's chop() and chomp() functions. Comments made about both said the examples were good, but not correct. A person gave an explanation of what the chomp() function did. So, I took it upon myself to try

Re: [PHP] Perl find and replace in PHP

2007-03-26 Thread Zoltán Németh
2007. 03. 26, hétfő keltezéssel 21.17-kor [EMAIL PROTECTED] ezt írta: > Hi All > > I am porting some perl to PHP and have struck a small snag. The perl > script has quite a few substitutions that take place so data can be fed > into a html page. > > The script uses the following perl syntax > >

[PHP] Perl find and replace in PHP

2007-03-26 Thread rluckhurst
Hi All I am porting some perl to PHP and have struck a small snag. The perl script has quite a few substitutions that take place so data can be fed into a html page. The script uses the following perl syntax $html = `cat search_results.html`; $html =~ s/%Accom/$accom/g; As I understand perl tha

[PHP] [JOB] Seeking PHP/Perl programmer willing to learn mod_perl - Charlotte, NC

2007-01-02 Thread Kevin Old
Hello everyone, We are expanding our search to Junior/Senior Perl and PHP programmers that would like to learn mod_perl and enterprise Perl programming. Here is the original posting on jobs.perl.org: Mod_perl Web Developer for publishing company- bizjournals.com, bizjournals.com http://jobs.perl

[PHP] Job: PHP/Perl Developer in ADELAIDE, South Australia

2006-09-05 Thread Damien Bezborodow
Hi all, Koala Telecom is seeking a full time programmer with experience with PHP5, Perl and SQL (MySQL). Core requirements are: - Experience developing projects in a team environment using a versioning system such as Subversion or CVS. - Design and analysis skills. - Experience with PHP5, Pe

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'

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 HTM

[PHP] Perl & PHP output format mismatching

2006-05-15 Thread mickb
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 sh

Re: [PHP] PERL Caller equivalent function

2006-03-20 Thread Chris
sgsweb wrote: Hi, Perl has a function named caller with the following signature and return values: ($package, $filename, $line, $subroutine, $hasargs, $wantarray, $evaltext, $is_require) = caller($i); This function returns information pertaining to the calling routine, such as the na

[PHP] PERL Caller equivalent function

2006-03-20 Thread sgsweb
Hi, Perl has a function named caller with the following signature and return values: ($package, $filename, $line, $subroutine, $hasargs, $wantarray, $evaltext, $is_require) = caller($i); This function returns information pertaining to the calling routine, such as the name of the funct

Re: [PHP] Perl script passing variables to a PHP script

2006-01-16 Thread Curt Zirzow
On Sun, Jan 15, 2006 at 01:12:46PM -0700, John Meyer wrote: > Hi, If I have a perl script to rip off the mp3 tag information, can I > have that script then pass them into the PHP file? - how is the perl script called? - what mp3 info do you want to send? - how is the perl script calling the php s

[PHP] Perl script passing variables to a PHP script

2006-01-15 Thread John Meyer
Hi, If I have a perl script to rip off the mp3 tag information, can I have that script then pass them into the PHP file? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Perl style

2005-10-27 Thread Søren Schimkat
Quoting rouvas <[EMAIL PROTECTED]>: > Simpler(?) approach: > > $element5 = current(array_splice(split(',',$csvstring),5,1)); > > This is fun! Indeed... and this looks just fine. A great solution. Thanks. :-) -Søren > > -Stathis > > On Wednesday 26 October 2005 17:08, Jochem Maas wrote: > > S

Re: [PHP] Perl style

2005-10-26 Thread rouvas
Simpler(?) approach: $element5 = current(array_splice(split(',',$csvstring),5,1)); This is fun! -Stathis On Wednesday 26 October 2005 17:08, Jochem Maas wrote: > Sψren Schimkat wrote: > > Hi guys > > > > I would like to convert this .. > > > > > > $tmparray = split(',', $csvstring); > > don't u

Re: [PHP] Perl style

2005-10-26 Thread Jochem Maas
Søren Schimkat wrote: Hi guys I would like to convert this .. $tmparray = split(',', $csvstring); don't use split() here - there is no need for regexp. use explode() instead. $element5 = $tmparray[5]; . to something like this: $element5 = (split(',', $csvstring))[5]; $csvstring = "1,

RE: [PHP] Perl style

2005-10-26 Thread Jay Blanchard
[snip] $tmparray = split(',', $csvstring); $element5 = $tmparray[5]; . to something like this: $element5 = (split(',', $csvstring))[5]; [/snip] The syntax is correct in your first example, AFAIK the PERL syntax you describe cannot be done straight up in PHP unless you write a function to handle

[PHP] Perl style

2005-10-26 Thread Søren Schimkat
Hi guys I would like to convert this .. $tmparray = split(',', $csvstring); $element5 = $tmparray[5]; . to something like this: $element5 = (split(',', $csvstring))[5]; . but I just can't find the correct syntax. It is Perl style - i know, but I just love this syntax. :-) Does anyonw know

Re: [PHP] perl to php translation tool?

2004-11-22 Thread Raditha Dissanayake
Greg Donald wrote: On Mon, 22 Nov 2004 13:37:42 +0100, Markus Mayer <[EMAIL PROTECTED]> wrote: I've searched for a tool that would translate, or at least mostly translate, perl scripts into php, unfortunately with no success. I didn't even find a reference in the archives of this list to this s

Re: [PHP] perl to php translation tool?

2004-11-22 Thread Greg Donald
On Mon, 22 Nov 2004 13:37:42 +0100, Markus Mayer <[EMAIL PROTECTED]> wrote: > I've searched for a tool that would translate, or at least mostly translate, > perl scripts into php, unfortunately with no success. I didn't even find a > reference in the archives of this list to this subject, which su

Re: [PHP] perl to php translation tool?

2004-11-22 Thread Markus Mayer
I was afraid of such answers. My intention was to get rid of a fewperl scripts on our server that were written by external companies, and those companies are pressing to continue to use perl for their cgi's. /dev/brain would be nice, if I could get that node made at those companies but it

Re: [PHP] perl to php translation tool?

2004-11-22 Thread John Nichel
Christophe Chisogne wrote: /dev/brain :-) Are we sure that is included with all new OS's? ;) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] perl to php translation tool?

2004-11-22 Thread Christophe Chisogne
Markus Mayer wrote: I've searched for a tool that would translate, or at least mostly translate, perl scripts into php, unfortunately with no success. It's simply impossible. By example, a Perl script handling file uploads cant be translated automatically : php4 handles file uploads _before_ the

Re: [PHP] perl to php translation tool?

2004-11-22 Thread Raditha Dissanayake
Markus Mayer wrote: Hello everyone! I've searched for a tool that would translate, or at least mostly translate, perl scripts into php, unfortunately with no success. I didn't even find a reference in the archives of this list to this subject, which surprises me. Does anyone know of any tool t

[PHP] perl to php translation tool?

2004-11-22 Thread Markus Mayer
Hello everyone! I've searched for a tool that would translate, or at least mostly translate, perl scripts into php, unfortunately with no success. I didn't even find a reference in the archives of this list to this subject, which surprises me. Does anyone know of any tool that can handle this

RE: [PHP] perl regex in php and multiple escape rules

2004-09-14 Thread Ford, Mike
On 14 September 2004 10:19, Christophe Chisogne wrote: > I'm looking for more detailed information about preg_replace > (and other perl regex functions) than in the php manual, > specifically about different escape rules interaction. [] > The 'pattern' argument is a string, but how does php

Re: [PHP] perl regex in php and multiple escape rules

2004-09-14 Thread Wouter van Vliet
On Tue, 14 Sep 2004 11:18:33 +0200, Christophe Chisogne <[EMAIL PROTECTED]> wrote: > > In a word: > > I'm looking for more detailed information about preg_replace > (and other perl regex functions) than in the php manual, > specifically about different escape rules interaction. > > In more words

[PHP] perl regex in php and multiple escape rules

2004-09-14 Thread Christophe Chisogne
In a word: I'm looking for more detailed information about preg_replace (and other perl regex functions) than in the php manual, specifically about different escape rules interaction. In more words: PHP has it's own way of escaping strings [2] Ex \ within '' is '\' (or '\\' if at the end or before

Re: [PHP] perl LWP for PHP?

2004-07-27 Thread Matt M.
> I'm familiar with perl's LWP library. Today I searched through the PHP > documentation, but the only thing I found that was somewhat similar to > LWP was file() and some socket-functions to do http-GET/POST calls to a > foreign server. Are any higher level functions available so I don't have > to

[PHP] perl LWP for PHP?

2004-07-27 Thread Marten Lehmann
Hello, I'm familiar with perl's LWP library. Today I searched through the PHP documentation, but the only thing I found that was somewhat similar to LWP was file() and some socket-functions to do http-GET/POST calls to a foreign server. Are any higher level functions available so I don't have t

Re: [PHP] regular expressions php/perl/actionscript

2004-04-22 Thread David Scott
I believe Regular Expressions are language independent. Here is an O'Reilly book on the matter: http://www.oreilly.com/catalog/regex2/ Chris W. Parker wrote: Gabino Travassos on Thursday, April 22, 2004 12:24 PM said: I'm wondering if Regular Expressions are the sa

Re: [PHP] regular expressions php/perl/actionscript

2004-04-22 Thread Curt Zirzow
* Thus wrote Gabino Travassos ([EMAIL PROTECTED]): > Hello > > I'm wondering if Regular Expressions are the same in Perl and PHP (and > possibly Actionscript)? They look the same and smell the same, but if I see > a book in a store for Perl Regular Expressions that's $10 cheaper than the > PHP one

Re: [PHP] regular expressions php/perl/actionscript

2004-04-22 Thread Gabino Travassos
Thanks for the suggestions. Between the online manual and the books I have I think I'll get there eventually. Sometimes my logic just sux. What I needed to do was have the user fill out a form and if they make changes to the XML file I would update the file. So, my long way around was to go throug

RE: [PHP] regular expressions php/perl/actionscript

2004-04-22 Thread Michal Migurski
> > I'm wondering if Regular Expressions are the same in Perl and PHP (and > > possibly Actionscript)? They look the same and smell the same, but if > > I see a book in a store for Perl Regular Expressions that's $10 > > cheaper than the PHP one (is there one?), then is it the same thing? > > this

Re: [PHP] regular expressions php/perl/actionscript

2004-04-22 Thread Gabino Travassos
I forgot to mention that in my XML file, inside the quotes in this attribute >>> backColour="xx" the x's will be variable..., so I need some kind of wildcard to select everything from "backColour" + the next 8 or 9 characters, cuz it might be backColour="333990" or whatnot. 'backColour' will

Re: [PHP] regular expressions php/perl/actionscript

2004-04-22 Thread John W. Holmes
From: "Gabino Travassos" <[EMAIL PROTECTED]> > I'm wondering if Regular Expressions are the same in Perl and PHP (and > possibly Actionscript)? They look the same and smell the same, but if I see > a book in a store for Perl Regular Expressions that's $10 cheaper than the > PHP one (is there one?)

RE: [PHP] regular expressions php/perl/actionscript

2004-04-22 Thread Chris W. Parker
Gabino Travassos on Thursday, April 22, 2004 12:24 PM said: > I'm wondering if Regular Expressions are the same in Perl and PHP (and > possibly Actionscript)? They look the same and smell the same, but if > I see a book in a store for Perl Regular Expressions that's

[PHP] regular expressions php/perl/actionscript

2004-04-22 Thread Gabino Travassos
Hello I'm wondering if Regular Expressions are the same in Perl and PHP (and possibly Actionscript)? They look the same and smell the same, but if I see a book in a store for Perl Regular Expressions that's $10 cheaper than the PHP one (is there one?), then is it the same thing? While we're on th

Re: [PHP] [PERL] Excel sheet reading

2004-03-13 Thread Raditha Dissanayake
Hi, I am sorry this is a PHP group. The DBI modules documentation will tell you where you should post your question. Sakitram wrote: Hello I can read values found in cell in Excel worksheet. But I can not read numeric value from it, always null string. I had done this work using DBI. How ca

[PHP] [PERL] Excel sheet reading

2004-03-13 Thread Sakitram
Hello I can read values found in cell in Excel worksheet. But I can not read numeric value from it, always null string. I had done this work using DBI. How can I resolve this? R. Kumaran

Re: [PHP] perl, cgi and php

2004-03-10 Thread joel boonstra
On Wed, Mar 10, 2004 at 04:07:28PM -0500, Edward Peloke wrote: > First let me say, I know very little about perl and cgi. I have a friend > who is moving his site to a new hosting company. One of his php pages has > the following line of code: > > virtual("./timeline/ganttChart.cgi?user={$gall

[PHP] perl, cgi and php

2004-03-10 Thread Edward Peloke
Hello, First let me say, I know very little about perl and cgi. I have a friend who is moving his site to a new hosting company. One of his php pages has the following line of code: session->username}"); ?> but when the page is displayed all that shows up is the content of the .cgi script. I

[PHP] Perl script using Inline-octave doesn't run.

2004-01-31 Thread Paulo Lagrotta
Hello all, I'm trying start a perl script from PHP but I'm not getting success. This script is calling the Inline-octave module (see below an example) to do some numeric calculus. The script is started but it doesn't finish. I think that the process is being killed when the Inline-octave module is

[PHP] PERL exec() replacement?

2003-08-27 Thread DvDmanDT
Isn't there any Perl exec() replacement (I might be wrong about the name of the function, I mean the one that lets you run a Perl command and return the expression value)? I'd really like one for different reasons (my preg_repace("#e#e",$command,"e") doesn't really work tooo great)... If there is o

[PHP] perl to php converter

2003-08-14 Thread Louie Miranda
is there such a thing? perl to php converter? i will try to convert movabletype to php, if ever. -- Thank you, Louie Miranda ([EMAIL PROTECTED]) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Perl to PHP (Was XML Parsing)

2003-07-17 Thread Curt Zirzow
Doug La Farge <[EMAIL PROTECTED]> wrote: > [...] > After that, how would this convert: > > $quote{class_name} = $text; > quote is a hash where class_name is the key. Php treats arrays and hashes the same, infact there really isn't any difference with them. so the syntax is always the same for ha

[PHP] Perl to PHP (Was XML Parsing)

2003-07-17 Thread Doug La Farge
First let me thank Tyler Lane for pointing out my XML issue. I'm an idiot (= vs. ==) was holding me up. D'uh! Now allow me to ask a Perl to PHP conversion question or three. As any Perl and PHP programmer is aware PHP does not have the cool reference thing going that Perl does (yeah, I hear th

Re: [PHP] PHP & Perl information sharing

2003-07-14 Thread Ray Hunter
u could set up a perl script to read cookies and vice versa with php. That should not be a problem you could also create a form with php variables and post it to a perl script. u you also create a link to a perl script that passes varibles via the url. Very easy to do just a matter of how you wa

[PHP] PHP & Perl information sharing

2003-07-14 Thread Jeff Harris
I'm working on a site which is mostly in PHP. However, I have to use perl for a couple of scripts. Does anyone have any experience in sharing session information between PHP and perl? I'm writing for a client who I will know has cookies enabled, and I have a mySQL database, so I'm looking for what

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

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] 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 it

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 it

[PHP] PERL/PHP, MSSQL, Unix AIX

2003-03-07 Thread Poon, Kelvin (Infomart)
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 d

RE: [PHP] perl regex help

2003-02-02 Thread John W. Holmes
> if > . matches any character except newline (by default) > then > what can i use to match any character INCLUDING newline? Use an 's' modifier. Quote: If this modifier is set, a dot metacharacter in the pattern matches all characters, including newlines. Without it, newlines are excluded. This

[PHP] perl regex help

2003-02-01 Thread Alex
I will be quick. if . matches any character except newline (by default) then what can i use to match any character INCLUDING newline? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Perl Includes when executed with php....

2003-01-26 Thread Mike Morton
I have a perl script that needs to be executed using the exec command. This perl script had a use for another library. When executing this perl script from the consol - there is no problem - the library from the use is picked up from the proper directory (the included library is in the same direct

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-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

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 Ge

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: Assumming you are on an Unix enviroment and Perl is installed. "Leif K-Brooks" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news

Re: [PHP] Perl > PHP

2003-01-04 Thread Leif K-Brooks
Not good at perl, but you need to do: 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 test-payflow.verisignscks.com`; How can it be do

[PHP] Perl > PHP

2003-01-04 Thread Sam
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 scr

[PHP] [JOB] Senior Developer (PHP/Perl/Java/SQL), Washington DC Area

2002-12-02 Thread Alok K. Dhir
We have openings for a couple of experienced web application developers who meet or exceed the following criteria: Required skills (You *must* have 2.5+ years of each): - Large scale applications development on Unix/Linux platform - PHP - Perl - SQL (Oracle

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 arch

Re: [PHP] Perl inside PHP

2002-06-18 Thread Matthew Ward
PROTECTED]> > To: "Chris Knipe" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Tuesday, June 18, 2002 12:35 AM > Subject: Re: [PHP] Perl inside PHP > > > > You can do system calls to perl scripts, and if apache is setup I > > believ

[PHP] Perl in PHP?

2002-04-16 Thread Joshua b. Jore
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I didn't see anything in the archives on this (or the search mechanism didn't find the messages). Are perl objects accessible from within PHP? I'd really like to save the previous six months work of developing some objects. I know it's not impossible,

Re: [PHP] Perl NewsGroup?

2002-03-22 Thread Don Read
On 23-Mar-2002 David Duong wrote: > I didn't put mailing list I meant Usenet lists. > comp.lang.perl.misc This is not a newbie froup. Read the FAQ, and post your code, or prepare to be flamed to a crackly crunch. Regards, -- Don Read [EMAIL PROTECTED] --

Re: [PHP] Perl NewsGroup?

2002-03-22 Thread David Duong
I didn't put mailing list I meant Usenet lists. "Bvr" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > Why not try www.perl.com ??? > > I found: http://www.perl.com/cs/user/query/q/6?id_topic=50 > > bvr. > > David Duong wrote: > > >This may be the worst plac

Re: [PHP] Perl NewsGroup?

2002-03-21 Thread bvr
Why not try www.perl.com ??? I found: http://www.perl.com/cs/user/query/q/6?id_topic=50 bvr. David Duong wrote: >This may be the worst place to put this but here goes: > >Does anyone know of a Perl NewsGroup? > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Perl NewsGroup?

2002-03-21 Thread Scott St. John
Not really a bad question as both are great tools. If you are new to Perl check out the Perl Beginners group. Wonderful group of people and very patient with newbies. Make sure you read up on things you are trying to do before you ask the "how do I do this" question. -Scott On Wed, 20

[PHP] Perl NewsGroup?

2002-03-20 Thread David Duong
This may be the worst place to put this but here goes: Does anyone know of a Perl NewsGroup? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Perl and PHP

2002-03-06 Thread Steve Cayford
If the value you want to send back to php is an integer you could just say exit $number; from perl and that will be put into your $var. Otherwise use exec() instead of system. exec("/path/to/perlscript.pl", $scriptOutputArray, $scriptExitValue); Anything that gets printed from the perl scrip

Re: [PHP] Perl and PHP

2002-03-06 Thread lists
Ok, I got it to work.now how do I take a varaible back into PHP I do a $var = system("/path/to/cgi $varforCGI") and in the CGI script I do a print $varforPHP however it prints the varforPHP to the broswer, I need it saved it var Any (more) help would be great!! Michael On Wed, 6 Mar 2002

Re: [PHP] Perl and PHP

2002-03-06 Thread Steve Cayford
If you're running a perl script on the command line you would use /path/to/perl/script.pl value1 value2 value3 ... In your perl script $ARGV[1] should hold value1, $ARGV[2] should hold value2, etc. -Steve On Wednesday, March 6, 2002, at 02:48 PM, [EMAIL PROTECTED] wrote: > I need to pass a v

Re: [PHP] Perl and PHP

2002-03-06 Thread Chris Boget
> I need to pass a variable to Perl from a PHP script. I am somewhat know > PHP but I do NOT know perlI am running my perl script off of the > command line. I tried /path/to/somewhere/script.pl?var=var > but it did not work. > I would love any help you could provide me it would be /path/

[PHP] Perl and PHP

2002-03-06 Thread lists
I need to pass a variable to Perl from a PHP script. I am somewhat know PHP but I do NOT know perlI am running my perl script off of the command line. I tried /path/to/somewhere/script.pl?var=var but it did not work. I would love any help you could provide me Thanks, Michael -- PHP G

[PHP] Perl to PHP

2001-09-12 Thread programmer
Here is a chunk of code: while( /hidden name=(.*?)>/gs ) { # see if there was some kind of error if(index($1, "ERROR") == 0) { $errstring = $1; $errstring =~ ( /value="(.*)"/ ); print "Error on preview

[PHP] PERL TO PHP

2001-09-11 Thread programmer
Can anybody help me convert this perl code to PHP This line in particular while( /hidden name=(.*?)>/gs ) { but I have included more of the source below: Thanks in Advanace Randy undef $/; #print "$curlargs"; #print "$sysstring"; open(foo, "$sysstring|") || die ("Failed FO $!_"); while(){

[PHP] perl-esque data parsing for hex post variables

2001-08-28 Thread Jason Mercer
I can't get the php to convert audio data to nicely formed binary wav format. For instance, in perl you simply do a $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg; and you're done with it. In php, there are two problems: 1. no existence of a handy builtin hex2bin() function (thoug

Re: [PHP] Perl Splice Equivalent

2001-07-25 Thread David Robley
On Thu, 26 Jul 2001 15:24, Steven Michaels wrote: >> - Original Message - > From: "Don Read" <[EMAIL PROTECTED]> > To: "Steven Michaels" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Wednesday, July 25, 2001 1:11 PM > Sub

Re: [PHP] Perl Splice Equivalent

2001-07-25 Thread Steven Michaels
t;[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, July 25, 2001 1:11 PM Subject: RE: [PHP] Perl Splice Equivalent > > On 25-Jul-2001 Steven Michaels wrote: > > Hello, > > I've been wanting to open a file, read its contents, > > and if one line

RE: [PHP] Perl Splice Equivalent

2001-07-25 Thread Don Read
On 25-Jul-2001 Steven Michaels wrote: > Hello, > I've been wanting to open a file, read its contents, > and if one line matches my text, have the program > remove that line. The file is in this format (a common > text file.): > User1 > User2 > User3 > What I want the program to do is to go throu

[PHP] Perl Splice Equivalent

2001-07-25 Thread Steven Michaels
Hello, I've been wanting to open a file, read its contents, and if one line matches my text, have the program remove that line. The file is in this format (a common text file.): User1 User2 User3 What I want the program to do is to go through each line, and if that line matches User2, then have i

[PHP] php/perl module

2001-07-18 Thread jessica lee tishmack
Is there any way for php to call a perl module? If so, would I need to do some sort of include (like the Perl "use THIS;")? I don't know if this can even be done, but thanks in advance. Jessica -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

[PHP] perl serialization

2001-07-03 Thread scott [gts]
i've been working on porting the functionality of PHP's serialize() and unserialize() functions that will turn an array/hash into a simple string. so far, i've got serialize() working in perl... i attached the files, but you can also get them at: http://furt.com/code/serialize/ if anyone feel

[PHP] perl and php data-structure interoperability

2001-06-30 Thread scott [gts]
i've been working on a method of handling sessions that would be portable and easy to implement in PHP and Perl. i've got everything working fine except the interoperability of serialized data. the reason it's important is becuase my session table basically looks like this: (i left out the 't

[PHP] Perl 2 PHP

2001-05-10 Thread Ryan Christensen
Does anyone know of a Perl to PHP converter? (I'm just about to start searching the net.. but wanted to see if I could save myself some time by looking here..) Thanks! Ryan Christensen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [E

RE: [PHP] PERL vs. PHP

2001-04-21 Thread PHPBeginner.com
: Saturday, April 21, 2001 3:04 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] PERL vs. PHP Ramus Lerdof, Are you the Ramus that created PHP? If so, just want to say -- THANKS! -- PHP is the coolest thing since Delphi !!! Really Love it! Jason "Rasmus Lerdorf" <[EMAIL PROTECT

Re: [PHP] PERL vs. PHP

2001-04-21 Thread Dean Hall
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > but since you replied, can i ask what influenced you most > > when developing PHP? > > Whenever I couldn't decide what sort of syntax to use I copied C > > -Rasmus This makes me think that any s

Re: [PHP] PERL vs. PHP

2001-04-20 Thread Jason Caldwell
Ramus Lerdof, Are you the Ramus that created PHP? If so, just want to say -- THANKS! -- PHP is the coolest thing since Delphi !!! Really Love it! Jason "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > PHP was started as a suite of perl p

  1   2   >