This content has been marked as final. Show 16 replies
yes, use loadvars to send and received data from a php file.
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?
why do you say, "..But this is not what i need"?
Did "use loadvars" can help me?
Can you show me example?
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).
I want to put HTML into the PHP...
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?
yes. use loadvars.
Sorry for my stupidity.
But I don't know how to do it...
Can you please show me?
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.
you can't delete any code from a php file, so you can't "change" anything in a php file.
I working on a system to edit the content of the website...
And editing a PHP can be very usefull for me.
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.
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.
"StavBN" <firstname.lastname@example.org> wrote in message
> 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?