Jump to content

Validating forms sent from the admin


leemason

Recommended Posts

ive been working on some modules for whmcs with admin pages.

 

so far its been nothing too vunerable and normal validation has been more than enough. but now im going to be working with file uploads and more central settings.

 

i have noticed in the admin area all forms get given a token value.

 

I assume this is for validation, but theres nothing in the docs about it and how to validate it.

 

it seems silly to create a full blown validation method as whmcs already has one.

 

does anyone know how to validate this token in forms from the admin area?

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.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated