Skip to content
WJunction - Webmaster Forum

how to parse url?

Status
Not open for further replies.
hi,
Just wondering and need to create a parser that parse url and store content in php variable and we can extract our wish-able content from it is this possible

can any one show with example

Regards
 

7 comments

i want to extract content from page and store in variable and use for purposes.


e.g

in this page source

i want to find "<tr><td class="vbmenu_option"><a href="/members/list/">"" and find its preceding literal

store precedings in variable . limit is, mean stop saving character when its find
"</a>"

so final varible should contain string "Members List"
 
i am using HTML DOM Parser but i have encoding problem how can i solve it

for as-trope character its show some alien character


please guide

thanx
 
Status
Not open for further replies.

About the author

C
Active Member · Joined
i like to learn always new stuff watching movies , playing games and currently to earn online :)
550
Messages
100
Reactions
43
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom