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
gt;>>
>>>> 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.&qu
al.
HTH
Graham
-Original Message-----
From: champinoman [mailto:[EMAIL PROTECTED]
Sent: 28 September 2004 09:35
To: [EMAIL PROTECTED]
Subject: [PHP] Re: grabbing information from websites
instead of the POSIX regexp, tr using PERL style RegExps
(www.php.net/pcre) Once you've done that, you ca
aged to avoid them.
The
above URL is a pretty good tutorial.
HTH
Graham
-Original Message-
From: champinoman [mailto:[EMAIL PROTECTED]
Sent: 28 September 2004 09:35
To: [EMAIL PROTECTED]
Subject: [PHP] Re: grabbing information from websites
instead of the POSIX regexp, tr using PERL s
ons are some kind of black art, I've been
> programming
> for 20 years and until recently have pretty much managed to avoid them.
> The
> above URL is a pretty good tutorial.
>
> HTH
>
> Graham
>
> -Original Message-
> From: champinoman [mailto:[EMAIL PRO
mming
for 20 years and until recently have pretty much managed to avoid them. The
above URL is a pretty good tutorial.
HTH
Graham
-Original Message-
From: champinoman [mailto:[EMAIL PROTECTED]
Sent: 28 September 2004 09:35
To: [EMAIL PROTECTED]
Subject: [PHP] Re: grabbing informa
where abouts am i putting the modifier 'm' in the expression to allow the
multilines?
"Champinoman" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
>> instead of the POSIX regexp, tr using PERL style RegExps
>> (www.php.net/pcre) Once you've done that, you can add the pattern
>>
Champinoamn wrote:
hi everyone,
im fairly new to php scripting and was having trouble grabing information
from a website.
i have been able to grab information that is in amongst other text (for
example, the word firemaking below)
---
Firemaking
7,386
61
333,575
---
but the number i wa
> instead of the POSIX regexp, tr using PERL style RegExps
> (www.php.net/pcre) Once you've done that, you can add the pattern modifier
> 'm' to allow multilines .
i think im lost now. i had a look at the site but im not sure what im
looking at. any chance u could make a mock script up so i can
Brent Clark wrote:
Hi all
Ive been try for sometime now, and too tried googling for an answer, to grab the
STDOUT of a command.
In this case the binary command is readbar
The general output of readbar executed on its own is as so:
Code 39->10005802
IATA 2 of 5->2
IATA 2 of 5->8
1
I guess the ereg() will stop when i reads a new line character, therefore
try to use the preg_match() with /is modifiers.
preg_match("/$begin(.*?)$end", $search, $matches);
"Daniel alsén" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> iam trying to gr
echo "\n";
$dir = opendir('/path/to/images/dir') or die("Could no open images dir.");
while ($d = readdir($dir)){
if ($d != '.' && $d != '..'){
echo "$d\n";
}
}
echo "\n";
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? L
16 matches
Mail list logo