send a message

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
login
Forum Newbie
Posts: 5
Joined: Fri Jan 09, 2004 3:09 am

send a message

Post by login »

Help me !!!
how to send a message to many clients (attach address) in LAN network with many VLAN ?
thanks.
User avatar
AVATAr
Forum Regular
Posts: 524
Joined: Tue Jul 16, 2002 4:19 pm
Location: Uruguay -- Montevideo
Contact:

Post by AVATAr »

what?? message?? email???
login
Forum Newbie
Posts: 5
Joined: Fri Jan 09, 2004 3:09 am

send a message to many clients

Post by login »

Hi....
I'm coding a software in LAN network.
I want send a message to many clients. exsample as line command "net send ... " in Windows.
eg: i want to send a message: Have a new report !!! to 172.167.1.111, 172.167.1.101, 172.167.2.121,...

thanks you...
penguinboy
Forum Contributor
Posts: 171
Joined: Thu Nov 07, 2002 11:25 am

Post by penguinboy »

I don't believe that is possible in PHP.
Straterra
Forum Regular
Posts: 527
Joined: Mon Nov 24, 2003 8:46 am
Location: Indianapolis, Indiana
Contact:

Post by Straterra »

Sure it is, with databases and sockets
User avatar
AVATAr
Forum Regular
Posts: 524
Joined: Tue Jul 16, 2002 4:19 pm
Location: Uruguay -- Montevideo
Contact:

exec

Post by AVATAr »

you can allways use exec (http://www.php.net/exec)

i dont recomend it for security issues...
User avatar
lazy_yogi
Forum Contributor
Posts: 243
Joined: Fri Jan 24, 2003 3:27 am

Post by lazy_yogi »

I'd be interested how to do this. sockets are easy in php
Don't know how to set it up for htis situation tho
penguinboy
Forum Contributor
Posts: 171
Joined: Thu Nov 07, 2002 11:25 am

Post by penguinboy »

Straterra wrote:Sure it is, with databases and sockets
I know you can send info through sockets with php.
But how would you recieve the information on the remote machin?
login
Forum Newbie
Posts: 5
Joined: Fri Jan 09, 2004 3:09 am

question

Post by login »

i want to receive a message through a dialog like a dialog.
login
Forum Newbie
Posts: 5
Joined: Fri Jan 09, 2004 3:09 am

Post by login »

Can I to use exec in php ?
User avatar
AVATAr
Forum Regular
Posts: 524
Joined: Tue Jul 16, 2002 4:19 pm
Location: Uruguay -- Montevideo
Contact:

Post by AVATAr »

malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

Post by malcolmboston »

lol i like your style avatar :lol:

well if you want my opinion if i was going to do anything like this i would not use PHP, this is what things like C++ and Java are made for, how many commercial packages for what you want to do are made in PHP? ill give you a clue, not very many if at all, plus as people have pointed out tehre is a serious security risk that you could be taken on and especially on a network, security must be high

just my 2 cents anyway
User avatar
AVATAr
Forum Regular
Posts: 524
Joined: Tue Jul 16, 2002 4:19 pm
Location: Uruguay -- Montevideo
Contact:

Post by AVATAr »

malcolmboston, thanks, im trying to perfect it. ;)
Post Reply