0

I am very new to PHP and found a tutorial on how to build a Twitter-like microblogging site from scratch. It works great, except I have no clue how to integrate a place where other uses can sign up and use the site? It seems like it is only set up for one user.

Tutorial I used

Any suggestions?

NewtoPHP
  • 11
  • 2
  • 2
    Please be aware: even though that came from IBM's site, and they're pretty good about things, they've let a *worst practice* sneak in. They're using the *to-be-deprecated* `mysql_` family of functions. You should take this opportunity to [switch to PDO](http://php.net/book.pdo) so you can leverage [prepared statements with parameterized queries](http://en.wikipedia.org/wiki/Prepared_statement). If nothing else, it will help you become more familiar with PHP. – Charles Dec 08 '12 at 05:39
  • +1 yep, seems like the sign up part is missing – Tomas Ramirez Sarduy Dec 08 '12 at 05:43

1 Answers1

0

So continue reading and you will be welcome when you have a more specific question:

This is a good tutorial using PHP5 and PDO (like @Charles recommend). Avoid reading some old tutorials (IBM is a good source, but the tutorial is 3,8 years old).

Tomas Ramirez Sarduy
  • 17,294
  • 8
  • 69
  • 85