Jump to content

raimis100

Members
  • Posts

    90
  • Joined

  • Last visited

    Never

Contact Methods

  • Website URL
    http://google.com/

Profile Information

  • Gender
    Not Telling

raimis100's Achievements

Member

Member (2/5)

0

Reputation

  1. I have searched a ton of threads but no one gives me scraped anchor text
  2. Still looking for help on this one
  3. This one works, but can someone please make regex which would scrape links and anchors ? Links in one array and anchors in another
  4. Hello Can someone please help me make regex for scraping all hrefs (links) in the string ?
  5. Yes, but is there any other email class I could use to read mail ? ALso I do not need to send emails, I just need to read them from my gmail inbox
  6. Hey, I have been using this code to access gmail (read mail) from my localhost but it does not work on most of shared hosting servers $mbox = imap_open ("{imap.gmail.com:993/imap/ssl}INBOX", "$gmail", "$emailpass") or die("can't connect to the email!: " . imap_last_error()); $headers = imap_headers($mbox); For ($I = 0; $I < count ($headers); $I ++) { $thismsg = $headers [$I]; echo $thismsg; } can anybody suggest me email class or something like that which would work on shared hosting ? [/code]
  7. Other code This worked Thanks! Other code did not get port out, thanks anyway
  8. Hey I am not familiar with regex but I badly need function which could extract proxies for me. Here is a list 203.160.1.66:80 203.160.1.121:80 203.160.1.103:80 123.160.1.112:8080 I need something which could extract all proxies in this format from string.
  9. I tough I removed it, lol Got it working, thanks!
  10. okey, Found a way with imap_open used script: set_time_limit (120); //$mbox = imap_open("{mail.google.com:143}", "raimon", "pass"); $mbox = imap_open ("{imap.gmail.com:993/imap/ssl}INBOX", "raimisy", "LoL") or die("can't connect: " . imap_last_error()); echo "<h1>Mailboxes</h1>\n"; $folders = imap_listmailbox($mbox, "{imap.gmail.com:993/imap/ssl}INBOX", "*"); if ($folders == false) { echo "Call failed<br />\n"; } else { foreach ($folders as $val) { echo $val . "<br />\n"; } } echo "<h1>Headers in INBOX</h1>\n"; $headers = imap_headers($mbox); if ($headers == false) { echo "Call failed<br />\n"; } else { foreach ($headers as $val) { echo $val . "<br />\n"; } } imap_close($mbox); But it just reads the title of all emails, how can I actually get the content ? edit: edited password
  11. Hey! I am looking all around the net and I can only find scripts which sends messages but cannot find one which would just read mail. Is there a way to read incoming mails in gmail using like XPertMailer, Zend Framework Mail, PHPMailer or PEAR Mail ?
  12. Works great effigy! Thanks you! Where is the thanks or +rep button ?
  13. Nop Since I do not know regex I will try to put it together using substr and strpos functions
  14. Well ... This was not what I was acutally looking for. But I cannot make it work that way. User don't enter arrays and place where it should be randomly picked User just enters text (great,cool) site, I (like,enjoyed) it Okey, lets try to make it up by pieces. First I need to scrape every word in brackers and then randomly choose one word from it. After that brackets and content it in should be replaced with that one randomly choosen word
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.