Hello,
I am trying to write a simple coding algo that will add 10 to every character in a file. When i do z+10, it just output 10. How can i get the ascii value of z so that it can be added to 10.
Thanks
Search found 10 matches
- Wed Oct 07, 2009 3:56 pm
- Forum: General Discussion
- Topic: adding a number to a string
- Replies: 1
- Views: 214
- Tue Mar 17, 2009 1:38 pm
- Forum: PHP - Code
- Topic: client-server programming
- Replies: 1
- Views: 127
client-server programming
I posted a few days ago about the inability of my php client to connect to my c server. I switched from a c server to a php server and still nothing. I desperately need someone to show me what is wrong in my codes. Please guys, i am learning and just need someone to show me. The following is the php...
- Tue Mar 17, 2009 12:54 pm
- Forum: PHP - Code
- Topic: client-server programming
- Replies: 0
- Views: 104
client-server programming
I posted a few days ago about the inability of my php client to connect to my c server. I switched from a c server to a php server and still nothing. I desperately need someone to show me what is wrong in my codes. Please guys, i am learning and just need someone to show me. The following is the php...
- Sun Mar 15, 2009 6:11 pm
- Forum: PHP - Code
- Topic: re: client-server programing
- Replies: 1
- Views: 176
re: client-server programing
I posted a few days ago about the inability of my php client to connect to my c server. I switched from a c server to a php server and still nothing. I desperately need someone to show me what is wrong in my codes. Please guys, i am learning and just need someone to show me. The following is the php...
- Thu Mar 12, 2009 7:15 pm
- Forum: PHP - Code
- Topic: client-server
- Replies: 10
- Views: 545
Re: client-server
just compiled and run it again, still the same issue.
I have frankly never seen something behaving so strangely.
I have frankly never seen something behaving so strangely.
- Thu Mar 12, 2009 6:44 pm
- Forum: PHP - Code
- Topic: client-server
- Replies: 10
- Views: 545
Re: client-server
still the same problem even with the provided correction.
Here is the link to the php client http://pdc-amd01.poly.edu/~zcouli01/aform.php
Here is the link to the php client http://pdc-amd01.poly.edu/~zcouli01/aform.php
- Thu Mar 12, 2009 6:07 pm
- Forum: PHP - Code
- Topic: client-server
- Replies: 10
- Views: 545
Re: client-server
I know this is a php forum but if possible could you guys please take a look at the following c server that was supposed to be listening. /***** inetserver.c *****/ #include <stdio.h> #include <unistd.h> #include <stdlib.h> /* for getenv */ #include <sys/types.h> #include <sys/socket.h> #include <ne...
- Thu Mar 12, 2009 5:55 pm
- Forum: PHP - Code
- Topic: client-server
- Replies: 10
- Views: 545
Re: client-server
Since the c server and php client are written in two different languages, could that be the problem?
- Thu Mar 12, 2009 5:20 pm
- Forum: PHP - Code
- Topic: client-server
- Replies: 10
- Views: 545
Re: client-server
well i wrote a c server that is supposed to be listening on that port. Can it be that the port(10022) is closed?
- Thu Mar 12, 2009 3:19 pm
- Forum: PHP - Code
- Topic: client-server
- Replies: 10
- Views: 545
client-server
Greetings, i have a php client side that is trying to connect to a server written in c. When i try to connect, i receive the following warning message: Warning: socket_connect() [function.socket-connect]: unable to connect [111]: Connection refused. Here is the code in question and i would really ap...