PDA

View Full Version : Where can I find this?


eaudora
August 25th, 2008, 01:25 AM
I mean a form where you have to put on your FriendID and it will be then available in all codes?

- Thanks

SlickEddie
August 25th, 2008, 01:28 AM
not sure what you mean by "all codes"

eaudora
August 25th, 2008, 01:34 AM
The normal code is FRIEND ID HERE but it will be then 14234234 for example (;

Nora
August 25th, 2008, 01:35 AM
Make a php form for users to enter their friendid.
Then apply <? echo $friendid; ?> or whatever else you call the variable to where you want the friendid to show.

SlickEddie
August 25th, 2008, 01:43 AM
<? echo $friendid; ?> ... shorthand ... <?= $friendid ?> :)

i like to bust Nora's chops :)

eaudora
August 25th, 2008, 01:47 AM
Do you mean with this:
<?php
$friendid = $_POST['friendid'];
?>
<form action="#" method="post">
What's your friendID: <form name="friendid" id="friendid" type="text" style="width: 204px;">

<textarea>
<a href="http://messaging.myspace.com/index.cfm?fuseaction=invite.addfriend_verify&friendID=<? echo $friendid; ?>">
<img src="http://i338.photobucket.com/albums/n413/dirtydsgn/contact-buttons/glossyblock-add.png" alt="Add me" border="0">

<a href="http://mail.myspace.com/index.cfm?fuseaction=mail.message&friendID=<? echo $friendid; ?>">
<img src="http://i338.photobucket.com/albums/n413/dirtydsgn/contact-buttons/glossyblock-msg.png" alt="Add me" border="0">
</a>

<a href="http://messaging.myspace.com/index.cfm?fuseaction=block.blockUser&userID=<? echo $friendid; ?>">
<img src="http://i338.photobucket.com/albums/n413/dirtydsgn/contact-buttons/glossyblock-blck.png" alt="Add me" border="0">
</a>

<a href="http://comment.myspace.com/index.cfm?fuseaction=user.viewProfile_commentForm&friendID=<? echo $friendid; ?>">
<img src="<img src="http://i338.photobucket.com/albums/n413/dirtydsgn/contact-buttons/glossyblock-cmnt.png" alt="Add me" border="0">" alt="Comment me" border="0">
</a>
</textarea>

SlickEddie
August 25th, 2008, 01:49 AM
that'll work...

eaudora
August 25th, 2008, 01:53 AM
So, this is good? Because it's coded by myself :P

SlickEddie
August 25th, 2008, 01:56 AM
So, this is good? Because it's coded by myself :P

try it out...

eaudora
August 25th, 2008, 02:14 AM
Yes it's works :D http://www.dirtyrevolution.com/test.php

SlickEddie
August 25th, 2008, 02:16 AM
indeed it does.