Re: [PHP] How to argue with ASP people...

2005-01-05 Thread Chris Shiflett
--- Sagar C Nannapaneni <[EMAIL PROTECTED]> wrote: > I just had an argument with my collegue (who is ASP > programmer). He said that in ASP he can use a global > variable to store the counter and then when the IIS is > shutting down he can grab that event and dump the > counter variable to a text f

Re: [PHP] How to argue with ASP people...

2005-01-05 Thread Sagar C Nannapaneni
PHP. /sagar - Original Message - From: "Chris Shiflett" <[EMAIL PROTECTED]> To: "Sagar C Nannapaneni" <[EMAIL PROTECTED]>; Sent: Tuesday, January 04, 2005 10:12 PM Subject: Re: [PHP] How to argue with ASP people... > --- Sagar C Nannapaneni <[EMAIL

Re: [PHP] How to argue with ASP people...

2005-01-04 Thread Leif Gregory
Hello Richard, Tuesday, January 4, 2005, 10:28:18 AM, you wrote: RL> Or am I mis-remembering the horrors of ASP? It's been awhile since RL> I've used it, and you don't have enough money to make me use it RL> again. You're telling me!!! I wrote three, count 'em, all of three ASP database front en

Re: [PHP] How to argue with ASP people...

2005-01-04 Thread Richard Lynch
John Nichel wrote: > Richard Davey wrote: >> Hello John, >> >> Tuesday, January 4, 2005, 2:52:27 PM, you wrote: >> >> JN> Standard comment in HTML, but it has another use with Apache, and I >> JN> didn't find any reference to this type of syntax for ASP. >> >> Sorry. I left out the word dynamic

Re: [PHP] How to argue with ASP people...

2005-01-04 Thread Chris Shiflett
--- Sagar C Nannapaneni <[EMAIL PROTECTED]> wrote: > But just 2 days ago i came along a situation where i have to > write a hit counter for my website without using a database > or a text file. Just using a global variable i wanted to do > this. > > I dont know whether php can do this...(or may b

Re: [PHP] How to argue with ASP people...

2005-01-04 Thread John Nichel
Richard Davey wrote: Hello John, Tuesday, January 4, 2005, 2:52:27 PM, you wrote: JN> Standard comment in HTML, but it has another use with Apache, and I JN> didn't find any reference to this type of syntax for ASP. and are both perfectly valid ASP syntax that will work on **IIS** Obviously you c

Re: [PHP] How to argue with ASP people...

2005-01-04 Thread John Nichel
[EMAIL PROTECTED] wrote: is html... :-) /G @varupiraten.se Standard comment in HTML, but it has another use with Apache, and I didn't find any reference to this type of syntax for ASP. From the Apache Docs at http://httpd.apache.org/docs/howto/ssi.html... Including the results of a CGI program T

Re: [PHP] How to argue with ASP people...

2005-01-04 Thread John Nichel
Leif Gregory wrote: Hello Richard, Monday, January 3, 2005, 11:27:05 AM, you wrote: RL> ASP has no include function. This makes life very very very RL> difficult to write decent code. Not that I like ASP, and I'm not an ASP guru by any means, but this statement is incorrect AFAICS. I use to do this

Re: [PHP] How to argue with ASP people...

2005-01-04 Thread John Nichel
Sagar C Nannapaneni wrote: I'm a passionate freak of PHP from the past 4 years (that i can remember). And i love everything that php can do. But just 2 days ago i came along a situation where i have to write a hit counter for my website without using a database or a text file. Just using a global v

RE: [PHP] How to argue with ASP people...

2005-01-04 Thread Jay Blanchard
[snip] I'm a passionate freak of PHP from the past 4 years (that i can remember). And i love everything that php can do. But just 2 days ago i came along a situation where i have to write a hit counter for my website without using a database or a text file. Just using a global variable i wanted to

Re: [PHP] How to argue with ASP people...

2005-01-03 Thread Sagar C Nannapaneni
ands" <[EMAIL PROTECTED]>; Sent: Tuesday, January 04, 2005 11:14 AM Subject: Re: [PHP] How to argue with ASP people... > Not to offend u or backup ASP but ur just wrong... > > You said: > >You > >can't actually create a class. > > That's not true! u mig

Re: [PHP] How to argue with ASP people...

2005-01-03 Thread M Saleh EG
Not to offend u or backup ASP but ur just wrong... You said: >You >can't actually create a class. That's not true! u might not be knowing the syntax of creating a class in vb or js script. Sorry but this is the truth my friend. On Mon, 3 Jan 2005 10:27:05 -0800 (PST), Richard Lynch <[EMAIL PROT

Re: [PHP] How to argue with ASP people...

2005-01-03 Thread Leif Gregory
Hello Richard, Monday, January 3, 2005, 11:27:05 AM, you wrote: RL> ASP has no include function. This makes life very very very RL> difficult to write decent code. Not that I like ASP, and I'm not an ASP guru by any means, but this statement is incorrect AFAICS. I use to do this all the time in A

Re: [PHP] How to argue with ASP people...

2005-01-03 Thread Richard Lynch
You can spend a small fortune in ASP adding in COM objects (or writing them) so it will eventually have maybe HALF the functionality of PHP. http://php.net/ ASP's "Object Oriented" feature set is a joke. All the "object"-ness is built into pre-packaged stuff from MS -- You can't actually create

Re: [PHP] How to argue with ASP people...

2005-01-03 Thread John Sands
I was happy as an ASP developer - you can use MSXSL for XML processing, ADO for database, and the file scripting object for file processing. The weakness shows up when you want to do something that Microsoft has not built into ASP or JavaScript or the COM objects I just listed. You're stuck writing

Re: [PHP] How to argue with ASP people...

2004-12-31 Thread M Saleh EG
the ob_start() in ASP is Response.Buffer=True ASP doesnt handle it for you automaticaly! Just wanted to notify ;) On Fri, 31 Dec 2004 03:14:31 -0500, John Holmes <[EMAIL PROTECTED]> wrote: > mail.pmpa wrote: > > Can I do any session handling before calling header("Location: $url"); ? > > Yeah,

RE: [PHP] How to argue with ASP people...

2004-12-31 Thread mail.pmpa
-Mensagem original- De: John Holmes This is a workaround, really. Your code should be structured so that you can decide if you need to perform a redirect before any output is sent to the browser. If you're going to send them to another page, why would you have any output anyhow? Using t

Re: [PHP] How to argue with ASP people...

2004-12-31 Thread John Holmes
mail.pmpa wrote: I used response.redirect in asp to avoid form re-submit, so I can have form handling functions and other related functions on the same file. new_customer_form.php : < form action="form_results.php" > Customer fills form and hits submit button. form_results.php : function validate_f

RE: [PHP] How to argue with ASP people...

2004-12-31 Thread mail.pmpa
I used response.redirect in asp to avoid form re-submit, so I can have form handling functions and other related functions on the same file. new_customer_form.php : < form action="form_results.php" > Customer fills form and hits submit button. form_results.php : function validate_form_data(){

Re: [PHP] How to argue with ASP people...

2004-12-31 Thread Richard Davey
Hello Tony, Thursday, December 30, 2004, 4:38:18 PM, you wrote: TDC> I am not totally against ASP, but it would have to be pretty good TDC> to get me to switch at this point (PHP seems to do everything I TDC> need)... But I will need to convince him of this... While I know for sure that there is

Re: [PHP] How to argue with ASP people...

2004-12-31 Thread John Holmes
mail.pmpa wrote: Can I do any session handling before calling header("Location: $url"); ? Yeah, sure. You just can't have any output before you redirect with a Location header (unless you use output buffering as a workaround). This is basic HTTP and ASP has to play by the same rules. If you can

RE: [PHP] How to argue with ASP people...

2004-12-30 Thread Robby Russell
sure, add this to the top of your file: ob_start(); On Fri, 2004-12-31 at 04:50 +, mail.pmpa wrote: > Can I do any session handling before calling header("Location: $url"); ? > > Pedro Almeida. > > > -Mensagem original- > De: Rasmus Lerdorf [mailto:[EMAIL PROTECTED] > > mail.pmpa

RE: [PHP] How to argue with ASP people...

2004-12-30 Thread mail.pmpa
Can I do any session handling before calling header("Location: $url"); ? Pedro Almeida. -Mensagem original- De: Rasmus Lerdorf [mailto:[EMAIL PROTECTED] mail.pmpa wrote: > Don't mean to start a discussion whatsoever, I love php, but one thing i > can't do in php is Response.Redirect .

Re: [PHP] How to argue with ASP people...

2004-12-30 Thread John Nichel
mail.pmpa wrote: Don't mean to start a discussion whatsoever, I love php, but one thing i can't do in php is Response.Redirect . Apart from that no complains so far :) http://us4.php.net/header -- By-Tor.com ...it's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.ph

RE: [PHP] How to argue with ASP people...

2004-12-30 Thread Robby Russell
On Fri, 2004-12-31 at 02:49 +, mail.pmpa wrote: > Don't mean to start a discussion whatsoever, I love php, but one thing i > can't do in php is Response.Redirect . > Apart from that no complains so far :) > > * Happy New Year * > > Pedro Almeida. > Sure you can.. class Response { functi

Re: [PHP] How to argue with ASP people...

2004-12-30 Thread Rasmus Lerdorf
mail.pmpa wrote: Don't mean to start a discussion whatsoever, I love php, but one thing i can't do in php is Response.Redirect . Apart from that no complains so far :) header("Location: $url"); which, by the way, makes a hell of a lot more sense. It's just an HTTP response header like any other r

RE: [PHP] How to argue with ASP people...

2004-12-30 Thread mail.pmpa
Don't mean to start a discussion whatsoever, I love php, but one thing i can't do in php is Response.Redirect . Apart from that no complains so far :) * Happy New Year * Pedro Almeida. -Mensagem original- De: Tony Di Croce [mailto:[EMAIL PROTECTED] I am fairly new to PHP, but I am lo

Re: [PHP] How to argue with ASP people...

2004-12-30 Thread Jason Barnett
Ben wrote: Daniel Schierbeck wrote: Tony Di Croce wrote: What points can I bring up in PHP's favor? In what areas does PHP trounce ASP? First of all, ASP doesn't run on anything but Windows servers (unless you're willing to use ChiliASP... *hiss*) Exactly! Portability is key. Not being locked

Re: [PHP] How to argue with ASP people...

2004-12-30 Thread Ben
Daniel Schierbeck wrote: Tony Di Croce wrote: What points can I bring up in PHP's favor? In what areas does PHP trounce ASP? First of all, ASP doesn't run on anything but Windows servers (unless you're willing to use ChiliASP... *hiss*) Exactly! Portability is key. Not being locked into a part

Re: [PHP] How to argue with ASP people...

2004-12-30 Thread Daniel Schierbeck
Tony Di Croce wrote: I am fairly new to PHP, but I am loving it... I have recently gotten involved in a business venture and I have been using PHP so far... Recently I have taken on a partner, and he is a big ASP guy... I am not totally against ASP, but it would have to be pretty good to get me to