March 28th, 2010, 01:49 AM
Words on txt file
I want to put every domain, from this list:
and putting it into variable.
For that I'm using the PHP code "$string = file_get_contents(http://www.wsmdomains.com/ExpiredDomains/30mar2010.txt);"
what is the code that cut every domain and put it into varialbe?
March 28th, 2010, 07:00 AM
Doesn't look like a job for regular expressions to me. You just need to split your $string up into individual lines (I'm no PHP coder, but I believe its "explode" function will do that for you) and ignore the first 7, which constitute the header. Every other line is a domain name.
Comments on this post
March 31st, 2010, 02:22 AM