PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Yes. Most likely some whitespace. Use $pagesource = trim($pagesource); after your file_get_contents() line. See of that works out for you. If not, do what feyd suggested. (or perhaps the other way around! )
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.