Jump to content
xisto Community

P0T33n

Members
  • Content Count

    17
  • Joined

  • Last visited

Posts posted by P0T33n


  1. I have a few htmlscripts I'd like to share but am not sure if I should use the html or code tags and rather than get a warning I though I'd ask first?

     

    Heres a list of some of the htmlscripts I have available.

    Search Engine

    Mailing list

    Link Extraction/Site Analysis Tool

    Quiz System

    Forum System

    I also have various php and perl (the perl scripts are copyrighted but you are allowed to use them once you leave the copyright alone) and I will post some of these also if users request them!

  2. Alex-VII (I am particularly fierce of the photo section)

    Where did you get such spectacular photos?

     

    Your forum and site are similar in appearance which is also cool!

     

    Your not much for the flash I can see so I thought I'd be cheeky and suggest this;

     

    http://imageshack.com/e/p5aMES7Yj

     

    I have the .SWF resized to 348x158 although imageshack will chose to show flash which ever way suits them so pay no attention as the dimensions are in fact correct!

     

    Only a thought!


  3. BATHROOMS: A man has six items in his bathroom: a toothbrush, comb, shavingcream, razor, a bar of soap, and a towel from the Holiday Inn. The average
    number of items in the typical woman's bathroom is 337. A man would not be
    able to identify most of these items.

    ARGUMENTS: A woman has the last word in any argument. Anything a man says
    after that is the beginning of a new argument.
    CATS: Women love cats. Men say they love cats, but when women aren't
    looking, men kick cats.

    SUCCESS: A successful man is one who makes more money than his wife can
    spend. A successful woman is one who can find such a man.
    MARRIAGE: A woman marries a man expecting he will change, but he doesn't. A
    man marries a woman expecting that she won't change and she does.

    DRESSING UP: A woman will dress up to go shopping, water the plants, empty
    the garbage, answer the phone, read a book, and get the mail. A man will
    dress up for weddings and funerals.

    OFFSPRING: A woman knows all about her children. She knows about dentist
    appointments and romances, best friends, favorite foods, secret fears and
    hopes and dreams. A man is vaguely aware of some short people living in the
    house.

    A FINAL THOUGHT: Any married man should forget his mistakes. There's no use
    in two people remembering the same thing



  4. Check Referrer Using Php To Prevent People Linking To Your Downloads From Other Sites

     

    Ever find that found some people are listing items, images and tuts and linking directly to the download url (those that are like my photoshop tutorial.php?id=0), which is a .php to count the number of downloads. To prevent this, you can add a piece of code to the download pages that checks which page referred them to the download page: if it's my domain, it downloads the file normally, if it's not, it will redirect to my home page instead.

     

    Important: Not all browsers log referrers, so this won't work depending on the browser the visitor uses and this method can be also bypassed, but it will work for for the major part of visitors.

     

    <?php$yoursite = "yoursite.com"; //Your site url without http://$yoursite2 = "www.yoursite.com;; //Type your domain with www. this time$referer = $_SERVER['HTTP_REFERER'];//Check if browser sends referrer url or notif ($referer == "") { //If not, set referrer as your domain$domain = $yoursite;} else {$domain = parse_url($referer); //If yes, parse referrer}if($domain['host'] == $yoursite || $domain['host'] == $yoursite2) {//Run your dowloading code here normally} else {//The referrer is not your site, we redirect to your home pageheader("Location: http://yoursite.com");exit(); //Stop running the script}?>

    Hope some one finds this usefull!! <_<

     

    Notice from electriic ink:
    P0T33n, in the future please ensure that your topic titles and descriptions are as descriptive as possible and that you put all your code in [-CODE-] tags. Thank you.


  5. A free alternative to xampp and easyphp etc would be WAMP http://www.wampserver.com/en/index.php

    I found this very easy to work with even as a beginner!

     

    Posted Image

     

    WAMP5 installs automatically Apache 1.3.31 ,PHP5, MySQL database ,PHPmyadmin and SQLitemanager on your computer. It's principal aim is to allow you to easily discover the new version oh PHP : PHP5. WAMP5 comes with a service manager installed as a tray icon. It allows you to manage WAMP5 and access all services.

     

    When you install WAMP5, all the files are copied in the directory you choose. Conf files are then modified to point to that directory. It also installs a "www" directory which will be your Document Root.

     

    At the end of the installation, WAMP5 will automatically install Apache and MySQL as services :

     

    - service' wampapache' : apache service

     

    - service 'wampmysql' : mysql service

     

    WAMP5's installation is compact. This means that all files are copied to WAMP5's directory. Only the MySQL conf file (usually my.ini) is copied to the Windows directory but as "mywamp.ini" to avoid conflicts with other installs.

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.