Tag Archives: Private File

Help! Nowhere hidden to put private config file!

On the new website, all I’ve is a actual directory on my personal FTP. I do not have any directories underneath it helping put config files, we don’t want anybody to determine. The people along at the host said in order to password protect the directory the config file is currently in (a subdir in the root) with htaccess, but merely do this then the PHP include()s won’t be able to access it. Possibly there is any other way to make this file private on the outside world With thanks! You could take a step like this: PHP: if  (  $_SERVER’PHP_SELF’  ==  ‘/protectedFolder/protectedFile. php’  )        die(  ‘Private  record,   buddy.   Step  back again. ‘  ); I believe should work. Naturally, you change /protected… on the appropriate folder/file, relative on the *server root*. Ah I see, so should the actual file inside the browser is the private one, it’s going to display the meaning, but if it is a different page as well as private file is just being included, it won’t Because it isn’t really the current page I think I getcha. With thanks, buddy WE wouldn’t even show a message. Just forward them onto for … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , | Leave a comment

um, how do i send a file via email?

I want to email someone an entire website I stored to it’s private file via e-mail attachment. But this email client with my computer possesses never worked in addition to I always employ online email balances. However, when I attempt to send the track using Yahoo, it won’t allow me to attach the entire file while i click " open". It simply starts advertising the file along with expects me from which to choose the individual pages from the site. Obviously, this would take forver. There has to be a way We can get Yahoo to send the entire file at once Or perhaps there is a different (not far too complex) way We can do this Thanks a ton I would likely recommend downloading the particular Winzip trial (http: //winzip. com/downwzeval. htmwzdm) and using that to set-up a zip file with the entire site. It will put all the files into one archive that your recipient of the mail may then unzip on his PC. Hopefully the archive will probably be small enough for you to send over Askjeeve! mail. Well, I did your winzip thing but besides emailing it I uploaded it that will my host plus emailed … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment