Jump to content

Mahdi

Members
  • Posts

    34
  • Joined

  • Last visited

Everything posted by Mahdi

  1. 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?
  2. Mahdi

    socket programing

    thank you boen I come back here َ A few hours later
  3. Mahdi

    socket programing

    After "Path" ...\Stream->recive(4)#2{main}Socket error number:Socket error message:
  4. Mahdi

    socket programing

    It has two error in server side socket error numbersocket error messagewhy is this shown?
  5. Mahdi

    socket programing

    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: | |-------- | | ----------------- | |----------------- | |------------------|
  6. Mahdi

    socket programing

    thank you boen. it works but there is no any dialog, it just shows "no oh no" .how can I change it ?
  7. Mahdi

    socket programing

    I run it and it showed some errors that you can visit it in following linkwww.mehdiit.gigfa.com/110.png
  8. Mahdi

    socket programing

    please describe to me how should I do that?
  9. Mahdi

    socket programing

    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.
  10. Mahdi

    socket programing

    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?
  11. Mahdi

    socket programing

    my firewall because this process is generally off man.
  12. Mahdi

    socket programing

    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?
  13. Mahdi

    socket programing

    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
  14. Mahdi

    socket programing

    Hi birbal where are you. Im glad to see you. I just tried it but I could not do it.
  15. Mahdi

    socket programing

    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?
  16. Mahdi

    socket programing

    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?
  17. Mahdi

    socket programing

    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
  18. Mahdi

    socket programing

    Hello dear boenCould you please give me the source?
  19. Mahdi

    socket programing

    Oh I forgot to say that for running php I use Xampp for windows.
  20. Mahdi

    socket programing

    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?
  21. 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
  22. Thank you guyswhich one is most important and useful to web?
  23. 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.
  24. Mahdi

    Any idea ?

    Thanks for your helping Thescientist .but i wanted to know your opinion
×
×
  • Create New...