FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Newline (cr/lf) in imagestring
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Newline (cr/lf) in imagestring [message #182412 is a reply to message #182408] Sat, 03 August 2013 21:01 Go to previous messageGo to previous message
Tim Streater is currently offline  Tim Streater
Messages: 328
Registered: September 2010
Karma:
Senior Member
In article <46kqv8d4tqhl15ripkbc1dfjb2m0tqvgtt(at)4ax(dot)com>,
Ed Jay <edMbj(at)aes-intl(dot)com> wrote:

> So...how do I produce cr/lf?

$lf = chr (10);
$cr = chr (13);
$nl = $cr . $lf;


Simples.

--
Tim

"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted" -- Bill of Rights 1689
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Reading a file on same server
Next Topic: ini_get("memory_limit") returns an empty string
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Dec 19 18:03:55 GMT 2024

Total time taken to generate the page: 0.04313 seconds