manou2324
-
22 avril 2013 à 22:53
cs_Julien39
Messages postés6414Date d'inscriptionmardi 8 mars 2005StatutModérateurDernière intervention29 juillet 2020
-
23 avril 2013 à 08:37
Hi,
i want to execute a php program through a java program.
I have this java code :
public static void main (String [] args) throws Exception {
String url="http://localhost/projet.php";
try {
URL myURL = new URL(url);
URLConnection myURLConnection = myURL.openConnection();
myURLConnection.connect();
....
i put projet.php under "C:wamp\www"
but this code doesn't execute my php program
(My projet.php run correctly if i launch it through wamp)