Discussion » Help Needed

This is a read-only copy. The forum ran on iamcal.com from 2000 until its database was lost in 2016, and this topic was rebuilt from copies saved by the Internet Archive's Wayback Machine. Some replies may be missing.
Posted by jlittle, 17:30, 9th April 2003:
 
I'm making one of my first usefull php apps (normally im just a html monkey).

Basically, it's a modification of a php addressbook I found somewhere with some extra features.

here is what it currently does:

Can take the following fields: Name, Address, Phone Numbers (work, home, mobile), email, secondary email, birthday, and extra notes.

With that info, you can search though it, display all, and display a-z - you can see who has birthdays in a selected month.

I've also got a few php cron scripts that send out emails on someones birthdays, and email you a month in advance on birthdays for the upcoming month.

you can also save a contact as a vcard, and export all details as a CSV.

Now im stuck - What features would you like in an addressbook? The only other thing I can think of at the moment is to have a calender with the birthdays on it - but im not sure how i can make that one. Maybe a bulk emailer - im also working on a script that will email everyone with the details I have on record and ask them to send an email with an update - I could let them update it themselves, but there's a security risk that it's all done via ids, maybe i could make a public one that does it by id AND email address, as people are not gonna guess that.

Any thoughts?
Posted by cal, 17:55, 9th April 2003:
 
everyone loves PASSWORDS
Posted by Sul, 18:01, 9th April 2003:
 
and KITTENS
Posted by jeff, 18:27, 9th April 2003:
 
KITTENS!!! awww, little kittens *squealy girly noises*
Posted by Victor Menendez, 18:56, 9th April 2003:
 
and zero recoil plasma laser cannons!
Posted by chandler, 19:24, 9th April 2003:
 
zero recoil plasma laser cannons strapped to addorable kittlens would be the best
Posted by Victor Menendez, 19:27, 9th April 2003:
 
Ninja kittens?
Posted by jlittle, 21:29, 9th April 2003:
 
cal - dont really want to give people passwords, as it's only really me that the addressbook is for
Posted by jeff, 21:57, 9th April 2003:
 
fluffy kittens!!!!!!!!!!!!!!!!!!!!!!!!!!!
Posted by cal, 22:57, 9th April 2003:
 
james:

* generate a unique uid for each person that's nice and long

* send them a url with the uid in that lets them update their contact details

* add kittens
Posted by jlittle, 08:50, 10th April 2003:
 
Cheers cal - great idea - i ended up doing a muliplication of the id of a high number, so it's not easily worked out.

Oh, and i've added a kitten.
Posted by jlittle, 09:20, 10th April 2003:
 
Argh - does anyone know how I can get this page to only display the edit page if an ID is correct?

here's what I have now

Address book updated.\n";

}
else if($uid)
{
$result = mysql_query("SELECT * FROM $table WHERE uid=$uid",$db);
$myrow = mysql_fetch_array($result);
?>

If I have ?uid= (with no number there) - it displays correctly, however if I have ?uid=111111111111111111 - which is not a valid one, it still shows the form.

Any ideas?
Posted by Foghorn Leghorn, 09:23, 10th April 2003:
 
nope
Posted by cal, 09:23, 10th April 2003:
 
if (($uid / $bignum) = floor($uid / $bignum)){


i.e. check to see if the id is divisible by your big number
Posted by Grim..., 13:13, 10th April 2003:
 
Add a place where peolpe can chat!

Or use this one.

Or this one.