On Dec 24, 2007, at 7:59 PM, Casey <[EMAIL PROTECTED]> wrote:
On Dec 24, 2007, at 7:34 PM, M5 <[EMAIL PROTECTED]> wrote:
I'm learning regular expressions, and trying to figure out what's
possible and what's not. Any ideas of how to create a preg_match
expression to parse following three lin
On Dec 24, 2007, at 7:34 PM, M5 <[EMAIL PROTECTED]> wrote:
I'm learning regular expressions, and trying to figure out what's
possible and what's not. Any ideas of how to create a preg_match
expression to parse following three lines:
Calgary, AB T2A6C1
Toronto, ON T4M 0B0
Saint John, N
I'm learning regular expressions, and trying to figure out what's
possible and what's not. Any ideas of how to create a preg_match
expression to parse following three lines:
Calgary, AB T2A6C1
Toronto, ON T4M 0B0
Saint John, NBE2L 4L1
...such that it splits each line into City, Pro
OK, I already knew that making it valid doesn't change the result.
But the question remains, how to parse the HTML as it arrives (which
I have no control over anyway), besides doing a str_replace on
and inserting a token, which I later replace (which I shouldn't have
to, right?)
...Rene
Actually, never mind. It does not have to be valid to work.
On Dec 24, 2007, at 6:15 PM, Casey <[EMAIL PROTECTED]> wrote:
That's because it's not proper XHTML: "" should be "".
On Dec 24, 2007, at 6:03 PM, M5 <[EMAIL PROTECTED]> wrote:
Just getting into DOMDocument()... I'm loading an HTM
That's because it's not proper XHTML: "" should be "".
On Dec 24, 2007, at 6:03 PM, M5 <[EMAIL PROTECTED]> wrote:
Just getting into DOMDocument()... I'm loading an HTML page and
trying to extract certain bits of text. Just one problem: loadHTML()
seems to ignore orphan tags like ''. For ex
Just getting into DOMDocument()... I'm loading an HTML page and
trying to extract certain bits of text. Just one problem: loadHTML()
seems to ignore orphan tags like ''. For example, in the
following HTML:
Some text is here. New line. Another new
line.
Some text is here. New line. An
the following url explains how to build a single extension for an
existing php installation .. it's not really Mac specific and may help
someone on another system stuck with the same problem:
http://lists.apple.com/archives/macos-x-server/2007/Nov/msg00315.html
Jochem Maas schreef:
> hi guys,
>
On Mon, 2007-12-24 at 12:13 -0500, tedd wrote:
> At 4:18 PM +0200 12/19/07, Sancar Saran wrote:
> > > that said, avoid globals like the plague - sometimes you may come up with
> >> a situation where using a global is really necessary - such situations
> >> should be the exception rather than the
Hello Tedd,
Here my opinoins
First of all, I ask this question to is there any technical dead end for using
$GLOBALS directly.
It seems not.
And I believe other arguments was closely connected to coding style.
I'm self learner, I learn evrything about computers, programming (that means
PHP)
At 4:18 PM +0200 12/19/07, Sancar Saran wrote:
> that said, avoid globals like the plague - sometimes you may come up with
a situation where using a global is really necessary - such situations
should be the exception rather than the rule, often if your thinking of
using a global there is an
> My code is at http://rafb.net/p/DEwN8J71.html
> with results at http://rafb.net/p/cnB4dC80.html
As this temporary hosting expired after 24h, here are both code and log :
http://nicolas.legland.free.fr/attachment/2007/12/24/stream.zip
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
Hello,
I have a very terrible performance after changing to last versions of
Apache and PHP on windows XP (and mysql 4.1).
I did a search on the internet and it seems many people have this
problem. Changing to Apache 2.0 and PHP 5.1 seems to solves the
performance problem.
Anyone has heard
Hello,
I have a very terrible performance after changing to last versions of Apache
and PHP on windows XP (and mysql 4.1).
I did a search on the internet and it seems many people have this problem.
Changing to Apache 2.0 and PHP 5.1 seems to solves the performance problem.
for example this one:
14 matches
Mail list logo