I tried to build a flex mobile login system with php and mysql , i used the to connect with the login php script and i made the necessary server configuration for the project.Here is the http service tag that i used :
<s:HTTPService id="login_user" url="mylogin.php" method="post" useProxy="false" result="onResult(event)" >
<s:request xmlns="">
<first_name>
{first_name.text}
</first_name>
<password>
{password.text}
</password>
</s:request>
</s:HTTPService>
but i got the following error :
[RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: app:/yourlogin.php" errorID=2032]. URL: login.php"]
I can't understand what's wrong , can you help me please ?
尝试使用完整路径,例如http://localhost/?yourPath?/mylogin.php
<s:HTTPService id="login_user" url="http://localhost/?yourPath?/mylogin.php"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.