Tag Archives: Javascript Files

IT WORKS!….but is there a more secure way to do it? (PHP: Include question)

I’m doing a tech site for my education, and I have decided to use the PHP: include function and so the website will be easier to keep. I have not one but two include files: head. php (which holds the internet in the < head> tages, the actual header, and the particular horizontal navigation) footer. php (which holds the internet in the footer) My problem is when using the files in sub-folders. Next time i include " scalp. php", the links for the css files, photographs, and other pages are incorrect in addition to won’t work. I tried when using the direct url to the files. It does work, but I don’t like the thought of having the file urls out for everyone to see inside source code. Is there a more secure way to achieve this You requires the full report url’s really, having them comparable won’t reap any benefits for that public. Fact is I can save as on your own page and it will eventually change every url to include the complete URL. You have to to remember your images will be relative in your file containing your includes. The comprises, for a strategy to think of … Continue reading

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