php - Uploadify: sending data with scriptData -
I want to send session value with uploadify script I am trying the following in JavaScript:
'scriptData': {'name': '& lt ;? Php echo $ _SESSION [name] ;? & Gt; '} and in php script I am receiving value like this:
$ name = $ _GET [' name ']; The script data, instead of getting the value stored in the session, & lt ;? Php echo $ _SESSION [name] ;? & Gt; , for example Peter. Can anyone tell me how can I decide this? Thank you
I think that's what you want.
'scriptdata': {'name': & lt ;? Php echo "'". $ _ Session [name] "';? & Gt;}
Comments
Post a Comment