Hi,

Sorry to ask this question, may be some kind of stupid but I just learning web design for my website only.
Can anyone recommend any link or web address where I can learn how to build the register page, log in page and link to us page on my website, please? Or if you can tell me, how to build, it would be really appreciated.
Thank you very much.

Rose

Dani AI

Generated

A concise, practical route for : pick one server language (PHP is a common, beginner-friendly choice on hosts like DreamHost; was right to say only one is needed). For a registration/login system the priorities are correctness and security, not fancy styling. The minimal workflow is: create a user table in a database; accept and validate inputs server-side; store only salted hashes for passwords; verify accounts with email tokens; protect against SQL injection and session attacks; and require HTTPS.

Core technical checks and recommendations: use prepared statements (PDO) for all database queries, and use PHP’s built-in password hashing API rather than rolling custom hashes. Follow session best practices (start sessions securely and regenerate the session id at login). For an authoritative security checklist consult OWASP’s authentication and session cheat sheets and the PHP manual pages linked below.

Example (PHP): use the password functions for storing and checking passwords.

$hash = password_hash($plaintextPassword, PASSWORD_DEFAULT);
if (password_verify($inputPassword, $hash)) {
    // authenticated
}

A simple "Link to us" snippet that can be provided to other sites (replace example URLs and images with real ones):

<a href="https://example.com/">
  <img src="https://example.com/badge.png" alt="Link to us">
</a>

Troubleshooting and deployment notes: test the full flow locally (registration → email → activation → login), log errors to a file and disable detailed error display in production, enforce HTTPS and cookie flags (Secure, HttpOnly), and add rate-limiting or temporary account lockouts to defeat brute-force attempts. ’s suggestion to use a template is useful for layout; combine a template with secure server-side code rather than relying on client-side form tricks. Relevant references: PHP password_hash manual, PDO prepared statements, OWASP Authentication Cheat Sheet.

Recommended Answers

All 4 Replies

Hi,

Sorry to ask this question, may be some kind of stupid but I just learning web design for my website only.

Sorry to have to answer this question :D Gee I'm funny -- NOT!

Can anyone recommend any link or web address where I can learn how to build the register page, log in page and link to us page on my website, please? Or if you can tell me, how to build, it would be really appreciated.

It depends on what scripting possibilities you have available. Can your target system handle Perl, PHP, or ASP? If not, you're SOL. If so, GR8!

Hi WaltP,

You are so funny. :-) Thank you very much.
My system can handle Perl and PHP.
So, I have to learn Perl and PHP script, right?
Are they the same? Which one is better?
(My web hosting service is DreamHost.)
Thank you once again, and wishes you have a great day.

Rose

Hi WaltP,

You are so funny. :-)

:o

So, I have to learn Perl and PHP script, right?

No, just one.

Are they the same? Which one is better?

It would be best for you do make that determination. Only you can tell what you'd be comfortable with. I'm not an expert in either, but I personally found PHP easier. Perl I believe is more powerful.

Do you know any other languages? If you know C++, PHP might be the way to go. Otherwise, take a couple days to look into both and see which one makes sense to you.

Maybe other will jump in with their recommendations.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.