Password to the photo gallery

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Password to the photo gallery

    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

    #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 :P
    <?php unlink('World/Europe/Romania.country'); ?>

    Comment


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

      Comment


        #4
        u can edit priv chatrooms code and create code for priv gallery
        if like my post click:

        http://coding-talk.com/images/totall...ost_thanks.gif

        Comment


          #5
          Originally posted by i0nutzxp View Post
          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
          Originally posted by albertynos View Post
          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

          Comment


            #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

            Comment


              #7
              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


                #8
                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!

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

                Comment


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

                  Comment

                  Working...
                  X