tgr0ss83 0 Light Poster

I get the following Error from the code below:

Warning: require_once(JS/Extractor.php) [function.require-once]: failed to open stream: No such file or directory in C:\Users\gross.t\Desktop\choicegrid\jsextractor.php on line 12

Fatal error: require_once() [function.require]: Failed opening required 'JS/Extractor.php' (include_path='.;C:\Users\gross.t\Downloads\pear\;/library/') in C:\Users\gross.t\Desktop\choicegrid\jsextractor.php on line 12

<?php
$path = '/library/';
set_include_path(get_include_path() . PATH_SEPARATOR . $path);
require_once 'JS/Extractor.php';
$extractor = new JS_Extractor(file_get_contents('JS/temp.html'));

?>

I'm not sure why this is happening, THe folders do exist and it's driving me crazy. Any help would be greatly appreciated - Thank you!

-Tgr0ss

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.