-
Posts
34 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by Mahdi
-
cant anyone help me?
-
In the name of GodHello guysI have installed jdk 6 on my windows 7 but when I run java files it demonstrates jdk7 demo.for watching message please visit "www.mehdiit.gigfa.com/jdk.png".what is problem?
-
thank you boen I come back here َ A few hours later
-
After "Path" ...\Stream->recive(4)#2{main}Socket error number:Socket error message:
-
It has two error in server side socket error numbersocket error messagewhy is this shown?
-
excuse me boen thanks for your help but I need a program that using it I can run a live dialogue between server and clientsome thing like chat room but just with two person |------------------| | server: | |-------- | | ----------------- | |----------------- | |------------------| |------------------| | client: | |-------- | | ----------------- | |----------------- | |------------------|
-
thank you boen. it works but there is no any dialog, it just shows "no oh no" .how can I change it ?
-
I run it and it showed some errors that you can visit it in following linkwww.mehdiit.gigfa.com/110.png
-
please describe to me how should I do that?
-
how should I write in command line (the file that currently gives the execution time error)? I tried it using D:\> bb.php but it didnt work.
-
oh server side gives following response ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? and client gives following error Fatal error: Maximum execution time of 30 seconds exceeded in D:\Program Filess\xampp 1.7.4\htdocs\socket\PEAR2\Net\Transmitter\Stream.php on line 303 what does it mean?
-
my firewall because this process is generally off man.
-
I put the libraries in both suitable places and now it is loading around 10 minutes.dont you think it is because port address or server address?
-
I did what you said and the error was changed like this Warning: require_once(PEAR2/Net/Transmitter/Autoload.php) [function.require-once]: failed to open stream: No such file or directory in D:\Program Filess\xampp 1.7.4\htdocs\socket\aa.php on line 2Fatal error: require_once() [function.require]: Failed opening required 'PEAR2/Net/Transmitter/Autoload.php' (include_path='.;D:\Program Filess\xampp 1.7.4\php\PEAR') in D:\Program Filess\xampp 1.7.4\htdocs\socket\aa.php on line 2
-
Hi birbal where are you. Im glad to see you. I just tried it but I could not do it.
-
Thanks a lot boen but it has following error in both of them: Fatal error: Namespace declaration statement has to be the very first statement in the script in D:\Program Filess\xampp 1.7.4\htdocs\socket\aa.php on line 2 what does it mean?
-
Ok boen but I just want it for dealing with one client (very simple) please tell me from where should I start ?if possible please put code?
-
Excuse me boen_robot, I want to write just a simple Chat program using socket programming. And I dont know any thing about socket programing
-
Hello dear boenCould you please give me the source?
-
Oh I forgot to say that for running php I use Xampp for windows.
-
in the name of Godhello guysI want to create a socket program using php, but at the first it has following error : socket_bind() [function_socket-bind]: Host lookup failed [0]: The requested name is valid, but no data of the requested type was found. in line 19. Could not bind to address. And my source is: <?php // Set time limit to indefinite execution set_time_limit (0); // Set the ip and port we will listen on $address = ' 192.168.0.1'; $port = 8080; // Create a TCP Stream socket $sock = socket_create(AF_INET, SOCK_STREAM, 0); // Bind the socket to an address/port socket_bind($sock, $address, $port) or die('Could not bind to address'); // Start listening for connections socket_listen($sock); /* Accept incoming requests and handle them as child processes */ $client = socket_accept($sock); // Read the input from the client – 1024 bytes $input = socket_read($client, 1024); // Strip all white spaces from input $output = ereg_replace("[ \t\n\r]","",$input).chr(0); // Display output back to client socket_write($client, $output); // Close the client (child) socket socket_close($client); // Close the master sockets socket_close($sock); ?> Above code is my server side program source Please tell me about the error. what does it mean?
-
I want to be best website designer plz help what should I learn?
Mahdi replied to SACHIN2708's topic in General
Hi Sachin First of all you should learn HTML an CSS for web designing then search about your favorite server script language for example php , jsp , c# and asp.net , and .....you should check which one is your favorite .without html no css , php , jsp , c# and asp.net -
Thank you guyswhich one is most important and useful to web?
-
In the name of GOD hi guys:which one is most important javascript , jquery or ajax ?for learning JQuery is necessary learning something befor learning JQuery for example javascript or ....?Do you know some books for Beginners ?Thanks for your helping.
-
Thanks for your helping Thescientist .but i wanted to know your opinion