Activity Stream
48,167 MEMBERS
6906 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 8 of 8
  1.     
    #1
    Member

    Default how to parse url?

    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
    Cometolearn Reviewed by Cometolearn on . how to parse url? 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 Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    sborg.us

    V3g3ta | Halcyon | Abhi

  4.     
    #3
    Member
    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"

  5.     
    #4
    Respected Member
    Website's:
    DL4Everything.com Soft2050.in
    For heavier: http://php.net/manual/en/class.domdocument.php or a good class : http://simplehtmldom.sourceforge.net/

    For simpler tasks, you could take support of regex or indexof... and substring to parse

  6.     
    #5
    Member
    thanks for help can u please tell where can i learn regex in simple and in easy way . it's look complicated

  7.     
    #6
    Respected Member
    Website's:
    DL4Everything.com Soft2050.in
    For testing: http://gskinner.com/RegExr/, that website also gives a good description of different types of sets & special characters you can use.
    Try to search for a quick tutorial on Regular Expressions and you will find loads of them.

  8.     
    #7
    Member
    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

  9.     
    #8
    Respected Member
    Website's:
    DL4Everything.com Soft2050.in
    Try to use iconv function to convert charset of text to the charset you use on page before outputting.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. lighttpd parse error
    By Mutikasa in forum Server Management
    Replies: 1
    Last Post: 15th Feb 2012, 05:20 AM
  2. No Parse Tag
    By soft2050 in forum Feedback and Suggestions
    Replies: 0
    Last Post: 12th Nov 2011, 08:26 AM
  3. Sborg Parse Error
    By aggiefury101 in forum Technical Help Desk Support
    Replies: 13
    Last Post: 4th Jun 2011, 08:26 PM
  4. Getting a parse error (OOP) PHP
    By timtamboy63 in forum Web Development Area
    Replies: 2
    Last Post: 23rd Jul 2010, 04:11 AM
  5. [TUT]Parse emoticons in comments
    By Lease in forum IP.Board
    Replies: 0
    Last Post: 13th Jan 2008, 01:33 AM

Tags for this Thread

BE SOCIAL