I\'m trying to scrape websites, modify all visible text (meaning: links, paragraphs, headlines, etc) by keeping the html structure and then render the \'new\' page afterwards.
It\'s very easy to get an HTML node using Zend_Dom_Query by class: $dom = new Zend_Dom_Query($html); $rows = $dom->query(\"//div[@class=\'upc\']\");
Is there a way to write the PHP file_exists function so that it searches a directory for a file with an arbitrary 开发者_StackOverflowextension.For instance, suppose I knew that a file were called \"h