This is a discussion on Ereg: select all text between <BODY> </BODY> tags.. within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Hi yes it is possible. You can use ereg() to acoomplish this "Marco Snoek" <[mps]@DONT _ ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi
yes it is possible. You can use ereg() to acoomplish this "Marco Snoek" <[mps]@DONT _ YOU^DARE%SEND/SPAM!!!@remove/this[@webmind.nl]@remove/this> wrote in message news:401a3af6$0$314$e4fe514c@news.xs4all.nl... > Hope you can help me with this one: > > Is it possible to select content between: > <BODY OnLoad="setSettings(some,settings,seperated,by,com ma); "> > > and > > </BODY> > > > Thanx in advance.. > > > M/\rco > > |
|
|||
|
Uhm..
e.g. $content already contains the whole content-string... So, the fopen part is already taken care of :-) Marco "Marco Snoek" <[mps]@DONT _ YOU^DARE%SEND/SPAM!!!@remove/this[@webmind.nl]@remove/this> schreef in bericht news:401a3af6$0$314$e4fe514c@news.xs4all.nl... > Hope you can help me with this one: > > Is it possible to select content between: > <BODY OnLoad="setSettings(some,settings,seperated,by,com ma); "> > > and > > </BODY> > > > Thanx in advance.. > > > M/\rco > > |
|
|||
|
Is this a joke ? :-)
How???? "Hi Ho" <studies@hotpop.com> schreef in bericht news:j%rSb.27686$lt1.573797@wagner.videotron.net.. . > Hi > yes it is possible. You can use ereg() to acoomplish this > > "Marco Snoek" <[mps]@DONT _ > YOU^DARE%SEND/SPAM!!!@remove/this[@webmind.nl]@remove/this> wrote in message > news:401a3af6$0$314$e4fe514c@news.xs4all.nl... > > Hope you can help me with this one: > > > > Is it possible to select content between: > > <BODY OnLoad="setSettings(some,settings,seperated,by,com ma); "> > > > > and > > > > </BODY> > > > > > > Thanx in advance.. > > > > > > M/\rco > > > > > > |
|
|||
|
Marco Snoek wrote:
> Hope you can help me with this one: > > Is it possible to select content between: > <BODY OnLoad="setSettings(some,settings,seperated,by,com ma); "> > > and > > </BODY> eregi("<body[^>]*>(.*)</body>",$content,$body_only); Lee |