Howto output object data via a external Command?

Author Message

Daniel Scheiner

Friday 03 November 2006 3:46:21 am

Hi!

I need to get Information on Users of a Community made with ezP via a external request. (no §node.... inside a template, but a request made to the server from a external application)
Normaly I would do this by accessing the database directly, but due to security reasons I don't want to do that.
Is there a way to send a request like "www.test.com/getinformation_on_id=1234" ?
I need some way of reading out data like name, age, hobbies, etc.
AND a second request must give me the relations of that User (user A knows user B,C and D).

Is that possible and if so, how do I implement it and in what format would the answer to my request be in?

Thanks!!! =)

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 06:11:10
Script start
Timing: Jan 31 2025 06:11:10
Module start 'layout'
Timing: Jan 31 2025 06:11:10
Module start 'content'
Timing: Jan 31 2025 06:11:10
Module end 'content'
Timing: Jan 31 2025 06:11:10
Script end

Main resources:

Total runtime0.0159 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 588.2578151.2266
Module start 'layout' 0.00480.0028 739.484436.6797
Module start 'content' 0.00760.0065 776.164186.0469
Module end 'content' 0.01410.0017 862.210929.9922
Script end 0.0158  892.2031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002415.3522140.0002
Check MTime0.00116.6551140.0001
Mysql Total
Database connection0.00064.086910.0006
Mysqli_queries0.002515.591330.0008
Looping result0.00000.252610.0000
Template Total0.00127.810.0012
Template load0.00095.455210.0009
Template processing0.00042.351710.0004
Override
Cache load0.00063.765110.0006
General
dbfile0.00149.000880.0002
String conversion0.00000.045140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs