Hi,
I am using modcpluscplus to implement certain http services. for this i need to parse query param values using the AapacheRequestRec object. I do not see exact methods to get the the query param values, inside the API docs. I can make an attempt to do parsing, but it would lead to issues with Internationalization.
can someone suggest some better ways
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is a class that helps with params called request_env. If you pass it a request you can use the [] operator to deference a param by name. Let me know if this doesn't work for you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks, This worked...but is there any similar apis to get uploaded files via http form post. I was trying it, and its not part of the env hash. and not surprising, because it only returns string responses.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am using modcpluscplus to implement certain http services. for this i need to parse query param values using the AapacheRequestRec object. I do not see exact methods to get the the query param values, inside the API docs. I can make an attempt to do parsing, but it would lead to issues with Internationalization.
can someone suggest some better ways
Hi -
There is a class that helps with params called request_env. If you pass it a request you can use the [] operator to deference a param by name. Let me know if this doesn't work for you.
Thanks, This worked...but is there any similar apis to get uploaded files via http form post. I was trying it, and its not part of the env hash. and not surprising, because it only returns string responses.