Jump to content

Recommended Posts

Hey. I'm going to be starting to host my site within the next month and will be posting it for critique and beta test and was taking a look at the beta test section of the forum and notice a lot of issues that arise that the posters weren't aware of. Now I'm curious to know if I'll be having the same thing happen with mine and want to do what I can to avoid any major issues.  I was wondering if people could post common issues that come up with websites that you may not notice and ways to avoid them.

My website uses a lot of includes and arrays that gather filenames from text files. That alone sounds pretty unsecure to me so I wanted to see if there's anyway to make them less susceptible to threats and to check for any other problems I may have missed.

Thanks in advance for anyone's expertice.

Link to comment
https://forums.phpfreaks.com/topic/114309-common-mistakes/
Share on other sites

There's really no way we can give you any kind of relevant advice without details (link to your site, code, etc...).  There are lots of different mistakes people make; you can fill a whole book up with them.  For example, for all I know, you could be using superglobals.  I'd tell you not to use them.  Or you could tell me that you already know not to use them.  The point is, we're not psychic.  That's the whole point of beta testing: to find the relevant mistakes/issues. 

Link to comment
https://forums.phpfreaks.com/topic/114309-common-mistakes/#findComment-587918
Share on other sites

http://www.google.com/search?hl=en&q=php+common+security+mistakes&btnG=Google+Search

 

 

In all seriousness though, the main problem I see is when people trust users.  (Yeah, "trust users," not "trust users too much.")

 

Never take anything as safe from a user.

 

Besides that, there's really no catch-all advice.

Link to comment
https://forums.phpfreaks.com/topic/114309-common-mistakes/#findComment-588772
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.