Except where otherwise noted, the contents of this document are Copyright 2012 Marty Stepp, Jessica Miller, Victoria Kirst and Roy McElmurry IV. All rights reserved. Any redistribution, reproduction, transmission, or storage of part or all of the contents in any form is prohibited without the author's expressed written permission.
<?php
error_reporting(E_ALL); # makes UW server show error messages
...
?>
.htaccess
and .htpasswd
with proper contents and put them in your HW root folder on UWhtaccess
, htpasswd
files
.htaccess
:
AuthUserFile full/path/to/.htpasswd AuthName "Restricted Access" AuthType Basic require user username
.htpasswd
:
username:encryptedPassword
.htpasswd
file)htpasswd -c .htpasswd username
XMLHttpRequest
, Ajax.Request
) can only connect to the same server as where your .html and .js files are locatedhttp://webster.cs.washington.edu/dir/file.ext
proxy.php?url=http://webster.cs.washington.edu/dir/file.ext
escape
function.sql
files to your UW space
mysql -u username -p databaseName < filename.sql
.sql
file:
mysqldump -u username -p databaseName > filename.sql
gallery.js
functionality yourself using Ajaxlanguage | frameworks |
---|---|
PHP | CakePHP, Zend |
C# | ASP.NET |
Python | Django, web2py |
Ruby | Rails |
Java | Spring |