by dabempire | Feb 26, 2011 | Knowledgebase, Scripting (HTML, PHP, Perl/CGI)
Include a document inside another (relative path) (absolute path) (relative path) Execute a CGI script or command directly from a page Display the current date and time Display the last modified date of file
by dabempire | Feb 26, 2011 | Knowledgebase, Scripting (HTML, PHP, Perl/CGI)
Yes, PHP scripts do not have to reside in a particular directory and will run anywhere on your virtual server.
by dabempire | Feb 26, 2011 | Knowledgebase, Scripting (HTML, PHP, Perl/CGI)
If you have a web page created by someone else, you can edit the text easily. Here’s how: 1. Download your web page from your web directory to your computer. 2. The name of the main page should be “index.html” or “index.shtml”. Open this page in your favorite text editor. 3. At this point, it’s always a good idea to save a copy of your file under another name (like “index2.html”), so if you make a mistake and can’t figure out how to fix it, you’ll have a backup. 4. Look for the text you want to change. Go ahead and change it. 5. Save your changes. 6. To see your page before you publish it, fire up your web browser, and point it to the page you’re working on (for example, C:my_documentsmypage.html) 7. If you like how your page looks, upload it to your website. 8. To view your newly edited page on the web, go to your URL (ie; http://www.yourdomain.com), and refresh (reload) the page by pressing the “reload” button, or by pressing F5 on your...
by dabempire | Feb 26, 2011 | Knowledgebase, Scripting (HTML, PHP, Perl/CGI)
We DO NOT have Real Audio server software running on our servers. However, you can stream Real Media files by following these instructions: You will need to create a .ram file that calls your real audio/video file. The .ram file is a text file with an absolute URL. This URL will need to be: http://your_domain.com/filename.rm Typically you’ll create a realaudio file subdirectory under “public_html” or “www”, and put all your audiofiles there. E.g. “/public_html/music_files/” Then your .ram file, a.k.a., metafile, will contain an address with this format: http://your_domain.com/subdirectory/filename.rm The “subdirectory” is a subdirectory of your domain-www directory. So for example: http://your_domain.com/musicfiles/music.rm Notice: The above address goes in the .ram/metafile, not in your HTML code. Your HTML code calls the .ram/metafile. Then the .ram/metafile is used to call up the .rm/realmedia file. So for example, your HTML code would look something like...
by dabempire | Feb 26, 2011 | Knowledgebase, Scripting (HTML, PHP, Perl/CGI)
PHP is a powerful, server-side scripting language that can be used to extend the functionality of your pages in many ways. It is activated by naming the files that use it with the extension .php3, .phtml or .php We offer secure version of PHP that runs under the userid of the account holder. PHP is embedded within a page by enclosing commands within the start tag For more information on PHP, we recommend you visit the official PHP website...
by dabempire | Feb 26, 2011 | Knowledgebase, Scripting (HTML, PHP, Perl/CGI)
The valid file extensions for PHP scripts are listed below, one of these file extensions must be used for your Php scripts in order to run properly. .php .php3 .php4 .php5 .phtml