Ereg: select all text between <BODY> </BODY> tags..

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default Re: select all text between <BODY> </BODY> tags..

    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
    >
    >

    Hi Ho Guest

  2. Similar Questions and Discussions

    1. Again - Dingbats Instead of Body Text
      Sorry, I accidentally pressed the wrong key when typing this question the first time so you might get this question twice. I completed our annual...
    2. DataGrid (body only) contained in <span>...</span> tags
      Hi, I have a DataGrid control that displays many records. As such, I have been given a requirement to contain only the body of my DataGrid...
    3. body text at bottom of page
      how do I get the body text to move up the page in the source code, but not on the webpage. The navigation bars push it down to where it shouldn't...
    4. Body text typing slow
      Thanks! I will give that one a try!
  3. #2

    Default Ereg: select all text between <BODY> </BODY> tags..

    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 Guest

  4. #3

    Default Re: select all text between <BODY> </BODY> tags..

    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
    >
    >

    Marco Snoek Guest

  5. #4

    Default Re: select all text between <BODY> </BODY> tags..

    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 Guest

  6. #5

    Default Re: Ereg: select all text between <BODY> </BODY> tags..

    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
    freebsd Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139