Jump to content

fopen() PHP problems when a file does not exist


Recommended Posts

Thanks for the tips. I think I solved my other problems with that script. If anyone else wants to try to hack it, be my guest...I'd like to know if I missed anything. What's great is that it is such a simple script, there's only one query string, so it was pretty easy to secure (or so I think).

Link to comment
Share on other sites

Many thanks for the links johnnyv, I'll study them :)

 

No problem, personally i don't have to worry a great deal about security as my php code is for internal intranet applications. the main thing i have to worry about is checking the input values are valid values and that the user has come from the correct page.

 

It's amazing how much of the code you write has to do with checking user input is valid (well if you are dealing with a database application anyway).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

Loading...
 Share

×
×
  • Create New...