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.
[05:59 am]
NudeRaider -- *is
[05:17 am]
NudeRaider -- despite all its flaws the sound design its fantastic
[10:29 pm]
Oh_Man -- homeworld 3 = massive disappointment
[2024-5-14. : 10:05 am]
Moose -- ya
[2024-5-14. : 5:23 am]
zsnakezz -- yes
[2024-5-12. : 8:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
[2024-5-12. : 8:44 pm]
l)ark_ssj9kevin -- Hi Brusilov
[2024-5-12. : 4:35 pm]
O)FaRTy1billion[MM] -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
my server that was hosting it died
[2024-5-10. : 8:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
[2024-5-10. : 8:36 am]
Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
Please log in to shout.


Members Online: Vrael, Oh_Man, belzusqeuf, 2audreye9322te1, Arnedr06