franklinfs Posted September 26, 2013 Share Posted September 26, 2013 (edited) I referred prestashop tutorial and trying to get the cookie values from a php file outside the prestashop code using include_once('mysite/config/config.inc.php');include_once('mysite/config/settings.inc.php');include_once('mysite/classes/Cookie.php');$cookie = new Cookie('ps');echo $id = $cookie->id_cart; But there are some errors. Warning: include_once() [function.include-once..\mycookie.php on line 2Warning: include_once(../config/config.inc.php) [function.include-once]: failed to open stream: no suitable wrapper could be found in ..\mycookie.php on line 2 Please advice. Franklin. Edited September 26, 2013 by franklinfs (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts