Hiya, I'm real new to PHP (took my 10hrs to find out that apache 2.2 and php 5.2 don't go together (you need the latest PHP 5.2.2))
So I got a question. I want to do the coding myself but i've not found a command for what i'm after.
Imagine i have lots of .html files.
I have a submit box to input data.
I have an if / else command so that when you type in a single word in the box if it matches a file with that say "example" = "example.html" then it lloads up example.html if (and i don't have a file called) example2 doesn't = *.html then it loads "error page".
So far I've found ways of open single files, reading and writing but i've not come across ways to search the name of the file in a folder with 100-200 .htmln to see if it matches a search string.
Any suggestions warmly appreciated!
Jesh