aham
-Original Message-
From: champinoman [mailto:[EMAIL PROTECTED]
Sent: 29 September 2004 02:04
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: grabbing information from websites
i tried putting in fread() but still getting a blank screen. any other
errors in here?
http://hiscore.runescape.c
aham
>
> -----Original Message-
> From: champinoman [mailto:[EMAIL PROTECTED]
> Sent: 28 September 2004 14:47
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Re: grabbing information from websites
>
>
> i said i was learning this and didnt really understand it.
> so going by
e parsing. I bet it's
> what you see above.
>
> -TG
>
>
>
> > -Original Message-
> > From: champinoman [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, September 28, 2004 9:47 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [PHP] Re: grabbing i
ED]
> Sent: Tuesday, September 28, 2004 9:47 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Re: grabbing information from websites
>
>
> i said i was learning this and didnt really understand it.
> so going by what has been said i have come up with the
> fol
nstead.
HTH
Graham
-Original Message-
From: champinoman [mailto:[EMAIL PROTECTED]
Sent: 28 September 2004 14:47
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: grabbing information from websites
i said i was learning this and didnt really understand it.
so going by what has been said i have come u
i said i was learning this and didnt really understand it.
so going by what has been said i have come up with the following but
still doesnt want to work.
heres what i have:
http://hiscore.runescape.com/aff/runescape/hiscorepersonal.cgi?username=champinoman","r";);
$line = fgets ($file, 1024)
ugh, obviously I'm a bad typer :) The code should be:
preg_match('#username=champinoman&category=13.*align="right">(.*)#mi',
$text, $out);
Or using any other patterndelimiter... ;)
M. Sokolewicz wrote:
I thought I clearly stated that for the m modifier you need to use PCRE
functions!
eg:
preg_m
I thought I clearly stated that for the m modifier you need to use PCRE
functions!
eg:
preg_match('/username=champinoman&category=13.*align="right">(.*)/mi',
$text, $out);
Champinoman wrote:
so does this look right:
eregi
("username=champinoman&category=13.*align=\"right\">(.*)"m,$line,$out))
so does this look right:
eregi
("username=champinoman&category=13.*align=\"right\">(.*)"m,$line,$out))
is that where i am ment to put the 'm' modifier? or am i still off on the
wrong track?
"Graham Cossey" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> From http://gnosis.cx/
>From http://gnosis.cx/publish/programming/regular_expressions.html:
"Sometimes you have a programming problem and it seems like the best
solution is to use regular expressions; now you have two problems."
To me regular expressions are some kind of black art, I've been programming
for 20 years an
10 matches
Mail list logo