A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: pull images from a directory

  1. #1
    Senior Member
    Join Date
    Mar 2004
    Upper Marlboro, MD

    pull images from a directory

    I'm trying to run a .php file from the browser to see if it works. The .php fishes thru a directory for .gif and .jpg files and then creates an .xml file and saves it to the directory. For some reason my code creates the .xml file but the content of the file isn't the image data. This is what it produced:

    <?xml version="1.0" encoding="iso-8859-1"?>
    <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">
    <channel rdf:about="">
    <image rdf:resource=""/>
    I thought the code would return the filenames of the images from the directory.

    Can someone help me with this one please.

  2. #2
    Join Date
    May 2003
    Do you have the variables and code for each file like foreach and $filename or $_REQUEST['filename'] or something like that? It is pretty easy to do.

Posting Permissions

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

Click Here to Expand Forum to Full Width

HTML5 Development Center