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

Results 1 to 9 of 9
  1.     
    #1
    Member
    Website's:
    WarezRocker.info Share4U.org Imdb.WarezRocker.info DownTurko.org Host-Palace.com HeroTurko.pro

    Default preg_match help need!

    i am trying to make filepost download system using curl,how to search the value using preg_match? please help.


    PHP Code: 
    <div class="dbutton"><class="premium_but" href="#" onclick="download_file('http://fs102.filepost.com/get_file/%3D%3DgZ9A5Q8%7Cckt9eJfXpE7NviWoeJhxWBDm1iSMSD4Wt8Jk5NOlgjASCKFMbKFHkgo3j3exCapmEj7RCH9lgY1a8tospmLKdWAE40rH5c-qVVgDKTr0-hzEiYcwVDZj2lxXhTadqcwpX5eDvntpGkTMeZQnARaVwTlld8Yn-cozevRzKEADWCFsYnaCZcX1FRUu9riSZEE7Z0iCtiI%7C7nnb9QrDpNjfjXUEUT5YbNfIVfLiXxzrFZn3C4HBJcqnBQCutp3ZMwcZ7ghEMCtSzFrCGTMd-Ne73Jru0Km6RCGDa8qiHD2wad98L-HtnaM-JHXU0fRfuLDAMUE6nwmu2RmzuoqEcdz6mKnF0turLgFJdQnJzgGyk2Ufu2Au5zfcD4GUyHv7%7CWBKIe%7CuGO1Gd4hy-z/'); return false;"><span>download</span></a></div
    saninokia Reviewed by saninokia on . preg_match help need! i am trying to make filepost download system using curl,how to search the value using preg_match? please help. <div class="dbutton"><a class="premium_but" href="#" Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Banned
    Website's:
    Seecure.me
    You don't make much 'sense'. What 'value' are you trying to retrieve?

  4.     
    #3
    Retired NinJa
    Website's:
    loledhard.com
    Code: 
    preg_match('/<div class="dbutton"><a class="premium_but" href="#" onclick="download_file\(\'(.*?)\'\);/',$code, $match);
    echo $match[1]; //download link
    Quote Originally Posted by _Vick View Post
    You don't make much 'sense'. What 'value' are you trying to retrieve?
    he already said he is trying to download the file so ofc. he needs downloading link



    You don't hate Justin bieber.You hate the fact you ain't Justin Bieber!

  5.     
    #4
    Member
    Website's:
    WarezRocker.info Share4U.org Imdb.WarezRocker.info DownTurko.org Host-Palace.com HeroTurko.pro
    thanks bro,can you tell me from where i can learn preg_match function?

  6.     
    #5
    Member
    Website's:
    wscripts.net damnlolscript.com lulzjet.com

  7.     
    #6
    Member
    Website's:
    WarezRocker.info Share4U.org Imdb.WarezRocker.info DownTurko.org Host-Palace.com HeroTurko.pro
    Quote Originally Posted by t3od0r View Post
    thanks.

  8.     
    #7
    Retired NinJa
    Website's:
    loledhard.com



    You don't hate Justin bieber.You hate the fact you ain't Justin Bieber!

  9.     
    #8
    (╯?□?)╯︵ ┻━┻
    Website's:
    Xenu.ws WarezLinkers.com SerialSurf.com CracksDirect.com
    Please, please, please use hashes or vertical bars in your regex guys, not forward slashes.

    You're far less likely to ever need to type a hash than you are to type a forward slash, so much less escaping is needed.
    Projects:
    WCDDL - The Professional DDL Script
    Top Secret Project: In Development - ZOMG
    ImgTrack - Never Have Dead Images Again!

  10.     
    #9
    Member

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. A doubt about php's preg_match result.
    By PCManiac in forum Web Development Area
    Replies: 15
    Last Post: 28th May 2011, 09:03 AM
  2. Help with preg_match - php !
    By softleaks in forum Webmaster Discussion
    Replies: 5
    Last Post: 21st May 2011, 04:22 PM

Tags for this Thread

BE SOCIAL