Jump to content

Recommended Posts

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 ,

Link to comment
https://forums.phpfreaks.com/topic/162612-php-beginner/
Share on other sites

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

Link to comment
https://forums.phpfreaks.com/topic/162612-php-beginner/#findComment-858215
Share on other sites

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

 

Link to comment
https://forums.phpfreaks.com/topic/162612-php-beginner/#findComment-858239
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.