Hi. im new here (and to PHP)
(and please take ur time to read my question)
I know a bit PHP and how it works.
Part from that i know Actionscript well enough.
uhm... i won't bother you with myself so here's whatsup:
i'm making a webpage with a flash menu.
The website has a column page and de button in the flash menu refers to this page... butt, i constantly make new column pages in html (just the text, wich i load in an iFrame) Now what i want is that when u click in the menu on the column button that you will always get to see the last made column.
i called the column pages "column<number>.html" like " colomn8.html" etc etc. Every new column is named the last column +1 so after column8.html comes column9.html ... this means that when u press the button in flash u need to see the newest page (i.e. column9.html). Butt i DONT want to constantly update the flash button with a new linkscript.
[so far the website explanation]
So i tought, why not make a PHP script that counts the number of HTML files within the column directory... if the script can count the files it can create a link that it parses in a TXT file right?
so if the script has "variable" as the number of HTML pages within the directory you can let the script write a linkvariable like $link='column'+"variable"+'.html' (or something like that) and parse that variable of that $link within a TXT file
after that i can read out the variable whitin the textfile with FlashMX and use it as a link for a button, right?
-------------------------------------------------------
Is this possible, counting files within a folder with PHP? or do i need an other scripting language for that? or do you recommend an other way to handle this link within Flash to my newest column page (wich adds UP)
i really hope you took the time to read my question and that you would like to help me... i really do ... so much to learn.
