View Single Post
  #5  
Old 7th July 2009, 15:16
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default
Quote:
Originally Posted by joeroberts View Post
you should put your java scripts in its own file and use
PHP Code:
echo "<script type=\"text/javascript\" src=\"your.js\"></script>\n"
that way it dont show the direct java they would have to look at it from that page
and same with your css info dont add it to the files creat a .css file and only put your css info there
but other then that the source is always viewable one way or another because it has to be or it wouldnt work at all.
didn't get this like i have file default.css so i need to add to it what ?
because when i put in my browser localhost/default.css i got white page and all my css in it same with js
see screen
Attached Thumbnails
Screenshot-1.png  
Reply With Quote