Reputation: 51
I am making a form that will send the information to my email and I need to take another email to send that form to the main email (using PHPMailer). So in my php code, I have put the password of the 2nd email in it. I will upload my code files to the server. Can admin of the web server have ability to see the variables in my code?
Upvotes: 1
Views: 98
Reputation: 2351
Yes, of course that they can... because they have root level access to your files.
Please watch this video and you will understand how PHP works.
Upvotes: 1
Reputation: 311853
In a word - yes. You can assume anyone with admin (root) level access to the server can read whatever file he wants.
Upvotes: 1