I have a windows server and would like to add php code to my .html files. I know this is possible with linux servers with .htaccess files but how do I do it with a windows server? I called my hosting provider and they said I need to look into the web.config file. What I want is for my server to...
I'm switching over from PHP to ASP.NET and can't find an easy way to print all the files in a folder to the browser. In php it's as simple as:
$thumbs = opendir (thumbs);//thumbs is the directory I want to read
while (($fileOrDirectory = readdir($thumbs)) !==FALSE) //this starts the loop...