URLVariables and php script conflict


i trying set url variables post php contact script. problem php script expects variable 'full-name' (note hyphen). when try set url variables in flash urlvars.full-name = "cool dude"; give me error saying "1050: cannot assign non-reference value". can assume hyphen giving error. take out hyphen in php script, know seems right thing do, it's not, because other scripts post contact broken! ideas?

this w3schools:
http://www.w3schools.com/php/php_variables.asp

variable naming rules

* variable name must start letter or underscore "_"
* variable name can contain alpha-numeric characters , underscores (a-z, 0-9, , _ )
* variable name should not contain spaces. if variable name more 1 word, should separated underscore ($my_string), or capitalization ($mystring)

i believe post data string in associative array , not treated normal php variable. think hyphens in ok, i'm not sure. however, know hyphens in actual php variable names not allowed.





More discussions in ActionScript 3


adobe

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support