I don't know PHP but I'll have a whack :)

Anyone know what "php://input" is?

It looks like you're reading a file, URL or similar (?).

So ...

<cffile action='read' file='c:\whatever.txt' variable='fileContent'>

<cfset stSomething = DeserializeJSON(fileContent)> 

Jah?

On 15/08/2011, at 5:58 PM, "Andrew Scott" <[email protected]> wrote:

> As the subject implies, how would this be written in CF?
>  
> json_decode(file_get_contents("php://input"), true);
>  
> Many thanks in advance.
>  
>  
> Regards,
> Andrew Scott
> http://www.andyscott.id.au/
>  
>  
>  
> -- 
> You received this message because you are subscribed to the Google Groups 
> "cfaussie" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/cfaussie?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.

Reply via email to