mattonline
-
Posts
5 -
Joined
-
Last visited
Never
Posts posted by mattonline
-
-
i've been trying to work this out....
code below
<?
$domain = 'internet.co.uk';
$fs = fsockopen('whois.nic.uk', 43, $errno, $errstr, 60);
if (!$fs) {
fclose($fs);
} else {
fputs($fs, "$domain\r\n");
$line = fgets($fs, 1024);
echo $line;
}
?>
i want to input a domain and then for it to open the telnet and send the domain to the telnet...
is this correct?
-
I'm kind of new to php, and i want to connect to telnet on
whois.nic.uk
port 43
how would i go about doing this?
i know i need sockets but im not sure how to create them
-
Hi, i am trying to create a website using the google maps (www.property.xeonhost.co.uk) as you can see, and i want a page where people can upload there images and information as follows
Price:
Address:
City:
Postcode:
Beds/Baths:
Picture: ______.jpg/gif etc
once they upload that information i want it to store in a XML file (you can view the XML file here (www.property.xeonhost.co.uk/example.xml)
Then already the information displays on the google map (www.property.xeonhost.co.uk) when you click the red spots,
So what i want is a uploading script where customers will upload there files (stated above) and then it will be stored in that xml file,
I would also like a paypal payment system so customers have to pay (eg 5.00) and once they have paid it will take them to the upload page where they can then upload there information.
If any of you can tell me how to do this or where to get a script similar to this it would help thanks
email mattonline1@gmail.com
msn matthewsmith007@msn.com
i am offering free webhosting (www.xeonhost.co.uk) for anyone who is willing to help me
unlimited space/bandwdith etc cpanel (latest version)
thanks -
Hi, i am trying to create a website using the google maps (www.property.xeonhost.co.uk) as you can see, and i want a page where people can upload there images and information as follows
Price:
Address:
City:
Postcode:
Beds/Baths:
Picture: ______.jpg/gif etc
once they upload that information i want it to store in a XML file (you can view the XML file here (www.property.xeonhost.co.uk/example.xml)
Then already the information displays on the google map (www.property.xeonhost.co.uk) when you click the red spots,
So what i want is a uploading script where customers will upload there files (stated above) and then it will be stored in that xml file,
I would also like a paypal payment system so customers have to pay (eg 5.00) and once they have paid it will take them to the upload page where they can then upload there information.
If any of you can tell me how to do this or where to get a script similar to this it would help thanks
email mattonline1@gmail.com
msn matthewsmith007@msn.com
i am offering free webhosting (www.xeonhost.co.uk) for anyone who is willing to help me
unlimited space/bandwdith etc cpanel (latest version)
thanks
need help trying to connect to telnet?
in PHP Coding Help
Posted
<?php
$domain = 'internet.co.uk';
$sourceip = 'xx.xx.xx.xx'; // ip you want to bind to
$sock = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
socket_bind($sock, $sourceip);
socket_connect($sock, 'dac.nic.uk', 2043);
// Write
$request = "$domain\r\n";
socket_write($sock, $request);
//Read reply
// Close
socket_close($sock);
?>
sorry this is then the created socket....