Solved

read from external website and display info on my own

Posted on 2013-01-30
5
154 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 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Suggested Solutions

Title # Comments Views Activity
Wordpress French and English Site 6 76
how to access a remote mysql database with xampp 3 23
Restricting the scope of variables to private in OOP 4 22
Ahax pagination 9 32
Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

808 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