Tag Archives: Server Php

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

Double server-side on one server?

Is it possible for a page going thourgh server-side twice e. g. individual requestes page " good day. " > equipment proceses " good day. jsp" (or asp and also php) and churns out and about into speical xml format > on identical server, PHP proceses XML, as well as does other stuff, and turns away hello. html ONLY TWO questions: Is it possible If that’s the case how How would an individual request a page Whenever they request hello. jsp, what they get will not that but hi. html How could that work (this is perfect for my project " SIX " ) Using AJAX, I trust so. ahhh… think about without ajax put it off a sec… what does ajax are related with any of the this is most of server side… or is my idea of ajax wrong i highly recommend you explain…. PLAN! individual requestes page " good day. PHP" > PHP in turn requests hello. jsp> equipment proceses " good day. jsp" (or asp and also php) and churns out and about into speical xml format > on identical server, PHP proceses XML, as well as does other stuff, and turns away hello. php (now … Continue reading

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