Search found 7 matches
Search found 7 matches • Page 1 of 1
- Tue Apr 30, 2013 5:18 pm
- Forum: PEAR and PECL
- Topic: Non-static method .... should not be called statically
- Replies: 1
- Views: 4140
If the method is explicitly declared as static then it should be fine... However, yes, as you are discovering, the standards of coding from PHP4 to PHP5 have shifted.
Ad Hoc Testing is pretty much the exact opposite of structured testing.It's what most developers do when they want to make sure the code "compiles" and seems to behave itself. The tests are intended to be run only once, unless a defect is discovered. Things like print_r or var_demp ing your global s...
- Tue Apr 30, 2013 4:32 pm
- Forum: PHP & MySQL Security
- Topic: How to protect the password?
- Replies: 2
- Views: 4052
Ideally you want your connection information to be stored below the web root. Obviously if someone were to find a vulnerability in your code and trick it into exposing the variables it would still be found out. The best practice is to create more than one MySQL user. The user that your script logs i...
There are three main approaches used to solve this problem. The first is to use hidden form elements <input type="hidden" name="bob" value="My Value"/> This works well for simple issues like if you are simply breaking the form into a few smaller pages for an easier UI for the user. However this also...
- Tue Apr 30, 2013 4:20 pm
- Forum: PHP Scripts
- Topic: Skills Exchange (ideally open source)
- Replies: 0
- Views: 1362
I'm looking for something I can easily adapt into a skills exchange website. (Where users can create profiles offering skills and also accept offers from others. Ideally I'd like to have a paid level of membership. I'm thinking of something like a REALLY simple linkedin or star-search site. Is there...