Java and PHP

From: Georg Andersson (georg.andersson_at_swisstopo.ch)
Date: 07/21/04


Date: 21 Jul 2004 03:23:28 -0700

Hi

i'm having a little problem of understanding some differences between
Java and PHP.
Well, PHP runs on the server. so, if my script saves some data from a
database to 'c:\temp', it saves the data to the local disc of the
server itself. correct? but java runs on the client-side. this means
the my applet trying to save data from a database to 'c:\temp' saves
the data to the local disc of the client... am i right?

so, is it possible to either save data to the clients disc using a
php-script or save data to the servers local disc using a
java-applet??

any ideas?

tx



Relevant Pages

  • Re: Web services via httpd
    ... the server side. ... Java - although many people think so. ... no matter what language they're written in. ... PHP is just a variant of that system, ...
    (comp.os.linux.development.apps)
  • Re: my little comments on jsp and php
    ... I learned jsp for about 5 years, and learned php for about 4 ... You need to do the same with regular Web apps on any server. ... I have made many Java projects using the identical build.xml. ... presentation layer, logic layer, data layer. ...
    (comp.lang.java.programmer)
  • Re: Save an Image to a file
    ... I don't really know any java... ... -Do you or does anyone have a nice method that converts a BufferedImage ... Write the BufferedImage to your server ... I've never used PHP but I have processed form data with Perl. ...
    (comp.lang.java.programmer)
  • Re: Passing a Java variable to local PHP script.
    ... "Andy R." ... Now I need to pass the java variable ... > neccessary to generate the page via .php on the webserver and send it ... > returned to the server, ...
    (comp.lang.php)
  • Re: New users query
    ... > My task is to develop a simple applet that will reside on a local web ... > server that will run on PCs connected to it. ... You may find HTML forms and something like PHP to be quicker and easier than ... if you want drop down boxes you will need to learn Java ...
    (comp.lang.java.help)