CodeIgniter Forums

Full Version: How to access uploaded text file for site verification?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[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.

El Forum

[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.