Pages:(17)
[1]
2
3
4
>>
Last >>
Week One by Eric Pedersen pedersen@dixie.edu 435.652.7804 Introduction to the course Syllabus: expectations, grading, assignments Student introductions Accounts Setting up accounts and changing passwords Grading system accounts Using accounts ssh epedersen@uranus.cs.dixie.edu sudo /usr/local/bin/dsc_passwd.pl or sudo /usr/local/sbin/dsc_adduser.pl Unix Basics ------------------------ home -- everyone execute public_html 755 php 755 index.php path: epedersen.php.cs.dixie.edu path: username.php.cs.dixie.edu This goes to the php folder Persmissions discussion Read Write Execute Owner x x x Group x x x Everyone x x x Allow and deny owners, groups, and everyone from different types of access d is directory ls -l cd .. mkdir dsc_publish.pl (sets permissions for user) if run at uranus or neptune DSC Servers uranus jupiter neptune despina larissa galatea mysql What is PHP? PHP (recursive acronym for "PHP: Hypertext Preprocessor") is a widely-used Open Source general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. <br><br> How does it work? intermingling scripts with HTML or sometimes termed as embedded PHP PHP install base. code examples: comments <? # comments can be put in a php script with the number sign or // comments can also be inserted with two slashes /* to comment out multiple lines of code simply use the slash astrisk at the beginning and the astrisk slash at the end. */ ?> code examples: echo and print Hello World <? echo "<p>Hello World</p>" ; print("<br>hello world<br>"); ?> code examples: Date print or echo out date function <? print (Date("l,dS of F Y h:i:s A")); ?> code examples: Redirect <? header("Location: http://www.dixie.edu"); ?>
Tutorials
Here is the collection of tutorials:
PHP Tutorials Database
Tutorials Database
PHP MySQL
PHP Tutorials
Apache/PHP/mySQL/PHPMyAdmin installation on Win32 Platform
PHP script to back-up your MySQL Database
CSS
CSS tutorials, tips and tricks
FLASH
Flash tutorials, tips and tricks, keyboard shortcuts