Activity Stream
48,167 MEMBERS
6707 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31
  1.     
    #1
    Member

    Default help with a php script !!

    hi guyz
    just for practice i started to code a small script which checks if the remote host or site is online ... and then it gives back the result ... here :

    http://isonline.warezsociety.org/index.php

    when i test it on my pc with easyphp everything goes well , but i uploaded the script to my host and many times when i submit a website which doesnt exist it says its online ... on my pc everything was ok never got wrong answer ....

    any idea ??
    cgworld Reviewed by cgworld on . help with a php script !! hi guyz just for practice i started to code a small script which checks if the remote host or site is online ... and then it gives back the result ... here : http://isonline.warezsociety.org/index.php when i test it on my pc with easyphp everything goes well , but i uploaded the script to my host and many times when i submit a website which doesnt exist it says its online ... on my pc everything was ok never got wrong answer .... any idea ?? Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    bypassx.com
    Will be good can check source code to make an idea about how the script works.

    It should make a http request and check status code... hard guess what happens without php code.

  4.     
    #3
    Member
    I am using fsockopen method ...

    http://php.net/manual/en/function.fsockopen.php

  5.     
    #4
    Respected Developer
    Website's:
    wrzc.org
    Still need more info and need to see your script.

    Sorta on topic. If you wanna see another script (which is always useful to get ideas and see how other people did it) check out http://isitup.org/ it's based on downforeveryoneorjustme.com but the guy is giving away the source code for free. You should check it out.
    Tutorial How to SEO your Warez Site a guide to help you increase your organic traffic

    Huge list of Warez Sites and free Multiposter Templates

  6.     
    #5
    Member
    the code is simple as i said


  7.     
    #6
    Member
    what dns does your server use. most dns severs return result page if the site isn't found.

  8.     
    #7
    Member
    hmmmmmm how to check that ??

  9.     
    #8
    Member
    Quote Originally Posted by Mr Happy View Post
    Still need more info and need to see your script.

    Sorta on topic. If you wanna see another script (which is always useful to get ideas and see how other people did it) check out http://isitup.org/ it's based on downforeveryoneorjustme.com but the guy is giving away the source code for free. You should check it out.
    Ya there are many other ready scripts out there, i just want to do something different ... and much simpler

  10.     
    #9
    Respected Developer
    Website's:
    wrzc.org
    Turn on error reporting. You have it turned off error_reporting(0).
    Make it error_reporting(E_ALL);
    If it's not a valid domain then it returns an E_WARNING.

    At the moment if I enter something stupid like cornflakes it tells me it's online as your not allowing it to check if it's a valid domain first.
    Tutorial How to SEO your Warez Site a guide to help you increase your organic traffic

    Huge list of Warez Sites and free Multiposter Templates

  11.     
    #10
    Member
    thanks for helping mr happy, but i think the problem is with my hosting ...
    because the script works well on my localhost with easyphp

Page 1 of 4 123 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Selling] Excellent Matrimonial Script| Complete readymade Matrimony Script Available
    By matriscript4u in forum Marketplace (Buy, Sell and Trade)
    Replies: 0
    Last Post: 23rd Oct 2012, 02:54 PM
  2. Replies: 12
    Last Post: 13th Mar 2012, 02:23 PM
  3. [Selling] Rslinkgens Premium link generator script V1 -Most advanced and viral script
    By vccshopper in forum Completed Transactions
    Replies: 0
    Last Post: 24th Jun 2011, 08:10 PM
  4. [Selling] A.A.S. (Adult Automated Script For ClipBucket Video Script)
    By tangi in forum Completed Transactions
    Replies: 0
    Last Post: 25th Mar 2011, 12:45 PM
  5. need text hosting script or link shorter script
    By onel0ve in forum General Discussion
    Replies: 3
    Last Post: 16th Jan 2011, 08:26 AM

Tags for this Thread

BE SOCIAL