Hi i need to know how to allow URL file-access in php what setting do i change to enable it? Thanks Rep will be added.
what do you mean by URL file-access because what i would consider it to be, is just direct access to a file via url ie http://www.domain.com/filename.zip which i assume is different to what you are asking
Not sure what you mean, but... AddType application/x-httpd-php .php AddType application/x-httpd-php .phtml DirectoryIndex index.php index.phtml index.html
In php.ini, set the following fields to 'On': allow_url_fopen = On; allow_url_include = On; For more info see http://us2.php.net/manual/en/ref.filesystem.php#ini.allow-url-fopen
Enabling file-access would leave your coding open to cross site scripting attacks (XSS attacks). This is the method by which someone of malintent would inject their own code into yours, such malicious code is usually crafted to conduct a DoS (Denial of Service) or DDoS (Distributed Denial of Service) attack both of which would cause server downtime. Other injections could include alternative page content, such as a ‘Hacked by some Hackers’ type of announcement across your web page(s).