Tag Archives: Script Files

File access from the web site

I would like to load a file onto certainly one of my web webpages. The jpeg file is out of your site root folder, I mean you should go back on the root folder that will directory c: /somefile. jpg to load it insurance policy coverage root is in c; /…. /root The classical method doesn’t work for instance.. /.. /somefile. jpg as well as absolute path like http: //www. somesite. com/somefile. jpg Might anyone help me Thanks Does/can the host access directories in the garden its root tree The very first thing to try could be to type in being full absolute path (like D: /somefile. jpg) along with see what of which does. I doubt may well work though… Without a doubt, a script engine can access files outside the fundamental tree of your webblog. MY PARTNER AND I. e, if you have files you would like to include in a new script, or files you should protect outside URL-referance, you possibly can present access by script. The actual server itself, is unable to present files outside the web-root, nevertheless your script can easily retrieve them, and ‘serve’ them for the server!

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

Conteset Entry form

this doesnt say the actual server name im guessing the password for that php script may be the password for our database The password is probably the one for your user, but perhaps this does mean a person’s database password (I imagine that your host can be making you supply one user per database). Just test it. so my DB_HOST could well be godaddy. com in the event that lost there and every one of the DB_USER, DB_Password.. all these upon all script files have to be replaced with the proper info, correct just wanna make sure b/c i recognize php uses rules.. alot Very little, those are constants emerge the config. php file. You only need to change them there, which is the main purpose of config. php – if many files depend upon certain variables, you possibly can set it there and have it influence all pages. Your host would most likely be " localhost", while I said ahead of. But you will need to just ask your current hosting company in regards to the correct mysql_connect() purpose. I’m sure it looks for instance an uphill challenge using homemade pieces of software, but in the finale they’ll provide … Continue reading

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