was php Perl, now reusable page elements

2004-11-07 Thread Cat
Thanks Guys, Will take a look soon. No you didn't mention it before David. But that's cool, I wasn't trying to do this in perl before. lol cat

was php Perl, now reusable page elements

2004-11-03 Thread Cat
Hi all, And thanks to David for his response re using php perl together. What made me work with php was it's ability to draw reusable page elements like the header, menu, footer from another html page from a fixed html page. Now I know that this can be done in perl when the pages

Re: was php Perl, now reusable page elements

2004-11-03 Thread David Dorward
On Thu, 2004-11-04 at 15:35 +1100, Cat wrote: What made me work with php was it's ability to draw reusable page elements like the header, menu, footer from another html page from a fixed html page. Now I know that this can be done in perl when the pages are generated by a script, When a

Re: was php Perl, now reusable page elements

2004-11-03 Thread Ing. Branislav Gerzo
Cat [C], on Thursday, November 4, 2004 at 15:35 (+1100) made these points: C So, I am not sure that it would be a great idea to call a C subroutined directly from a fixed html page even if it can be C doneso how else would I call my headers. footers etc using C perl. Tis the question at the

Help with php perl

2004-10-22 Thread catrionaw
HI folks, just spent absolutely days re writing all my html file into php with css includes for reusable page elements. only to find that my perl script won't run the css or the php includes. Any ideas on what I can do to alter this, I know the perl script locks down to html only, but I have

Re: Help with php perl

2004-10-22 Thread David Dorward
On Fri, Oct 22, 2004 at 05:51:06PM +1000, [EMAIL PROTECTED] wrote: just spent absolutely days re writing all my html file into php with css includes for reusable page elements. only to find that my perl script won't run the css or the php includes. A CSS @import (assuming that is what you

Re: Php perl?

2003-04-06 Thread Scott R. Godin
George Schlossnagle wrote: On Friday, April 4, 2003, at 01:56 PM, Scott R. Godin wrote: The question I have is with the current Apache (2.x) First off, Apache 2.x is highly beta software. Almost no-one is running it in production. The questionable thread-safety of many third party

Re: Php perl?

2003-04-05 Thread Scott R. Godin
Gary Stainburn wrote: Just to put things into perspective here 1) I made the comment about the start-up speed. 2) Although I use PHP frequently my feet are FIRMLY in the Perl camp 3) Unix Fork/Load/Exec cycle *IS* slow because of the amount of work involved. The MS equiv will be just as

Re: Php perl?

2003-04-05 Thread R. Joseph Newton
George Schlossnagle wrote: ... Answering FUD FUD = ? Joseph -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Php perl?

2003-04-05 Thread George Schlossnagle
On Saturday, April 5, 2003, at 04:07 PM, R. Joseph Newton wrote: George Schlossnagle wrote: ... Answering FUD FUD = ? Fear, Uncertainty and Doubt. Basically unsubstantiated comments used to discredit a (competing) product. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: Php perl?

2003-04-04 Thread Dan Muey
Dan Muey [EMAIL PROTECTED] wrote: If you want it to run like mod_php use mod_perl. Someone said that not using mod_perl increases dramatically the startup. Yeah by like zillionth of a second. Hi Dan, And remember that the startup can also include loading modules, connecting to

Re: Php perl?

2003-04-04 Thread Gary Stainburn
On Friday 04 Apr 2003 3:59 pm, Dan Muey wrote: Dan Muey [EMAIL PROTECTED] wrote: If you want it to run like mod_php use mod_perl. Someone said that not using mod_perl increases dramatically the startup. Yeah by like zillionth of a second. Hi Dan, And remember that the

Re: Php perl?

2003-04-03 Thread Steve Grazzini
Dan Muey [EMAIL PROTECTED] wrote: If you want it to run like mod_php use mod_perl. Someone said that not using mod_perl increases dramatically the startup. Yeah by like zillionth of a second. Hi Dan, There are a number of benchmarks at http://www.chanas.com/bench And some

RE: Php perl?

2003-04-03 Thread Bob Showalter
R. Joseph Newton wrote: Bob Showalter wrote: [EMAIL PROTECTED] wrote: I have a PHP vs. Perl question for a hobby project of mine. Which would be the better language to use if I wanted to go out to a particular web page and parse the table that's there? How about if each row in the

Re: Php perl?

2003-04-03 Thread George Schlossnagle
On Thursday, April 3, 2003, at 11:04 AM, Bob Showalter wrote: But can you write a stand-alone script using PHP and run it from a shell prompt, for example? Yes. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Php perl?

2003-04-02 Thread Gary Stainburn
the scripts are immediately available for use. (Note: I've never personally used mod_perl so I can't give help on it's use). Gary -Original Message- From: Dan Muey [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 10:02 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Php perl

RE: Php perl?

2003-04-02 Thread Paul Johnson
Jenda Krynicky said: From: Rob Richardson [EMAIL PROTECTED] My biggest complaint about Perl is the non-intuitive data structures. In C++ and Visual Basic, both of which I am employed to write programs in, this is very easy to write, and perhaps more important, it is very easy for somebody

Re: [mail_lists] Re: Php perl?

2003-04-02 Thread Jim
On Tuesday 01 April 2003 11:23, Adriano Allora wrote: This has been an interesting thread. Here's my take: I like them both but I prefer Perl. I use to say that Perl was best for application level stuff and PHP was best for web content related stuff. However, that kind of thinking is

Re: Php perl?

2003-04-02 Thread Elias Assmann
On Tue, Apr 01, 2003 at 10:42:57PM -0800, R. Joseph Newton wrote: Neither language is strongly typed, as C, Java, or VB are. Although both are type-sensitive, they still restrict identifiers only by contaiment class. Could you elaborate on that? What do you mean by type-sensitive and

RE: Php perl?

2003-04-02 Thread Dan Muey
This is a cool thread. I'm glad everyone is staying so peaceful about It. That's another thing I don't like about PHP is that if I was having this discussion with a PHP person thet'd be insulting me for even considering something else. But with Perl everone's just saying, hey Perl does it's

Re: Php perl?

2003-04-02 Thread Andres L. Figari
as a web server admin I like the way php is a lighter load on the server than perl is. Though some would disagree. I script little and use both ... - Original Message - From: Paul Kraus [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 31, 2003 5:12 PM Subject: Php perl

Re: Php perl?

2003-04-02 Thread George Schlossnagle
On Wednesday, April 2, 2003, at 09:52 AM, Dan Muey wrote: This is a cool thread. I'm glad everyone is staying so peaceful about It. That's another thing I don't like about PHP is that if I was having this discussion with a PHP person thet'd be insulting me for even considering something else. I

RE: Php perl?

2003-04-02 Thread Dan Muey
One other thing for all you PHP fans (since it feels more like PHP) and you Perl folks too :: There's a project called Moto. http://www.projectmoto.org/ I ran into this when looking for a good mailing list archive. It's pretty cool, it's an apache module, mod_moto and is very much like PHP in

Re: Php perl?

2003-04-02 Thread George Schlossnagle
On Wednesday, April 2, 2003, at 10:31 AM, Dan Muey wrote: Like I said, a very informative happy thread! Peace to everyone!! I love all people, I just use Perl. Indeed. As I noted in my disclaimer, I use Perl as well (quite happily). They are both good languages, and they both have the toolset

RE: Php perl?

2003-04-02 Thread Dan Muey
On Wednesday, April 2, 2003, at 10:31 AM, Dan Muey wrote: Like I said, a very informative happy thread! Peace to everyone!! I love all people, I just use Perl. I should say I use PHP as well so I'm not total PHP virgin! I use phpbb for some customers and it is quite sexxy! I just do a

RE: Php perl?

2003-04-02 Thread Bob Showalter
[EMAIL PROTECTED] wrote: I have a PHP vs. Perl question for a hobby project of mine. Which would be the better language to use if I wanted to go out to a particular web page and parse the table that's there? How about if each row in the HTML table contains a link to another Web page which

Re: Php Perl?

2003-04-02 Thread Jim
On Tuesday 01 April 2003 11:23, Adriano Allora wrote: This has been an interesting thread.  Here's my take: I like them both but I prefer Perl.  I use to say that Perl was best for application level stuff and PHP was best for web content related stuff.   However, that kind of thinking is

Re: [mail_lists] RE: Php perl?

2003-04-02 Thread Jim
On Wednesday 02 April 2003 08:10, Bob Showalter wrote: | [EMAIL PROTECTED] wrote: | I have a PHP vs. Perl question for a hobby project of mine. Which | would be the better language to use if I wanted to go out to a | particular web page and parse the table that's there? How about if | each

Re: [mail_lists] RE: Php perl?

2003-04-02 Thread George Schlossnagle
On Wednesday, April 2, 2003, at 01:19 PM, Jim wrote: | Perl has the LWP family of modules for doing HTTP client applications, as | well as various HTML and XML parsing modules that can be used for what | you're describing. PHPs support for this is actually really nice. For simple things you

Re: Php perl?

2003-04-02 Thread R. Joseph Newton
Bob Showalter wrote: [EMAIL PROTECTED] wrote: I have a PHP vs. Perl question for a hobby project of mine. Which would be the better language to use if I wanted to go out to a particular web page and parse the table that's there? How about if each row in the HTML table contains a link to

Re: Php perl?

2003-04-01 Thread Francesco del Vecchio
Hi Paul, your question is not so easy to reply...but I'll try. The difference between the PHP and the Perl could sound as the difference between ASP and VisualBasic. While ASP il interpreted by the WEB-Server itself, so you can mix-up HTML code with your ASP code, Visual Basic is a 'stand

RE: Php perl?

2003-04-01 Thread Dan Muey
Is perl used to compliment PHP or is perl better to use by itself instead of php? How does one relate to the other. I am coming from a asp.NET vp.NET .asp vb background and am trying to get away form M$. So I am looking at apache php and perl Apache serves the web pages whether those are

Re: Php perl?

2003-04-01 Thread Adriano Allora
Hi, I used to use ASP, then I start to use PHP and now I'm learning perl. Perl is more efficent and powerful but also (a bit?) more difficult than PHP. PHP is a very... comfortable scripting language to develop web-pages (similar to ASP, but more easy), and stop there. Perl is perfect to do a

RE: Php perl?

2003-04-01 Thread Rob Richardson
Greetings! My biggest complaint about Perl is the non-intuitive data structures. The train schedule program I've been using this list as a resource for features a Schedule class that has a collection of ScheduleDay objects, each of which has a collection of Train objects, each of which has a

RE: Php perl?

2003-04-01 Thread Dennis G. Wicks
Greetings; Someone complained about Perl not being self-documenting. As one who does not know C, C++, VB, Perl, or even Basic very well, I would like to remind you that any specific computer language is only self-documenting if you know it! Good Luck! Dennis -- To unsubscribe, e-mail: [EMAIL

RE: Php perl?

2003-04-01 Thread Paul Kraus
it have really slow down the server. Is php faster then perl (when called from apache or IIS) ? -Original Message- From: Dan Muey [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 10:02 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Php perl? Is perl used to compliment

RE: Php perl?

2003-04-01 Thread Bob Showalter
Paul Kraus wrote: Is one more efficient then the other. My hesitation with perl (I would like to use is as I already know the language) is that coming from a windows environment perl scripts do not like to run quickly and having a web server getting hammered and a 10,000 processing having

RE: Php perl?

2003-04-01 Thread Jenda Krynicky
From: Rob Richardson [EMAIL PROTECTED] My biggest complaint about Perl is the non-intuitive data structures. The train schedule program I've been using this list as a resource for features a Schedule class that has a collection of ScheduleDay objects, each of which has a collection of Train

Re: Php perl?

2003-04-01 Thread R. Joseph Newton
Rob Richardson wrote: Greetings! My biggest complaint about Perl is the non-intuitive data structures. The train schedule program I've been using this list as a resource for features a Schedule class that has a collection of ScheduleDay objects, each of which has a collection of Train

Re: Php perl?

2003-04-01 Thread R. Joseph Newton
Paul Kraus wrote: Is one more efficient then the other. My hesitation with perl (I would like to use is as I already know the language) is that coming from a windows environment perl scripts do not like to run quickly and having a web server getting hammered and a 10,000 processing having

Php perl?

2003-03-31 Thread Paul Kraus
Is perl used to compliment PHP or is perl better to use by itself instead of php? How does one relate to the other. I am coming from a asp.NET vp.NET .asp vb background and am trying to get away form M$. So I am looking at apache php and perl trying to figure out how all the pieces fit together.

Re: php - perl

2001-06-21 Thread William McKee
On 15 Jun 2001, at 10:25, Curtis Poe wrote: To do it manually, use the following and set $mime_type to whatever value you want (see W3C website for complete list): print Content-type: $mime_type\n; With all due respect, your print statement is why I recommend to people that they should

Re: php - perl

2001-06-15 Thread William McKee
Michael, To change the MIME type being sent from a Perl script, if you are using CGI.pm, just add the -type parameter. For example: print header( -type='application/octet-stream' ); I wrote a script that would begin a download by using the Content- Disposition header. However, I had to

Re: php - perl

2001-06-14 Thread Hasanuddin Tamir
On Wed, 13 Jun 2001, Michael Cartwright [EMAIL PROTECTED] wrote, However, I need it in Perl. Could someone help me with what would this look like in Perl? Thanks, Michael ?php $FileName=$HTTP_GET_VARS[FileName]; if(!$FileName) { $FileName=example; } $FileName.=.opx;

php - perl

2001-06-13 Thread Michael Cartwright
Hi all, The point of this script is to get around setting application MIME types on the server for when you don't have the right to do that on your server. It will fetch any file as any MIME type. It adds the file extension and defaults to example.opx if there is no filename given. However, I

php - perl

2001-06-13 Thread Michael Cartwright
Hi all, The point of this script is to get arround setting application MIME types on the server for when you don't have the right to do that on your server. It will fetch any file as any MIME type. It adds the file extension and defaults to example.opx if there is no filename given. However, I