# Include external php files from onother website

**URL:** <https://forum.kirupa.com/t/include-external-php-files-from-onother-website/329424>\
**Category:** Uncategorized\
**Created:** [August 27, 2012, 11:13am UTC](https://forum.kirupa.com/t/include-external-php-files-from-onother-website/329424 "2012-08-27T11:13:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![saber\_ali](https://avatars.discourse-cdn.com/v4/letter/s/85f322/32.png) [@saber\_ali](https://forum.kirupa.com/u/saber_ali)\
**Post date:** [August 27, 2012, 11:13am UTC](https://forum.kirupa.com/t/include-external-php-files-from-onother-website/329424/1 "2012-08-27T11:13:20Z")

</div>

[COLOR=#ff0000]hello all[/COLOR]

* * *

in order to secure my php code from steal, i want to upload my own php code files in my server then when i sell any web site using this files i just include it from my domain as this,  
i work on a website named " [www.kimoland.com](http://www.kimoland.com) " and i want to use the files i uploaded on my server  
include(“[www.saberali.com/phplib/coverorders.php](http://www.saberali.com/phplib/coverorders.php)”);  
but it didnt work even when i change the allow\_url\_include = on in php.ini file  
can any one help me securing my code pleeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeez :cry3::cry3:
