i need include php file 1 of file.
i have php file www.example.com/free/index.php.
i need include php file directory www.example.com/downloads/apple_count.php
i wrote code inside index.php page
<?php include('..\downloads/apple_count.php'); ?>
but it's not working. :( says warning: include(..\downloads/apple_count.php) [function.include]: failed open stream: no such file or directory.....
please me :(
php on windows or linux?
if including out of same file use
set_include_path('/absolute/path/to/folder/');
either way need flip ..\ ../
Comments
Post a Comment