Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: any Asp method like "Response.end" in php


Message #1 by "arunm" <arun@l...> on Fri, 23 Nov 2001 11:59:45
And for the sake of completeness, you can also use exit()

die() and exit do the same thing... die is merely and alias for exit

Adam Lang
Rutgers Casualty Insurance Company
Systems Engineering vacation style
----- Original Message ----- 
From: Mark Howe <markh@p...>
To: professional php <pro_php@p...>
Sent: Friday, November 23, 2001 7:51 AM
Subject: [pro_php] RE: any Asp method like "Response.end" in php


> Arun,
>          it's usually used like this:
>          $link = mysql_connect ("localhost","username","password") or
> die("Could not connect to database");
> 
> Amusingly put though wasn't it? (as was your own response).
> 
> Have fun with PHP,
> Mark
> 
> ----- Original Message -----
> From: "arun" <arun@l...>
> To: "professional php" <pro_php@p...>
> Sent: Friday, November 23, 2001 1:21 PM
> Subject: [pro_php] RE: any Asp method like "Response.end" in php
> 
> 
> Thanks for the reply.Is that a method??
> 
> 
> 
> ----- Original Message -----
> From: "Jason Lotito" <jason@l...>
> To: "professional php" <pro_php@p...>
> Sent: Friday, November 23, 2001 6:09 PM
> Subject: [pro_php] RE: any Asp method like "Response.end" in php
> 
> 
> > die
> >
> > Jason Lotito
> > jason@l...
> > www.NewbieNetwork.net
> >
> > > -----Original Message-----
> > > From: arunm [mailto:arun@l...]
> > > Sent: Friday, November 23, 2001 12:00 PM
> > > To: professional php
> > > Subject: [pro_php] any Asp method like "Response.end" in php
> > >
> > >
> > > did php provide any method to end the execution of a page
> > > content.In asp
> > > we have "response.end" to stop the execution of the rest of
> > > the page from
> > > that point,did we have anything similar to that in php.
> > >
> > > arun
> > > jason@l... 
> > > $subst('Email.Unsub')
> > >
> >
> >
> >
> 
> 
> 
> 
> 
> 
> 
> 
> 




  Return to Index