0
Can I change PHP via flash?
New Here
,
/t5/animate-discussions/can-i-change-php-via-flash/td-p/404143
Apr 20, 2008
Apr 20, 2008
Copy link to clipboard
Copied
I want to the a variable and put its content into a PHP file.
(an existent PHP file)
For example, I got a var with "<test1234>" inside and I want to put his content into the PHP, witch making the inside of the PHP lo like this:
<test1234>
Is it possible?
For example, I got a var with "<test1234>" inside and I want to put his content into the PHP, witch making the inside of the PHP lo like this:
<test1234>
Is it possible?
TOPICS
ActionScript
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Expert
,
/t5/animate-discussions/can-i-change-php-via-flash/m-p/404144#M253124
Apr 20, 2008
Apr 20, 2008
Copy link to clipboard
Copied
yes, use loadvars to send and received data from a php
file.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
StavBN
AUTHOR
New Here
,
/t5/animate-discussions/can-i-change-php-via-flash/m-p/404145#M253126
Apr 20, 2008
Apr 20, 2008
Copy link to clipboard
Copied
Thanks for the help.
But this is not what I need.
I want to take all the content of the var and put it inside the PHP file... and vice versa.
Is that Possible?
But this is not what I need.
I want to take all the content of the var and put it inside the PHP file... and vice versa.
Is that Possible?
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Expert
,
/t5/animate-discussions/can-i-change-php-via-flash/m-p/404146#M253128
Apr 20, 2008
Apr 20, 2008
Copy link to clipboard
Copied
why do you say, "..But this is not what i need"?
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
StavBN
AUTHOR
New Here
,
/t5/animate-discussions/can-i-change-php-via-flash/m-p/404147#M253130
Apr 20, 2008
Apr 20, 2008
Copy link to clipboard
Copied
Did "use loadvars" can help me?
Can you show me example?
Can you show me example?
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Expert
,
/t5/animate-discussions/can-i-change-php-via-flash/m-p/404148#M253133
Apr 20, 2008
Apr 20, 2008
Copy link to clipboard
Copied
are you trying to inject executable code into a php file? if
so, why (and you can't do it but you can work-around it).
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
StavBN
AUTHOR
New Here
,
/t5/animate-discussions/can-i-change-php-via-flash/m-p/404149#M253134
Apr 20, 2008
Apr 20, 2008
Copy link to clipboard
Copied
I want to put HTML into the PHP...
Like this:
<body><font color="#ffffff">Content-test</font></body>
So I will put it into a var and then I want to put this line into the PHP.
Did you understand me? can I do it?
Like this:
<body><font color="#ffffff">Content-test</font></body>
So I will put it into a var and then I want to put this line into the PHP.
Did you understand me? can I do it?
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Expert
,
/t5/animate-discussions/can-i-change-php-via-flash/m-p/404150#M253135
Apr 20, 2008
Apr 20, 2008
Copy link to clipboard
Copied
yes. use loadvars.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
StavBN
AUTHOR
New Here
,
/t5/animate-discussions/can-i-change-php-via-flash/m-p/404151#M253136
Apr 20, 2008
Apr 20, 2008
Copy link to clipboard
Copied
Sorry for my stupidity.
But I don't know how to do it...
Can you please show me?
But I don't know how to do it...
Can you please show me?
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Expert
,
/t5/animate-discussions/can-i-change-php-via-flash/m-p/404152#M253137
Apr 20, 2008
Apr 20, 2008
Copy link to clipboard
Copied
:
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
StavBN
AUTHOR
New Here
,
/t5/animate-discussions/can-i-change-php-via-flash/m-p/404153#M253138
Apr 20, 2008
Apr 20, 2008
Copy link to clipboard
Copied
I can't see how that code is changing the whole content of
the PHP file...
Is the var named "str" is changing for ever? or only when I run the flash?
because I need a flash that will change the whole content of the PHP file.
Hope you still understand me.
Thank you for that help.
Is the var named "str" is changing for ever? or only when I run the flash?
because I need a flash that will change the whole content of the PHP file.
Hope you still understand me.
Thank you for that help.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/animate-discussions/can-i-change-php-via-flash/m-p/404154#M253140
Apr 21, 2008
Apr 21, 2008
Copy link to clipboard
Copied
What is it you are attempting to do anyway? Why would you
need to actually
change a php file? I'd say you should probably be storing your data
elsewhere - like in a database.
--
Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/
change a php file? I'd say you should probably be storing your data
elsewhere - like in a database.
--
Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

/t5/animate-discussions/can-i-change-php-via-flash/m-p/404159#M253146
Apr 23, 2008
Apr 23, 2008
Copy link to clipboard
Copied
>What is it you are attempting to do anyway? Why would you
need to actually
>change a php file? I'd say you should probably be storing your data
>elsewhere - like in a database.
..or in a XML file or in a combination with XML/CSS
>change a php file? I'd say you should probably be storing your data
>elsewhere - like in a database.
..or in a XML file or in a combination with XML/CSS

Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Expert
,
/t5/animate-discussions/can-i-change-php-via-flash/m-p/404155#M253142
Apr 21, 2008
Apr 21, 2008
Copy link to clipboard
Copied
you can't delete any code from a php file, so you can't
"change" anything in a php file.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
StavBN
AUTHOR
New Here
,
/t5/animate-discussions/can-i-change-php-via-flash/m-p/404156#M253143
Apr 21, 2008
Apr 21, 2008
Copy link to clipboard
Copied
I working on a system to edit the content of the website...
And editing a PHP can be very usefull for me.
And editing a PHP can be very usefull for me.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Expert
,
/t5/animate-discussions/can-i-change-php-via-flash/m-p/404157#M253144
Apr 21, 2008
Apr 21, 2008
Copy link to clipboard
Copied
and that you can probably do.
for example, if you want to create a dynamic html page using php, you can control the tags and content used using variables from flash. i gave an example above.
for example, if you want to create a dynamic html page using php, you can control the tags and content used using variables from flash. i gave an example above.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/animate-discussions/can-i-change-php-via-flash/m-p/404158#M253145
Apr 23, 2008
Apr 23, 2008
Copy link to clipboard
Copied
I don't think kGlad understands your question, in all due
respects because
kglad is very helpful always.
So somehow you want to make a flash interface to change your script. You
will need a 2nd php script on your server that you can tell it to write the
php file. You will probably need your flash file to read in the entire
script, in your flash you will insert/change the html, then pass it (using
load I believe) to another basic php script that saves the file to the
server. I don't know what the limit to the length of the data you can send
is, but there probably is one.
Good luck,
TR
"StavBN" <webforumsuser@macromedia.com> wrote in message
news:fuis8t$a8c$1@forums.macromedia.com...
> 1. I working on a system to edit the content of the website...
> And editing a PHP can be very usefull for me.
>
> 2. And one more thing, somthing like: sendLV.str = "1234"test"Cont";
> is not working because the " that is inside another ".
> what can I do about it?
>
kglad is very helpful always.
So somehow you want to make a flash interface to change your script. You
will need a 2nd php script on your server that you can tell it to write the
php file. You will probably need your flash file to read in the entire
script, in your flash you will insert/change the html, then pass it (using
load I believe) to another basic php script that saves the file to the
server. I don't know what the limit to the length of the data you can send
is, but there probably is one.
Good luck,
TR
"StavBN" <webforumsuser@macromedia.com> wrote in message
news:fuis8t$a8c$1@forums.macromedia.com...
> 1. I working on a system to edit the content of the website...
> And editing a PHP can be very usefull for me.
>
> 2. And one more thing, somthing like: sendLV.str = "1234"test"Cont";
> is not working because the " that is inside another ".
> what can I do about it?
>
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

