SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    Aug 2003
    Location
    IL
    Posts
    292
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    pinging iTunes within my code

    I have created a php page where I can browse for and upload mp3 (sermons) to our website (lets call this page A). I have also put together a page (page B) where it loops through the database and displays the mp3 files in xml format with an .htaccess file to make the php page show up as an rss feed.

    I have registered with iTunes and they have accepted my submission for my podcast but have said that if my files do not show up immediately I can click on a link and 'ping' the iTunes server to refresh the feed. This link opens a new window communicating that the pinging process is taking place or something.

    My question is, does anyone know of a way that I can have my page A php file go to that pinging url in the background without the user knowing about it or seeing a new window open because they're not going to know what they're looking at and then they would have to close an extra window. Let me know your thoughts.

    FYI,
    I've also posted on the following forums:
    http://www.phpbuilder.com/board/show...8#post10898428
    http://forums.devshed.com/php-develo...de-581990.html
    http://forums.codewalkers.com/php-co...de-915735.html

  2. #2
    SitePoint Wizard Nikolas's Avatar
    Join Date
    Feb 2005
    Location
    Greece
    Posts
    1,222
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What about fetching the ping page with file_get_contents() or CURL?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •