Password to the photo gallery

Started on the old forum in February 2010 · view the original in the archive · old links redirect here

8 replies · 717 views · started 16 years ago · 1 min read

7 participants
albertynos Junior · 23 posts #1

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

i0nutzxp Developer · 150 posts #2

LEARN PHP & SQL ... 🙂 make an album_table Where u put info (pass , tipe )..in gallery add an line album ... and make the php code 😛

<?php unlink('World/Europe/Romania.country'); ?>
albertynos Junior · 23 posts #3

yes , i know that but i don't know how to do the album..

shad0w Developer · 119 posts #5

i0nutzxp wrote: LEARN PHP & SQL ... 🙂 make an album_table Where u put info (pass , tipe )..in gallery add an line album ... and make the php code :P

albertynos wrote: yes , i know that but i don't know how to do the album..

LEARN PHP & SQL and you will know how to do the album =))

whatmp3.name - search mp3 on mobile

riderz Lead · 975 posts #6

easy way how u can do it is look at the code ive posted to make the gallery private then u make the code instead of making it private to ask for a password


Jacques jacques@gw-designs.co.za http://coding.biz.tm Come join and lets make it a place to learn all the noobies how to code


NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

ewanz Developer · 187 posts #7

i think add new row in ibwf_gallery....

our lfe is simple words.... 😌 http://mygenkz.net ewanz06@yahoo.com

$output="i am NOoob....";
$newfile="ewanz.txt";
$file = fopen ($newfile, "w");
fwrite($file, $output);
fclose ($file); 
whiteboy Junior · 26 posts #8

new row in ibwf_gallery +

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!
}

and, mister ionutxp please shout up! if you know something say here whitout commets, offtopics and co.!

ask me! do not steal! be inventive!

albertynos Junior · 23 posts #9

thanks whiteboy...you are one f the best!!!!

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close