|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-11-06 16:23 UTC] jeroen@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 06 07:00:02 2026 UTC |
i have a wml page like this <?xml version="1.0"?> <!DOCTYPE wml PUBLIC "-//PHONE.COM//DTD WML 1.3//EN" "http://www.openwave.com/dtd/wml13.dtd" > <wml> <head> <meta http-equiv="Cache-Control" content="max-age=0" forua="true"/> </head> <card title="Specials"> <p> text <input name="var1" emptyok="false" /><br/> </p> <do type="accept" label="Continua"> <go method="post" href="http://www.ciao.it/wap/a.php"> <postfield name="destname" value="$var1"/> </go> </do> </card> </wml> *************** in http://www.ciao.it/wap/a.php if I write echo $destname; I get value that i have inserted in wml page... instead if i write $fd=fopen("file.txt","w"); fputc($fd,$destname); in file.txt i get the string $var1 and if in php page i write mysql_query("insert into table (field) values '" . $destname . "');" in db i get the string $var1 instead of value that echo $var1 print!!!