Search found 12 matches
- Sat Dec 03, 2005 8:36 am
- Forum: PHP - Code
- Topic: Please Check my Code
- Replies: 3
- Views: 360
Thanks for the pointers, it seems as though the problem is in my actionscript. I see the problem now, but is above my actionscript ability. I'll have to get over to the Macromeida forum and hope someone takes pitty on me. I didn't know you could use XML to import variables into Flash. I've only used...
- Sat Dec 03, 2005 8:04 am
- Forum: PHP - Code
- Topic: Please Check my Code
- Replies: 3
- Views: 360
Please Check my Code
I'm currently using this piece of PHP to print out an XML document to be used i flash it works very well: <?php echo "<?xml version=\"1.0\" encoding =\"ISO-8859-1\" ?>\n"; echo "<images>\n"; if ($handle = opendir('./portfolio')) { $files_array = array(); // Ga...
- Mon Oct 10, 2005 8:08 am
- Forum: PHP - Code
- Topic: Sort My Array, by date?
- Replies: 2
- Views: 170
- Mon Oct 10, 2005 7:43 am
- Forum: PHP - Code
- Topic: Sort My Array, by date?
- Replies: 2
- Views: 170
Sort My Array, by date?
I'm using this code that I put to gether to list the files in a directory on my server, it works just how I want it except that it returns the list of files in Numerical and alphabetical order. How do I sort the file list into the date order, the files were added to the server? <?php echo "<?xm...
- Wed Oct 05, 2005 3:20 am
- Forum: PHP - Code
- Topic: Image Size.
- Replies: 1
- Views: 156
Image Size.
Here is the first PHP that I have struggled to put together, I want to output an XML file to read into Flash. The PHP successfully reads the file name and size of the file. I want to add one other peice of functionality if its possible. Can I say some where in this PHP, if the image is over a Y_heig...
- Mon Oct 03, 2005 2:34 pm
- Forum: PHP - Code
- Topic: Newbie Help, take pitty please. (getimagesize + readdir)
- Replies: 1
- Views: 215
- Mon Oct 03, 2005 2:08 pm
- Forum: PHP - Code
- Topic: Newbie Help, take pitty please. (getimagesize + readdir)
- Replies: 1
- Views: 215
Newbie Help, take pitty please. (getimagesize + readdir)
Below is my first Php effort, I know its full of errors and I hope someone can help. I want to print out through PHP an XML file to read into my Flash document. I want to get the file names in a specific directory, which I have done successfully using "readdir". I'm trying to use unsuccess...
- Sun Oct 02, 2005 2:36 pm
- Forum: PHP - Code
- Topic: First GO!
- Replies: 1
- Views: 182
First GO!
Below is my first attempt at PHP with a lot of help from this forum and php.net, I want the PHP to check a directory called images and return a list. I also want the PHP to print out an Xml file to use in a flash document. (If I made sense:D ) My web hosts have Php 4.4. Is this an efficent way to wr...
- Sun Oct 02, 2005 10:59 am
- Forum: PHP - Code
- Topic: scandir()????
- Replies: 2
- Views: 344
- Sun Oct 02, 2005 10:08 am
- Forum: PHP - Code
- Topic: scandir()????
- Replies: 2
- Views: 344
scandir()????
I'm new to PHP and have already had some great help from this forum! I was pointed in the direstion of scandir(); , and it seems exactly what I want to use but the php.net site lists it usage from PHP 5. My web hosts have PHP 4.4 installed. Can someone please tell me what area I should look for the ...
- Fri Sep 30, 2005 8:43 am
- Forum: PHP - Code
- Topic: Newbie Question (getting started)
- Replies: 3
- Views: 338
- Fri Sep 30, 2005 8:26 am
- Forum: PHP - Code
- Topic: Newbie Question (getting started)
- Replies: 3
- Views: 338
Newbie Question (getting started)
I'm just starting out with the possibilities of PHP, I've been reading around about Php for a couple of weeks and want to start a project and start learning more! I'm a designer and want to create a simple portfolio, I want to load a bunch of .jpg files from the server into my flash front using php ...