How so? If I understand correctly, Xinhao wants to create a PHP script which can provide JSON data when requested. The only method of doing this is by outputting it. It is possible to make the script only output if requested by the XmlHttpRequest object, but this is very easily spoofed, and the response is sent plaintext over the network anyway.
What he's trying to do is to provide the user with some information, but without providing the user without that information. A paradox I'm sure you'll understand! What's your suggestion ricardoe? On 7/11/07, ricardoe <[EMAIL PROTECTED]> wrote:
Is impossible to use the cookies? To achieve what Benjamin wants to do. Sorry for my english. Saludos from México.
-- Rob Desbois Eml: [EMAIL PROTECTED] Tel: 01452 760631 Mob: 07946 705987 "There's a whale there's a whale there's a whale fish" he cried, and the whale was in full view. ...Then ooh welcome. Ahhh. Ooh mug welcome.