Search found 7 matches

by nickk
Wed Aug 02, 2006 5:21 pm
Forum: PHP - Code
Topic: Session management with PHP
Replies: 7
Views: 570

Session management with PHP

I am building an application which has a user system. Security is a must here, and I decided not to use cookies. WHat I do is session_start() on every page, and one a user has logged in successfully, I simply define a few session variables used to authenticate the user from page to page. My main con...
by nickk
Wed Aug 02, 2006 5:14 pm
Forum: PHP - Code
Topic: Newbie to OOP php, looking for help with some php coding
Replies: 5
Views: 675

As stated, this is pretty straight forward. If you understand the basics of PHP this should be no problem, but if you are doing this to learn/practise OOP techniques, see the following tutorial for an introduction: http://www.phpfreaks.com/tutorials/48/0.php
by nickk
Wed Aug 02, 2006 5:10 pm
Forum: PHP - Code
Topic: dap_search() sizelimit
Replies: 2
Views: 359

Uhh... right from the documentation:
With the sixth parameter sizelimit it is possible to limit the count of entries fetched. Setting this to 0 means no limit. NOTE: This parameter can NOT override server-side preset sizelimit. You can set it lower though.
What isnt there to understand?
by nickk
Thu Jun 22, 2006 4:56 pm
Forum: Databases
Topic: ODBC problems :( num_rows and another
Replies: 1
Views: 756

ODBC problems :( num_rows and another

I have the following code //Allready conected to database $sql = "select * from users where user_id='4'"; $result = odbc_exec($dblink, $sql); $row = odbc_fetch_array($result); echo $row['name']; //The above works properly with no problems what so ever $sql = "select * from products wh...
by nickk
Sun Feb 12, 2006 11:20 am
Forum: PHP - Code
Topic: Help with php forms
Replies: 6
Views: 371

the problem is all these characters get added to the database, but when i try to view them or edit them that some of them dont show up, etc. and if i replace them with nothing, how do i put trhese characters back, because they are needed
by nickk
Sun Feb 12, 2006 10:49 am
Forum: PHP - Code
Topic: Help with php forms
Replies: 6
Views: 371

how does this solve my problem?
by nickk
Sun Feb 12, 2006 9:59 am
Forum: PHP - Code
Topic: Help with php forms
Replies: 6
Views: 371

Help with php forms

Hi, Im building a project that allows someone to add, edit, and delete a certain entry. Now this entry has all different types of characters, so ', /, \, etc. Im having problems with this. When I add an entry, i use the addslashes function, and when I display/edit them I use the strip slashes functi...