--- 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
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
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
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
--- 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
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
[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
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
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
[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
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
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
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
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
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
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,
-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
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
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(){
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
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
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
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 .
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
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
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
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
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
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
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
30 matches
Mail list logo