[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 160
  • Last Modified:

read from external website and display info on my own

Hi I would like to know a simple way to read the info from another website and show on my own.

I cant use iframe as I need to change the background, and It must be secure as we get so many attempts to hack our site daily.

the site I wish to read is, ultimateteam.co.uk and only the part where it says.   NEXT HAPPY HOUR:
To be confirmed  

This is located on the right at the top.
How can I show this info on my own site?
0
maxlucy
Asked:
maxlucy
  • 3
  • 2
1 Solution
 
becraigCommented:
Here is an easy how to:

http://simplehtmldom.sourceforge.net/

I love this for it's simplicity, it will take a few minutes to grasp but you can simply invoke that as a part of your php in the section of your page and echo the result of your find.
0
 
maxlucyAuthor Commented:
how secure would this be?

btw thanks I will need to read and learn it
0
 
maxlucyAuthor Commented:
sorry I am not up to speed on this at all, what do I need to put on my server, and what do I paste to get my result?
0
 
becraigCommented:
Does your server have PHP installed on it  ?

Do you understand PHP?

If you answered yes to these question then it is easy.

There will be no need to paste this will load automatically each time someone loads your page:

i.e  your page page.php loads
this piece of script is invoked
webpage at http://website.com is read and parsed
The string you are searching for is found and it loads when your site is loaded.
0
 
becraigCommented:
Did you get this to work or do you still need any help ?
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now