agbo onyador wrote:
> Hello there! We are looking for programmers and developers to create a
> world wide system. Your comments are welcome.
Who is "we" ?
--
Per Jessen, Zürich (12.2°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rene7705 wrote:
> On Sun, Mar 18, 2012 at 10:58 AM, Per Jessen wrote:
>
>> rene7705 wrote:
>>
>> > In response to critiques about my download size, I've removed
>> > scenejs and the artwork for my own site-logos from the zip. The
>> > size
it opens better on non-windows OSes.
It worked fine with unzip on linux.
--
Per Jessen, Zürich (11.9°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
therfore a mixture of
> encodings.
It seems to me that you're probably missing a urldecode() on $input
before you attempt to decode the utf8 chars ?
--
Per Jessen, Zürich (17.9°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
u mean? As in unsubscribing?
>
> I mean, STOP receiving mail without UNSUBSCRIBING.
>
> Which is a standardd function of newer "majordomo" and "mailman".
ezmlm uses the expression 'alias' for this functionality. See my
posting from yesterday.
--
Per
have to /dev/null it on my server.
>
> Ist there a way to set my account to NOMAIL option?
Michelle, the list is ezmlm-driven, it should be possible to subscribe
an alias to the list, which means that that address will be allowed to
post, but will not receive any postings.
Try this address:
php
Paul Halliday wrote:
> Is it OK to have session_start as an include?
>
Yes.
--
Per Jessen, Zürich (18.1°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ode out of PHP 4 to indicate it's
> hit PHP 5 code it doesn't understand?
Check the apache error logs, that is where you will usually find
something.
--
Per Jessen, Zürich (14.2°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tedd wrote:
> As Yogi Berra once said; "It's always hard to predict things
> especially when it deals with the future."
>
He was quoting Niels Bohr:
http://www.quotationspage.com/quote/26159.html
--
Per Jessen, Zürich (10.2°C)
--
PHP General Mailing List
th XSLT, and
today I would not want to be without XML.
--
Per Jessen, Zürich (16.6°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s being presented.
strtotime() is an unusual function in that it attempts the reverse -
transform arbitrary text into data.
--
Per Jessen, Zürich (5.2°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t. I
don't think strtotime() is locale-sensitive - according to the manual:
"The function [strtotime] expects to be given a string containing an
English date format"
--
Per Jessen, Zürich (4.6°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Alexis wrote:
> On 05/02/11 13:23, Per Jessen wrote:
>> Alexis wrote:
>>
>>> Hi,
>>>
>>> Living in Canada, and being a bilingual country, I have data I am
>>> processing which includes dates in both English and French.
>>>
>>&g
e above two languages?
Sure, strftime() is locale-sensitive. Set the locale().
--
Per Jessen, Zürich (4.4°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ikipedia.org/wiki/Hungarian_notation
--
Per Jessen, Zürich (7.8°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
must say, of any language I've used,
> the php.net documentation is by far the best, giving plenty of
> information and user comments too. It's a resource I still can't do
> without, and I reckon even the old hands on this list would say the
> same.
Yes, I wouldn't want
ing is a pretty
fundamental change, don't be disappointed if it is not met with
universal approval.
--
Per Jessen, Zürich (5.9°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
label is checked to ensure it doesn't completely consist of
>> digits.
>
> Do you know, that there are MANY domains with numbers only?
>
Here is a list of 197 such Swiss domains:
http://public.jessen.ch/files/ch-domains-only-numeric.txt
--
Per Jessen, Zürich (0.0°C)
--
PHP
tedd wrote:
> At 11:54 AM +0100 1/11/11, Per Jessen wrote:
>>tedd wrote:
>>
>>> At that time, I registered almost 30 names.
>>> Fortunately, all of my names passed and I was
>>> permitted to keep them. Unfortunately, all
>>> browser manufac
tead of the actual
> characters intended.
Only for characters that are not part of a national alphabet, I believe?
This one works fine: http://rugbrød.ch/
Besides, many domain registrars also limit the available characters to
those that are part of a national alphabet.
--
Per Jessen, Zü
g to »
>> http://www.faqs.org/rfcs/rfc2396) ,
>>
>
>
> I'm wondering what mods to make for this now that unicode chars are
> allowed in domain names
You're talking about IDNs ? The actual domain name is still US-ASCII,
only when you decode punycode do you get UTF8 characters.
--
Per Jessen, Zürich (10.1°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
thing except
> digits
>
> $phoneNum = ltrim($phoneNum,'1');//Remove leading 1s
>
> if(strlen($phoneValue) != 10)
> {
> throw new Exception("Phone number must be 10 digits, without leading a
> 1. Check your entry carefull");
> }
O
ally written as NNN NN NN, but also
often in a way that will help remembering the number.
Danish mobile#s are the same as land line numbers, no area code, just
NNNN.
--
Per Jessen, Zürich (2.8°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
he access method, you can store the information whichever
way you want. mysql is probably not a bad idea.
--
Per Jessen, Zürich (-0.9°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ation across a network of applications?
Central directory service accessed with LDAP. Typical examples include
Microsofts Active Directory, Novells eDirectory and openLDAP.
--
Per Jessen, Zürich (-1.4°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ifferent. The file has got to be hauled in from disk regardless of
which function you choose.
--
Per Jessen, Zürich (2.6°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s changed many times over, but it's
not something we as regular application programmers ought to be much
converned with. Leave it to the smart operating system.
--
Per Jessen, Zürich (1.6°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rovides VRFY for exactly
this purpose, but it is disabled on most servers.
The closest approximation of "email address exists" is "MX will accept
mail for it".
--
Per Jessen, Zürich (5.4°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
le believe that if you don't pay for it, it's not worth
anything. We all know that doesn't apply to everything (e.g. not open
source software), but when you're paying an individual for a job,
well
--
Per Jessen, Zürich (8.8°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
sueandant wrote:
> Hi
>
> I'm not familiatr with the term "top-post"; could you please explain?
http://lmgtfy.com/?q=top-post
--
Per Jessen, Zürich (3.7°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Per Jessen wrote:
> Nathan Rixham wrote:
>
>> Per Jessen wrote:
>>> Nathan Rixham wrote:
>>>
>>>> As per the subject, not what other languages have you used, but
>>>> what other languages do you currently use?
>>>
>>> Fr
Nathan Rixham wrote:
> Per Jessen wrote:
>> Nathan Rixham wrote:
>>
>>> As per the subject, not what other languages have you used, but what
>>> other languages do you currently use?
>>
>> French, German, English and Danish.
>>
>
> For
Per Jessen wrote:
> Nathan Rixham wrote:
>
>> As per the subject, not what other languages have you used, but what
>> other languages do you currently use?
>
> French, German, English and Danish.
>
Wrt programming languages (and variations thereof), in orde
Nathan Rixham wrote:
> As per the subject, not what other languages have you used, but what
> other languages do you currently use?
French, German, English and Danish.
--
Per Jessen, Zürich (14.9°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
rite a PHP wrapper for the C functions,
but otherwise yes.
--
Per Jessen, Zürich (17.9°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ver runs for years (wel, mine certainly do).
/Per
--
Per Jessen, Zürich (12.9°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Tommy Pham wrote:
> Hi,
>
> Does anyone have a script running as daemon on Linux/Unix (variants)
> as part of your PHP application?
Yeah, several.
> If so, what are you using to schedule the script to run? cron?
sysVinit and startproc
--
Per Jessen, Zürich (12.1°C)
? Surely there is a way to
> parse a large excel file with PHP.
If your excel file is or can be transformed to XML, I would just use
XSLT. No PHP needed.
--
Per Jessen, Zürich (19.1°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Peter Lind wrote:
> On 1 October 2010 20:21, Per Jessen wrote:
>> Peter Lind wrote:
>>
>>> C# has by now exceeded Java by quite a bit -
>>
>> I've been away from the Java "scene" since 2002 (when I worked for
>> BEA deploying J2EE on L
ry newer programming language in the world has gone further
than Fortran, C, Cobol and PL/I, but they're all very much alive and
kicking. And will each individually probably be able to muster
more "deployed lines of code" than any other language.
--
Per Jessen, Zürich (12.1°
resolver.
> I've copied them to the chroot, but the resolving still fails. strace
> showed failed accesses to /dev/urandom and /dev/log, but mounting /dev
> in the chroot didn't help.
What does your strace show when you have mounted /dev in your chroot
(with -o bind) ?
--
J Ravi Menon wrote:
> On Tue, Sep 14, 2010 at 12:43 AM, Per Jessen wrote:
>> J Ravi Menon wrote:
>>
>>> Few questions:
>>>
>>> 1) Does opcode cache really matter in such cli-based daemons? As
>>> 'SomeClass' is instantiated at eve
there is no 'garbage
> collector' thread that does all the magic?
Correct.
--
Per Jessen, Zürich (12.9°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
g, but if the boss did not log off
> properly then the file would remain in the "yes" state allowing
> employees undesired access. That would not be acceptable.
>
> So, what methods would you suggest?
I would ask the boss to confirm his presence maybe once an hour and only
way to create a php CLI app, that creates it's own "web
> server" even if apache is installed.
Yep, that's no big deal. A webserver is just some code that listens for
requests on port XX, processes the requests and sends back suitably
formatted responses.
--
Per Je
Michael Alaimo wrote:
> Does special configuration have to take place with PHP to let apache
> process server side include files that are HTML documents?
>
PHP doesn't care, but you will need to configure apache to do both SSI
and PHP processing.
--
Per Jessen, Zürich (17
If all of that isn't really within your reach because you don't have
your own server - get your own server and secure it. A leased server
is available for e.g. EUR50/month and that money is better spent than
you spending hour after hour trying to secure your application to run
on an insecure
on", which (in this context) is quite
clearly HTTP + TLS. I didn't bother reading the rest because I had
already had trouble understanding your previous questions.
> Also, as per another responders statement, using a SSL does not
> necessarily mean that the server is more secure.
Jim Lucas wrote:
> Per Jessen wrote:
>> tedd wrote:
>>
>>> Hi gangl:
>>>
>>> I realize that the problem stated herein has been solved by others,
>>> so I'm not claiming I've done anything new -- it's only new to me.
>>>
I've finished creating a method for establishing what I
> think is secure communication between two servers.
First thought - you're reinventing the wheel. When I connect to a
server via https, I have secure communication.
--
Per Jessen, Zürich (16.5°C)
--
PHP General Mailing
not asking about the server, he's asking about the
client.
--
Per Jessen, Zürich (17.2°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
x27;server_addr' and of
> the 'remote_addr' on shared hosting? Is that possible?
$_SERVER['SERVER_NAME'] will tell you the name of the virtual host - I
don't know if that is what you're after.
--
Per Jessen, Zürich (12.2°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Tim Martens wrote:
> Based on advice here and elsewhere, I think we're tending toward a an
> "no framework" MVC approach and sub-directory model to get started. As
> Per so elegantly stated "The subdirectory approach is easily rewritten
> to an internal subdomai
Peter Lind wrote:
> On 26 August 2010 08:08, Per Jessen wrote:
>> Tim Martens wrote:
>>
>>> Thanks for all your answers. To clarify my question, I'm looking for
>>> advice regarding how best to set up users for a web app, e.g.,
>>> username.myapp.
an internal subdomain
structure.
--
Per Jessen, Zürich (17.7°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rname
option. This (in my mind) puts "username" a level lower than "myapp",
whereas username.myapp.com does the opposite.
--
Per Jessen, Zürich (17.7°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Will this always work?
gethostbyname() does not return any IPv6 addresses. You need
getaddrinfo(), but that is AFAIK not yet implemented for php.
> Also what is the best way in php to check if an address is IPv4 or
> IPv6?
preg_match() ?
--
Per Jessen, Zürich (16.2°C)
--
PHP Ge
Bob McConnell wrote:
> From: Per Jessen
>
>> Bob McConnell wrote:
>>
>>> In chronological order -
>>>
>>> Languages: [snip] C++ (Still don't
>>> understand the purpose of objects or classes).
>>
>> Two words - encapsulat
- ultimately though, PHP
> does feel 'stale' comparatively.
If you look at PHP as a language with a set of libraries, the language
itself is as 'stale' as maybe C or Java or assembler - the language
shouldn't change all that often, nor should the core libraries, b
Bob McConnell wrote:
> In chronological order -
>
> Languages: [snip] C++ (Still don't
> understand the purpose of objects or classes).
Two words - encapsulation and abstraction.
--
Per Jessen, Zürich (17.1°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
or do you find you circulate in other web related
> but non PHP focussed communities?
No and no.
> Are you a member or any other web tech communities, opensource
> efforts, or standardization bodies - again, if so which?
ACM, IEEE, openSUSE.
--
Per Jessen, Zürich (16.4°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ümit CAN wrote:
> I use PHP socket programming and I wish multithreading operation of
> the socket .
Don't use PHP, use C - it'll save you a lot of trouble in this context.
--
Per Jessen, Zürich (15.4°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
Nilesh Govindarajan wrote:
> On Wed, Jul 21, 2010 at 12:29 PM, Per Jessen wrote:
>> Tom Sparks wrote:
>>
>>> How do I take the output from a command line program and update a
>>> MYSQL database with it?
>>
>> | mysql -u user -p -Ddatabase
>>
Tom Sparks wrote:
> How do I take the output from a command line program and update a
> MYSQL database with it?
| mysql -u user -p -Ddatabase
--
Per Jessen, Zürich (22.6°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t to show up on the other 2 web servers. We have 3 in a load
> balanced cluster. Linux servers.
>
> How did you go about it?
rsync triggered by inotify.
--
Per Jessen, Zürich (27.8°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
our systems to customers') were simply ignored, apparently due to being
plain text. We decided to "jazz them up" a bit, and it worked.
--
Per Jessen, Zürich (25.6°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
syntax. Same goes for e.g. the C lint -
int main()
{
char *p;
p=0;
*p=0;
}
this is 100% syntactically correct, but will core dump if you run it.
--
Per Jessen, Zürich (24.2°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Rick Pasotto wrote:
> On Sun, Jul 04, 2010 at 06:31:38PM +0200, Per Jessen wrote:
>>
>> We follow the standard and send both text and html.
>
> The text portion is the *only* portion I read.
>
Cool, that is the whole point.
--
Per Jessen, Zürich (24.3°C)
--
aste
> time with the standard's way and just go straight to sending simple
> html pages since all modern browsers handle it well.
> And, it appears to be the way web is going.
>
> What are you folks doing?
We follow the standard and send both text and html.
--
Per Jess
>>
>> In general, on contact forms or "about us" pages, I include some
>> physical address and possibly a phone number. This might satisfy
>> Ash's requirement for "contact details".
>>
>> Paul
>>
>
>
> It's not m
ssible for people to email if needed.
> I can not use javascript for this solution.
I wouldn't bother - you won't escape the spammers anyway. :-(
--
Per Jessen, Zürich (15.9°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Per Jessen wrote:
> AFAICT, gethostbyname() only works for ipv4 addresses, so that one is
> out - dns_get_record seems to be really for dns only, i.e. it does not
> look at /etc/hosts. Is there a hph function that essentially just
> calls getaddrinfo() ?
>
Wow, lots of answ
AFAICT, gethostbyname() only works for ipv4 addresses, so that one is
out - dns_get_record seems to be really for dns only, i.e. it does not
look at /etc/hosts. Is there a hph function that essentially just
calls getaddrinfo() ?
--
Per Jessen, Zürich (19.1°C)
--
PHP General Mailing List
t;
> I imagine that each piece of jewelry must have the coordinates of
> each setting in a database so that they can "on-the-fly" assemble the
> finished product as per user's direction.
>
> For example, let's take the image of the basket pendant showing three
27;uniqueness constraint violated',
> Pg_Error::getMessage(Pg_Error::INTEGRITY_CONST_UNIQUE));
> and I can't see what I've done wrong :(
Might this be better:
public static function getMessage($ec)
{
$text = '';
if (array_key_exists($ec, $erro
only the text
>
- parse the HTML and extract the text elements.
If the HTML is well-formed, this is relatively easily done with XSL, if
not, you might need to use Beautiful Soup or similar.
--
Per Jessen, Zürich (16.1°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Michiel Sikma wrote:
> On 24 April 2010 16:14, Per Jessen wrote:
>
>> Ashley Sheridan wrote:
>>
>> >>
>> >> Is there an actual WoW client for Linux or you run in Wine like
>> >> environment?
>> >>
>> >> Thanks,
>
run a surprising amount of
> Windows-based software.
Doesn't WoW need DirectX and all that? I have some old Windows games
(Diablo, Alpha Centauri, Railroad Tycoon, Wolfenstein) I'd love to play
under Wine, but so far I've not managed to make them work.
--
Per Jessen, Z
Dan Joseph wrote:
> On Wed, Apr 21, 2010 at 8:38 PM, David McGlone
> wrote:
>
>>
>> Are we gonna have to have a discussion on the use of "threading"? LOL
>>
>>
>>
> We just might. Personally, I use it to sow holes in the toe of my
>
David McGlone wrote:
> On Wed, 2010-04-21 at 17:07 +0200, Per Jessen wrote:
>> David McGlone wrote:
>>
>> > Also, I do not want this discussion to turn into a flame war or
>> > anything of such. I am simply just trying to have a discussion and
>> > lea
thousands of others in this
respect. Of course there are also lists that work the other way, but
the PHP list is far from alone.
--
Per Jessen, Zürich (17.0°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
roup list if
> replying sends the reply to the OP.
Reply-All.
--
Per Jessen, Zürich (16.2°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I haven't checked, but I think all the lists I am on behave like this
one.
--
Per Jessen, Zürich (14.8°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ix comes with its own
sendmail equivalent, yuo should not have any problem using postfix. I
certainly don't.
--
Per Jessen, Zürich (8.2°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ashley Sheridan wrote:
> On Tue, 2010-04-20 at 20:27 +0200, Per Jessen wrote:
>
>> Ashley Sheridan wrote:
>>
>> > That's the check I did on the last site i worked on (vicestyle.com)
>> > The user agent string is checked for a language and the site use
r
> choice.
The standard in Apache is 'prefer-language'.
--
Per Jessen, Zürich (12.4°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
would take a look at the
gettext() mechanism:
http://php.net/manual/en/book.gettext.php
--
Per Jessen, Zürich (14.9°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
take seconds
to assemble one such bundle, microseconds are probably not important.
Depends on how many of those bundles you expect to be able to produce
per minute/hour/day as well as what is supposed to happen with them
after they've been assembled.
--
Per Jessen, Zürich (10.8°C)
--
PHP G
> My understanding is that at the base level, all queries are running on
> a socket in some way, so isn't this facility nearly already there in
> some way?
AFAICT (i.e. without having tried it), myqlnd enables you to do
asynchronous queries on mysql - the docuementation is a little lac
Peter Lind wrote:
> Anyway, I don't think either of us will change point of view much at
> this point - so we should probably just give the mailing list a rest
> by now. Thanks for the posts, it's been interesting to read :)
Most of it. +1
--
Per Jessen, Zürich (11.6°
> and even query results.
Most of that is just sound practice, not optimizing, imho. Optimizing
is what you do later.
> I come from the video game world where gaining a frame or two of
> animation per second matters. It makes your game feel less choppy and
> more fluid and therefore
t of micro/nano second)?
On average, exactly one per millisecond.
/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
Peter Lind wrote:
> I'm not against threads in PHP per se ... I just haven't seen a very
> convincing reason for them yet, which is why I'm not very positive
> about the thing.
Roughly the same here - I don't think threading belongs in PHP, but if
someone decides
Tommy Pham wrote:
> I'm presenting the argument for threading. Per is presenting the work
> around using asynchronous queries via mysqlnd. I did read that link a
> few days ago, "Although the user can send multiple queries at once,
> multiple queries cannot be sent over a
to linepattern2
}
else
if ( ($matches=preg_match(linepattern3,text,match))>0 )
{
}
else
if ( ($matches=preg_match(linepattern4,text,match))>0 )
{
}
--
Per Jessen, Zürich (15.9°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Tommy Pham wrote:
> On Thu, Mar 25, 2010 at 1:46 AM, Per Jessen wrote:
>>> * If you could implement threads and run those same queries in 2+
>>> threads, the total time saved from queries execution is 1/2 sec or
>>> more, which is pass along as the total response
Per Jessen wrote:
> CPU 100% - rarely, but it happens.
> Memory 100% - all the time.
> Disk IO 100% - less than all the time, but it's very busy.
FYI, it's actually quite difficult to drive a disk subsystem to
consistent 100% utilization over a period of time. Oracle uses
a
hat he or she is using an interpreted language.
> * If the requests are executed in parallel, the sooner the request
> fulfillment completes, the faster it is to move to the next request
> and complete it right?
Correct.
--
Per Jessen, Zürich (12.7°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
x is easy to pick up for anyone who has studied computer
science - where he or she will already have been introduced to mutexes,
semaphores, the Dining Philosophers, race conditions, deadlocks and
such.
--
Per Jessen, Zürich (12.6°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
rsus 2+?
I said it yesterday already - having a single implementation language IS
a positive, but it may not always be possible due to requirements.
--
Per Jessen, Zürich (12.3°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 1060 matches
Mail list logo