[PHP] WDDX and binary data

2001-09-14 Thread Christopher Heschong
Despite the fact that PHP's WDDX functions don't support a binary type, most binary data comes through just fine, and in fact, the WDDX serialize function can encode certain types of binary data, such as a null character: char code='00'/ But the deserialize process dos not retain these

Re: [PHP] Storing serialized classes in database

2001-07-09 Thread Christopher Heschong
When you serialize() an object in PHP, it only stores the properties, not the methods. This way you can change any of the methods in your class definitions, or add new properties, and when the data is unserialize()d, it will fit into the new class definition. The latest (development) version

[PHP] Zeev via Babelfish

2001-07-08 Thread Christopher Heschong
I quite enjoyed the interview at http://www.dynamicwebpages.de/90.interview-zeev-suraski-linuxtag2001.php translated via babelfish. A tasty morsel: Also the attempt to make PHP the egg-laying woolly milch sow is not my opinion after the actual target for PHP. -- Zeev Suraski (translated

Re: [PHP] Printable Report Generator

2001-07-08 Thread Christopher Heschong
If the browser supports CSS, you can define pagebreaks when it is printed. There is an excellent article at: http://www.stars.com/Authoring/Languages/XML/BeginningXHTML/printing.html It won't work in all browsers, but it gets the job done often enough. On Sunday, July 8, 2001, at 10:04 AM,

Re: [PHP] Is there a better way to do this

2001-05-16 Thread Christopher Heschong
on 5/16/01 5:10 PM, Richard Kurth at [EMAIL PROTECTED] wrote: Is there a better way to do thisI want it to look and see if the userdata file is there and if true the bypass everything else run rest of code. If is not then check to see if userdat1 is and if it is change it's name to

Re: [PHP] - Hard return in readfile

2001-05-16 Thread Christopher Heschong
on 5/16/01 8:38 PM, Ray Iftikhar at [EMAIL PROTECTED] wrote: I have many text files stored on my server. I call them use using the readfile function. While that works great, it seems to over-write the hard returns. This has hurt the format and readability of my information. ie. text file:

Re: [PHP] Escaping from

2001-05-16 Thread Christopher Heschong
on 5/16/01 9:12 PM, Augusto Cesar Castoldi at [EMAIL PROTECTED] wrote: I'm tring to print the variable tmp, but the echo is just printing abcd, the rest he can't print. Why? regards, Augusto $tmp=abcdefg; echo $tmp.br; echo br; $tmp=addslashes($tmp); echo $tmp.br; echo br;

Re: [PHP] Uptime script?

2001-05-16 Thread Christopher Heschong
On Wednesday, May 16, 2001, at 09:47 PM, Ryan Christensen wrote: No.. as I said in my original post, this is on Linux.. so I was actually wondering how it would be a risk in Linux.. not win.. If you want to get the current uptime in Linux without a system() call, you should be able to