[PHP] PHP and Perl

2005-07-23 Thread Linda H
I am needing to write a front end for an online application written in Perl. Is there a way for PHP to call a module or function written in Perl? Thanks, Linda -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP vs PERL?

2004-04-22 Thread peery
What would be the technical arguments of PHP vs. PERL? Thanks, JP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP vs PERL?

2004-04-22 Thread Jay Blanchard
[snip] What would be the technical arguments of PHP vs. PERL? [/snip] That is like asking what would be the technical arguements of an 10 miter saw and a 12 miter saw. Both are tools, each is better suited to some things and not as well suited for others. In some projects we have several

Re: [PHP] PHP vs PERL?

2004-04-22 Thread raditha dissanayake
[EMAIL PROTECTED] wrote: What would be the technical arguments of PHP vs. PERL? This is a religious question. Thanks, JP -- Raditha Dissanayake. - http://www.radinks.com/print/upload.php SFTP, FTP and HTTP File Upload solutions -- PHP General

Re: [PHP] PHP vs PERL?

2004-04-22 Thread John W. Holmes
From: [EMAIL PROTECTED] What would be the technical arguments of PHP vs. PERL? Depends if you catholic or not. Use what you know. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP vs PERL?

2004-04-22 Thread John Nichel
[EMAIL PROTECTED] wrote: What would be the technical arguments of PHP vs. PERL? Thanks, JP Well, Perl is older and has four letters in it's name. PHP has youth on it's side. Perl is a Camel and PHP is a bird (Thrush or Roadrunner...I don't know my birds). Perl is misspelled more often than

Re: [PHP] PHP vs PERL?

2004-04-22 Thread John Nichel
John W. Holmes wrote: From: [EMAIL PROTECTED] What would be the technical arguments of PHP vs. PERL? Depends if you catholic or not. Use what you know. ---John Holmes... Uh-oh, does that mean an Atheist has to use ASP

Re: [PHP] PHP vs PERL?

2004-04-22 Thread raditha dissanayake
John Nichel wrote: John W. Holmes wrote: From: [EMAIL PROTECTED] What would be the technical arguments of PHP vs. PERL? Depends if you catholic or not. Use what you know. ---John Holmes... Uh-oh, does that mean an Atheist has to use ASP??? ;) oh d..n i hate ASP. -- Raditha

RE: [PHP] PHP vs PERL? (Seriously OT Now....)

2004-04-22 Thread Jay Blanchard
[snip] Uh-oh, does that mean an Atheist has to use ASP??? ;) [/snip] And if so, what must a Buddhist use? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP vs PERL? (Seriously OT Now....)

2004-04-22 Thread Michal Migurski
Uh-oh, does that mean an Atheist has to use ASP??? ;) [/snip] And if so, what must a Buddhist use? Lisp, of course. - michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP

Re[2]: [PHP] PHP vs PERL?

2004-04-22 Thread Richard Davey
Hello John, Thursday, April 22, 2004, 2:37:30 PM, you wrote: JN Uh-oh, does that mean an Atheist has to use ASP??? ;) You meant satanist, surely? ;) (or a masochist!) -- Best regards, Richard Davey http://www.phpcommunity.org/wiki/296.html -- PHP General Mailing List

Re: [PHP] PHP vs PERL?

2004-04-22 Thread John Nichel
Richard Davey wrote: Hello John, Thursday, April 22, 2004, 2:37:30 PM, you wrote: JN Uh-oh, does that mean an Atheist has to use ASP??? ;) You meant satanist, surely? ;) (or a masochist!) Ah, yes. My apologies, you're right. Evil has to stick together. An Atheist wouldn't use anything

[PHP] PHP vs PERL? HOPE THIS HELPS

2004-04-22 Thread Brent Clark
http://www.bagley.org/~doug/shootout/index2.shtml http://www.bagley.org/~doug/shootout/bench/ary3/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP vs PERL - thanks

2004-04-22 Thread peery
Got a lot of good replies, and info! Thanks, JP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP vs PERL? HOPE THIS HELPS

2004-04-22 Thread Brent Clark
That's a really interesting link. Thanks! No problem, my pleasure I was quite shocked to see how PHP performed gcc still rocks though Brent -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and Perl Integration for E-Cart

2004-04-20 Thread John Nichel
Pushpinder Singh wrote: Hello all, We are trying to incorporate a CGI Perl based E-Cart module into our PHP driven site. This is because the E-Cart supplied by our merchant uses CGI. I want to check with all of you if its possible to integrate PHP with Perl. Will it be too much of a job

Re: [PHP] PHP and Perl Integration for E-Cart

2004-04-20 Thread John W. Holmes
From: Pushpinder Singh [EMAIL PROTECTED] We are trying to incorporate a CGI Perl based E-Cart module into our PHP driven site. This is because the E-Cart supplied by our merchant uses CGI. I want to check with all of you if its possible to integrate PHP with Perl. If you're talking

Re: [PHP] PHP and Perl Integration for E-Cart

2004-04-20 Thread Pushpinder Singh
that the Perl code knows the PHP session variable. This ways I can keep track of the the user name/email/ order status etc. I want to to know whether it is possible to do this. Thanks again ! --Pushpinder On Tuesday, April 20, 2004, at 03:57 PM, John W. Holmes wrote: From: Pushpinder Singh

Re: [PHP] PHP and Perl Integration for E-Cart

2004-04-20 Thread John W. Holmes
the ordering with the PHP Login module, so that the Perl code knows the PHP session variable. This ways I can keep track of the the user name/email/ order status etc. So all you really need is for a way for Perl to read PHP session files? Or are you using a database for sessions? I'm sure this has

Re: [PHP] PHP and Perl Integration for E-Cart

2004-04-20 Thread Pushpinder Singh
also want to update the buyer's record to now include the Item Number of the product he purchased. This is important because if the Perl-PHP combo approach does not work, then I will have to go for a pure PHP based shopping cart ( so that it is fully integrable with the PHP Login Module ). Also

Re: [PHP] PHP and Perl Integration for E-Cart

2004-04-20 Thread Justin Patrin
completes a transaction. I also want to update the buyer's record to now include the Item Number of the product he purchased. This is important because if the Perl-PHP combo approach does not work, then I will have to go for a pure PHP based shopping cart ( so that it is fully integrable

Re: [PHP] PHP and Perl Integration for E-Cart

2004-04-20 Thread Justin Patrin
John Nichel wrote: Pushpinder Singh wrote: Hello all, We are trying to incorporate a CGI Perl based E-Cart module into our PHP driven site. This is because the E-Cart supplied by our merchant uses CGI. I want to check with all of you if its possible to integrate PHP with Perl

[PHP] php and Perl

2003-03-27 Thread Brad Wright
Hi all, can php call perl scripts? I know nothing of perl, but have found a perl script that will process a MSword document in a way that it seems php cannot. At this stage, my knowledge of perl is limited to it's used in web stuff sometimes isnt it :) but i am sure i will soon find a bit more

Re: [PHP] php and Perl

2003-03-27 Thread Nikunj Virani
: [PHP] php and Perl Hi all, can php call perl scripts? I know nothing of perl, but have found a perl script that will process a MSword document in a way that it seems php cannot. At this stage, my knowledge of perl is limited to it's used in web stuff sometimes isnt it :) but i am sure i

Re: [PHP] php and Perl

2003-03-27 Thread CPT John W. Holmes
www.php.net/virtual ---John Holmes... - Original Message - From: Brad Wright [EMAIL PROTECTED] To: PHP General List [EMAIL PROTECTED] Sent: Thursday, March 27, 2003 8:00 AM Subject: [PHP] php and Perl Hi all, can php call perl scripts? I know nothing of perl, but have found a perl

Re: [PHP] php and Perl

2003-03-27 Thread David T-G
Brad -- ...and then Brad Wright said... % % Hi all, Hi! % % can php call perl scripts? Yep. It can call anything, right? So just call it like ls or du or any other program. % % I know nothing of perl, but have found a perl script that will process a % MSword document in a way

[PHP] php to perl

2003-03-18 Thread Sebastian
unfortunately i am a rookie with perl, can someone help me convert this little bit of code to php? thanks in advanced. #!/usr/bin/perl print Content-type: text/html\n\n; open(LOADAVG, '/proc/loadavg') or die $1; while(LOADAVG ) { $loadavg = substr( $_, 0, 4 ); } close(LOADAVG); cheers, -

Re: [PHP] php to perl

2003-03-18 Thread Daniel Andersen
? $fp = fopen ('/proc/loadavg', 'r'); if (!$fp) die ('Failed to open file'); while ($line = fgets ($fp)) { $loadavg = substr ($line, 0, 4); } fclose ($fp); ? Regards, Daniel On Wed, 19 Mar 2003 13:16, Sebastian wrote: unfortunately

Re: [PHP] PHP vs Perl for system scripts (non-web)

2003-01-28 Thread Chris Hayes
at the moment), are there any compelling reasons I should write system stuff in Perl rather than PHP? If you have complicated tasks there may be more Perl examples on the internet, and that would be a vote for Perl. But then again, i once tried to translate Perl to PHP and that was unexpectedly easy

Re: [PHP] PHP vs Perl for system scripts (non-web)

2003-01-28 Thread Maxim Maletsky
and the dubious advantage of future flexibility by using Perl's DBI interface to talk to different SQL servers (I'm using MySQL at the moment), are there any compelling reasons I should write system stuff in Perl rather than PHP? PHP natively works quite well with mySQL, thus its another reason to use

[PHP] PHP vs Perl for system scripts (non-web)

2003-01-27 Thread Paul Chvostek
at the moment), are there any compelling reasons I should write system stuff in Perl rather than PHP? Thanks. -- Paul Chvostek [EMAIL PROTECTED] Operations / Abuse / Whatever it.canada, hosting and development http://www.it.ca

[PHP] PHP vs. Perl/Mason

2003-01-23 Thread Ray Hunter
Everyone, I was wondering if there are any perl/php programmers that have used mason. I am trying to get the advantages/disadvantages of each? I am pro PHP, but my does is pro perl. What does everyone think about the benefits of one over the other? Thanks, Ray signature.asc Description

[PHP] PHP running perl running java OR PHP running java?

2003-01-03 Thread Sam
I'm in way over my head. the ... below are where I chopped stuff out for clarity. The perl script javatest.pl: $ENV{LD_LIBRARY_PATH} .=:.:..:../lib; $ENV{CLASSPATH} .= :Verisign.jar:.; print `javac PFProJava.java`; print `java PFProJava test-payflow.verisign.com 443 ... 30;`; me% perl

Re: [PHP] PHP running perl running java OR PHP running java?

2003-01-03 Thread Andrew Brampton
Try backticks $yo = `java PFProJava test-payflow.verisign.com 443 ... 30`; echo $yo; Andrew - Original Message - From: Sam [EMAIL PROTECTED] To: PHP [EMAIL PROTECTED] Sent: Saturday, January 04, 2003 1:37 AM Subject: [PHP] PHP running perl running java OR PHP running java? I'm in way

[PHP] php or perl bug when execing php scripts?

2001-10-21 Thread Chad Cunningham
all in the same language. So I need to execute a php script from the perl cgi. The php script works fine from a command line. It works fine from a command line as the webserver user. But it won't work from a perl cgi script. Here's what I've tried and the result of each. 1) put #!/usr/local/bin/php

[PHP] PHP vs. PERL (Functional Comparison)??

2001-09-16 Thread Bora Paksoy
Hi; I am planning to implement a new site which will be using mysql db heavily, and I am in the middle of (and stuck:) deciding what I should use for implementation. I would definitely prefer Java Servlets, but it is very expensive to host servlets, so I am only comparing PHP vs. Perl. I have

Re: [PHP] PHP vs. PERL (Functional Comparison)??

2001-09-16 Thread Sterling Hughes
, so I am only comparing PHP vs. Perl. Why on earth would you prefer java servlets? I have been hearing very good things about PHP for a long time, and I started reading the manual/tutorial posted on php.net. To be honest, I didn't see much difference from perl. It is almost identical (I

Re: [PHP] PHP vs. PERL (Functional Comparison)??

2001-09-16 Thread Rasmus Lerdorf
1.Speed: If you use mod_perl or fastcgi kind of deals (which are based on threadding instead of forking), I don't think PHP is considerably faster than perl? Is that the case? Threading instead of forking? None of these do either. Apache is a pre-forking multi-process server and both PHP

Re: [PHP] PHP vs. PERL (Functional Comparison)??

2001-09-16 Thread Bora Paksoy
, syncrhonization, threadding, etc. etc.), ease of use, etc. etc. I mean, come on;) veins as well), therefore its imho much easier to do web programming with php. That is what I saw, but as I said, I didn't see a lot of difference between perl and php, I mean, C++ and perl are very different

Re: [PHP] PHP vs. PERL (Functional Comparison)??

2001-09-16 Thread Bora Paksoy
Threading instead of forking? None of these do either. Apache is a pre-forking multi-process server and both PHP and mod_perl are part of these pre-forked processes. Neither mod_perl nor PHP do any threading nor forking. ??? I didn't get this? Aren't these pre-forked processes handle

Re: [PHP] PHP vs. PERL (Functional Comparison)??

2001-09-16 Thread Rasmus Lerdorf
??? I didn't get this? Aren't these pre-forked processes handle requests using threads internally? Say you configure apache to pre-fork 5 server processes, what you are saying implies that you can only handle 5 concurrent requests?? can you please explain this more? That's exactly what

Re: [PHP] PHP vs. PERL (Functional Comparison)??

2001-09-16 Thread Rasmus Lerdorf
I mean, for example say you have an html that consists of blocks... Making every block an include is clean, but this time, php engine has to read all of these includes, and parse the html+php and compile/run php everytime a request is made??? I am not sure about this? I wouldn't say it was

Re: [PHP] PHP vs. PERL (Functional Comparison)??

2001-09-16 Thread speedboy
ie. don't necessarily use 1 file per block, create functions that are defined in a single file and call those instead of including a new file. How do you echo your html, do you put the html in your functions and escape the double quotes? There is some extra load there echoing all the html?

Re: [PHP] PHP vs. PERL (Functional Comparison)??

2001-09-16 Thread Rasmus Lerdorf
ie. don't necessarily use 1 file per block, create functions that are defined in a single file and call those instead of including a new file. How do you echo your html, do you put the html in your functions and escape the double quotes? There is some extra load there echoing all the

RE: [PHP] PHP vs. PERL (Functional Comparison)??

2001-09-16 Thread Jack Dempsey
] PHP vs. PERL (Functional Comparison)?? ie. don't necessarily use 1 file per block, create functions that are defined in a single file and call those instead of including a new file. How do you echo your html, do you put the html in your functions and escape the double quotes? There is some

[PHP] PHP and Perl

2001-09-04 Thread Jarosaw Jankowski
Hi, I have something like this in the script : ? header("Content-Type: application/force-download"); header("Content-Disposition:filename=$clientname.xls"); set_time_limit(180); passthru("d:\\perl\\bin\\perl.exe test2.pl $var \"$query\" \"$query1\""); exit; ? Perl script is generating Excel

RE: [PHP] PHP and Perl

2001-09-04 Thread Valter Santos
try use redirections. e.g, call your php script that redirects to your pl script with all required parameters that redirects for a resulting php script... arrrgg but i think the better way is to convert everthing to PHP or Perl Cheers Valter

RE: [PHP] PHP and Perl script in same file?

2001-08-17 Thread billfarr
Subject: [PHP] PHP and Perl script in same file? Can php and perl code reside in the same file? When the document is served up it parses the PHP and then the Perl? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] PHP and Perl script in same file?

2001-08-16 Thread Tom Beidler
Can php and perl code reside in the same file? When the document is served up it parses the PHP and then the Perl? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators

Re: [PHP] PHP vs Perl question

2001-07-19 Thread Ryan Fischer
I'm pretty new to programming - besides JavaScript, PHP is really the first language I've used. I'm just wondering, and I'm sure you all would know - should I learn Perl? Is it considered a necessity for a web developer to know Perl, or is it not a worthwhile endeavor, considering how easy

[PHP] PHP vs Perl question

2001-07-18 Thread Tom Malone
I'm pretty new to programming - besides JavaScript, PHP is really the first language I've used. I'm just wondering, and I'm sure you all would know - should I learn Perl? Is it considered a necessity for a web developer to know Perl, or is it not a worthwhile endeavor, considering how easy PHP is

Re: [PHP] PHP vs Perl question

2001-07-18 Thread Francis Fillion
I do love perl, even if I mostly code with PHP, but I use perl for stuff that run with a crontab (a script that run on every x date or hours), I know that you can do that with PHP now too, but Perl is a really great and funny language to learn, the best regular expression that I ever use (I

RE: [PHP] PHP vs Perl question

2001-07-18 Thread Nathan
://www.oreilly.com/catalog/lperl3/ -Original Message- From: Tom Malone [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 18, 2001 3:03 PM To: PHP Users Subject: [PHP] PHP vs Perl question I'm pretty new to programming - besides JavaScript, PHP is really the first language I've used. I'm just wondering

RE: [PHP] PHP vs Perl question

2001-07-18 Thread Chris Lott
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'd go for it. Perl can be messy, but it is also quite powerful and doesn't HAVE to be messy. It is EVERYWHERE both in terms of availability and use. But most of all, it is a fun language to play with... and if you do any system admin it is an

[PHP] PHP vs Perl security

2001-05-15 Thread Jeff
Hi. Are there any known/posssible security issues with PHP using SSL? I'm trying to figure out if it would be better to user Perl or PHP based on their security features/flaws. I'm sure there's holes in both, but which one has the bigger hole...? Thanks, Jeff -- PHP General Mailing List

RE: [PHP] PHP vs Perl security

2001-05-15 Thread Maxim Maletsky
To: [EMAIL PROTECTED] Subject: [PHP] PHP vs Perl security Hi. Are there any known/posssible security issues with PHP using SSL? I'm trying to figure out if it would be better to user Perl or PHP based on their security features/flaws. I'm sure there's holes in both, but which one has the bigger hole

[PHP] PHP vs Perl

2001-03-29 Thread David Hynes
Hi, I'm new to PHP (well I used it years ago), and have been using Perl ever since. Someone told me that PHP is a lot more efficient than Perl, is this true ? I am developing a fairly large website using a MySQL database running on a cobalt RAQ3 server and so the speed of the scripts must be

Re: [PHP] PHP vs Perl

2001-03-29 Thread Michael Kimsal
David Hynes wrote: Hi, I'm new to PHP (well I used it years ago), and have been using Perl ever since. Someone told me that PHP is a lot more efficient than Perl, is this true ? I am developing a fairly large website using a MySQL database running on a cobalt RAQ3 server and so the

Re: [PHP] php vs perl

2001-02-15 Thread Christian Reiniger
On Thursday 15 February 2001 08:03, Scott Mebberson wrote: When Jason says 'especially when your note using the cgi' he means the cgi version of PHP (I think) in preference to installing PHP as an apache module. ...just as using mod_perl is better than perl as CGI -- Christian Reiniger LGDC

Re: [PHP] php vs perl

2001-02-15 Thread Jason Brooke
When Jason says 'especially when your note using the cgi' he means the cgi version of PHP (I think) in preference to installing PHP as an apache module. Almost, yes - I literally meant the 'common gateway interface', due to the fact that the webserver spawns the requested script/program

[PHP] php vs perl

2001-02-14 Thread Jeff
Is there any reason why php is better than perl for shopping carts and/or product catalogs? Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail

Re: [PHP] php vs perl

2001-02-14 Thread Jason Brooke
Is there any reason why php is better than perl for shopping carts and/or product catalogs? Thanks, Jeff It's hard to just come out and say that php is better than perl for shopping carts because there's too many factors to take into consideration. If you were a person who'd never used

Re: [PHP] php vs perl

2001-02-14 Thread Scott Mebberson
1c0970f$927eeff0$0100a8c0@jb... Is there any reason why php is better than perl for shopping carts and/or product catalogs? Thanks, Jeff It's hard to just come out and say that php is better than perl for shopping carts because there's too many factors to take into consideration. If you were a pe