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.
[2026-8-06. : 2:41 am]
Oh_Man -- i used to play TF2 competitive in that clan, and also was PR manager (ie: i wrote all the website posts)
[2026-8-06. : 2:41 am]
Oh_Man -- another fun fact iaguz actually joined the clan i was part of - Frenetic Array
[2026-8-06. : 2:40 am]
Symmetry -- Human memory is a fragile, fallible thing
[2026-8-06. : 2:39 am]
Oh_Man -- i realised all his shit was halluc and i wiped out his measly army of fake hallucs and he called GG - yeah thts wat actually happened damn false memory strikes again
[2026-8-06. : 2:38 am]
Oh_Man -- i was zerg, the toss guy did a bunch of hallucinates, and i was like, welp, i guess i'm dead, but i have that mindset of never giving up, so attacked him anyway, then tht was wen
[2026-8-06. : 2:38 am]
Oh_Man -- coz i was actually a zerg main, so wat ACTUALLY happened was a complete reverse of this
[2026-8-06. : 2:37 am]
Oh_Man -- i found an old comment of mine i actually think the idra thing over-ride my own memory
[2026-8-06. : 2:22 am]
Symmetry -- was it idra
[2026-8-06. : 1:52 am]
NudeRaider -- Oh_Man
Oh_Man shouted: and i went on to win the tournament, and a pair of steelseries headphones. i even reember how i won the final match - hallucinated a fck-tonne of units and my opponent thought i had way more than he did and GGed
classic
[2026-8-05. : 2:56 pm]
Oh_Man -- long story short - patience is a virtue!
Please log in to shout.


Members Online: NudeRaider