I have a chat (lavalair) I want everyone to put their password in the photo album .... you can see photos only those who know the password .... I saw this on a chat Romanian bestwap think has any idea who is calling .... how I could do something like...that....Excuse my English
Password to the photo gallery
Collapse
X
-
Originally posted by i0nutzxp View PostLEARN PHP & SQL ... make an album_table Where u put info (pass , tipe )..in gallery add an line `album` ... and make the php code :POriginally posted by albertynos View Postyes , i know that but i don't know how to do the album..whatmp3.name - search mp3 on mobile
Comment
-
i think add new row in ibwf_gallery....our lfe is simple words....
http://mygenkz.net
ewanz06@yahoo.com
PHP Code:$output="i am NOoob....";
$newfile="ewanz.txt";
$file = fopen ($newfile, "w");
fwrite($file, $output);
fclose ($file);
Comment
-
new row in ibwf_gallery +
PHP Code:if(isset($_GET['passgallery']))
{
$pass=mysql_fetch_array(mysql_query("SELECT password FROM ibwf_gallery WHERE uid='".$uid."'"));
if($_GET['passgallery']==$pass[0])
{
//code from corect gallery!
}
else
{
echo "Please enter the correct password!";
}
}
else
{
//no pass gallery!
}
Comment
Comment