send a file using php


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting send a file using php
# 1  
Old 05-09-2011
send a file using php

i need a php(or asp) script that can send the sentence "lights on" from my server to a wireless device with a certain ip address x.x.x.x .. thank you
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

UNIX C Send data to PHP

Helo, i try send data from Unix to PHP. What is the correctly way to do this ? i try: c char command ; sprintf(command , "php import.php %s",my_vars); system(command ); php $my_data = @ $argv; this work, but i am not sure that is the right way. an the special chargers are not in... (1 Reply)
Discussion started by: freaky4552
1 Replies

2. Linux

Unable to send email with sendmail from PHP 5.3 on CentOS VM

I have a longstanding issue on my CentOS 5.6 VM where I am unable to send email from my PHP application. This is the last bunch of lines from my /var/log/maillog file. Feb 14 10:29:16 dev53 sendmail: s1EATEEo004637: Authentication-Warning: www.craig.dev-crmpicco.lan: apache set sender to... (2 Replies)
Discussion started by: crmpicco
2 Replies

3. Shell Programming and Scripting

Bash script to send lines of file to new file based on Regex

I have a file that looks like this: cat includes CORP-CRASHTEST-BU e:\crashplan\ CORP-TEST /usr/openv/java /usr/openv/logs /usr/openv/man CORP-LABS_TEST /usr/openv/java /usr/openv/logs /usr/openv/man What I want to do is make three new files with just those selections. So the three... (4 Replies)
Discussion started by: newbie2010
4 Replies

4. Shell Programming and Scripting

Remove bad records from file and move them into a file then send those via email

Hi my requirement is that i want pull the bad records from input file and move those records in to a seperate file. that file has to be sent via email.. any suggentions please (1 Reply)
Discussion started by: sxk4999
1 Replies

5. Shell Programming and Scripting

PHP Mail Script Takes Hours to Send emails

guys, i have a php script that i wrote that takes hours to send emails to recipients. i can't post the content of this script in here because the script contains some very important confidential information. so my question is, why is it that when the php script runs, it runs successfully, but... (3 Replies)
Discussion started by: SkySmart
3 Replies

6. Programming

Help: Run Java Command Line, Send Result to PHP?

EDIT: Sorry for the post, my good friend Google helped me out after some good searching! (0 Replies)
Discussion started by: tguillea
0 Replies

7. Shell Programming and Scripting

Read the lines within file and send each line to different new file

I need help.....I have number of data files and I need to read the contains of each file which is three lines by awk commands or script, and send each line within the data file to different new file . That means I will have three files as a result, the first file will contains the first lines for... (4 Replies)
Discussion started by: aldreho
4 Replies

8. UNIX for Advanced & Expert Users

Converting .csv file into .xls file and send it to inbox

Hi All, I wrote a script to extract data from Oracle DB and place it in a text file , and I have coverted .txt file into comma seperated .csv file and I sent it to my mail box . I can get .xls file in my inbox.I am getting all data in same column and in different rows , without column... (1 Reply)
Discussion started by: krthkmuthu
1 Replies

9. Shell Programming and Scripting

capture output of file and send last string thereof to new file

Hello, If I run a program from within shell, the output is displayed in the command line terminal. Is there a way I can capture that output and choose only the very last string in it to send it to a new file? Thank you (6 Replies)
Discussion started by: Lorna
6 Replies

10. UNIX for Dummies Questions & Answers

How do I send a file as an attachment (gzip file) on a Unix system

Hi, How do I send a file as an attachment (gzip file) on a Unix system ? Using sendmail. Please help me. :confused: (3 Replies)
Discussion started by: lacca
3 Replies
Login or Register to Ask a Question
ASPD(8) 							    User Manual 							   ASPD(8)

NAME
aspd - Address Search Protocol Daemon SYNOPSIS
aspd [-r repetitions] [-i interface] [hostname] aspd -V in.aspd [-r repetitions] [hostname] in.aspd -V DESCRIPTION
Aspd is a daemon that waits for incoming address requests on asp's port. If aspd detects itself as being the searched host, it sends a reply to the client, allowing the retrieval of its IP address. It is possible to specify an alternate hostname on command line, instead of using the value returned from the gethostname(3) function. This is useful if your hostname is dynamically changed when the link goes up. If aspd is invoked as in.aspd it will work as a server: it makes its work and exit, instead of wait for new requests; this is useful if you want inetd(8) to automatically run the server when a request arrives. OPTIONS
-r repetitions Set the number of times to re-send the reply. Default is 5 times. -i interface Set the interface used to get the address to send to the client, for example ppp0. Note that this option can't be used if aspd is invoked by inetd. Note also that you have to kill aspd if the interface address changes. -V Show version information LOGGING
The peer IP address and the searched hostname are logged through the syslogd(8) system logger daemon, using the daemon facility and the notice level. Transmission errors use the warning level and are logged only if aspd was compiled with the debug support. FILES
/etc/services Used by aspd to find the asp protocol port number. BUGS
Maybe. AUTHOR
Stenio Brunetta <stenio@brunettaeperin.it> Comments and suggestions are welcome. SEE ALSO
asp(1), inetd(8), syslog(3), syslogd(8). Linux February 1997 ASPD(8)