Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5

Thread: Verify Site

  1. #1
    Senior Member leprechaun13's Avatar
    Join Date
    May 2005
    Location
    Northampton
    Posts
    487
    Member #
    10058
    As you all know we are all hard at work on the ShareMy.Name project and have hit a stumbling block as far as implementation. And have decided to do some form a page where u can submit ur site to be compatible but we need someway of Verifying that the person that has submitted the site is the owner. Thus the idea of going with something similar to Google Sitemaps.

    Does anyone know how to do this?
    Regards Phil,


  2.  

  3. #2
    Senior Member
    Join Date
    May 2003
    Location
    UK
    Posts
    2,354
    Member #
    1326
    You could offer them a generated file, they download it from your server/website, upload it to their website, then you check if it is where they say it is.

  4. #3
    Senior Member leprechaun13's Avatar
    Join Date
    May 2005
    Location
    Northampton
    Posts
    487
    Member #
    10058
    Thats wat i the idea its just verifying thattheyve uploaded the file..

    any ideas
    Regards Phil,


  5. #4
    Senior Member
    Join Date
    May 2003
    Location
    UK
    Posts
    2,354
    Member #
    1326
    Something like
    PHP Code:
    if(fopen("http://www.webdesignforums.net""r"))
     {
        echo 
    "exists";
     }
    else
     {
        echo 
    "exists not";
     } 
    Tested on my server, produced
    Quote Originally Posted by bfsogs test page
    exists
    So, the parameter you would give the function, would be the URI the user gives you, which is the full path to the uploaded file.

  6. #5
    Senior Member leprechaun13's Avatar
    Join Date
    May 2005
    Location
    Northampton
    Posts
    487
    Member #
    10058
    thanks m8 gr8 help
    Regards Phil,



Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:48 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com