Quote from: sottwell at Mar 14, 2008, 01:44 PM
It should just be able to be included and instantiated by a snippet.
require_once("maxWhois.class.php");
$whois = new maxWhois();
$whois->processWhois();
Hi, I created a snippet called domain and put the above code with in the php tags. Uploaded the files in to the snippet folder called domain and used the basic snippet call of [!domain? !] and it didn’t work...
PHP error debug
Error: require_once(maxWhois.class.php) [function.require-once]: failed to open stream: No such file or directory
Error type/ Nr.: Warning - 2
File: /home/rosscode/www/www/manager/includes/document.parser.class.inc.php(769) : eval()’d code
Line: 2
Could you give me a little help with it? Thanks
*** just for anyone new like me... i have to put the path to the who is file.
require_once("assets/snippets/domain/maxWhois.class.php");
Thanks Sue for the help