noj75
08-12-2008, 07:56 AM
Hi guys,
I was just wondering if any of you coders out there would know how to accomplich this:
If I have an external page and want a member to send a different member a PM I can achieve it like this using chdir() :
// I have done some query here.
$id = $row['userid'];
$name = $row['username'];
echo '<a href="../forums/private.php?do=newpm&u='.$id.'">Send '. $name.' A PM</a>';
Thats all fine and dandy. However, if I wanted to send a PM to the user that will autofill the PM text area in private.php from a text area in my external page how would I do it? Is this possible to achive without modifying vB. i.e is there a way of using $_POST and the url to achieve this?
Any ideas would be very much appreciated.
Kind regards
I was just wondering if any of you coders out there would know how to accomplich this:
If I have an external page and want a member to send a different member a PM I can achieve it like this using chdir() :
// I have done some query here.
$id = $row['userid'];
$name = $row['username'];
echo '<a href="../forums/private.php?do=newpm&u='.$id.'">Send '. $name.' A PM</a>';
Thats all fine and dandy. However, if I wanted to send a PM to the user that will autofill the PM text area in private.php from a text area in my external page how would I do it? Is this possible to achive without modifying vB. i.e is there a way of using $_POST and the url to achieve this?
Any ideas would be very much appreciated.
Kind regards