| | |
need help in php
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Apr 2007
Posts: 3
Reputation:
Solved Threads: 0
<h3>In php how do you create accounts and let the user send messages to each other which cannot be viewed by other people .</code></h3>
<h2>The only thing i have come close to is by creating accounts by giving each one them an unique email id and let them send and recieve messages using smtp server.</h2>
Does php have anything better,or somebody can suggest something better.
<h2>The only thing i have come close to is by creating accounts by giving each one them an unique email id and let them send and recieve messages using smtp server.</h2>
Does php have anything better,or somebody can suggest something better.
•
•
Join Date: Mar 2004
Posts: 802
Reputation:
Solved Threads: 40
Set up your database with a User table and a Mail table.
When a user logs in, have it query the Mail table for any entries assigned to them.
I'd set up my tables somewhat like this.
When a user logs in, have it query the Mail table for any entries assigned to them.
I'd set up my tables somewhat like this.
PHP Syntax (Toggle Plain Text)
User { id -> int name - varchar[128] email - varchar[256] md5(password) } { id -> int from -> int (references a User.id) to -> int (references a User.id) date -> datetime read -> boolean replied -> boolean }
![]() |
Similar Threads
- learning php (PHP)
- PHP vs ASP... the big ShOwdOwN (IT Professionals' Lounge)
Other Threads in the PHP Forum
- Previous Thread: Replacing many newlines with 1 or 2 <br>'s
- Next Thread: unable to connect PHP with Mysql
Views: 1037 | Replies: 4
| Thread Tools | Search this Thread |
Tag cloud for PHP
.htaccess access ajax apache api array beginner binary broken cakephp checkbox class cms code cron curl database date directory display download dynamic ebooks echo email error file files folder form forms function functions google href htaccess html image include insert integration ip java javascript joomla jquery js limit link login loop mail mediawiki menu methods mlm mod_rewrite multiple mysql oop parse paypal pdf php problem query radio random recursion regex remote script search select server sessions sms soap source space speed sql stored structure subdomain syntax system table tutorial update updates upload url validation validator variable video web xml youtube






