|
-
May 9th, 2006, 03:08 AM
#1
Thread Starter
Addicted Member
html to php?
How do you tell a .html file to load a .php file? Kinda like they go to my site and it redirects them to the news.php file... I can't figure out how to just get it to go to the news.php instead of index.html... so i want the .html to load the .php
Thanks,
Jizz
-
May 9th, 2006, 03:13 AM
#2
Re: html to php?
Why don't you just make the news.php page index.php instead?
Are you using Apache?
-
May 9th, 2006, 08:33 AM
#3
Thread Starter
Addicted Member
Re: html to php?
yes.
i think i need a mysql server... how hard is this to setup on my linux pc?
-
May 9th, 2006, 10:39 AM
#4
<?="Moderator"?>
Re: html to php?
It depends whether you want to install it from source or not. If you want to install from source then its fairly simple if you follow the INSTALL file. But if you want to install it from a rpm then this link will help you out
http://dev.mysql.com/doc/refman/5.0/en/linux-rpm.html
-
May 9th, 2006, 10:45 AM
#5
Re: html to php?
If you have apt-get on your linux box, then it should just be one line in a shell to set it up.
- ØØ -
-
May 9th, 2006, 12:53 PM
#6
Thread Starter
Addicted Member
Re: html to php?
Ok, so I downloaded this.
http://dev.mysql.com/get/Downloads/M.../mirror/mysql/
and then I installed with YaST.
But where would it show up? How do I finish installing it? Sorry.. this is my first day on a linux.. trying to get my http server working correctly lol.
Also, Can I host domain names off of a computer? Right now my http server is at http://mrtikki2.no-ip.org/ but I would like it to be at www.venomsource.com .
Thanks for all the help!
-
May 9th, 2006, 03:16 PM
#7
Thread Starter
Addicted Member
Re: html to php?
alright.. i got mysql working... is there a way to host a domain name off of my computer now?
-
May 9th, 2006, 10:26 PM
#8
Hyperactive Member
Re: html to php?
 Originally Posted by NoteMe
If you have apt-get on your linux box, then it should just be one line in a shell to set it up.
- ØØ -
Not everyone uses that distro 
How do you tell a .html file to load a .php file? Kinda like they go to my site and it redirects them to the news.php file... I can't figure out how to just get it to go to the news.php instead of index.html... so i want the .html to load the .php
Thanks,
Jizz
<meta http-equiv="Refresh" content="5;url=news.php">
5 = the amount of seconds.
news.php = file or website you can also do http://google.com etc
alright.. i got mysql working... is there a way to host a domain name off of my computer now?
No that is not posible.
-
May 9th, 2006, 10:48 PM
#9
Re: html to php?
 Originally Posted by jizzmasterflex
alright.. i got mysql working... is there a way to host a domain name off of my computer now?
You will need a domain name registered and pointing to your IP which should hopefully be static. You can also use a service such as dyndns.org if you have a dynamic IP. Most routers these days have support for those services.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|