Development Tutorials
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsCommunityDevelopment Tutorials

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old August 5th, 2003, 10:26 AM
benos benos is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 233 benos User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Article Discussion: Setup Your Personal Reminder System Using PHP

If you have any questions or comments on this article then please post them here.

This forum post relates to this article

Reply With Quote
  #2  
Old August 6th, 2003, 08:07 AM
coolboy coolboy is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 1 coolboy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
cool idea ... i like it ...

i want to know how does one setup this system for multiple users ... i can do the form thing for my users and add another field to the user table for the reminder indentification but how do i send them to individual emails .. the current code sends to only one address ?

Reply With Quote
  #3  
Old August 6th, 2003, 09:51 AM
mayank mayank is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 3 mayank User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Interestingly, these very scripts can be modified just a little to be converted into a community feature for your website. You will just need to add another field to your Events List table which would indicate a user id corresponding to the details of the user in your original User Table. (which you say you have done) ...

Therefore now before mailing, you will need to look up the email of the user then use that as the destination address to send out Reminder Mails to. Also more the mailing code within the while loop and mail from their to the user directly ... this will allow you to send individual mails from the same script ...

I have a similar system setup, you are most welcome to use it, URL (requires registration) ...

Reply With Quote
  #4  
Old August 7th, 2003, 10:00 AM
mrl14 mrl14 is offline
1 Month Free Hosting!
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Posts: 15 mrl14 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I saw code similar to this before and I was wondering what it meant:

else
{
mysql_query( "DELETE FROM reminder_events WHERE reminder_id='".addslashes($_GET['reminder_id'])."'" );
// Let's go back to the Reminder List page
Header("Refresh: 1;url=reminder_list.php");
echo <<< _HTML_END_
Reminder Deleted, redirecting...
_HTML_END_;
}
?>

What does the stuff in BOLD mean?

Reply With Quote
  #5  
Old August 7th, 2003, 10:14 AM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to dhouston
It's what you call a HERE document. It means, basically, "start here (the line after the echo statement) and just print out verbatim everything you see until you run into this text again." I'm not sure why it's in use in this case, as a simple print statement would work fine. It's often used to print out large chunks of text in which you don't want to have to escape quotes, etc.

Reply With Quote
  #6  
Old August 7th, 2003, 10:16 AM
mayank mayank is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 3 mayank User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
yes ofcourse you can use simply ... echo("...") i just wanted to make the code uniform ...

Reply With Quote
  #7  
Old August 18th, 2003, 01:09 PM
ndns ndns is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 2 ndns User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
The tutorial looks great but I had a problem when I was creating the reminder_events table.
Quote:
CREATE TABLE reminder_events (
reminder_id bigint(20) unsigned NOT NULL auto_increment,
reminder_name varchar(255) NOT NULL default '',
reminder_desc text,
reminder_date varchar(8) unsigned NOT NULL default '0',
PRIMARY KEY (reminder_id),
KEY reminder_id (reminder_id)
) TYPE=MyISAM;

I ran the query from the article on the MySQL table and got an error back.
Quote:
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'unsigned NOT NULL default '0',
PRIMARY KEY ( reminder_id )

I am using phpMyAdmin. Any suggestions would be appreciated.

Thanks.

Reply With Quote
  #8  
Old August 18th, 2003, 01:14 PM
mayank mayank is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 3 mayank User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
hmm ... i wonder why I didn't look at it earlier ... try this:

PHP Code:
 CREATE TABLE reminder_events 
reminder_id bigint(20unsigned NOT NULL auto_increment
reminder_name varchar(255NOT NULL default ''
reminder_desc text
reminder_date varchar(8NOT NULL default '0',
PRIMARY KEY (reminder_id), 
KEY reminder_id (reminder_id
TYPE=MyISAM

Reply With Quote
  #9  
Old August 18th, 2003, 01:19 PM
ndns ndns is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 2 ndns User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Perfect! Thanks a lot.

Reply With Quote
  #10  
Old October 20th, 2003, 02:58 AM
mats bergman mats bergman is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 9 mats bergman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
remembering system (multiple users..?)

Hi,

Im a newbie in Php and wish to set up a system fore several users (multiple users...??). I wish to make a place for my family to remember all bithdays and so on espesially my....


I can se that this is mainly made for 1 person.......please help!

brother

Reply With Quote
  #11  
Old October 28th, 2003, 04:36 AM
wolandin wolandin is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 13 wolandin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Good article,
Thanks a lot.

Reply With Quote
  #12  
Old May 19th, 2004, 11:25 PM
mike212 mike212 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 1 mike212 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Specific Sending Time

I see that the emails can be sent on a specific date, but is there a way to send reminders at a specific date and time via php?

Do you know of any free or cheap php scripts that will do this?

Thanks.

Mike

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsCommunityDevelopment Tutorials > Article Discussion: Setup Your Personal Reminder System Using PHP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT