Tag Archives: java
Chinese characters in form submission
Client page:
<head>
<meta http-equiv="Catchup Scheduler" content="text/html; charset=UTF-8">
</head>
<body>
<form action="next.php" method="POST" >
<input type="text" name="programme_name"></br>
<input type="submit">
</form>
</body>
Server page:
$name = $_POST['programme_name'];
mysql_query("SET character_set_client=utf8",$con);
mysql_query("SET character_set_connection=utf8", $con);
mysql_query("SET character_set_results=utf8", $con);
$query = "Select * from programme …
What is the best architecture to use at the back end for a java client based client/server setup?
I’m fairly new to programming and have been focussing a great deal on Java in recent months. I would like to write an application with a Java applet front end which will capture information about my users and allow for… Continuer la lecture
Recognizing a character to be Chinese and get Chinese “pinyin” phonetics from simplified characters?
Est-il possible de
Une) find out if a character is Chinese (simplifié)
et dans ce cas
B) get the pinyin? example: 你好 => nǐhǎo
using java or php?
A bientôt… Continuer la lecture
Google AppEngine java.net.Socket is restricted error
I’m using Quercus/PHP on AppEngine. When I run a simple script with file_get_contents($url);… J'obtiens une erreur:
java.lang.NoClassDefFoundError: java.net.Socket is a restricted class.
Please see the Google App Engine developer’s guide for more details.
I’ve googled and although I find Continuer la lecture
java php sha1 function
what is alertnate of sha1 function in java
just like in php
sha1("here is string");
…
what will be in java Continuer la lecture
Cannot read response from Java socket server using PHP client
I have a server written in Java. Its a simple one that echoes “HELLO” when a client connects and then echoes back any reply the client sends. The code is below:
ServerSocket ss=new ServerSocket(2001);
while(true) {
Socket s=ss.accept();
BufferedReader in=new …
php javascrip posting data to php file andler on php and javascript
im posting data to a php file
i only getting some sata not all of it
and a dont know how to handle that data one in php to the java script
i’m doing the code in oop this is… Continuer la lecture
Signing PDFs on a server document using a signature from the user
Here is what I want to do:
user creates document (html)
edit -> save PDF on server
ask if user wants to sign the document
(oui) here is the problem
(sur les) le problème
???? (not important)
So now the problem… Continuer la lecture
Androïde, http: How to upload a file to a site hosted by a shared server?
I bought myself a website where it is being hosted on a linux server which shares one IP address using cpanel. The problem that is, aujourd'hui, i want to use this code to upload a file to my site. Everytime… Continuer la lecture
android Json parser gives me errors
I’m very new in android and i’m developing an application that passes data from android to mysql through php and I’m in registering users part now. I got some codes from searching but while i’m implementing it I’m getting errors.… Continuer la lecture





