Ask a Question related to PHP Development, Design and Development.
-
Michael G #1
malformed url
I am sending email from apache using mail(). In the email I am sending a
url. The url is rather long and consequently the email client is adding
newlines to the url because it is exceeding some preset line limit. Is
there a way to ensure that a long url is not malformed?
Thanks, Mike
Michael G Guest
-
Malformed URL trying to place multimedia content
I create a blank ID document, and then try to place an swf file and get the error message "Download failed due to malformed URL". The same thing... -
Can't Update to 7.01 - malformed server response
I am trying to update the CF from 7.0.0 to the "ColdFusion MX 7 Updater (7.0.1) ". I go to CF Admin "System Information " and in Update File, I... -
HTTPService Fault: An XML element was malformed
I'm new to Flex and encountered this error. I have a datagrid that gets populated from an HTTP Service call.I traced it to find that it occurs only... -
#26160 [NEW]: imap_fetch_overview crashes on certain malformed messages
From: dkoopman at godaddy dot com Operating system: RH 9.0 PHP version: 4.3.2 PHP Bug Type: Reproducible crash Bug... -
malformed header
Hi, I'm trying my first perl script on a Unix server, but without any success! The script (codice.pl) is something like this: ... -
Tyrone Slothrop #2
Re: malformed url
On Mon, 12 Jan 2004 08:22:47 -0700, "Michael G" <mike-g@montana.com>
wrote:
This is more likely the email client wrapping the line than PHP. Can>I am sending email from apache using mail(). In the email I am sending a
>url. The url is rather long and consequently the email client is adding
>newlines to the url because it is exceeding some preset line limit. Is
>there a way to ensure that a long url is not malformed?
>
>Thanks, Mike
you view the raw source of email?
Tyrone Slothrop Guest
-
Michael Gaab #3
Re: malformed url
"Hans Kadans" <hansie@kadansie.bibi> wrote in message
news:_SzMb.8847$Hf3.3107936@phobos.telenet-ops.be...That would be ok, I think, as long as the client was reading in a mode other> <html>
> <a href = "verrrry longgg urlll">verrry longg urllll</a>
> </html>
> ---
> would work
>
than simple text. I'll try it.
Thanks, Mike
Michael Gaab Guest
-
Hans Kadans #4
Re: malformed url
"Michael G" <mike-g@montana.com> schreef in bericht
news:4002bbb7_2@127.0.0.1...Are you using html and tags or just plain text?> I am sending email from apache using mail(). In the email I am sending a
> url. The url is rather long and consequently the email client is adding
> newlines to the url because it is exceeding some preset line limit. Is
> there a way to ensure that a long url is not malformed?
---
<html>
<a href = "verrrry longgg urlll">verrry longg urllll</a>
</html>
---
would work
---
verrrry longgg urllll
---
would give the same visual effect in your mailclient, but probably won't
work
Hans Kadans Guest
-
Michael Gaab #5
Re: malformed url
"Tyrone Slothrop" <ts@paranoids.com> wrote in messageI am not sure what you mean. This might help. We are building a URL using> This is more likely the email client wrapping the line than PHP. Can
> you view the raw source of email?
php and the sending out the URL via mail(). The URL is pretty long because
it contains 5 fields.
Thanks, Mike
Michael Gaab Guest
-
Janwillem Borleffs #6
Re: malformed url
"Michael G" <mike-g@montana.com> wrote in message
news:4002bbb7_2@127.0.0.1...You could send the mail with quoted-prinable encoding (see imap_8bit> I am sending email from apache using mail(). In the email I am sending a
> url. The url is rather long and consequently the email client is adding
> newlines to the url because it is exceeding some preset line limit. Is
> there a way to ensure that a long url is not malformed?
>
function) or use a short URL service like [url]http://tinyurl.com/[/url]
Regarding the qp encoding, here's a quick sample:
$headers = "Content-Transfer-Encoding: quoted-printable";
$msg = <<<EOM
this is al loooooooooooooooooooooooooooooooooooong URL
EOM;
mail($to, $subject, imap_8bit($msg), $headers);
When you don't have the imap extension installed, there are quite a lot
classes available who will do this type of encoding without it.
HTH,
JW
Janwillem Borleffs Guest



Reply With Quote

