edededi Posted October 6, 2010 Report Posted October 6, 2010 Tut : Ai nevoie de un cont de facebook cu cat mai multi prieteni .Pasul 1 : Ne logam pe facebook .Pasul 2 : Intram pe address.yahoo.com , ne logam cu-n id oarecare.Pasul 3 : Tools- Import-> Selectam facebook , o sa ne apara o casuta care ne intreaba daca suntem de acord sa sharuim contactele cu yahoo -> ok-> Asteptam -> Dupa ce s-au importat apasam butonul DonePasul 4 : Tools - Print bifam basic view -> Display for printing , iar acum o sa vedem un tabel cu toate contactele , iar cele care au fost extrase de pe facebook au sub nume si mailul Pasul 5 : Acum nu ne ramane de facut decat sa extragem mailurile din tabel . Mai jos aveti un script care face acest lucru ( Nu este facut de mine , de aceea am lasat site-ul de unde l-am luat in sursa)[red]Da-ti copy paste la tabel si introduceti-l in campul pentru text ca sa va scoata emailurile[/red]<?php################################################################ Email Extractor 1.0################################################################ Visit http://www.zubrag.com/scripts/ for updates############################################################### $the_url = isset($_REQUEST['url']) ? htmlspecialchars($_REQUEST['url']) : '';?><form method="post"> Please enter full URL of the page to parse (including http://):<br /> <input type="text" name="url" size="65" value="<?php echo $the_url; ?>"/><br /> or enter text directly into textarea below:<br /> <textarea name="text" cols="50" rows="15"></textarea> <br /> <input type="submit" value="Parse Emails" /></form><?phpif (isset($_REQUEST['url']) && !empty($_REQUEST['url'])) { // fetch data from specified url $text = file_get_contents($_REQUEST['url']);}elseif (isset($_REQUEST['text']) && !empty($_REQUEST['text'])) { // get text from text area $text = $_REQUEST['text'];}// parse emailsif (!empty($text)) { $res = preg_match_all( "/[a-z0-9]+([_\\.-][a-z0-9]+)*@([a-z0-9]+([\.-][a-z0-9]+)*)+\\.[a-z]{2,}/i", $text, $matches ); if ($res) { foreach(array_unique($matches[0]) as $email) { echo $email . "<br />"; } } else { echo "No emails found."; }}?> 1 Quote
alias74 Posted October 6, 2010 Report Posted October 6, 2010 merci mult, f utila solutia de importareextractorul nu l-am folosit deci nu pot sa zic ca merge Quote
edededi Posted October 6, 2010 Author Report Posted October 6, 2010 cu placere , merge pentru ca este testat de mine Quote
Active Members Fi8sVrs Posted October 6, 2010 Active Members Report Posted October 6, 2010 (edited) Unde bag scriptul asta ? pe host . Edited December 1, 2011 by Fi8sVrs Quote
edededi Posted October 6, 2010 Author Report Posted October 6, 2010 pe pe un host care sa permita php sau pe localhost-ul tau Quote
skipper Posted October 6, 2010 Report Posted October 6, 2010 Script-ul se uploadeaza pe un host.Multumim de tutorial...dar cam rar la vedere Quote
Park Posted October 6, 2010 Report Posted October 6, 2010 Nu merge scriptul, cand bagi link-ul genereaza un singur mail.Daca nu aveti unde incercati aici: filmeonlinegratis.eu/d/home.php (e facut pentru teste) Quote
edededi Posted October 6, 2010 Author Report Posted October 6, 2010 pai nu baga linkul da-i copy paste la tabel si o sa-ti scoata toate mailurile Quote
crs12decoder Posted October 6, 2010 Report Posted October 6, 2010 Unde bag scriptul asta ? 1) PHP Tutorial2) EasyPHP - WAMP Server : Install PHP 5, Apache 2, MySQL 5 and PhpMyAdmin on Windows XP/Vista/Seven1+2 = answer Quote
dark87 Posted October 6, 2010 Report Posted October 6, 2010 Ms de tutorial crs12decoder dar nu era nevoie Quote
expert Posted November 8, 2010 Report Posted November 8, 2010 "/[a-z0-9]+([_\\.-][a-z0-9]+)*@([a-z0-9]+([\.-][a-z0-9]+)*)+\\.[a-z]{2,}/i",hahahahahahahahhahahaha toate mailurile care le luati voi se duc la el in mail )))) Quote
ripoff Posted November 8, 2010 Report Posted November 8, 2010 /[a-z0-9]+([_\\.-][a-z0-9]+)*@([a-z0-9]+([\.-][a-z0-9]+)*)+\\.[a-z]{2,}/i asta e mailul lui dar poti sa il schimbi cu al tau Quote
TeKa_ro Posted December 29, 2010 Report Posted December 29, 2010 mie nu-mi merge sa extrag conturile,imi zice 0 contacts imported. why? Quote
TeKa_ro Posted December 29, 2010 Report Posted December 29, 2010 deci pana la urma,poate sa ne explice cineva de ce nu mai merge? scrie 0 contacts imported indiferent de contul de facebook sau e-mail pe care le folosesc. Quote