How do I send ICQ messages to myself in PHP?
Maybe not a PHP question, but hopefully someone's already done some cool snip to help me.
Send ICQ messages with PHP
ICQ is great, you can create form as:
<form action="http://wwp.icq.com//scripts/WWPMsg.dll" method="post">
<input type="hidden" name="subject" value="From Your Web Page"><input type="hidden"
name="to" value="1474758"><div align="center"><center><table border="2" cellpadding="1"
cellspacing="1">
<tr>
<td><table cellpadding="0" cellspacing="0" border="0" bgcolor="silver" <tr>
<tr>
<td align="center" nowrap colspan="2" bgcolor="#0000a0"><font size="-1" face="arial"
color="white"><b>The ICQ Online-Message Panel</b></font></td>
</tr>
<tr>
<td align="center"><font size="-2" face="ms sans serif" color="black">Sender Name:</font><br>
<input type="text" name="from" value size="15" maxlength="40" onfocus="this.select()"></td>
<td align="center"><font size="-2" face="ms sans serif" color="black">Sender EMail:</font><br>
<input type="text" name="fromemail" value size="15" maxlength="40" onfocus="this.select()">
</td>
</tr>
<tr>
<td align="center" colspan="2"><font size="-2" face="ms sans serif" color="black">Message:</font><br>
<textarea name="body" rows="3" cols="30" wrap="Virtual"></textarea><br>
</td>
</tr>
<tr>
<td colspan="2" align="center"><input type="submit" name="Send" value="Send Message">
<input type="reset" value="Clear"> </td>
</tr>
<tr>
<td align="center" nowrap colspan="2"><font size="-2" face="ms sans serif"> <br>
<a href="http://public.icq.com/public/panels/messagepanel/links/wwp.html?1474758">My
Personal Communication Center</a> <a
href="http://public.icq.com/public/panels/messagepanel/links/icq.html">What is ICQ,
Download</a> <br>
<a href="http://public.icq.com/public/panels/messagepanel/links/messagepanel.html">Create
Your Own ICQ Message Panel</a></font></td>
</tr>
</table>
</td>
</tr>
</table>
</center></div>
</form>
you have some 'dll' as it:
<img src="http://wwp.icq.com/scripts/online.dll?icq=xxxxx&img=5">
this picture show you if a ICQ user is online
- replace xxxxxxxx by the IUN
- replace img=5 by index image style
If you find other on-line dll, please give me
hmm.. quite easy...
just send am mail to 1234567@pager.icq.com
(1234567 is your icq#)
otherwise you could try to fopen the url of the icq webmessage page with an attached querystring..
but i think the email version is easiest..
Sure
but you need Email client
open URL work too
it the same thing
don't forget mail() function...
bye
inK
Yes, but some free hoster don't give access to mail() function (free.fr, and yes i'm french)
I think it didn't use anything of PHP
Just give an interface to the users!
i'm agree
it's just a solution for pete !
i want to recive and send message form web.
who have this script ?
www.zend.com -> search for SMS
i got it, but not here so wait
infect my script is only a HTML Form which use a mirabilis online DLL
Iy U cannot wait, go to mirabilis web site and look for send ICQ message via WWW
I took it there
Hi!
You know how to redirect back to my site after submit, tried to put javascript in the querystring but that does not work the way i doit, you know how or found ot a better way?
-- this metod in the querystring does not work? ---->
<form action="http://wwp.icq.com//scripts/WWPMsg.dll?javascript:history.back()" method=post>
<input type=hidden name="subject" value="From Your Web Page">
<input type=hidden name="to" value="52223314">
Sender name<br><input type=text name="from" value="" maxlength=40 onfocus="this.select()"><br><br>
Sender email<br><input type=text name="fromemail" value="" maxlength=40 onfocus="this.select()"><br><br>
Message<br><textarea name="body" rows=3 wrap=virtual></textarea><br><br>
<input type=submit name="Send" value="Send Message to ICQ">
</form>
<img src="http://wwp.icq.com/scripts/online.dll?icq=52223314&img=5">
no sorry, i try to do this too
but really idea work
Have u found now how to do ?
Nico
i lost the script
Look to the code library:
http://www.phpbuilder.com/snippet/detail.php?type=snippet&id=214
There's an ICQ Pager object, you can track online stsus of an ICQ user, send a message etc...
I only get this stuff in the code
ICQ³Ñ¹ö", "º¸³»´ÂÀÌ", "º¸³»´ÂÀ̸ÞÀÏÁÖ¼Ò", "º¸³¾³»¿ë
I hope it's not because of my browserS.
just click on download (Test) to view the code and delete all unreadable comments in the code. It works, i've checked it. Or follow this link:
http://www.phpbuilder.com/snippet/download.php?type=snippet&id=295
well the form with the action u gave is not working . I got "invalid script" error . It's working for you?
Well, I asked the Icq staff and they told me that there is not possible to redirect back or avoid the redirection to the icq page, hopefull in the future maybe...but I don't think so they just develop more crap stuff for the application.