Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Using the unlink()


  • Please log in to reply
29 replies to this topic

#25 Xhris

Xhris

    CC Resident

  • Just Joined
  • PipPipPipPip
  • 57 posts

Posted 06 December 2008 - 09:25 PM

Yes al of it. I mean I don't know understand how you decide what to put where so that the script knows how to check the directory or the file extensions. So yes all of it.
  • 0

#26 John

John

    CC Mentor

  • Moderator
  • 4450 posts
  • Location:New York, NY

Posted 06 December 2008 - 09:55 PM

Start off by reading this: PHP: Arrays - Manual
If you don't know what an array is, your abilities are severely limited. Once you can place valid directories in an array, we can then move on from there. Try inserting your valid directories into an array and post what you came up with.

Edited by John, 06 December 2008 - 11:30 PM.

  • 0

#27 Xhris

Xhris

    CC Resident

  • Just Joined
  • PipPipPipPip
  • 57 posts

Posted 07 December 2008 - 07:56 AM

OK John. I will read his page and study it and give it a try. Thanks for the link.
  • 0

#28 shibbythestoner

shibbythestoner

    CC Addict

  • Just Joined
  • PipPipPipPipPip
  • 109 posts

Posted 13 December 2008 - 04:00 PM

Sorry if I've misread something here, but I strongly suggest using POST as opposed to GET for security, and a password field in your delete form.
  • 0
Posted Image

#29 John

John

    CC Mentor

  • Moderator
  • 4450 posts
  • Location:New York, NY

Posted 14 December 2008 - 12:39 PM

POST really doesn't offer anything over GET in terms of security.
  • 0

#30 Xav

Xav

    CC Mentor

  • VIP Member
  • PipPipPipPipPipPipPipPip
  • 8356 posts

Posted 14 December 2008 - 01:02 PM

The data doesn't appear in the URL.
  • 0
If you enjoy reading this discussion and are thinking about commenting, why not click here to register and start participating in under a minute?




Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download