[PHP] web-mail problem

2003-09-01 Thread Lingua2001
Hi all,

I am trying to solve a problem related to mail( ). I am not
sure whether it is from SMTP directly or html tags used for html form mail.
I got the following message, and has anyone seen this before?

*
This email is being returned to you because the remote server would not
or could not accept the message. The registeredsite servers are just
reporting to you what happened and are not the source of the problem.

The address which was undeliverable is in the section labeled:
  "- The following addresses had permanent fatal errors -".

The reason your mail is being returned to you is in the section labeled:
  "- Transcript of Session Follows -".

The line beginning with "<<<" describes the specific reason your e-mail
could
not be delivered.  The next line contains a second error message which is a
general translation for other e-mail servers.

***

Thank you in advance.

David

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: web-mail problem

2003-09-03 Thread Lingua2001
Hi Viraj and all,

Did you figure out what is going on with the
returned mails, Viraj?

Thanks in advance,

David


>Thank you for your message.

>I've attached one ZIP file that contains some of the
>returned mails including the most recent one (one pair: details.txt and
>message4.txt).

>Thank you very much in advance.

>David
- Original Message -
From: "Viraj Kalinga Abayarathna" <[EMAIL PROTECTED]>
To: "Lingua2001" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, September 02, 2003 3:42 AM
Subject: Re: [PHP] web-mail problem
> David,
> first, this is a meassage you are getting from your mail server,
> not from PHP.
>
> according to my knowladge this is due to email address routing
> problem which the mail server experience when it tries to relay the
> mail.
> if you can send me the complete bounce mail message you recieve
> i'll tell you exactly whats going on there.
>
> Viraj

- Original Message -
From: "Lingua2001" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 02, 2003 12:42 AM
Subject: web-mail problem


> Hi all,
>
> I am trying to solve a problem related to mail( ). I am not
> sure whether it is from SMTP directly or html tags used for html form
mail.
> I got the following message, and has anyone seen this before?
>
> *
> This email is being returned to you because the remote server would not
> or could not accept the message. The registeredsite servers are just
> reporting to you what happened and are not the source of the problem.
>
> The address which was undeliverable is in the section labeled:
>   "- The following addresses had permanent fatal errors -".
>
> The reason your mail is being returned to you is in the section labeled:
>   "- Transcript of Session Follows -".
>
> The line beginning with "<<<" describes the specific reason your e-mail
> could
> not be delivered.  The next line contains a second error message which is
a
> general translation for other e-mail servers.
>
> ***
>
> Thank you in advance.
>
> David
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] how can I capture/ or make a history file?

2003-11-26 Thread lingua2001
Hello all,

I want to make a history file while
runing a script in a shell.

Does anyone know how to store all
the history and the result to a file I want?

what is the command for it?

thank you in advance

Joshua

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Regular Expression

2003-12-29 Thread lingua2001
Thank you!! It worked!!

The wrong sample was 'dot'11'dot'abcd, but
the first dot was not shown properly...

And, now I have another problem:
In fact, the input strings are lines from a webpage, and
they sometimes have line-feed as in:

$string = "
11.abcd.32.efgh.54.ij <--here
kh.41.lmno. <--here
63.pqrs";

And, with ereg_replace("(\.)([0-9])","\\1\\2",$string),
 the result I expect is:

 11.abcd.

32.efgh.

54.ijkh.

41.lmno.

63.pqrs.

But, the actual result is:

11.abcd.

32.efgh.

54.ij <-- problem
kh.

41.lmno.
63.pqrs. <-- problem

I tried some more regular expressions to solve this, but
they don work yet.
So, please help me~~

Thank you in advance.

Joshua

- Original Message -
Wrom: WIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJ
To: "Joshua" <[EMAIL PROTECTED]>
Cc: "PHP General list" <[EMAIL PROTECTED]>
Sent: Saturday, December 27, 2003 1:27 PM
Subject: Re: [PHP] Regular Expression


> On Sat, 27 Dec 2003, Joshua wrote:
> > I'm trying to change the string, for example,
> >
> > $string = "11.abcd.32.efgh.53.ijk";
> > to
> >
> > 11.abcd.
> > 32.efgh.
> > 53.ijk.
> >
> > with ereg_replace. Like
> > ereg_replace("\.[0-9]","",$string);
> > How can I recover the original characters after replacing them with 
> > in ereg_replace?
> >
> > ereg_replace("\.[0-9]","\\0",$string) gives me the
> > wrong result like:
> >
> > 11.abcd.
> > 32.efgh.
> > 53.ijk.
>
> Since the output you want and the output you didn't want are identical in
> your post, it was hard to tell what you were trying to do, but...
>
> I think this is what you want..
> ereg_replace("(\.)([0-9])","\\1\\2",$string);
> (minus the last decimal point, missing from your original string)
>
> --
> Kelly Hallman
> // Ultrafancy
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

- Original Message -
Wrom: PHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXX
To: "Joshua" <[EMAIL PROTECTED]>
Cc: "PHP General list" <[EMAIL PROTECTED]>
Sent: Saturday, December 27, 2003 1:27 PM
Subject: Re: [PHP] Regular Expression


> On Sat, 27 Dec 2003, Joshua wrote:
> > I'm trying to change the string, for example,
> >
> > $string = "11.abcd.32.efgh.53.ijk";
> > to
> >
> > 11.abcd.
> > 32.efgh.
> > 53.ijk.
> >
> > with ereg_replace. Like
> > ereg_replace("\.[0-9]","",$string);
> > How can I recover the original characters after replacing them with 
> > in ereg_replace?
> >
> > ereg_replace("\.[0-9]","\\0",$string) gives me the
> > wrong result like:
> >
> > 11.abcd.
> > 32.efgh.
> > 53.ijk.
>
> Since the output you want and the output you didn't want are identical in
> your post, it was hard to tell what you were trying to do, but...
>
> I think this is what you want..
> ereg_replace("(\.)([0-9])","\\1\\2",$string);
> (minus the last decimal point, missing from your original string)
>
> --
> Kelly Hallman
> // Ultrafancy
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php