Jump to content
Larry Ullman's Book Forums

Improve Security


Recommended Posts

I wish to ask the follwing quick question to have swift answers:

- preg_match function to allow number, uppercase, lowercase and non alphanumeric?

- where can I put the code to implement SSL for the registration page: such 'https//' .BASE_URL. 'register.php'?

 

 

Link to comment
Share on other sites

costa, I'm guessing English isn't your first language, but all the same, you might want to avoid saying things like the following:

... to have swift answers

 

Anyway:

 

#1) "Alphanumeric" means all letters and numbers (i.e., A-Z a-z 0-9), so "non-alphanumeric" means the exact opposite of "numbers and uppercase and lowercase letters". As such, your question seems to imply that you want a regex that matches everything. Is this really what you're asking?

 

#2) Any link that links to the registration page should be using the https protocol instead of the http protocol.

Link to comment
Share on other sites

 Share

×
×
  • Create New...