|
|
 |
Frequently Asked Questions |
|
 |
FAQs Home :: Publishing Your Website
- How do I publish my website using Frontpage?
- What do I need to setup a WAP site? How do I use PHP to create a WAP page?
- How do I publish my website using Frontpage?
In order to publish your site using Frontpage you must first enable Frontpage extension for your account, please login to WebAdmin and click on Frontpage extensions to install it.
Next, we will show you how to publish your site using Frontpage 2002.
1. In FrontPage 2002, open the web you want to publish by selecting File > Open Web from the menu.
2. Next, highlight the top (or parent) folder of your site and select File > Publish Web from the menu.
This command displays the Publish Destination window. Type the full path of the destination server-based web e.g: http://yourdomain.com then click OK
3. This will open the Login window. Insert your user name and password.
4. A successful connection to the server will then open the Publish Web. From this window you have a few options for publishing your files:
- Drag and drop selected files individually
- Click the Publish button to publish all new files automatically (designated with a check mark)
- To prevent FrontPage from automatically publishing a checked file, right-click on the file and choose Don't Publish from the menu.
Note: Your home page file must be named one of the following: index.html, index.htm, index.php, index.cgi, default.html, default.htm
Caution: Saving a file you are working on while connected (logged in) to your site in FrontPage will automatically publish the file to the server. This is a nice shortcut to publishing single pages, however, be aware of this when working on files while connected.
And if you are using Frontpage to publish your site, please do not attempt to upload via FTP. This method will most likely corrupt the Extensions, which will then have to be uninstalled and re-installed
- What do I need to setup a WAP site? How do I use PHP to create a WAP page?
You will need create a .htaccess file with the following inside and place it into the directory where you store your wap pages
DirectoryIndex index.wml
addtype text/vnd.wap.wml wml
addtype application/vnd.wap.wmlc wmlc
addtype text/vnd.wap.wmlscript wmls
addtype application/vnd.wap.wmlscriptc wmlsc
addtype image/vnd.wap.wbmp wbmp
In order to use PHP with WAP, you will need to print out a content type header of "text/vnd.wap.wml". You can use header function to do so, for example:
\<\?
header("Content-type: text/vnd.wap.wml");
echo "\<\?xml version=\"1.0\"?>\n";
echo "\<\!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"" .
" \"http://www.wapforum.org/DTD/wml_1.1.xml\">\n";
?>
Place the above code at the top of your PHP script and you're all set.
Browse Categories: , , , , , , , , , , |
|
|
|
|
|
|
| |
|
|