There actually are some PHP examples in the manual. They use PHP's cURL
integration, so there is a pretty straightforward translation between the
cURL command line operation and the PHP function calls.
http://docs.geoserver.org/stable/en/user/restconfig/rest-config-examples/rest-config-examples-php.html
If that doesn't help, you could also use
http://php.net/manual/en/function.exec.php to use the cURL examples
directly. I think that will be a bit clumsier than the PHP API for cURL
though.
--
David Winslow
OpenGeo - http://opengeo.org/
On Thu, Jun 9, 2011 at 8:49 AM, Vikash Talanki <[email protected]>wrote:
> I am in deadly need of geoserver rest php scripts for creating workspace,
> store, publishing layer etc. I have done a lot of googleing but couldn't
> find any. In geoserver site only examples using cURL are given. Can anybody
> provide me PHP scripts
>
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/Looking-for-Geoserver-REST-PHP-examples-tp6457669p6457669.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users