Hi, this is kinds involved but here goes.I want to stop people from viewing my source code.For example, when people go to the edit function, I don't want them to view my actual file.Is there a way where I could make a "fake file" that everyone that goes to edit or save as will see?
If you're talking about clientside source code, then there is no way short of obfuscation, which might make things difficult for you as well.
If you're talking about the PHP code, well, what do you mean by "edit function"?
When you go to file <<edit
um, what "file <<edit"?
If it is PHP code, unless they have the required level of access to your server (or PHP fails and the server serves PHP pages as normal text), they dont have access to your source code.
can't they still save the information?
Oh, if you're talking about your browser (mine doesnt quite have that function), then what they save will be the clientside source code, not your PHP code.
I give up.Thank you anyway
1.) I got help for it elsewhere 2.) I was not getting cryptic.Sorry if my terminology is not exact, but I did try to explain as best as I could. 3.) This topic is done with.How about helping someone else that needs help?
you are really rude