Posted by Stefan Rybacki on 01/08/06 17:53
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Danny wrote:
> Thanks for the answer. I tried:
> $par = mysql_real_escape_string($p1);
> then i want to update this, but it only stored the temp filename of the file
> nothing else.
yes it should be
$par=mysql_real_escape_string(file_get_contents($p1));
Regards
Stefan
>
>...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1rc2 (MingW32)
iD8DBQFDwTVjyeCLzp/JKjARAmm7AJ4lg9k+CqJVz8xVYVQIMs2+fxIdrgCeNrEV
GTyDKSAqDUhgNo3lC2UMNH0=
=Wv9o
-----END PGP SIGNATURE-----
[Back to original message]
|