Amani Salah Posted June 17, 2009 Share Posted June 17, 2009 I have an assignment and that's it : You are required to design and implement the web application for a course registration system. The users of the system are students and professors. The users are authenticated before having access to the system. Unregistered users can register themselves; To create a new account, the unregistered user is asked to enter his first name, last name, email address, user name and password. Assume their will be one administrator in the system who can edit the profiles of the users. He can set a user to have professors' privileges. Professors can create new courses. A course has a name, code, enrollment key and teaching professors(maximum 2). After a professor logs in, the courses that this professor is responsible for are displayed. He can choose one of the courses. He can then edit the course data or send messages to the students registered in that course Students can edit their registration data. They can register themselves in courses by entering the correct enrollment key for the course. After a student logs in the system, the courses that he has previously registered in are displayed. He can choose to open one course and view the messages that the professors sent in that course. Now , I've installed xampp for linux the questions are : 1- Do I have to install php , or any thing else ? 2- I did what was mentioned here : http://www.wikihow.com/Write-PHP-Scripts but when I try to open : http://localhost/helloworld.php I receive an error message although I'm sure that I wrote every thing right 3- I'm a little confused , what am I supposed to do with this : http://localhost/phpmyadmin/ please help , Quote Link to comment https://forums.phpfreaks.com/topic/162612-php-beginner/ Share on other sites More sharing options...
947740 Posted June 17, 2009 Share Posted June 17, 2009 Yes, you have to install PHP. Quote Link to comment https://forums.phpfreaks.com/topic/162612-php-beginner/#findComment-858208 Share on other sites More sharing options...
Maq Posted June 17, 2009 Share Posted June 17, 2009 Yes, you have to install PHP. PHP is included in the XAMPP install. I receive an error message although I'm sure that I wrote every thing right What exactly what the error? Quote Link to comment https://forums.phpfreaks.com/topic/162612-php-beginner/#findComment-858211 Share on other sites More sharing options...
Amani Salah Posted June 17, 2009 Author Share Posted June 17, 2009 What exactly what the error? Object not found! The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error. If you think this is a server error, please contact the webmaster. Error 404 localhost Wed 17 Jun 2009 09:38:45 PM EEST Apache/2.2.11 (Unix) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8k PHP/5.2.9 mod_apreq2-20051231/2.6.0 mod_perl/2.0.4 Perl/v5.10.0 Quote Link to comment https://forums.phpfreaks.com/topic/162612-php-beginner/#findComment-858215 Share on other sites More sharing options...
Maq Posted June 17, 2009 Share Posted June 17, 2009 Try: http://127.0.0.1/helloworld.php Quote Link to comment https://forums.phpfreaks.com/topic/162612-php-beginner/#findComment-858219 Share on other sites More sharing options...
wildteen88 Posted June 17, 2009 Share Posted June 17, 2009 Where did you save your php file to? I believe with XAMPP on linux your files should be saved in /opt/xampp/htdocs/ Quote Link to comment https://forums.phpfreaks.com/topic/162612-php-beginner/#findComment-858221 Share on other sites More sharing options...
andyd34 Posted June 17, 2009 Share Posted June 17, 2009 I tried XAMPP for linux but had nothing but trouble. ended up installing lamp and the server has been running for well over 12 months now apart from the odd update Quote Link to comment https://forums.phpfreaks.com/topic/162612-php-beginner/#findComment-858227 Share on other sites More sharing options...
Amani Salah Posted June 17, 2009 Author Share Posted June 17, 2009 http://127.0.0.1/helloworld.php the same error ! Where did you save your php file to? I believe with XAMPP on linux your files should be saved in /opt/xampp/htdocs/ yes it's but you can link your work space to /opt/lampp/htdocs I saw it in some web page , my workspace is Moodle it's in home folder I wrote this in terminal : sudo ln -s ~/Moodle /opt/lampp/htdocs/$USER Quote Link to comment https://forums.phpfreaks.com/topic/162612-php-beginner/#findComment-858239 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.