Search Results

Showing results 1 to 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: Vai ; Forum: PHP and child forums
Forum: PHP Jun 1st, 2008
Replies: 9
Views: 1,744
Posted By Vai
Are you doing this for experience or for something else? As if you use google, there are some already out there.
Download, look at the code, and play with it from there......
Forum: PHP Jun 1st, 2008
Replies: 4
Views: 771
Posted By Vai
Here is another way to create your table...

CREATE TABLE `users` (
`ID` int(11) NOT NULL auto_increment,
`Username` varchar(255) NOT NULL default '',
`Password` varchar(255) NOT NULL...
Forum: PHP May 26th, 2008
Replies: 8
Views: 812
Posted By Vai
Here is what I suggest:

Create a page called secure.php
add the following code as it is: ONLY change " your_login_page "


<?php
session_start();
if (empty($_SESSION['username'])) ...
Forum: PHP May 26th, 2008
Replies: 8
Views: 812
Posted By Vai
I used the following code:

<?php
session_start();
if (empty($_SESSION['username']))
{
header("location:index.php");
exit;
}
?>
Forum: PHP Feb 28th, 2008
Replies: 13
Views: 5,801
Posted By Vai
Here is what I do

secure.php

<?php
session_start();
if (empty($_SESSION['username'])) {
header("location:index.php");
exit; }
?>
Forum: PHP Feb 24th, 2008
Replies: 5
Views: 1,211
Posted By Vai
I think that you would need access to his site to place code on the page you want secured.
Showing results 1 to 6 of 6

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC