Click to See Complete Forum and Search --> : How to do it?
sharkey
05-30-2004, 11:44 AM
Hey guys i have a question when lots of yous create websites which go on to using ssi includes or php includes how do you do it. I dont mean how do you use includes becuase i know. Like do you create the layout then kind of slice it up into certain includes. Im finding this quite difficult becuase i make a folder on my comp with the html docs, stylesheet, images etc then have to make a new 1 for the php version of the site once it has been sliced into includes. My problems are that once i have created the php version obviously i cant view it offline becuase it needs to be parsed by the server what do you do if you need to make minor changes upload it to the server everytime to see changes. I have the newest version of dreamweaver does using this not WYSIWYG view but code view help any.
Hope you guys can make out my rant clear enough
Vladdy
05-30-2004, 11:49 AM
Install a server on your computer. Windows comes pretty much preloaded with it - just a matter of enabling. Then install PHP and you are off and running
Daniel T
05-30-2004, 02:09 PM
Apache Web Server (http://httpd.apache.org/download.cgi)
Latest stable version of the PHP binaries (http://ca.php.net/get/php-4.3.6-Win32.zip/from/a/mirror)
Latest version of MySQL (http://dev.mysql.com/get/Downloads/MySQL-4.0/mysql-4.0.20a-win.zip/from/pick#mirrors) (if you want to do database work. optional)
sharkey
05-30-2004, 04:15 PM
Kool thanks again guys. One more question im on a dial-up connection just now:( would this mean that my site is only up when im connected to the internet.
Thanks again
Daniel T
05-30-2004, 04:20 PM
Originally posted by sharkey
Kool thanks again guys. One more question im on a dial-up connection just now:( would this mean that my site is only up when im connected to the internet.
Thanks again
Yes, and since you are on a dial-up connection, you will need to get an account here (http://www.no-ip.com/).
Paul Jr
05-30-2004, 04:21 PM
Originally posted by sharkey
Kool thanks again guys. One more question im on a dial-up connection just now:( would this mean that my site is only up when im connected to the internet.
Thanks again
As Dan said, when you aren't online, other people can't view your site, but you can still run PHP scripts and access the documents and such.
sharkey
05-30-2004, 04:34 PM
Ahh so even if i wasnt using it to host my site i could use it to test the php scripts and files.
Cheers again mates.
Paul Jr
05-30-2004, 04:50 PM
Originally posted by sharkey
Ahh so even if i wasnt using it to host my site i could use it to test the php scripts and files.
Exactly! I have Apache/PHP/MySQL running on my 'puter so I can learn PHP/MySQL and test stuff and all that good stuff; I don't actually host a site off my 'puter.
sharkey
05-30-2004, 04:58 PM
Sounds good Paul do you do alot of PHP MYSQL work i really have to get of my lazy *** and start learning. I have just caught up on standards complaint design now PHP time.
Thanks again
Paul Jr
05-30-2004, 05:10 PM
Originally posted by sharkey
Sounds good Paul do you do alot of PHP MYSQL work i really have to get of my lazy *** and start learning. I have just caught up on standards complaint design now PHP time.
Well, I wouldn't say I do alot of PHP and MySQL work, but I try. I bookmarked a ton of PHP/MySQL sites a few days ago, and now I'm starting in on reading them. :)
sharkey
05-30-2004, 05:16 PM
Kool im away to do some bookmarking soon for PHP sites but first i have to find a suitable search engine:D
Paul Jr
05-30-2004, 05:31 PM
Originally posted by sharkey
Kool im away to do some bookmarking soon for PHP sites but first i have to find a suitable search engine:D
Lol. If you save the file that I'm going to attach as a .html file, you can then import it into your bookmarks folder if you use Firefox/Firebird/Mozilla. I'm not sure about Netscape or Opera, though. But definitely not IE, as IE doesn't allow you to import bookmarks (as far as I've seen).
sharkey
05-31-2004, 06:41 AM
Thanks Paul you have saved me alot of time and hassle yeah i use firefox.
Thanks again mate
Paul Jr
05-31-2004, 10:54 PM
No problem, glad I could help! :)