Recent content by Steven Smidley

  1. S

    How do I run php code with an html file by changing the web.config file?

    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...
  2. S

    How do I echo out all the files in a folder on my server with ASP.NET?

    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...
Back
Top