recevie data or string using PHP
<p>update images to server using php called a.php.If I want to post some strings,can I use the same php,or I need create a new one.</p>

<p>this is the a.php excerpt:</p>

<pre><code>&lt;?php

$con=mysql_connect("localhost","root","wk123456");
mysql_select_db("update",$con);
if($_FILES['uploadedfile']['size']&gt;0)
{
$fileName=$_FILES["uploadedfile"]["name"];
$tmpName=$_FILES["uploadedfile"]["tmp_name"];
$fp=fopen($tmpName,'r');
$content=fread($fp,filesize($tmpName));
$content=addslashes($content);
fclose($fp);
...
mysql_close($con);
?&gt;
</code></pre>
