Skip to main content

Building a Versatile Remote File Connector

  • Chapter
PHP Object-Oriented Solutions
  • 1281 Accesses

Abstract

One of PHP’s great strengths is its ability to access files on other servers, process them, and incorporate the results into your own output. For example, my web site (http:// foundationphp.com/) automatically runs a PHP script once an hour to send a request to Amazon.com to find the details of the current bestselling books on PHP and Dreamweaver. The results are stored in my database and then displayed on selected pages of my site. A similar technique can be used to display the contents of a news feed from another site. In the next chapter, I’ll show you how to handle an incoming news feed, but before you can do so, you need to retrieve the remote file.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2008 David Powers

About this chapter

Cite this chapter

(2008). Building a Versatile Remote File Connector. In: PHP Object-Oriented Solutions. Apress. https://doi.org/10.1007/978-1-4302-1012-2_5

Download citation

Publish with us

Policies and ethics