Solved

read from external website and display info on my own

Posted on 2013-01-30
5
157 Views
Last Modified: 2013-06-09
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
Comment
Question by:maxlucy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 29

Expert Comment

by:becraig
ID: 38836912
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
 

Author Comment

by:maxlucy
ID: 38837081
how secure would this be?

btw thanks I will need to read and learn it
0
 

Author Comment

by:maxlucy
ID: 38837094
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
 
LVL 29

Accepted Solution

by:
becraig earned 500 total points
ID: 38837109
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
 
LVL 29

Expert Comment

by:becraig
ID: 38911626
Did you get this to work or do you still need any help ?
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question