CodeIgniter Forums
How to access uploaded text file for site verification? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter Archived (from EllisLab) (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: How to access uploaded text file for site verification? (/thread-11193.html)



How to access uploaded text file for site verification? - El Forum - 08-29-2008

[eluser]Unknown[/eluser]
I am curious how I would go about allowing access to an uploaded text file for site verification. Some sites require site verification by uploading a text file to the site root. However, with CodeIgnitor the uploaded txt file does not seem accessible. Is there a work around to this?

Thanks.


How to access uploaded text file for site verification? - El Forum - 08-29-2008

[eluser]Derek Jones[/eluser]
CodeIgniter doesn't prevent access to other files on your server. Are you using .htaccess to route all file requests into CI? At any rate, if you upload a file to your site, and can't access with the browser, it will certainly be a server issue.