Closed Thread
Results 1 to 4 of 4

Thread: Scaning Bookmark target and use of images

  1. #1
    fflandrath53 is offline x10Hosting Member fflandrath53 is an unknown quantity at this point
    Join Date
    Jan 2011
    Posts
    42

    Question Scaning Bookmark target and use of images

    Hi everyone, my name is Floyd and I'm a new member of x10Hosting.

    I'm developing an application called Roller~Poster, a content aggregator and bookmark service. After carefully reading the TOS and several posts in this forum I have a couple questions:

    My app (not fully functional yet) creates what I call enhanced bookmarks which includes the following fields:
    • Title *
    • Url *
    • Description
    • Image
    • Related url
    • Poster's name and email*
    • Timestamp
    * -- required

    When a user enters the bookmark Url, Roller~Poster attempts to open the site and scan it for the Title, Description, and possible Images to be used in the bookmark. This scan requires a couple of php functions that some hosting companies disable or discourage use of. The functions are:
    • ini_set("allow_url_fopen", on)
    • file_get_contents($url, false, $context)
    Is it ok for me to proceed with this design feature?

    Also, I have accumulated several hundred small images that the user can select from and add to their bookmarks. I believe most of the images are in the public domain or otherwise available for public, non-profit use under Fair Use. I'm not a copyright expert, I think the use of these images is within the law, in this context. Nonetheless, I would appreciate an admin to please confirm, or educate me to the contrary, before I deploy them in Roller~Poster here at x10hosting.

    Although I've only been here a few days I'm loving it so far. Great interface, cpanel, forum, load times, etc.

    Thanks for your kind consideration
    Floyd

  2. #2
    garrettroyce's Avatar
    garrettroyce is offline Generally Helpful Member garrettroyce is a glorious beacon of lightgarrettroyce is a glorious beacon of light
    Join Date
    Apr 2008
    Location
    IL, USA
    Posts
    3,746

    Re: Scaning Bookmark target and use of images

    I don't think ini_set() works on free hosting. At any rate, you can't connect to servers over port 80 (the default http port) unless they are whitelisted. So attempting to open any stream by any method to a remote http server will timeout because the server. In anticipation of your question, we cannot open ports for individual users nor whitelist servers based on your user's needs.

    Sorry to be so discouraging. Hopefully you can think of another way of doing this or refining what your service does. However, paid hosting does allow you to do this if you are convinced this is what you want to do.
    gjr.gr - coming soon: secrets of OCD coding from a self taught tinkerer

  3. #3
    fflandrath53 is offline x10Hosting Member fflandrath53 is an unknown quantity at this point
    Join Date
    Jan 2011
    Posts
    42

    Re: Scaning Bookmark target and use of images

    Quote Originally Posted by garrettroyce View Post
    I don't think ini_set() works on free hosting. At any rate, you can't connect to servers over port 80 (the default http port) unless they are whitelisted. So attempting to open any stream by any method to a remote http server will timeout because the server. In anticipation of your question, we cannot open ports for individual users nor whitelist servers based on your user's needs.

    Sorry to be so discouraging. Hopefully you can think of another way of doing this or refining what your service does. However, paid hosting does allow you to do this if you are convinced this is what you want to do.
    Hi garrettroyce,
    Thanks for your reply. I plan to purchase paid hosting in the near future, please see my intro post for an explaination of my circumstances.

    As for the ini_set(), it appears to work in this context:
    Code:
    <?php
    	session_save_path("/home/floyd/public_html/tmp");
    	ini_set("session.gc_maxlifetime", 86400);
    	ini_set("session.gc_probability", 1);
    	ini_set("session.gc_divisor",200);
    	ini_set("session.bug_compat_warn", off);
    ?>
    I'll see what else I can do on the scan function.
    Thanks again and I'll be sure to click to your rep...

  4. #4
    fflandrath53 is offline x10Hosting Member fflandrath53 is an unknown quantity at this point
    Join Date
    Jan 2011
    Posts
    42

    Smile Re: Scaning Bookmark target and use of images

    The scan function is working fine.

    Many thanks to x10Hosting...

Closed Thread

Similar Threads

  1. javascipt target blank
    By gaptrast in forum Programming Help
    Replies: 4
    Last Post: 11-09-2010, 08:12 PM
  2. target url and uploading files
    By tanuj in forum Free Hosting
    Replies: 1
    Last Post: 05-19-2010, 06:10 AM
  3. Should we target GeoCities users?
    By zen-r in forum Off Topic
    Replies: 36
    Last Post: 06-30-2009, 03:07 PM
  4. $50 Credits for survey's, bookmark & signing bookmark.
    By TPI007 in forum The Marketplace
    Replies: 4
    Last Post: 07-18-2008, 01:43 PM
  5. Target Cuts PS2 Price By $30 Starting Feb 24
    By MicrotechXP in forum Gamer's Lounge
    Replies: 7
    Last Post: 02-21-2008, 11:21 AM

Tags for this Thread

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