Closed Thread
Results 1 to 5 of 5

Thread: php

  1. #1
    lakehowe is offline x10Hosting Member lakehowe is an unknown quantity at this point
    Join Date
    Oct 2007
    Posts
    5

    php

    does anybody know any good PHP codes?

  2. #2
    Empire01 is offline x10Hosting Member Empire01 is an unknown quantity at this point
    Join Date
    Nov 2007
    Posts
    26

    Re: php

    what exactly are you looking for?

  3. #3
    nimd4's Avatar
    nimd4 is offline x10Hosting Member nimd4 is an unknown quantity at this point
    Join Date
    Jul 2007
    Posts
    21

    Re: php

    Code:
    <?php
    if (!stristr($_SERVER['HTTP_USER_AGENT'], "Firefox")) {
    header( 'location:http://your-firefox-promo-page/' );
    exit();
    }
    echo('HTTP_USER_AGENT identified as Firefox');
    ?>
    This code will (header) redirect anything that does not have "Firefox" in its HTTP_USER_AGENT (to location:) and will run the rest of the page otherwise (in this case it’ll print "HTTP_USER_AGENT identified as Firefox")..:)

  4. #4
    memento is offline x10Hosting Member memento is an unknown quantity at this point
    Join Date
    Nov 2007
    Posts
    6

    Re: php


  5. #5
    Sohail's Avatar
    Sohail is offline x10 Spammer Sohail is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    London, UK
    Posts
    3,052

    Re: php

    You could go to -

    http://www.hotscripts.com/

    And click PHP, they have everything there and the best part is that it's updated every day!

Closed Thread

Similar Threads

  1. tons of PHP Resources
    By Chris S in forum Scripts & 3rd Party Apps
    Replies: 10
    Last Post: 01-16-2009, 10:07 AM
  2. Unstand PHP?
    By o0slowpaul0o in forum Tutorials
    Replies: 8
    Last Post: 01-07-2008, 09:16 PM
  3. Sigo con problemas con phpbb2
    By reciecho in forum Soporte
    Replies: 7
    Last Post: 10-20-2007, 06:28 PM
  4. "PHP Startup: Invalid Library" - Interesting error
    By javaguy78 in forum Free Hosting
    Replies: 5
    Last Post: 03-27-2007, 02:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers