curl - calling controller subclass from a php script -


when call php script php controller page like:

curl_setopt($ch, curlopt_url, "http://site.com/admin/importcontroller.php"); 

importcontoller subclass of pagecontroller: importcontroller extends pagecontroller

i'm getting error:

fatal error: class 'pagecontroller' not found in /home/public_html/admin/importcontroller.php on line 8 

is call possible? how?

just add: require_once("pagecontroller.php"); if used other way require_once not included , in case included.


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -