Daemon Posted November 11, 2004 Report Share Posted November 11, 2004 Vai ir iespējams ar PHP nolasīt kādu citu lapu un no tās lapas kādā failā saglabāt ievākto informāciju? Konkrēti ir vajadzīgs kaut kas tāds, kas aizceļotu uz lapu, kuru norādu kādā teksta laukā, savāc no tās lapas e-mail adreses un saglabā tās failā. Paldies! Link to comment Share on other sites More sharing options...
fassko Posted November 11, 2004 Report Share Posted November 11, 2004 protams, ka var! http://lv.php.net/manual/en/function.fopen.php Link to comment Share on other sites More sharing options...
Daemon Posted November 11, 2004 Author Report Share Posted November 11, 2004 Ne nu par fopen ir skaidrs, bet vajag tā, lai ar fopen atver to lapu un tad no tās lapas izdabūn ārā visas e-mail adreses. Link to comment Share on other sites More sharing options...
fassko Posted November 11, 2004 Report Share Posted November 11, 2004 vispirms izmet araa visus html tagus tad paarbaudi katru vaardu vai taaa ir @ ziime, ja ir tad ieliec masiivaa, ja nee tad njem naakamo priekshaa ;) bet taa smelies iedejas no stringu funkcijaam php manuaalii!!! ;) Link to comment Share on other sites More sharing options...
Venom Posted November 12, 2004 Report Share Posted November 12, 2004 fuckin spameri Link to comment Share on other sites More sharing options...
blackhalt Posted November 12, 2004 Report Share Posted November 12, 2004 Labi, ka nezini kā to izdarīt! Spam must die! Link to comment Share on other sites More sharing options...
Snukzz Posted November 12, 2004 Report Share Posted November 12, 2004 Katram spamerim pa miljons vēstulēm.... :P Link to comment Share on other sites More sharing options...
jb4 Posted November 13, 2004 Report Share Posted November 13, 2004 Daemonn, pa zobiem gribaas? Link to comment Share on other sites More sharing options...
neonz Posted November 20, 2004 Report Share Posted November 20, 2004 Varēja jau vismaz tik atklātā veidā nelikt nojaust, ko vēlas darīt. Bet vispār pret šitādiem varētu līdzēt http://hackers.lv/?id=2501 :) Link to comment Share on other sites More sharing options...
Lokomotive Posted January 5, 2005 Report Share Posted January 5, 2005 <?PHP $fd=fopen("http://www.server.com/index.html","r"); while ($line=fgets($fd,1000)) { $alltext.=$line; } fclose ($fd); ?> Link to comment Share on other sites More sharing options...
rudzis Posted January 5, 2005 Report Share Posted January 5, 2005 Spameriem nāvi!!! Link to comment Share on other sites More sharing options...
Recommended Posts