Staredit Network > Forums > Technology & Computers > Topic: Safety question about PHP
Safety question about PHP
Sep 15 2009, 1:15 pm
By: Devourer  

Sep 15 2009, 1:15 pm Devourer Post #1

Hello

Hey,
in PHP I often connect to my server to get/insert/delete/update information from several tables, now I use in every PHP file (which needs it) the connect-to-server-code. I wondered whether it can be a risk because there might be programs which also displays the PHP codes of a loaded page so you can see the password and username (are there?).
And if it is a risk / there are such tools/programs, how to make it more safe?



Please report errors in the Staredit.Network forum.

Sep 15 2009, 10:06 pm Falkoner Post #2



If the password and such are in the code itself, then yes, however, PHP should be server-side, so if you run something on the server that uses the passwords, they don't have any way of seeing it.



None.

Sep 15 2009, 10:55 pm Doodle77 Post #3



Quote from Devourer
there might be programs which also displays the PHP codes
There are not. However, a server misconfiguration might reveal your code.



None.

Sep 16 2009, 5:33 am Devourer Post #4

Hello

Quote from Doodle77
Quote from Devourer
there might be programs which also displays the PHP codes
There are not. However, a server misconfiguration might reveal your code.

Alright thanks, mod can close topic now.



Please report errors in the Staredit.Network forum.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:15 am]
DarkenedFantasies -- you eat lots of beans
[03:46 am]
IskatuMesk -- how do i get gas
[11:43 pm]
Moose -- you don't
[10:06 pm]
Zoan -- how do i get minerals
[2026-4-14. : 11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
[2026-4-13. : 10:07 pm]
NudeRaider -- ya why phone people when you can just write letters
[2026-4-13. : 9:37 pm]
IskatuMesk -- I have never and will never own a phone
[2026-4-13. : 9:15 pm]
NudeRaider -- Vrael ranting still is though
[2026-4-13. : 9:14 pm]
ClansAreForGays -- anticapitalism isnt edgy anymore
Please log in to shout.


Members Online: Vrael, O)FaRTy1billion[MM]