actly why.
If the current character set is unimportant, you can use
mysql_escape_string() instead. (yes, I know it's deprecated).
--
Per Jessen, Zürich (4.8°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
places. Here in Switzerland for instance.
/Per
--
Per Jessen, Zürich (3.9°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ty to prove your own
identity), but your point is valid nonetheless.
> But I just don't see any way of uniquely identifying a user online
> without some sort of unique user input -- do you?
Nope.
--
Per Jessen, Zürich (6.0°C)
--
PHP General Mailing List (http://www.php.net/)
T
directed...
You basically need to do something about the stdin, stdout and stderr
file descriptors that your child inherited from the parent at time of
fork(). I can't seem to find many PHP functions that deal with file
descriptors though.
--
Per Jessen, Zürich (2.6°C)
--
PHP General Mail
en you serve them, then they will
automatically be checked by the browser.
/Per
--
Per Jessen, Zürich (2.8°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
FF - one of your graphics for
instance - then hit Ctrl-i to get the info page. That will tell you
exactly how FF sees the file - expiry time etc.
/Per
--
Per Jessen, Zürich (2.6°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
German Geek wrote:
> This didn't work. ctrl+i brought up my bookmarks. ?? Do i need a
> special plugin/extension? Have web developer etc.
Nope, this is standard FF. Ctrl+i should give you the "Page Info"
window. Try looking for that in your menubar and pulldowns.
-
Srinivasa Rao D wrote:
> Hi all,
> * How better, i can read ms-word doc files from PHP on LINUX
> OS*.
[snip]
>
> *Is there are any other softwares that can fetch text from MS-WORD
> file?.*
OpenOffice.
--
Per Jessen, Zürich (1.9°C)
--
PHP General
uot;? I publish everything in
xhtml, no browser has had a problem with that yet.
--
Per Jessen, Zürich (2.1°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Michael A. Peters wrote:
> Per Jessen wrote:
>> Michael A. Peters wrote:
>>
>> [anip]
>>> and you can use DOMDocument to completely
>>> construct the page before sending it to the browser - allowing you
>>> to translate xhtml to html for br
->imo:anbieternr does not work in that case.
>
> Has somebody an idea how to adress this?
When used like that 'imo' becomes a name-space. I don't know what sort
of parsing you're doing, but typically you would need to set that
first.
--
Per Jessen, Zürich (-1.5°C)
--
irst
> of all I do not even know if the xml file is utf8encoded (I doubt it),
It should say in the XML file.
--
Per Jessen, Zürich (3.2°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s? Quicker?
Not taking pipelining into account, a 3GHz processor will execute one
instruction in 333 picoseconds, so three instructions in a nanosecond.
How many instructions to a line of code? 10,000 ?
--
Per Jessen, Zürich (4.6°C)
--
PHP General Mailing List (http://www.php.net/)
To u
Hans Schultz wrote:
> Is there some way for PHP to cache some data on the page? I like very
> much PHP's speed but it would be even better to be able to cache some
> frequently used data from database?
Databases such as MySQL are very good at caching.
--
Per Jessen, Zürich (3
The Doctor wrote:
> I am running into problems compiling a shared module on
> BSD/OS 4.3.1 .
>
You neglected to mention _which_ problems.
[snip]
> I want to surpress static maode and fully concentrate only in the so.
disable-static, enabled-shared ?
--
Per Jessen, Z
serious, that kind of thing in
> there several times)
>
> To at least get started though, is there a wildcard defined that says
> match a month?
>
> IE
>
> /^([0-9]{2})[\s-](MONTH_MATCH)[\s-]([0-9]{4,4}$/
>
> where MONTH is some special magic that matches Mar March
attern, $clean, $verb_date);
If I were you, I'd write several regexes, one for each date format you
wish to recognize. It makes the regexes much easier to read, and you
can still write sub-expressions for catching e.g. months and then reuse
those in your main regexes.
/Per Jessen
--
ANUAL***_ * - exec()* executes the given
> /command/ ) does not,
> COPIED AND PASTED:
> | // outputs the username that owns the running php/httpd process
> // (on a system with the "whoami" executable in the path)
> echo exec('whoami');
> ?> |
> What is going on
my current keyboard, the back tick is sat
on the key to the left of '1' on the top row.
/Per
--
Per Jessen, Zürich (6.4°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ource, though I don't
> believe it's even yet been given a name, so we'll have to change that.
"UNIX Channel 3" ??
It's just file descriptor 3, that's all. In the old days, it was
occasionally called "stdaux", but AFAIK that's not used any mo
ow I have never heard streams or file descriptors referred to
as "channels". Well, certainly not in UNIX.
As for stdaux, I don't think it's being used any more at all. Like Bob
suggested, I think it might very well be a DOS reference.
--
Per Jessen, Zürich (1.8°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
en. It looks in
whichever directory the URL indicates. With Multiviews enabled, Apache
will look for anything matching 'index.*' and decided which file is the
best match and then serve that.
/Per
--
Per Jessen, Zürich (5.8°C)
--
PHP General Mailing List (http://www.php.net/)
To un
not work either.
>
> I have also genericised the username and password for this post. Host
> name is correct.
>
> Can anyone enlighted me as to what I am not doing correctly?
>
>
> Fatal error: Call to undefined function: mysqli_connect() in
Check if the mysqli extension
d the extension, add "extension=mysqli.so" to your
php.ini (if it's not already there).
/Per
--
Per Jessen, Zürich (10.9°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
en this as:
$dbc = mysqli_connect($hostname,$username,$password,$usertable)
or die('Error connecting to MySQL server');
/Per
--
Per Jessen, Zürich (10.7°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
qli,
the extension wasn't loaded. Or try using extension_loaded('mysqli')
and see what that says.
To load the extension, you could use dl() in your code although it might
have been disabled. Otherwise you need to modify the correct php.ini
and add the extension=mysqli.so line.
/
want to load the whole GeoIP Database in my scripts.
The easiest is to use a DNS service - this is the best one I know:
http://countries.nerd.dk/
/Per
--
Per Jessen, Zürich (9.8°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Michelle Konzack wrote:
> Hello Per,
>
> Am 2009-03-15 15:12:47, schrieb Per Jessen:
>> The easiest is to use a DNS service - this is the best one I know:
>> http://countries.nerd.dk/
>
> This is cool...
>
I'm glad you like it - it really is cool.
urn;
> } else {
> // make API call
> }
>
> While this works, it unfortunately leaves behind a zombie process
> every single time.
You need to call pcntl_wait() or pcntl_waitpid().
/Per
--
Per Jessen, Zürich (4.2°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
etes before it exits.
No it doesn't - just call pcntl_wait() with WNOHANG to check the status
of a child.
/Per
--
Per Jessen, Zürich (6.5°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
: echo "some sort of error in pcntl_wait()\n"; break;
case 0: break;
default:
echo "child $p finished\n";
}
}
Second, it sounds like you're expecting to reuse your database
connection from getInfo() in the child you're forking in makeAPIcall()?
I
nless you specifically want to wait for each child to finish
before starting another one.
> But it still has the same problem, and I'm also trying to avoid
> pcntl_wait or pcntl_waitpid at all because I still want to do it
> asynchronously.
pcntl_wait(WNOHANG) will make ever
m.
I think the database problem is caused by your child inheriting the
connection, and then closing it - whilst the parent is still using it.
Your parent needs to open a new connection.
/Per
--
Per Jessen, Zürich (8.8°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
Waynn Lue wrote:
> (Apologies for topposting, I'm on my blackberry). Hm, so you think
> exiting from the child thread causes the db resource to get reclaimed?
>
Yeah, something like that. The connection is definitely closed when the
child exits.
/Per
--
Per Jessen, Zürich (8
Jochem Maas wrote:
> Per Jessen schreef:
>> Waynn Lue wrote:
>>
>>> (Apologies for topposting, I'm on my blackberry). Hm, so you think
>>> exiting from the child thread causes the db resource to get
>>> reclaimed?
>>>
>>
>>
the only solution is
> to rewrite the functions to use a new db connection every time?
Each child should open its own database connection (if it needs one),
and the parent should not keep the connection open at time of fork().
/Per
--
Per Jessen, Zürich (4.6°C)
--
PHP General Mailing List
but that requires changing multiple places, while this
>> can be localised to just the dispatcher function. Does the first
>> solution I propose seem sane?
I think it is best done in the dispatcher. I have such a setup in at
least one place - I've set a max of 4 jobs, and I si
lists on mailman, works very
well.
/Per
--
Per Jessen, Zürich (0.1°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
mike wrote:
> On Fri, Mar 20, 2009 at 12:35 AM, mike wrote:
>> On Thu, Mar 19, 2009 at 11:34 PM, Per Jessen
>> wrote:
>>
>>> ecartis is one option.
>>
>> now this is a good lead!
>
> except not touched since 2003 it seems.
>
> sigh. well
mike wrote:
> On Fri, Mar 20, 2009 at 12:56 AM, Per Jessen wrote:
>
>> Well, for one thing, the latter is usually for commercial purposes,
>> the former isn't.
>
> mailing lists can definately support commercial ventures. i am doing
> this for my company, in fa
echo a.dat > sha1sum -t!= php
>
> any thoughts...
Try "echo -n"
/Per
--
Per Jessen, Zürich (3.4°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t; $idList = implode(',', $TidList);
>
> My problem is that some of the values gets concenated, others ere
> missing 2 or 3 cifres and some just doesn't show up.
I can't reproduce that behaviour - I tried with ascii ('klop') and utf8
('Köhler'
TG wrote:
> I don't think that would be a problem, the size of the array. I've
> used implode at least once or twice on fairly large arrays. More
> likely is something weird with your data.
Yeah, like the odd backspace or carriage return perhaps.
/Per
--
Per Je
ested his code that far? Is
there a possibility that some of the id's are _not_ just plain integers
made up of 0-9?
/Per
--
Per Jessen, Zürich (4.1°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
normally meant to cope with cygwin,
but if the dll wasn't created
/Per
--
Per Jessen, Zürich (6.8°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/configure
make
make install
--
Per Jessen, Zürich (5.7°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
MikeP wrote:
> Hello,
> How do I know if an extension (specifically php-domxml) has to be
> compiled or can just be loaded.
To see if it has already been compiled, check /usr/lib/phpx/extensions
/Per
--
Per Jessen, Zürich (6.8°C)
--
PHP General Mailing List (http://www.php
Andrew Williams wrote:
> Best All,
>
> How can you best and accurately extract XLM data to DB table. e.g.:
>
Use XSLT to generate SQL INSERT statements.
/Per
--
Per Jessen, Zürich (11.3°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
rom XML format to a text format suitable for use as insert SQL
insert statements. All you need to do is write the stylesheet that
takes format1 and converts it to format2.
If you've not dealt with XSL before it can be a little daunting, but I
think you'll get the idea fairly quickly.
that "php-gettext" does not do a fallback, if I
> have only "de" and not "de_DE".
Fallback to what? I only have 'de' in my browser language preferences,
and your site came up fine in German.
/Per
--
Per Jessen, Zürich (11.7°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
abdulazeez alugo wrote:
>
> Hi guys,
>
> Please can anyone tell me what I'm doing wrong with the code below? It
> keep returning unsuccessful.
>
Why don't you print out mysql_error() ? It'll tell you right away.
/Per
--
Per Jessen, Zürich (20.1°C)
ext "bla blub" out of this example.
>
This might do the trick (not tested):
preg_match( "/]*>([^<]*)<\/div>", $yourtext, $match );
print $match[1];
/Per
--
Per Jessen, Zürich (16.8°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
header("Content-Type: text/html; charset=utf-8");
>
> But still... no luck :-(
>
> Has somebody an idea why??
Check that the page really is displayed with the right encoding - in FF,
Ctrl-I.
/Per
--
Per Jessen, Zürich (16.6°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rhaps 3.0 changed that?
/Per
--
Per Jessen, Zürich (9.9°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
wget -S to see what your server is sending. Or sent me a link
off-line, and I'll check for you.
/Per
--
Per Jessen, Zürich (10.0°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Tom Sparks wrote:
>
> how do I get the creation dates on a file?
> how do I get the last access date on a file?
>
http://php.net/manual/en/function.stat.php
/Per
--
Per Jessen, Zürich (14.4°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
could have just checked the mysql manual? But yes, there is also a
SHA1 function.
/Per
--
Per Jessen, Zürich (19.2°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
at's no problem. Look up "openssl smime -encrypt"
/Per
--
Per Jessen, Zürich (19.8°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ifferent issues. You may want to look at it that
>> way.
>
> But can it be done so the recipient's email client will automatically
> open and decrypt the message? How do you make it as seamless as
> possible for them, preferably so they don't even realize the mes
know the intended receiver as such.
> Both the sender and receiver must agree on the encrypting mechanism
S/MIME.
/Per
--
Per Jessen, Zürich (20.5°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
are likely to have different clients. That end is
> completely outside of my control or influence.
Use S/MIME. It's standard, and it's supported by e.g. both outlook and
thunderbird.
--
Per Jessen, Zürich (18.1°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
Jan G.B. wrote:
> A web application that uses an external db server would be quite ...
> uhm... slow! Anyone did this, yet? ;)
Certainly, and it's not slow. It depends entirely on your connection to
the public internet.
--
Per Jessen, Zürich (18.2°C)
--
PHP General Mailing
y
> nicely), but I want to suppress the codes if the output is being
> filtered or redirected to a file.
Check out posix_isatty()
/Per
--
Per Jessen, Zürich (16.4°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Richard Quadling wrote:
> 2009/4/22 Per Jessen :
>> Richard Quadling wrote:
>>
>>> Hi.
>>>
>>> Is there a simple way for a CLI based PHP script to determine if its
>>> output is being redirected to a file or piped through a filter
>>> (
> } else {
> return ('Not Array');
> }
> }
>
> What is your take? And is there any benefit to either method?
It's only about style and coding logic. In essence, all the return does
is pop the previous IP off the stack and adjust the stack pointer.
rc=1; break; }
if ( cond5 ) { errormsg; rc=1; break; }
if ( cond6 ) { errormsg; rc=1; break; }
if ( cond7 ) { errormsg; rc=1; break; }
break;
}
return rc;
--
Per Jessen, Zürich (16.6°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
little point in continuing,
> so an immediate return is the order of the day.
Well, I usually use that construct where I can have a number of
different error-conditions - e.g. if I have a sequence of socket
create, DNS lookup, bind, connect etc.
/Per
--
Per Jessen, Zürich (15.6°C)
--
P
Jan G.B. wrote:
> 2009/4/21 Per Jessen :
>> Jan G.B. wrote:
>>
>>> A web application that uses an external db server would be quite ...
>>> uhm... slow! Anyone did this, yet? ;)
>>
>> Certainly, and it's not slow. It depends entirely on your conn
by most
> servers.
verify-email.org doesn't use VRFY anyway. It just starts an
SMTP-conversation, but terminates after RCPT TO.
/Per
--
Per Jessen, Zürich (8.2°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. Another alternative
>> is to use Exceptions which might be the most proper way to do it.
>
> in a thread off-list i commented on the use of a function. here's what
> i said:
Shawn McKenzie already posted the right solution - did you miss it?
/Per
--
Per Jessen, Züric
example.com/blah/blah"; and you'll get
some data using a TCP server connection.
Oh, sorry - I forgot about the "useful" bit ...
/Per
--
Per Jessen, Zürich (21.0°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
y you could - I've been using sms_client for 3-4 years,
paying a fixed fee of 30Rappen per SMS via my phonebill. It works very
well. I trigger the SMS by email, but it could just as easily be done
from some PHP code.
sms_client is open source, btw.
/Per
--
Per Jessen, Zürich (17.6°
ms interfaces,
so I'd disagree with your initial claim.
/Per
--
Per Jessen, Zürich (18.0°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
g
a login packet. If a login packet is not received within 30 seconds the
server will terminate the session. "
Now you just need to determine what a login packet should look like.
/Per
--
Per Jessen, Zürich (18.4°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
itten. but i'm
> not sure how to do that.
>
> any ideas?
1) the inotify interface will alert you when a file or directory
changes.
2) run tail -f logfile | and read from stdin. (not tested).
3) if you can change the logfile to a fifo, you're all set.
/Per
--
Per Jessen, Z
an outputting to sdtout...
Once piped to your script, reading from stdout will be just like reading
from a fifo.
/Per
--
Per Jessen, Zürich (16.2°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
E TABLE `children` (
> `cid` int(4) NOT NULL auto_increment,
> `cname` char(50) default NULL,
> `csname` char(50) default NULL,
> PRIMARY KEY (`cid`)
> ) ENGINE=InnoDB
>
> I use PHP 5.1 and MYSQL 5
I've just tried creating that table and doing a few inserts -
such as marc.info carry archives
of e.g. php-general? I'm sure the list is also available at gmane.org.
Why are you writing in capitals - are you angry?
/Per
--
Per Jessen, Zürich (18.3°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Andrew Williams wrote:
> I have no problem with it at least user email address should be
> removed off the publication.
> - Show quoted text -
Don't worry, at e.g. marc.info the addresses have been appropriately
obscured.
/Per
--
Per Jessen, Zürich (20.4°C)
--
PHP Genera
've got a scalability problem.
/Per
--
Per Jessen, Zürich (10.8°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
sending the email from, and how that
mailserver is configured. The email content of a non-spam email is
hardly ever enough to get it classified as spam.
> Also, how can I get bounced emails?
Put in the correct envelope address. Use the '-r' option.
/Per
--
Per Jessen, Zürich (19
a real problem - lots of companies have different inbound and
outbound servers.
/Per
--
Per Jessen, Zürich (14.2°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
n't work.
/Per
--
Per Jessen, Zürich (20.8°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ashley Sheridan wrote:
> On Thu, 2009-05-28 at 07:45 +0200, Per Jessen wrote:
>> Ashley Sheridan wrote:
>>
>> > I've also seen this happen where the address that the mail was sent
>> > from is different from the MX record for the domain the email says
&g
>
> First thought: use strpos, but this does not help in all cases
> Second thought: split text into words and use in_array, but this does
> not find things like "zu Hause" or "flexible/Arbeit"
First thought - use Spamassassin.
Second thought - use regexes.
t it's
easy to "roll your own" too.
> If they require the headers of an email you can supply fake ones and
> remove any effect headers have on the score.
SA doesn't require them, and without them scoring would (obviously) be
based on the text only.
/Per
--
Per Jes
eed to compare
> the changes - how would you suggest me to do it?
diff.
> I also don't have the old file.
Recreate it?
/Per
--
Per Jessen, Zürich (18.8°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
uot;netstat -ltn". Or check your "listen.conf" file.
/Per
--
Per Jessen, Zürich (20.2°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
way I read the manual, the timer should be reset each time I call
> rec_scanl,
You keep calling it so as long as the execution time between each call
is < 1 second, your script will keep going.
/Per
--
Per Jessen, Zürich (15.4°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
line scripting all the time.
In fact, any script with a relation to a website with PHP I will also
write in PHP.
/Per
--
Per Jessen, Zürich (17.2°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
er, I think, 'times out' before the Python script is
> finished and therefore kills Python and displays no output from
> Python. After some intense googling, I haven't found an answer,
Can't you just change whichever timeout it is that terminates your
script?
/Per
--
sly, one cannot
> expect people to change their browser or whatever adjustments just for
> my little diamonds.
Set the correct character set for your output. It's in the HTTP header.
/Per
--
Per Jessen, Zürich (20.2°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
sing here? I have no problem with the setlocale(LC_ALL,'')
call, but I'd like to understand why I need it.
--
Per Jessen, Zürich (16.1°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
g exactly one byte = 0xFF.
That should work with your /dev/i2c interface as well - if not,
something else is getting in your way.
/Per
--
Per Jessen, Zürich (16.9°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Per Jessen wrote:
> When I've set LC_ALL before calling php, why do I need to call
> setlocale() in the script too:
>
> LC_ALL=de_DE.utf8 php -r "print strftime('%B');"
> June
>
> LC_ALL=de_DE.utf8 php -r "setlocale(LC_ALL,''); print
Daniel Brown wrote:
> On Tue, Jun 16, 2009 at 12:51, Per Jessen wrote:
>>
>> Am I the only one to run into these oddball problems? Doesn't anyone
>> else use different locales? I think the above is a bug - php
>> _should_ respect the LC_ALL setting without being
Daniel Brown wrote:
> On Tue, Jun 16, 2009 at 15:33, Per Jessen wrote:
>>
>> Environment
>>
>> Variable => Value
>> LC_ALL => de_DE.utf8
>>
>> Is that what you were after?
>
> Sure is. Unfortunately, that means it's not an enviro
Daniel Brown wrote:
> On Thu, Jun 18, 2009 at 14:52, Per Jessen wrote:
>>
>> Now Dan, I hate to be a pest, but them minutes of yours seem to be
>> running a teeny bit slow? :-)
>
> It's the uhh time difference between Zurich and
> Scranton...? [*
nds to simple http-style requests and I
call it from php to produce this page: http://jessen.ch/refrigeration/
(in dire need up an update).
/Per
--
Per Jessen, Zürich (14.4°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Randy Paries wrote:
> Hello,
> I have three web servers (in a lvs cluster)
> in the cluster they all think they are www.mydomain.com
> With LVS you can not guarantee that each request is going to come in
> via the same server
I thought LVS had some session persistence stuff ?
101 - 200 of 1028 matches
Mail list logo