[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

PHP, adgang til rå POST-data



Jeg har et PHP-script der skal modtage nogle data via en
HTTP-forspørgsel. Da data ikek skal komme via en html-form vil jeg
godt kunne tilgå POST-data råt så afsender bare kan gøre noget ala:

  POST /foo/bar.php HTTP/1.1
  Host: www.example.org
  Content-Length: 4023
  Content-Type: text/xml+rss

  <?xml version="1.0" encoding="iso-8859-1" ?>
  <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/";>
  [...]

og så vil jeg have fat i selve XML'en.

Jeg kan finde nogle vage bisætninger i PHP-manualen der siger lidt
forskelligt. Men jeg kan ikke finde en klar beskrivelse af hvordan man
skal gøre officielt. Nogen der har noget dokumentation af hvordan jeg
får adgang til disse data?

-- 
 Peter Makholm     |         Perhaps that late-night surfing is not such a
 sslug@sslug |           waste of time after all: it is just the web
 http://hacking.dk |                                              dreaming
                   |                                    -- Tim Berners-Lee


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 22:44 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *