View previous topic :: View next topic |
Author |
Message |
wilcox -
Joined: 14 Jun 2004 Posts: 4 Location: NS, Canada
|
Posted: Tue Jun 15, 2004 12:10 am Post subject: Which to use HTML or PHP? |
|
|
Hey I just signed up for an account, I'm using XP Pro, NIS Firewall, no router.
I'm not sure what type of format to use for my site. It's just a personal website. I have some skills with html but none with PHP. Does anyone know what would be good for me/easy to use? If so do you have any websites to help.
Thanks. |
|
Back to top |
|
 |
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Tue Jun 15, 2004 12:19 am Post subject: |
|
|
HTML and PHP are two different styles of scripting. HTML is static, while PHP is dynamic. If you use HTML, you can make a normal website with tables, colors, et cetera. With PHP, you can make a lot more dynamic content, however you need to learn a whole new language. It really depends what you want on your site.
And besides, www.hotscripts.com offers free scripts you can use so you don't have to program them yourself. _________________ Bienvenidos! |
|
Back to top |
 |
 |
wilcox -
Joined: 14 Jun 2004 Posts: 4 Location: NS, Canada
|
Posted: Tue Jun 15, 2004 12:36 am Post subject: |
|
|
Thanks for the site!
Say if I did change the style to PHP is there a way to change it back?
Adding PHP Support
On Windows:
Download PHP for Windows from http://www.php.net/downloads.php and install it. We recommend using the Windows installer version of PHP.
If you are asked during the installation of PHP about the type of your web server, choose None (or other web server), I will configure the web server manually and proceed.
Open Abyss Web Server's console, select Server Configuration then press Advanced... and select CGI Parameters
Set CGI Processing Enabled to Yes.
Press Add... in the CGI Interpreters table.
In the Interpreter Path field, enter the path of the php.exe executable file. If you have installed PHP in C:\Program Files\PHP, enter C:\Program Files\PHP\php.exe.
Enter php in the Associated extensions, set Automatic Update of the CGI Paths (if available) to Yes, and press OK.
Press Add... in the User CGI Environment Variables table.
Enter REDIRECT_STATUS (with no leading or trailing spaces) in the Name field and 200 in the Value field and press OK.
If you aren't using Abyss Web Server X1 version 1.2 or later, press Add... in the CGI Paths table, enter / in the CGI Path field and press OK.
Press OK in the CGI Parameters dialog.
Select Server Parameters.
Press Add... in the Index Files table.
Enter index.php in the Index file field and press OK.
Press Restart to restart the server. |
|
Back to top |
|
 |
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Tue Jun 15, 2004 12:43 am Post subject: |
|
|
You don't 'change the style' - you either create pages in PHP, or pages in HTML. A HTML page isn't a PHP page, although you can embed some PHP in it. Adding PHP support to Abyss doesn't mean you can't use plain HTML as well... |
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Tue Jun 15, 2004 1:16 am Post subject: |
|
|
If you want to learn PHP , you need to also know html to get more
fun out of it. PHP is not that hard to learn because I know a little.
First , learn some Basic HTML
(You can learn it in a few hrs if your willing to)
Second , Learn PHP scripting
(This took me about 1 month to learn) |
|
Back to top |
|
 |
Axis -
Joined: 29 Sep 2003 Posts: 336
|
Posted: Tue Jun 15, 2004 4:07 am Post subject: |
|
|
...and also, you can make html dynamic with cgi scripts and ssi if you choose that route...
Regards,
Axis |
|
Back to top |
|
 |
wilcox -
Joined: 14 Jun 2004 Posts: 4 Location: NS, Canada
|
|
Back to top |
|
 |
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Tue Jun 15, 2004 9:28 pm Post subject: |
|
|
Just many different links to other websites. Get some good content on there, and then I can rate it. Otherwise, good luck. _________________ Bienvenidos! |
|
Back to top |
 |
 |
wilcox -
Joined: 14 Jun 2004 Posts: 4 Location: NS, Canada
|
Posted: Tue Jun 15, 2004 11:30 pm Post subject: |
|
|
I just started it yesterday, I'll put content in soon.
Update: Content added. _________________ Website: http://wilcox.no-ip.org |
|
Back to top |
|
 |
|