Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

read from external website and display info on my own

Posted on 2013-01-30
5
Medium Priority
?
159 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
  • 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 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

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…
It’s a season to be thankful, and we’re thankful for users like you who engage on site, solve technology problems, and network with others in the industry. What tech are we most thankful for? Keep reading.
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

772 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