Go Back   HostGator Peer Support Forums > Public Forums > Pre-Sales Questions

Notices

Reply
 
Thread Tools
  #1  
Old 10-26-2007, 02:38 PM
tourguide
HostGator Guest
 
Posts: n/a
Default Allow remote urls?

I'm trying to use instadigi or ico content where it pulls information from yahoo answers api.

I've tried dreamhost.com, but it's not working as they have disabled remote url file () function.

Does it work in hostgator?
Reply With Quote
  #2  
Old 10-26-2007, 02:44 PM
codesight codesight is offline
Swamp Croc
 
Join Date: Jan 2007
Location: Fargo, North Dakota
Posts: 321
Default Re: Allow remote urls?

I just did the following on my site.

PHP Code:
<?php
$lines 
file('http://www.yahoo.com/');

foreach (
$lines as $line_num => $line)
{
    echo 
$line;
}
?>
You can view the output here: http://www.codesight.net/files/file.php
__________________
http://www.codesight.net
Reply With Quote
  #3  
Old 10-26-2007, 02:52 PM
tourguide
HostGator Guest
 
Posts: n/a
Default Re: Allow remote urls?

Thank you sir!

That's all the information I needed.

I will be signing up for a host gator account now
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT -6. The time now is 09:47 AM.

 
Forum SEO by Zoints