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.
[03:58 am]
Symmetry -- Reindeer breeding 2 is not EUD and errors when I try to upload
[12:26 am]
Moose -- Symmetry
Symmetry shouted: yeah uploading for me has been a 50/50 toss up here lately
certain EUD maps segfault the map parser, :farty: ignore me the last time I complain at him. :crybaby:
[2026-11-18. : 5:18 pm]
NudeRaider -- NimoStar
NimoStar shouted: isn't that only for maps?
yes
[2026-11-18. : 3:34 am]
Symmetry -- yeah uploading for me has been a 50/50 toss up here lately
[2026-11-17. : 7:55 pm]
NimoStar -- isn't that only for maps?
[2026-11-17. : 5:52 pm]
NudeRaider -- use scmscx.com
[2026-11-17. : 4:39 pm]
NimoStar -- While I can download, uploading is another story (771 kb file)
[2026-11-17. : 10:58 am]
UndeadStar -- Members Online: UndeadStar, EwanDalrymple090, CedrikPaquette881, ThierryCloutier864, RussellWalker308, RoisinMcCann053, GrahamEllery106, DeirdreMcCloskey160 <= good thing they only watch and don't all post
[2026-11-15. : 7:59 pm]
Symmetry -- but I seem to be downloading things fine
[2026-11-15. : 7:59 pm]
Symmetry -- the DLDB here is kinda sketch
Please log in to shout.


Members Online: ihjel, BertramHenshaw675