Results 1 to 7 of 7

Thread: Looking for a script

  1. #1
    Join Date
    Dec 2007
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Looking for a script

    Looking for a script like on this website:
    http://www.istockphoto.com

    When clicking in search form, additional search form appears.

    Thank you.

  2. #2
    Join Date
    Jan 2007
    Posts
    629
    Thanks
    10
    Thanked 28 Times in 28 Posts

    Default

    If you know anything about CSS and javascript you could try to code it, and it shouldn't be too hard.

    Code:
    <script type="text/javascript">
    function Show_more(){
    document.getElementById("more").style.display = "block";
    }
    </script>
    Code:
    <form>
    <input type="text" onfocus="Show_more()">
    <div id="more" style="display:none">MORE</div>
    </form>
    There is a start for you. (I haven't tested it. . . )
    You can also check out this tutorial.
    Last edited by Jas; 12-22-2007 at 10:40 PM.
    --Jas
    function GreatMinds(){ return "Think Like Jas"; }
    I'm gone for a while, but in the meantime: Try using my FTP script | Fight Bot Form Submissions

  3. #3
    Join Date
    Nov 2007
    Posts
    346
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Can I see your search? A link to it?

  4. #4
    Join Date
    Dec 2007
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Jas, thank you very much. That's what i wanted. It works. Thank you.

  5. #5
    Join Date
    Dec 2007
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Talking Block IP

    Hi,
    need some help again...................

    I want a code that will allow only the selected ppl to access the page....

    One way that i thought of :

    As we can block some IP from viewing the page in such fashion can we do :
    Allow only certain IP to access the page.
    Its Foolish to ask that 'is it possible' as there are gr8 and dam inelligent coders....

    Thanks in advance...

    I also wanted to have advice that "Is this method devisible ????"

    Thanks.

  6. #6
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    .htaccess:

    Code:
    order deny,allow
    deny from 192.22.33.44
    deny from badwebsite.com
    OR

    Code:
    order deny,allow
    deny from 22.658.168.01
    allow from 192.22.33.44
    You can use IP addies, or domain names, or both, you can select certain files, or the whole directory that .htaccess is placed in.

    For a specific file:

    Code:
    <files image.gif>
    order deny,allow
    deny from 192.22.33.44
    </files>
    you can learn more [utl=http://tips-scripts.com]here[/url] under the .HTACCESS section
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  7. #7
    Join Date
    Dec 2007
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i got ur point but what i want is a global command to block all other ppl other than i have allowed

    ex :
    order deny,allow
    deny from Every body else than allowed once
    allow from 192.22.33.44

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •