Welcome Guest ( Log In | Register )

> PHP Socket functions
VesQ
post Jul 3 2008, 11:10 AM
Post #1


Newbie
*

Group: Members
Posts: 8
Joined: 3-July 08
Member No.: 547



Is it possible to use PHP socket functions to receive AMIP information?
I am able to connect to the AMIP server through PHP but I don't know what I need to send through sockets to get answers from AMIP server.

P.S.
My english grammar may not be perfect, but I hope you can still understand what I'm looking for smile.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
blert
post Jul 6 2008, 03:54 AM
Post #2


Newbie
*

Group: Members
Posts: 8
Joined: 27-June 08
Member No.: 545



Out of curiosity...

Do you have access to the directory on the server containing your php files via a share, or do you have to FTP (or whatever) to it?

If you have direct access to it then you can easily use the text file integration by just saving "whatever.PHP" to the appropriate directory and set it to output something like this example...
CODE

<?php
$npName = "%name"
?>

You will get a PHP file that looks like this...
CODE

<?php
$npName = "Deftones - Digital Bath"
?>

You can then use the variable $npName anywhere you like.

If you have to log in (FTP, whatever) to make changes then you can still do the same thing but you will need something that can automatically upload to the server at an interval of your choice.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
VesQ
post Jul 7 2008, 07:28 PM
Post #3


Newbie
*

Group: Members
Posts: 8
Joined: 3-July 08
Member No.: 547



QUOTE(blert @ Jul 6 2008, 06:54 AM) *
If you have direct access to it then you can easily use the text file integration by just saving "whatever.PHP" to the appropriate directory and set it to output something like this example...
...
If you have to log in (FTP, whatever) to make changes then you can still do the same thing but you will need something that can automatically upload to the server at an interval of your choice.
But what if I'd like to have the ability to control AMIP through my PHP script? That won't work so easily dry.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: