Data feed file integration price comparison shopping script

Documentation Wiki - DataFeedFile.com - Online merchant datafeed integration for affiliates : EnablingPHPInclude

HomePage | Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
Home Affiliate FAQ Merchant FAQ Examples Merchants Networks & Programs Forum Blog Wiki Knowledge Base Login

Revision [648]

Last edited on 2009-07-06 13:50:20 by admin
Additions:
**Why some web hosting companies disable remote file inclusion?**
Although DFF has been around for more than 3 years and content delivered by DFF is absolutely tested and safe, many shared hosting companies are just not taking any chances. Remote File Inclusion is a significant security hole.


Revision [647]

Edited on 2009-07-06 13:46:33 by admin
Additions:
==See also Wikipedia's Remote File Inclusion page==
http://en.wikipedia.org/wiki/RFI


Revision [638]

Edited on 2009-05-05 11:55:57 by admin
Additions:
If your hosting company does not allow you to enable the allow_url_fopen and allow_url_include, you should try to use [[http://us2.php.net/manual/en/function.file-get-contents.php file_get_contents()]] function next. Read more about using [[dffRemoteInclude file_get_contents]].
Deletions:
If your hosting company does not allow you to enable the allow_url_fopen and allow_url_include, you should try to use [[http://us2.php.net/manual/en/function.file-get-contents.php file_get_contents()]] function next.


Revision [540]

Edited on 2009-02-02 14:01:26 by admin
Additions:
Eventhough by default PHP configuration (php.ini) enable the allow_url_fopen and allow_url_include by default, some PHP Hosting Companies actually have this option turned off by default for security reasons. Most of the time you can request for this option to be enabled or you can modify this PHP configuration value using [[WikiPedia:Htaccess .htaccess]] (for Apache web server) file and inserting PHP value flags in the [[WikiPedia:Htaccess .htaccess]], or you can modify the [[http://us3.php.net/manual/en/ini.php php.ini]] file itself.
==How to Check if your allow_url_fopen and allow_url_include are on / off?==
You can create a PHP file with the following content to test whether your PHP server setting is on/off for allow_url_fopen / allow_url_include:
%%(php)
echo 'allow_url_fopen = ' . ini_get('allow_url_fopen') . "
\n";
echo 'allow_url_include = ' . ini_get('allow_url_include') . "
\n";
?>
%%
both allow_url_fopen and allow_url_include must be ON or "1" to use remote PHP include functionality.
==Default PHP settings for allow_url_fopen and allow_url_include==
allow_url_fopen "1" PHP_INI_ALL PHP_INI_ALL in PHP <= 4.3.4. PHP_INI_SYSTEM in PHP < 6. Available since PHP 4.0.4.
allow_url_include "0" PHP_INI_ALL PHP_INI_SYSTEM in PHP 5. Available since PHP 5.2.0.
Deletions:
Eventhough by default PHP configuration (php.ini) enable the allow_url_fopen and allow-url-include by default, some PHP Hosting Companies actually have this option turned off by default for security reasons. Most of the time you can request for this option to be enabled or you can modify this PHP configuration value using [[WikiPedia:Htaccess .htaccess]] (for Apache web server) file and inserting PHP value flags in the [[WikiPedia:Htaccess .htaccess]], or you can modify the [[http://us3.php.net/manual/en/ini.php php.ini]] file itself.


Revision [472]

Edited on 2008-09-07 15:20:34 by admin
Additions:
==Using fopen()==
fopen can also be used to get content of any particular URL, even PHP script located remotely such as at DFF server.
To be able to use fopen function you must enable allow_url_include and allow_url_open settings in php.ini configuration file.


Revision [328]

Edited on 2008-08-10 11:57:37 by admin
Additions:
===Required PHP server settings to use DFF remote PHP script includes===
[[http://us3.php.net/manual/en/filesystem.configuration.php#ini.allow-url-fopen]]
Read this link to see how to modify .htaccess to insert option to allow_url_include:
==Using PHP's file_get_contents() Function==
If your hosting company does not allow you to enable the allow_url_fopen and allow_url_include, you should try to use [[http://us2.php.net/manual/en/function.file-get-contents.php file_get_contents()]] function next.
==Using CURL==
In case all of the above fails (or when your hosting company does not allow it) you can also use PHP's CURL. CURL is a well know libraries supported by many scripting languages to download / grab data from a particular HTTP/FTP URL. [[http://us2.php.net/manual/en/book.curl.php Read about PHP CURL functionality.]]
Deletions:
[[http://us3.php.net/manual/en/filesystem.configuration.php#ini.allow_url_fopen]]
Read this link to see how to modify .htaccess to insert option to allow-url-include:


Revision [133]

The oldest known version of this page was created on 2008-06-12 12:51:45 by admin
Integrate price comparison shopping data feed file from thousands of online merchant product data feeds | Valid CSS

Page was generated in 0.0680 seconds