OK Question The CMS app I am using works on php5 and php4 and it declares its static classes as I said above

mystuff('string'); .. I get the Non-static error..

do I have to do something special to config pear under debian etch?

did I miss something?

how can i mysql_connect when host != localhost?
i'm having trouble finding this info online

you can use the IP address of the remote mysql server I think, but only if the remote server is configure to accept network connections.. ( I think)

php.net/mysql_connect
that's correct, you shouldn't call non-static methods statically

i'm using the host ip (it's in the LAN - so no router issues), not sure what else i need to accept connections (all other services i use on that server work without network setup)
MikeSeth, i'll check it out

is mysql_real_escape_string () all you need to be safe when using $_GET varaibles in database

generally speaking, you should remove skip-networking from mysql config file. Details in #mysql
depends on your definition of 'safe'

I know you shouldn't , but I can't seem to find the problem, why does it think it is not static?

well
is that a sufficient security measure

because you haven't declared it static
sufficient for what?

to avoid someone hacking into the database or somethign like that

so you don't know exactly what problem you're trying to prevent?

not really]
hacking

then that should be a good start

sweet
anything else i should do?

google for 'web application security'

class Test { function mytest() {…} }.. Test

*
To prove that you're not a bot, enter this code
Anti-Spam Image

Comments are closed.


Blog Tags:

Similar posts: