arkum Posted January 14, 2007 Share Posted January 14, 2007 Hi,I'm a flash designer so I don't use php often, but when I do, I have never worked out how to see what is going on inside a php file I've called from flash. Obviously if you use "print" and open the php file directly, its output can be printed to the browser, but when I call a php file from flash, print sends the output back to flash. This is fine when the code is doing what I want, but if something isn't working, and the code is not getting back to flash, is there any way I can force the print output to be written to the browser so I can see the content of the variables?Many thanks Link to comment https://forums.phpfreaks.com/topic/34149-getting-php-to-display-output/ Share on other sites More sharing options...
1042 Posted January 15, 2007 Share Posted January 15, 2007 Hi, not sure if this would help but try echoing the variable that you are trying to pull the info from, like this;[code]<?$variable = "test";echo "$variable;?>[/code]cheers. Link to comment https://forums.phpfreaks.com/topic/34149-getting-php-to-display-output/#findComment-161034 Share on other sites More sharing options...
arkum Posted January 15, 2007 Author Share Posted January 15, 2007 hello 1042,Tried that, but no good. Seems like a closed loop and I can't look inside.Thanks anyway Link to comment https://forums.phpfreaks.com/topic/34149-getting-php-to-display-output/#findComment-161412 Share on other sites More sharing options...
ShogunWarrior Posted January 15, 2007 Share Posted January 15, 2007 What you should do is have your script output errors to a text file, and the have that file open in your browser.Then, when you run your flash you can check the browser to see if errors have been output. Link to comment https://forums.phpfreaks.com/topic/34149-getting-php-to-display-output/#findComment-161425 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.