[PHP-WIN] Lifetime of Filehandler within Session

2001-01-18 Thread Dirk . Dinger
Hi PHP cracks, I need your help with my litte problem here: I need to setup and maintain a tcp-socket connection within a PHP session, because the service on the other side keeps track of the client's state and decides at runtine which html-page is to be displayed as a result of the users form-

[PHP-WIN] Formatting currencies..

2001-02-08 Thread Dirk . Dinger
Hi PHPs, I'm looking for a function, that can format integer-values to a currency-representation with regard to local system settings. Browsing through php.net I found documentation to a function called "localeconv", but if I try to use it, my PHP4 keeps saying to me "call to undefined function.

[PHP-WIN] Bug in mktime-function ?

2001-02-14 Thread Dirk . Dinger
Hello PHP-users, given the following code snippet to convert ISO-date-strings to localized date-strings: This code works fine as long as I use dates after 1970, all earlier dates result in an empty value. According to the docs, mktime is supposed to work fine with 4-digit dates. What is the

[PHP-WIN] multi-language-support / date conversion in general

2001-02-15 Thread Dirk . Dinger
Am I getting this right : People born before 1970 do not exist in PHP. The general problem I see here is: How can I store a date/time/currency in a language independant way, say some WDDX or general XML representation, and present these values "on the fly" in the current client's language spec

[PHP-WIN] using remote files for inclusion...

2001-03-08 Thread Dirk . Dinger
Hi PHPs, The PHP online-manual says, that under windows remote files can not be used ! http://www.php.net/manual/de/features.remote-files.php Is that the reason, why the following, won't work for me: include("http://localhost/dynamx2html/dynalib.php"); Is "localhost" in this context remote o