Re: [PHP] calculate bytes in string

2002-11-09 Thread Ian Newlands
This was exactly what I was trying to avoid. See I was porting a reporting module to write .XLS files to a database, rather than to files. It's easier for me to clean up old reports that way. Anyway, thanks for your help! Regards, Ian Newlands "@ Edwin" <[EMAIL PROTECTED]> wrote in message n

Re: [PHP] calculate bytes in string

2002-11-09 Thread Ian Newlands
Well I tried that, however I was saving dynamically generated .XLS files. Because I was using addslashes before hand it was reporting the wrong file size. So it was my mistake, thanks for your help! Regards, Ian Newlands "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:200211091639.43919

Re: [PHP] calculate bytes in string

2002-11-09 Thread @ Edwin
Or, "Jason Wong" <[EMAIL PROTECTED]> wrote: > On Saturday 09 November 2002 14:22, Ian Newlands wrote: > > Does anyone know of a function, or a method to calculate how many bytes are > > in a string? Similar to the filesize file system function. > > > > Any help would be appreciated. > > Assuming

Re: [PHP] calculate bytes in string

2002-11-09 Thread Jason Wong
On Saturday 09 November 2002 14:22, Ian Newlands wrote: > Does anyone know of a function, or a method to calculate how many bytes are > in a string? Similar to the filesize file system function. > > Any help would be appreciated. Assuming 1 character = 1 byte, then strlen(). -- PHP General Mail

[PHP] calculate bytes in string

2002-11-08 Thread Ian Newlands
Does anyone know of a function, or a method to calculate how many bytes are in a string? Similar to the filesize file system function. Any help would be appreciated. Regards, Ian Newlands -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php