-
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?
?php
$file = fopen
(http://hiscore.runescape.com/aff
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
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)
---
tda href=hiscoreuser.cgi?username=champinomancategory=12
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
modifier
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 information from websites
instead
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 information from websites
instead of the POSIX
: 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 can add the pattern
modifier
'm' to allow
]
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 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
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 information from websites
instead
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 up
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 information from websites
i said i was learning this and didnt really understand
Message-
From: champinoman [mailto:[EMAIL PROTECTED]
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
: [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 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
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 grab info
echo SELECT\n;
$dir = opendir('/path/to/images/dir') or die(Could no open images dir.);
while ($d = readdir($dir)){
if ($d != '.' $d != '..'){
echo OPTION$d/OPTION\n;
}
}
echo /SELECT\n;
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
16 matches
Mail list logo