about web page editing
after setting up an apache server, i would like to make a new web page n which the filename would be save in /var/www/html....
i wnat to know what to use as an editor and after making it i want to test if its executable... what should i use and what are the steps in doing it? pls help me |
do you know html... i assume not. you'll want to use a graphical alternative to creating a site -- word/frontpage are from MS.
if it's just an html file, it needs not be executable. if it's a script, you'll have to write it by hand using your favorite text editor, and add some directives to apache config... but i'm assuming this is not the case... |
follow-up on web page editing
i know about html and i forgot to add that im using fedora core3 os....
i wanted to use php but i dnt know how to...... and if i would use php where can i find its editor under fc3 os and also how would i be able to run it? |
to use php you NEED to install php on the machine hosting the website. This will act as a server end script so that the browser doesn't have to execute the php coding. this will also allow security for your website as the php scripting is server side executed and the user end will only see the resulting script. go get php and install it on your apache server. configure your httpd.conf or http.conf to execute the php server on apache server startup... wham! bam!
|
followup
will html run on fc3?
and if i would use that in making a web page how would i do that? pls help and also how would i be able to link up with the apache server that i hve configured to the web page im making? |
no. html will not run on fc3. it doesn't run anywhere. it is not executable.
but using apache, you can serve html pages to clients like firefox, IE, or even telnet. |
just copy the webpage that you are making into your directory... usually /var/www/
apache web server hosts websites... so essentially it will run the html files... php is where you have to add extra modules... then you will have to use a text editor and just save it as *.html or you can use a program like blue fish, quanta or nvu.... just do a pdf search online for basic web design techniques or visit your local bookstore to fine out more ways.. |
^^ except that by default it'd be /var/www/htdocs or /var/www/html ... or otherwise similar location...
|
I think you are a little confused or are wording your question wrong. To do html this is all you need.
Code:
<html><body>Text here</body></html> Html does not need to be compiled because your browser compiles it automaticly when you veiw the page. Make sure you save that file in the /var/www/ directory. Then to access the page you made from the web you would go to http://<your-site-or-ip>/<your-file.html> Now if you are wanting to do php as stated earlier you need php on your server. The deference is in php, your server would compile the webpage and then sent out the compiled page to the browser on the computer accessing your site. You should really read up on it seeing as there is too much to learn about both html and php here. Google search on html coding or php coding. |
*cough*
Code:
<html><head><title>none</title></head><body></body></html> |
Oh sorry typo. Thanks I will fix it.
|
about php
how would i be able to know if in fc3 theres an existing php editor already?
where would i check on it? on what part would i look for it in case if there exist an editor for php? |
php
how would i be able to make a script in controlling the movement of the camera through a button on the webpage which would be interfaced in the pc through parallel port with stepper motor
the purpose of the webpage is for the client ot be able to control the caera movemnet and at the same time to see the video captured by the camera |
php is just text that is parsed by the web server, in your case Apache.
You can use anything you want to edit PHP (Kate, Quanta, whatever) If you don't know how html and PHP work, then I think you are jumping the gun on writing a script. Might want to first learn html basics, CSS basics and then go into scripting such as JavaScript or PHP. Gotta crawl before you can run. |
Sorry dude but your questions are pretty advansed and not something that is easly covered here. I really hate to do this but google is your friend. As far as your php editor on fc3 just google php editor on fc3. Just that simple.
|
All times are GMT -5. The time now is 02:47 AM. |