Welcome to Discuss Everything Forums...

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.


 

Your Message

Click here to log in

What color is our footer?

 
 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Rate Thread

You may rate this thread from 1-star (Terrible) to 5-stars (Excellent) if you wish to do so.

Topic Review (Newest First)

  • 12-03-2008, 11:43 AM
    dhvrm
    If you want to process PHP code, you need a PHP server. If you want to execute htaccess directives, you need to run Apache.

    Google "WAMP server" and you will find many distributions of the appropriate software to run on your own PC.

    You can also use a free Web host, though I know of none that allow you to make htaccess file edits.

    http://www.dougv.com/blog/2007/03/12/good-free-web-hosting-companies/
  • 12-03-2008, 11:43 AM
    Joe
    WAMP is a fine server but there are smaller, easier to set up servers that you can use for testing purposes, and that will run from your flash drive.

    Here are links to a few:
    http://www.uniformserver.com/index.php
    http://www.usbwebserver.com/ (The site is in German but the program is in english)
    http://www.server2go-web.de/

    NOTE:
    When the server is running you should be able to point your browser to http://localhost , http://127.0.0.1 , or http://127.0.0.1:8080 (this for USBwebserver for sure)to get to your home page. Otherwise(if the address says something like "G:/Whatever") you are accessing the file directly and not through the server. So server-side scripts will not work.
  • 12-03-2008, 11:43 AM
    Joe
    WAMP is a fine server but there are smaller, easier to set up servers that you can use for testing purposes, and that will run from your flash drive.

    Here are links to a few:
    http://www.uniformserver.com/index.php
    http://www.usbwebserver.com/ (The site is in German but the program is in english)
    http://www.server2go-web.de/

    NOTE:
    When the server is running you should be able to point your browser to http://localhost , http://127.0.0.1 , or http://127.0.0.1:8080 (this for USBwebserver for sure)to get to your home page. Otherwise(if the address says something like "G:/Whatever") you are accessing the file directly and not through the server. So server-side scripts will not work.
  • 12-03-2008, 11:42 AM
    steven t

    HTML to PHP offline? New to website designing, need to convert to php to use codes.?

    I'm creating a website with html.

    Right now, I have all my CSS and my HTML stuff saved on my usb:
    G:/

    G:/Website/tutorial/htdocs/index.html
    is my homepage.

    Do I need to get a host first and do everything to convert to php then? or is there a way I can actually do all this offline?
    I've also used a program to convert my index.html file to index.php and I've created a .htaccess with

    DirectoryIndex index.php index.html index.htm
    AddType application/x-httpd-php .html .htm .php

    in it.

    I'm completely confused about this stuff and can someone explain to me how I can change it to php? I want to take advantage of some codes..

    Thanks.

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •