Beginner with PHP

Saturday, 4 September 2010 · 5 messages
HS
Hänzi Martina (s)4 Sep 2010 12:40 #
Hi I got some basic problems with the php-examples, available on the homepage. where do i have to save the php-Files? and what url do i type in to execute them? i suppose it begins with http://localhost:1984/... when i start the server and enter http://localhost:1984/BaseXData/BaseXClient.php (path where the file is saved) i only get the hourglass of the browser. i also tried with the jaxrx server on port 8984 using http://localhost:8984/basex/jax-rx but i got the same result - hourglass. both times i startet the server via the Client - Server Administrators. am i doing something wrong? Thanks for your feedback greets Martina
AW
Andreas Weiler4 Sep 2010 13:00 #
Hi Martina, for executing the php examples in a local manner, you have to install and start a web-server like Apache with PHP (best way is xampp: http://www.apachefriends.org/de/xampp.html) or something on your computer. Otherwise you can upload the examples to a php-enabled web-server. The php examples have nothing to do with the jax-rx thing. For Jax-RX you have to start the Jetty Server in the BaseX project see this page: http://www.inf.uni-konstanz.de/dbis/basex/rest I hope this helps, kind regards, Andreas
Quoted text · Hänzi Martina (s) · 28 lines
Hänzi Martina (s) schrieb: > Hi > > I got some basic problems with the php-examples, available on the homepage. > > where do i have to save the php-Files? and what url do i type in to execute them? i suppose it begins with > > http://localhost:1984/... > > when i start the server and enter http://localhost:1984/BaseXData/BaseXClient.php (path where the file is saved) > i only get the hourglass of the browser. > > i also tried with the jaxrx server on port 8984 using http://localhost:8984/basex/jax-rx > > but i got the same result - hourglass. > > both times i startet the server via the Client - Server Administrators. > > am i doing something wrong? > > Thanks for your feedback > > greets Martina > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >
HS
Hänzi Martina (s)4 Sep 2010 13:44 #
Hi thanks for the quicke answer. But i dont get it - do i have to start the baseX and the apache-server, because thats kind of not working? and if i just start the apache and execute the example.php-file the following error shows: /Applications/XAMPP/xamppfiles/htdocs/testBaseX/BaseXClient.php on line 17 Can't communicate with server. any ideas? greets martina
Quoted text · Andreas Weiler · 46 lines
Von: Andreas Weiler [andreas.weiler at uni-konstanz.de] Gesendet: Samstag, 4. September 2010 13:00 An: Hänzi Martina (s) Cc: basex-talk at mailman.uni-konstanz.de Betreff: Re: [basex-talk] Beginner with PHP Hi Martina, for executing the php examples in a local manner, you have to install and start a web-server like Apache with PHP (best way is xampp: http://www.apachefriends.org/de/xampp.html) or something on your computer. Otherwise you can upload the examples to a php-enabled web-server. The php examples have nothing to do with the jax-rx thing. For Jax-RX you have to start the Jetty Server in the BaseX project see this page: http://www.inf.uni-konstanz.de/dbis/basex/rest I hope this helps, kind regards, Andreas Hänzi Martina (s) schrieb: > Hi > > I got some basic problems with the php-examples, available on the homepage. > > where do i have to save the php-Files? and what url do i type in to execute them? i suppose it begins with > > http://localhost:1984/... > > when i start the server and enter http://localhost:1984/BaseXData/BaseXClient.php (path where the file is saved) > i only get the hourglass of the browser. > > i also tried with the jaxrx server on port 8984 using http://localhost:8984/basex/jax-rx > > but i got the same result - hourglass. > > both times i startet the server via the Client - Server Administrators. > > am i doing something wrong? > > Thanks for your feedback > > greets Martina > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >
AW
Andreas Weiler4 Sep 2010 13:47 #
Hi Martina, you have to start the Apache Server and the BaseXServer. After that you can execute the Example.php and receive the results from the BaseXServer. Kind regards, Andreas
Quoted text · Hänzi Martina (s) · 78 lines
Hänzi Martina (s) schrieb: > Hi > > thanks for the quicke answer. > > But i dont get it - do i have to start the baseX and the apache-server, because thats kind of not working? > > and if i just start the apache and execute the example.php-file the following error shows: > > /Applications/XAMPP/xamppfiles/htdocs/testBaseX/BaseXClient.php on line 17 > Can't communicate with server. > > any ideas? > > greets martina > > > ________________________________________ > Von: Andreas Weiler [andreas.weiler at uni-konstanz.de] > Gesendet: Samstag, 4. September 2010 13:00 > An: Hänzi Martina (s) > Cc: basex-talk at mailman.uni-konstanz.de > Betreff: Re: [basex-talk] Beginner with PHP > > Hi Martina, > > for executing the php examples in a local manner, you have to install > and start a web-server like > Apache with PHP (best way is xampp: > http://www.apachefriends.org/de/xampp.html) or something on your computer. > Otherwise you can upload the examples to a php-enabled web-server. > > The php examples have nothing to do with the jax-rx thing. For Jax-RX > you have to start > the Jetty Server in the BaseX project see this page: > http://www.inf.uni-konstanz.de/dbis/basex/rest > > I hope this helps, > kind regards, > Andreas > > > Hänzi Martina (s) schrieb: > >> Hi >> >> I got some basic problems with the php-examples, available on the homepage. >> >> where do i have to save the php-Files? and what url do i type in to execute them? i suppose it begins with >> >> http://localhost:1984/... >> >> when i start the server and enter http://localhost:1984/BaseXData/BaseXClient.php (path where the file is saved) >> i only get the hourglass of the browser. >> >> i also tried with the jaxrx server on port 8984 using http://localhost:8984/basex/jax-rx >> >> but i got the same result - hourglass. >> >> both times i startet the server via the Client - Server Administrators. >> >> am i doing something wrong? >> >> Thanks for your feedback >> >> greets Martina >> _______________________________________________ >> BaseX-Talk mailing list >> BaseX-Talk at mailman.uni-konstanz.de >> https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >> >> > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >
HS
Hänzi Martina (s)4 Sep 2010 14:41 #
Hi ok, its working now thanks a lot! greets martina
Quoted text · Andreas Weiler · 89 lines
Von: Andreas Weiler [andreas.weiler at uni-konstanz.de] Gesendet: Samstag, 4. September 2010 13:47 An: Hänzi Martina (s) Cc: basex-talk at mailman.uni-konstanz.de Betreff: Re: [basex-talk] Beginner with PHP Hi Martina, you have to start the Apache Server and the BaseXServer. After that you can execute the Example.php and receive the results from the BaseXServer. Kind regards, Andreas Hänzi Martina (s) schrieb: > Hi > > thanks for the quicke answer. > > But i dont get it - do i have to start the baseX and the apache-server, because thats kind of not working? > > and if i just start the apache and execute the example.php-file the following error shows: > > /Applications/XAMPP/xamppfiles/htdocs/testBaseX/BaseXClient.php on line 17 > Can't communicate with server. > > any ideas? > > greets martina > > > ________________________________________ > Von: Andreas Weiler [andreas.weiler at uni-konstanz.de] > Gesendet: Samstag, 4. September 2010 13:00 > An: Hänzi Martina (s) > Cc: basex-talk at mailman.uni-konstanz.de > Betreff: Re: [basex-talk] Beginner with PHP > > Hi Martina, > > for executing the php examples in a local manner, you have to install > and start a web-server like > Apache with PHP (best way is xampp: > http://www.apachefriends.org/de/xampp.html) or something on your computer. > Otherwise you can upload the examples to a php-enabled web-server. > > The php examples have nothing to do with the jax-rx thing. For Jax-RX > you have to start > the Jetty Server in the BaseX project see this page: > http://www.inf.uni-konstanz.de/dbis/basex/rest > > I hope this helps, > kind regards, > Andreas > > > Hänzi Martina (s) schrieb: > >> Hi >> >> I got some basic problems with the php-examples, available on the homepage. >> >> where do i have to save the php-Files? and what url do i type in to execute them? i suppose it begins with >> >> http://localhost:1984/... >> >> when i start the server and enter http://localhost:1984/BaseXData/BaseXClient.php (path where the file is saved) >> i only get the hourglass of the browser. >> >> i also tried with the jaxrx server on port 8984 using http://localhost:8984/basex/jax-rx >> >> but i got the same result - hourglass. >> >> both times i startet the server via the Client - Server Administrators. >> >> am i doing something wrong? >> >> Thanks for your feedback >> >> greets Martina >> _______________________________________________ >> BaseX-Talk mailing list >> BaseX-Talk at mailman.uni-konstanz.de >> https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >> >> > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >

⚡Generated with XQuery