Search the Community
Showing results for tags 'server'.
I don't know if anybody can put me through how to install composer on live server as I find little or no success at all on the net about how to do it
Here is my directory structure currently in the public html folder. uploaded_images (folder) allmyotherphpfiles.php allmyotherphpfiles.php allmyotherphpfiles.php allmyotherphpfiles.php Should the uploaded_images (folder) be stored outside the public html folder, so that hackers can't hack that folder, or is it safe to leave my folder like it is now.
With Ajax, if I need to get info out of a database, I need to have server side code. So using Ajax, I would point at a php file (for example) with code with a db query in it to run against the database. This doesn't save a trip to the database though it would not require a reload of the page. Does it make sense then to: Create a pre-populated xml or json file from a database that is fairly small and/or not updated that often? JS could then just pull info out of the xml avoiding the trip to the database? This would eliminate the need to go to the database. Sorry if I'm mis-understanding