Geeklog
[ class tree: Geeklog ] [ index: Geeklog ] [ all elements ]

Procedural File: profiles.php

Source Location: /public_html/profiles.php



Page Details:



Includes:

require_once('lib-common.php') [line 39]
Geeklog common function library







contactemail [line 52]

string contactemail( int $uid, bool $cc, string $author, string $authoremail, string $subject, string $message)

Mails the contents of the contact form to that user



Tags:

return:  Meta redirect or HTML for the contact form


Parameters

int   $uid   User ID of person to send email to
bool   $cc   Whether to send a copy of the message to the author
string   $author   The name of the person sending the email
string   $authoremail   Email address of person sending the email
string   $subject   Subject of email
string   $message   Text of message to send
[ Top ]



contactform [line 175]

string contactform( int $uid, [bool $cc = false], [string $subject = ''], [string $message = ''])

Displays the contact form



Tags:

return:  HTML for the contact form


Parameters

int   $uid   User ID of article author
bool   $cc   Whether to send a copy of the message to the author
string   $subject   Subject of email
string   $message   Text of message to send
[ Top ]



mailstory [line 305]

string mailstory( string $sid, string $to, string $toemail, string $from, string $fromemail, string $shortmsg)

Email story to a friend



Tags:

return:  

Meta refresh

Modification History

Date Author Description ---- ------ ----------- 4/17/01 Tony Bibbs Code now allows anonymous users to send email and it allows user to input a message as well Thanks to Yngve Wassvik Bergheim for some of this code



Parameters

string   $sid   id of story to email
string   $to   name of person / friend to email
string   $toemail   friend's email address
string   $from   name of person sending the email
string   $fromemail   sender's email address
string   $shortmsg   short intro text to send with the story
[ Top ]



mailstoryform [line 432]

string mailstoryform( string $sid, [bool $cc = false], [string $to = ''], [string $toemail = ''], [string $from = ''], [string $fromemail = ''], [string $shortmsg = ''], [string $msg = 0])

Display form to email a story to someone.



Tags:

return:  HTML for email story form


Parameters

string   $sid   ID of article to email
bool   $cc   Whether to send a copy of the message to the author
string   $to   name of person / friend to email
string   $toemail   friend's email address
string   $from   name of person sending the email
string   $fromemail   sender's email address
string   $shortmsg   short intro text to send with the story
string   $msg   Error message code
[ Top ]



Documentation generated on Sun, 02 Oct 2016 07:53:37 +0000 by phpDocumentor 1.4.3