Do any of you look at source codes from websites, do you write source codes?
That's a very silly question to ask in a forum section that is devoted to programming and computer science.
What's your point in asking?
I am just wondering it is illegal to look at websites source codes, like is there some type of freedom of information law I am violating >.< . Although I do have a hard time reading it I think the ability in reading it is getting better the more I do it.
Looking is definitely OK.
Cool. :) I have just been so paranoid since all of these strange laws have been passed by the U.S congress.
PHP code? Normally, you should not have access to this (unless the site made it public or you manage that site in some way).
I look at source code all the time. That's how I know what parts of sites I want to block. I also find it interesting to see how clean code is from one site to another. Attention to detail says a lot about the programmers.
Look for copyright or reverse-engineering restrictions if you intend to reuse somebody else's code.
I do agree! Although I am still an amateur in coding I do wish to be come better can you guys give me some tips on becoming a better programmer?
so what good is it then if it can be deciphered?
Database access and similar things must be done somewhere else (like php scripts, for example).
It can be an issue that you can steal code, and re-use it on other sites.
Most of the web now is open source. People give their code away with some restrictions, as it allows others to build on top of it.
This forum is vbulletin (source code available) which is written in php (source code available) and hosted on Linux servers (source code available). I don't know what the license for vbulletin is (I think it's proprietary in that you get the code but can't redistribute it), but php and linux are both fully open source: you may modify the source code to use in your own projects and redistribute those projects.
Separate names with a comma.