Hi,
I just want to "echo" (display / print) $vars to ensure my code is ok but the echo "xyz..."; doesn't print nothing wherever I script it.
So the question is : how to print any message in the window.
I do not mention any special procedure or function because I guess the answer is generic for all the ckfinder .
Thanks in advance
prm
I just want to "echo" (display / print) $vars to ensure my code is ok but the echo "xyz..."; doesn't print nothing wherever I script it.
So the question is : how to print any message in the window.
I do not mention any special procedure or function because I guess the answer is generic for all the ckfinder .
Thanks in advance
prm
Re: PHP echo command ...
to do display the var.
and remember var's are case sensitive,
it's not the same thing as:
Re: PHP echo command ...
I agree with your answer ... but it doesnt answer what I asked, may be I was not enough precise.
For example, and as mentionned in a post, I want to modify the /commandhandler/fileupload.php to fit my needs. To ensure that what I modify is OK, I want to 'echo' somes $vars. And when I place an echo command in this script I can't see the echoed $vars on the screen ...
So, what do I have to do to see on the browset the echoed $vars, or where is it echoed ?
thanks
Re: PHP echo command ...
Add somewhere inside of that function:
and use Fiddler + IE to check the response (click on a Session Inspector tab).
Or perhaps an easier way, use your error log file to trace variable (check your error log after uploading file):
or another way: save contents of your variable to a custom file (for example using file_put_contents()):
We'll be working on making the debugging process easier in the near future.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: PHP echo command ...