nightkarnation Posted October 4, 2010 Share Posted October 4, 2010 Hey guys...I have a php that loads when the user is being taken after making a purchase. On that php file, echo and print are disabled...and I need to send a variable from that php file to flash, doesnt matter is flash, could be other php file, html, anyway... <param name="movie" value="retorno.swf?userId=<?php echo $Referencia; ?>" /> On the example above I am using echo $Referencia...I need some function to substitue echo/print... Any ideas??? Thanks in advance! Link to comment https://forums.phpfreaks.com/topic/215164-echoprint-not-allowed-on-transaction-php-any-other-way-around/ Share on other sites More sharing options...
Pikachu2000 Posted October 4, 2010 Share Posted October 4, 2010 What do you mean it's "not allowed"? You need to provide some more details if you want to actually get any help. Link to comment https://forums.phpfreaks.com/topic/215164-echoprint-not-allowed-on-transaction-php-any-other-way-around/#findComment-1119089 Share on other sites More sharing options...
nightkarnation Posted October 4, 2010 Author Share Posted October 4, 2010 Hi Pikachu, First of all thanks for your time! Well as I wrote on post...echo/print are disabled, if I echo $any_variable it wont be visible...it wont show up. So I need another way to "echo/print" a variable. Hope this helps Link to comment https://forums.phpfreaks.com/topic/215164-echoprint-not-allowed-on-transaction-php-any-other-way-around/#findComment-1119092 Share on other sites More sharing options...
Pikachu2000 Posted October 4, 2010 Share Posted October 4, 2010 I'm trying to find out what makes you think that anything is disabled. Are you getting an error message, or what? Link to comment https://forums.phpfreaks.com/topic/215164-echoprint-not-allowed-on-transaction-php-any-other-way-around/#findComment-1119097 Share on other sites More sharing options...
nightkarnation Posted October 4, 2010 Author Share Posted October 4, 2010 They are disabled by the transaction company... It's not a bug or anything. Its for safety why echo and print are disabled. Sorry about that, had to explain that!! Link to comment https://forums.phpfreaks.com/topic/215164-echoprint-not-allowed-on-transaction-php-any-other-way-around/#findComment-1119099 Share on other sites More sharing options...
Pikachu2000 Posted October 4, 2010 Share Posted October 4, 2010 Then other than hard coding the value in, I don't have any suggestion for you, in that situation. Perhaps someone else will have an idea how you can handle it. Link to comment https://forums.phpfreaks.com/topic/215164-echoprint-not-allowed-on-transaction-php-any-other-way-around/#findComment-1119104 Share on other sites More sharing options...
BlueSkyIS Posted October 4, 2010 Share Posted October 4, 2010 so, if you put in this code, you see nothing at all, even if you view source of the page? echo "hello world"; Link to comment https://forums.phpfreaks.com/topic/215164-echoprint-not-allowed-on-transaction-php-any-other-way-around/#findComment-1119105 Share on other sites More sharing options...
nightkarnation Posted October 4, 2010 Author Share Posted October 4, 2010 That is correct! so, if you put in this code, you see nothing at all, even if you view source of the page? echo "hello world"; Link to comment https://forums.phpfreaks.com/topic/215164-echoprint-not-allowed-on-transaction-php-any-other-way-around/#findComment-1119106 Share on other sites More sharing options...
BlueSkyIS Posted October 4, 2010 Share Posted October 4, 2010 wow. you can't echo or print, your sol. (shoot out of luck) i don't even know how you could disable echo and print, but apparently you've tried and they found a way... Link to comment https://forums.phpfreaks.com/topic/215164-echoprint-not-allowed-on-transaction-php-any-other-way-around/#findComment-1119108 Share on other sites More sharing options...
nightkarnation Posted October 4, 2010 Author Share Posted October 4, 2010 Ok thanks a lot guys! I haven't been trying to hack or anything. I wanted to send the user to a different page with particular information depending on the user_id (grabbed from that php)... Anyway... I guess I won't add that feature. Thanks for your kind help and time though! Cheers! Link to comment https://forums.phpfreaks.com/topic/215164-echoprint-not-allowed-on-transaction-php-any-other-way-around/#findComment-1119109 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.