Forum Moderators: coopster

Message Too Old, No Replies

PHP Twitter Feed

How to embed link that will show your twitter rss on the page?

         

AlexB77

5:19 pm on Dec 29, 2009 (gmt 0)

10+ Year Member Top Contributors Of The Month



HI to all,

I am running in to a little problem with my PHP or may possibly be something else.

I do have a PHP script that is working on <snip>, but when I am trying to embed link to the very same script on my index page like this one for example
<?php include_once("http://www.example.com/status/home/status.php"); ?>
than my index page does nothing at all, when ideally it suppose to show my twitter RSS on the index page.

Can anyone help me with this problem please?

Thanks

AlexB77

[edited by: dreamcatcher at 8:27 pm (utc) on Dec. 29, 2009]
[edit reason] no urls please, see T.O.S [/edit]

coopster

1:42 pm on Mar 17, 2010 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Trying to include a file from your own server via http may sometimes be hindered by DNS or your firewall. Have you tried adding the domain name to the hosts file on your server? That is often the easiest workaround. However, if the file is really on your own server, why use the http protocol to retrieve it? Just include the script as you would a filesystem script.