Question:
How To Create A CMS Based Website Offline.?
2009-11-21 13:47:28 UTC
Hey a few question for us webtechs, I am currently taking down my current project on helping people make websites as there is way too many websites currently doing that, and the competition is stiff, i dont want to purchase a domain because my internet is always offline and i want to work on my website anytime and anywhere.

Besides all the whys and whos, here is my question...

I need to know how to use a CMS offline, like wordpress, joomla, or my favorite "Php fusion" (personal reasons)
--I know making a website without knowing this and using that website to teach others is stupid if i didnt know this, but i have horrible memory, i have done this before but forgot--

I also need to know how to put that website online and change all the links without spending a hour manually doing so. (wordpress only)

Ok, one more question, i want to lock my videos that i put on a public server that cannot legally be taken down, so that if i choose to make a website for videos, people would have to come to my site to see them, i know there is cold fusion, but if i put the videos on a public server and lock the videos from other users of that website, then how can i block everyone but people that come to my site.

If i host the vids i can & will be taken down and fined as it is against the law, but if it is a public server then the owner of that server has no fine and i have no fine. Lol

Please help asap.

Thank you.
Three answers:
2009-11-22 04:24:12 UTC
PHP:



* Run PHP on your own computer: The easiest way to do this is to install a complete package like XAMPP. This contains the Apache Web server, along with PHP and the MySQL database engine, in one easy-to-install package. XAMPP is available for Windows, Mac OS X, and Linux. (A popular alternative on Windows is WampServer.)

* Run your PHP scripts on your Web host: If you already have a Web hosting account that supports PHP then you can upload your PHP scripts via FTP and run them on the Web server. The advantage of this approach is that you don't have to install anything; the disadvantage is that it's slower to write and test your scripts.



Copy and paste the script code listed above into a new document in your text editor, then save the file as hello.php in the document root folder — that is, the top level of your website — on your hard drive. If you're not sure where your document root folder is then consult your Web server manual. Common locations include:



* XAMPP on Windows: C:/Program Files/xampp/htdocs/

* XAMPP on Linux: /opt/lampp/htdocs/

* XAMPP on Mac OS X: /Applications/XAMPP/htdocs/



If you want to run the script on your Web hosting account rather than your own computer then you'll need to upload the script using FTP instead.



Free online PHP tester: http://forumferney.free.fr/stester.html



PHP Tutorial - Databases in PHP, An Introduction: http://www.htmlgoodies.com/beyond/php/article.php/3511346

Tutorial: Installing Apache and PHP Under Win32: http://www.htmlgoodies.com/beyond/php/article.php/3473471



PHP Manual - http://www.php.net/manual/en/

A simple tutorial - http://us.php.net/tut.php

Test scripts: http://www.karakas-online.de/EN-Book/test-scripts.html

Simple Test for PHP: http://www.lastcraft.com/simple_test.php

----------------------

PHP For Loops:



PHP for loops are handy for running a block of code a set number of

times. Learn how to use for loops in this beginner tutorial.



Read the full article here:



http://www.elated.com/articles/php-for-loops/
2009-11-21 14:05:57 UTC
As far as developing offline do you mean on your own machine? XAMPP or LAMP. Works fine for any of the CMSs you mention. However, you will have to migrate to your real server, which is more effort than placing your content on the production site in the firstplace. Any well designed CMS will move around without you having to redo links unless you take special pains to make absolute links which is an incorrect technique.



I do not understand your question that begins "Ok, one more question, i want to lock my videos that i put on a public server". It mixes concepts and makes statements an assumptions that to not fir together. If you put ANYTHING on your own website, the only way anybody can get to it is through your web pages.



Any streaming technique locks folks to your website.
2009-11-21 13:58:53 UTC
I started using PHP Fusion (and later switched to WordPress) for exactly the same reason - a repository of data for me to use in answering questions here.



Just install xampp on your computer, install your CMS and go to localhost to see your site. http://www.apachefriends.org/en/index.html


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...