Jump to content

Recommended Posts

A CMS can be quite large as it can do a lot or a small amount of tasks. It depends on how detailed and large you are planning on making it.

Things to watch out for, security. This is always an issue. Just make sure you have good error handling and protect information very carefully. But it all boils down to how large it will turn out to be.

Link to comment
https://forums.phpfreaks.com/topic/114641-bespoke-cms/#findComment-589462
Share on other sites

1: Learn to sanitize input. Research mysql_real_escape_string and htmlentities.

 

2: Whenever you're using GET variables, strip tags and sanitize them just like any other input.

 

3: Make sure that once the project is live, turn off error reporting.

 

4: Make sure that your admin login IS NOT called something like admin.php or anything like that. Put it in a directory two folders down along the way. In each folders that have include files or anything else that you don't want somebody to peer into, place an index.php with a redirect to the homepage.

 

5: Keep your code simple. Simple code is more secure. Complex code leaves holes.

Link to comment
https://forums.phpfreaks.com/topic/114641-bespoke-cms/#findComment-589467
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.