Because i am working on an old system which is in ISO, i cant use unicode.
--
Ondrej Kulaty
"tedd" píse v diskusním príspevku
news:p06240802c625f6b4e...@[192.168.1.101]...
> At 2:40 PM +0200 5/5/09, Ondrej Kulaty wrote:
>>Hi,
>>is there any way how to set output enc
Hi,
is there any way how to set output encoding for SimpleXML?
It will load XML document in any encoding, but internally, it converts the
document to UTF-8 and outputs it in this encoding.
I would like to have output encoding set to ISO-8859-2, is it possible?
thanks.
--
Ondrej Kulaty
40 seconds is not very long execution time for timeout, if you have some
loop in the script, try to output a dot character, for example, on every
iteration, with flush() immediately after echo (or whatever command you use
for sending output).
""? "" pí¹e v diskusním pøíspìvku
news:907
Use var_dump() to see contents of a variable. It will print something even
if variable is empty or undefined.
""Michael A. Peters"" píse v diskusním príspevku
news:49a79416.6060...@mac.com...
> As my web app is coming to completion, I added a means to search records
> (different from site sear
Sorry i've missed the first sentence, i thought the answer was only the very
last sentence. my fault.
--
S pozdravem
Ondrej Kulatý
-
Winternet s.r.o.
odd. vývoje aplikací
tel. 585 209 132
www.winternet.cz
"Richard Heyes" píse v disk
Your answer is neither relevant nor funny. :-|
--
"Robert Cummings" pí¹e v diskusním pøíspìvku
news:1235653678.13128.32.ca...@localhost...
> On Thu, 2009-02-26 at 12:47 +, Richard Heyes wrote:
>> Hi,
>>
>> I've been recently wondering (musing if you will) about timings, and
>> roughly how l
I don't think that PHP is good language for teaching OOP as many folks above
said. I have never programmed in OOP style but i plan to learn it. I started
in PHP but i was little confused and i am used to program in procedural way
in PHP, so i've decided to learn some pure OOP language. I am read
Output buffer is flushed at the end of script. When you throw that exception
in try block, this command: exit( 'Contents: ' . ob_get_clean()); never
executes and it continues to catch block where you are outputing exception
message, and it is added to the buffer, then the script ends and buffer
Depends on what for you want to use that. Array is simple data structure, it
holds data, like variable, but objects has methods and properties, it acts
as someting which can do some sort of task and you access it via it's
interface (you call it's methods). You can use array for example to hold
What about to try run it as service? I don't know exactly how to do that but
service programs run in background on my Win XP
""Fanda"" pí¹e v diskusním pøíspìvku
news:7d.3d.09584.c2f7a...@pb1.pair.com...
> Hi,
> I am looking for some method, how to run php cli script on background in
> windows
s.r.o.
odd. vývoje aplikací
tel. 585 209 132
www.winternet.cz
"Robert Cummings" pí¹e v diskusním pøíspìvku
news:1229416450.9173.46.ca...@localhost...
> On Tue, 2008-12-16 at 09:21 +0100, Ondrej Kulaty wrote:
>> I think he knows how to use it, he didn't show us a certain exa
rform this task on the same id at the same time. yes, it's not
very probable but if you have system with many users it can happen
"Robert Cummings" pí¹e v diskusním pøíspìvku
news:1229410766.9173.41.ca...@localhost...
> On Tue, 2008-12-16 at 07:35 +0100, Ondrej Kulaty wrote:
I use md5(microtime());
--
Ondrej Kulaty
"Rob Gould" píse v diskusním príspevku
news:1492934866135048840337272044147195196-webm...@me.com...
>I have a mySQL database with 700,000 records in it, which are presently
>keyed with an "auto-increment" field.
>
&g
e chars are not discarded. Only content of
nodes with whitespace chars only are discarded (->
).
--
Ondrej Ivanic
([EMAIL PROTECTED])
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dmitry committed a path for improved __toString() support. However, im not
sure if it will be PHP6 only...
I know about this patch. I think, it will be PHP6 only.
--
Ondrej Ivanic
([EMAIL PROTECTED])
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Thorsten Suckow-Homberg wrote:
In your case the __toString() method would be valuable...
Beware! This bugs are related to __toString() method:
31766 Open printf and __toString
34286 Assigned __toString() behavior is inconsistent
--
Ondrej Ivanič
([EMAIL PROTECTED])
--
PHP General
'temp'));
are same and thus you working directory is 'C:\...\htdocs\lists\admin'.
If you need check existence of dir 'temp' in your current working
directory you can try one of:
is_dir('temp');
is_dir('./temp');
is_dir('C:\...\htdocs\li
Jochem Maas wrote:
what does the following output:
var_dump (getcwd());
I have better question:
what does the following output:
var_dump (realpath(getcwd()));
var_dump (realpath('temp'));
var_dump (realpath("/lists/admin/temp"));
--
Ondrej Ivanic
([EMAIL PROTECTED])
--
t
not for production environment (default value (1%) is enough).
Sessions which is last modified (before php 4.2.? was used last access
time) before current time minus gc_maxlifetime is a old session and will
be deleted.
--
Ondrej Ivanic
([EMAIL PROTECTED])
--
PHP General Mailing List (http://w
->add($obj);
$obj2 = $obj.__clone();
Storage->remove($obj2); // Error: I want remove Obj2 not Obj1
and more...
--
Ondrej Ivanic
([EMAIL PROTECTED])
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
20 matches
Mail list logo