Welcome Guest, Not a member yet? Register   Sign In
Hi from a begginer user of CI
#5

[eluser]slowgary[/eluser]
Also, I would recommend leaving your CSS/Images folder where they are (web root) as your site design files will be in them, so even unregistered users will need them. If you move them above web root, your program will have to grab them from their protected folder and still echo them to the browser for every visitor, which will just be more overhead.

Then, add a SECOND folder for protected images. If you intend on allowing only registered user access to them, yes, they should be above the web root. Then your PHP scripts can still access them and pass them down to registered users only.

I have a question though... why would people PAY for dirty pictures when they can get them for FREE all over the intertubes?!


Messages In This Thread
Hi from a begginer user of CI - by El Forum - 04-19-2009, 08:59 AM
Hi from a begginer user of CI - by El Forum - 04-19-2009, 09:42 AM
Hi from a begginer user of CI - by El Forum - 04-19-2009, 04:15 PM
Hi from a begginer user of CI - by El Forum - 04-19-2009, 07:56 PM
Hi from a begginer user of CI - by El Forum - 04-19-2009, 08:01 PM
Hi from a begginer user of CI - by El Forum - 04-20-2009, 02:25 AM
Hi from a begginer user of CI - by El Forum - 04-20-2009, 08:11 AM
Hi from a begginer user of CI - by El Forum - 04-20-2009, 11:05 AM
Hi from a begginer user of CI - by El Forum - 04-20-2009, 11:46 AM
Hi from a begginer user of CI - by El Forum - 04-20-2009, 11:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB