Jump to content

bonnag

Members
  • Posts

    15
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

bonnag's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. It just started working all on it's own! Thanks for your help. bonnag
  2. thebadbad, Thanks. Curl and allow_url_fopen are both on and work with other domains. Could it be that the server that I am trying to access is denying the requests. I am with Hostgator so I wouldn't have thought their IP's were bad. Thanks, bonnag
  3. I've changed the code to the following and all that appears in the browser is "1"! <html> <body> <?php echo 1; $page = file_get_contents('http://hopfeed.com/serv/hopFeedServ.htm'); echo 2; var_dump($page); echo 3; ?> </body> </html> Is there script I could run to get a bunch of variables as to what is turn on and off on the server that might shead some light on this? Thanks, bonnag
  4. Corbin, Thanks for doing that. That is a great help. I'll keep plugging at it. bonnag
  5. The thing that confuses me is that the command works for other pages on other domains. Could it be that the page that is being accessed is also php and that there is a confict? Thanks, bonnag
  6. corbin, Thanks for the tip, I added the code. Exactly the same thing happens. No errors are displayed and the page just keep loading and loading, but nothing other than the echo string ever appears. Thanks, bonnag
  7. Thanks for the suggestion, but that doesn't work either! I just can't figure this out.... bonnag.
  8. bothwell, The link itself opens, even though it contains IFRAME in it. I was under the impression that if I can open it in a browser, that I could use in with a php include. Is this assumption incorrect? Others, Thanks for your suggestions but other URL's work, such as google.com, so as far as I know all the settings are in order. Any other ideas? Thanks, bonnag
  9. I forgot to say. It is not returning any errors. Thanks again, bonnag
  10. Hi, I'm quite a novice with php, but I have had some prior success. I currently stumped over an issue using include. I have also tried require, fopen, file_get_contents too. I have the following code: <html> <body> <?php $page = "http://hopfeed.com/serv/hopFeedServ.htm"; echo $page; include ($page); ?> </body> </html> if I make the page variable equal google.com or another domain it works, but not when I use the above code. The browser page echos the page variable and then just sits there, loading indefinitely. The page that I'm loading isn't straight html, there is stuff going on in the background as you can pass it variables see below: http://www.hopfeed.com/serv/hopFeedServ.htm?type=IFRAME&fillAllSlots=true&align=LEFT&headerText=My%20Ads%20Here&height=400&width=150&linkFontHoverColor=%233300FF&linkFontColor=%233300FF&backgroundColor=%23FFFFFF&font=Verdana%2C%20Arial%2C%20Helvetica%2C%20Sans%20Serif&fontSize=9pt&fontColor=%23000000&rows=3&cols=1&keywords=business&tid=abc123&affiliate=cashexits&cellpadding=5 However, the page that is returned using the above URL has html source. I'm puzzled by this and it is beyond my php skills. Any help would be greatly appreciated. Thanks, bonnag.
  11. I managed to get it working myself. I'm currently stealing all of ag3nt42's pages ........
  12. Should I seek assistance in the regex section then, rather than here? Thanks, Scott
  13. Yes, That is what I'd like to be able to do, but there are going to be scripts and css references and such like and I was wondering if I could do it globally. Regards, Scott
  14. Hi, I can understand your reservations regarding 'stealing'. I have the premission of a website owner to duplicate some of their pages and they are likely to change. I want to have a way to do have it work dynamically rather than having to pull all the pages over or cron a backup etc. As for the code that I have it is virtually non-existant. <?php $file = file_get_contents ("http://www.google.com"); echo $file; ?> Thats about as far as I got! Regards, Scott
  15. Hi, I'm new to php and I'm stuck. I'm trying to duplicate another page using php, but I have a problem with relative and absolute paths. I've tried include() and I've tried file_get_contents() but I can't figure out how to handle the relative references. As a practice I've just been using the google homepage and the best that I can get can be seen here http://www.drzo.com/cb/1.php It is begining to drive me insane. Thanks in advance, Scott
×
×
  • Create New...

Important Information

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.