Truly destroying a PHP Session?
I have heard mixed responses on this topic, so what is a sure fire way to destroy a PHP session? [Code Block] In the mos...
Latest news, tutorials, and updates from the PHP community
6985 articles available
I have heard mixed responses on this topic, so what is a sure fire way to destroy a PHP session? [Code Block] In the mos...
I have a website which uses PHP and HTML pages, I want to create a session which stores a username from the login page. ...
How do you protect your website from Local File Inclusion & SQL Injection (PHP)?
I have two tables in my database: NEWS table with columns: `id` - the news id `user` - the user id of the author) USERS ...
I was trying to get my Netbeans to autocomplete with PHP, and I learned that this code is valid in PHP: [Code Block] A c...
When I define an object of a class using new like this [Code Block] I get autocomplete for $blah. But how do I do it whe...
I would like to create a cache for my php pages on my site. I did find too many solutions but what I want is a script wh...
I use lazy connection to connect to my DB within my DB object. This basically means that it doesn't call mysql_connect()...
I know that codeIgniter turns off GET parameters by default. But by having everything done in POST, don't you get annoye...
I can find lots of information on how Long Polling works (For example, this, and this), but no simple examples of how to...
According to the documentation, a prepared query provides a significant performance benefit if you're running a query mu...
I am using Zend_Db to insert some data inside a transaction. My function starts a transaction and then calls another met...
Showing 6949 to 6960 of 6985 articles