Jump to content

hamza

Members
  • Posts

    321
  • Joined

  • Last visited

Posts posted by hamza

  1. see i have menu like

    users

    faqs

    news

    others

    a team will translate english version into chines to translate they must have en version

    infront of them, for this i need to give them a pop up in which they will see english version/

    but the problem is shoud i create two grids for faqs, news and what do i do if they want to enter in english

    or chines...how i can make opeiotn in menu to ask them about whcih version they are willing to enter.

     

     

     

     

  2. admin side

    i have two table.One to store english and second store chines.

    how i can make opetion to store in chines or store in english.

    example if some one want to store in chines then

    admin should able to see the english version to translate into chines

    and store.

     

     

  3. hi,

    currently i am using Notepad++ which is also freeware but it's not a good one.

    it can not organize the code properly, so i need some better program.

    which can highlight the syntax and show the code in right way!

    Thanx

     

    i suggest u to use eclips or zend studio which is best in debugging and many other features.

  4. junction table

    do we need id for junction table

     

    like

    tab1

    ------

        field1 pk

        field2

     

    tab2

    ----

    field1 pk

    field2

     

    junction table

    ---------------------

    junctiontable_id pk

    tab1_fild1 FK

    tab2_fild1 FK

  5. You need to explain yourself a whole lot better than this is you want to get assistance.

     

    i am asking this as a developer............how i can trouble shoot this problem.????

     

    And? You want a special treatment? And the instructions are quit clear:

     

    Please complete a survey to download this file.

    Sorry, There are no surveys available to your

    country at this time. Please try back later.

     

    So, my advice still stands. Wait. Or do you want us to show you illegal ways of obtaining that file?

     

    mind your own bussiness man.if u r not interested in asnwering or not understanding,

  6. i am locking an ip to dowload a file and

    second time wait for 2min to start downloading again using cookie.

    plz tell me is it a secure and proper way to do this?or any other idea to do this.

    plus

    making sure the link provide to u is only for u not for

    any other user in all over the world.

    plz tell me how i can possibly do that.

     

    this kind of secnario running in hotfile..

    my code

    <?php
    $ip = $_SERVER['REMOTE_ADDR'];
    $expire = time() + 120;  /* cookie expire 2 min */
    $expirey_min = 2 ;
    if ( !isset($_COOKIE['ip'])  ) {	
       setcookie("ip", $ip, $expire);
       echo '<a href=cookie.php> Download </a>'. $expire;		
       $current_min = date('i', time() );
       $expiry_min  = $current_min + 2;	
    } else {	
    $expiry_counter = $expiry_min - date('i', time()) ;
        //	echo 'you can again download after '.$expiry_counter.'min';
    echo 'Your IP address '.$ip.' is already downloading a file. Please wait until the download is completed '.$expirey_min.'min';
    }
    print '<pre>';
    print_r($_COOKIE);
    ?>
    

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.