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.
[10:13 pm]
Oh_Man -- No APM in chess. Computer just outthinks the human by seeing more moves ahead and more permutations
[10:12 pm]
Oh_Man -- U reckon? Kasparov waa defeated by computer decades ago
[05:47 pm]
NimoStar -- If its any consolation, the human brain would still mop the floor with this bot if it wasn't limited by the mechanical interface
[05:34 pm]
NimoStar -- Well. The bot didn't come up with any new strategy. It just has superhuman micro. Hard to beat that. I reckon even the simplest dedicated chess engines are unbeatable for humans now.
[02:13 pm]
Oh_Man -- all g
[10:54 am]
NudeRaider -- Oh_Man
Oh_Man shouted: NudeRaider did u watch the entire video? it's not one game. it's currently dominating the ladder at number 1 position. do ur research first!
Oops, caught me there, no I haven't. :( I was imagining how the game went. Sorry for that. Watching it now. brb
[10:52 am]
NudeRaider -- NimoStar
NimoStar shouted: They were not "Unprepared" that was their fifth loss in a row against the bot. The other replays are also available
that doesn't mean he was prepared. When humans come around with new strategies it often takes weeks until the pros figure out how to shut it down. Oh_Man that's certainly a way more convincing argument for micro being "too good to beat".
[09:43 am]
DiearAnother -- wirefram
[08:35 am]
NimoStar -- Well, pros showed that long ago... half of zerg pros just ling muta rush
[08:35 am]
NimoStar -- " its shown is that you can trade 1000's of apm to make up for lack of strategy"
Please log in to shout.


Members Online: Zoan, RIVE