[snip]
Just wondering if there's a clear screen function in PHP like the
clrscr()
in 'C'.
[/snip]
If you are running PHP from the command line on a *nix or BSD box you
could...
exec("clear");
HTH!
Jay
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
Just wondering if there's a clear screen function in PHP like the clrscr()
in 'C'.
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 19 Mar 2001 01:34, Peter Houchin wrote:
> What am going to try & do is get it so mail() returns true then run
> this script else do this
>
> Peter
Like most functions in PHP, mail() returns a value - boolean according to
the manual. So you could do something like
$mail = mail(values
this ..
> >
> > mail(values);
> > if ($mail=1){
> > do this
> > }
> > else {
> > error
> > }
> From: CC Zona [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 19, 2001 2:02 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] just wondering
What am going to try & do is get it so mail() returns true then run this
script else do this
Peter
-Original Message-
From: CC Zona [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 19, 2001 2:02 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] just wondering
In article <[EMAIL PR
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] ("Peter Houchin") wrote:
> If I have a email script and use the mail() function ... am i able to do
> this ..
>
> mail(values);
> if ($mail=1){
> do this
> }
> else {
> error
> }
Are you trying to test whether mail() returned true?
if (mail(va
If I have a email script and use the mail() function ... am i able to do
this ..
mail(values);
if ($mail=1){
do this
}
else {
error
}
is that possible? if not could some one suggest a way i could get the same
effect?
Thanks
Peter Houchin
[EMAIL PROTECTED]
==
7 matches
Mail list logo