Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 11-29-2008, 06:23 PM   #1
Baseband Member
xxguit3rxx's Avatar
Join Date: Jan 2008
Posts: 29
Default Programming


I don't know if this is the right section for this but I am going to go ahead and say it..
I have been designing for a year and by now I have many website templates just lying around so I decided to take the time and teach myself html/css. So I came across webspell, a free Content Management System (CMS). I thought that integrating this would make updating my templates much easier. I looked around and could never find a good tutorial on actually how to do it except the tutorials on where to place the includes.

So I figured, to code a template around webspell, I would need to code with html/css, then just add the includes, but then once thats done, the PHP code is wide open in the source code, I dont know if thats bad, I was told that people hide it so their clients dont see it, it also makes the code look messy.

My question is, does anyone have any "good" tutorials on installing webspell? I would prefer direct help here though. And is there a way to hide the php includes from the viewers? I don't have much experience with PHP and I was told that to hide you need that.

Let me know,

xxguit3rxx is offline   Reply With Quote
Old 11-30-2008, 05:13 PM   #2
Fully Optimized
vampist's Avatar
Join Date: Oct 2008
Location: USA
Posts: 2,404
Default Re: Programming

A php include is like taking another file and literally putting it in another file.
There is no way that I know of to hide them nor do I think you should try to hide them.
Remember the user doesn't see the Php they see the html/javaScript/css.

The "hiding" of css you are talking about is putting it in a separate .css file.
This is not done to hide it, any user could go into the source get the link and type it in. This is done to
one: make your code look neater.
Two: have it easy on yourself, for multiple pages (only have to type it once).

Remember the PHP is never sent to the client it goes through the Php engine running on the server translated into plain html and THEN sent to the client.

Don't know anything about webspell sorry.
Hope some of this helped
vampist is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

All times are GMT -5. The time now is 09:43 AM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0