Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: diu - maaliskuu 02, 2005, 02:34:03 IP

Otsikko: connection.php
Kirjoitti: diu - maaliskuu 02, 2005, 02:34:03 IP
Hi!

I would like to create a connection.php in order to be able to insert an automatic post using the user ID... can anyone help me?

Thanks

diu
Otsikko: Re: connection.php
Kirjoitti: Oldiesmann - maaliskuu 02, 2005, 04:00:34 IP
Just include SSI.php in your script and you'll be connected to the database.
Otsikko: Re: connection.php
Kirjoitti: diu - maaliskuu 02, 2005, 04:10:22 IP
So i will be able to get id member and all the information... Great!!!!

Just another question... can i announce the automatic post? how i call the function? I would like to make something like these:

If if_member= X
     announcesendto(onemembregroup)

... :D :D :D

diu
Otsikko: Re: connection.php
Kirjoitti: Ben_S - maaliskuu 02, 2005, 04:50:49 IP
Yes, search, there is plenty of info on it.
Otsikko: Re: connection.php
Kirjoitti: diu - maaliskuu 03, 2005, 07:18:21 AP
I've been searching but still without results... keep searching ;)

diu
Otsikko: Re: connection.php
Kirjoitti: Ben_S - maaliskuu 03, 2005, 11:30:18 AP
Try something like restrict access