I have an HTML which posts a form to a PHP page. The PHP page encodes the password from the form using md5() function. And then I tried to save this MD5 code into a file using fwrite() function.
Here the error occures. fwrite() only accepts string parameter, but the return value of md5() is a number data type.
Can you tell me how can I convert a number to string, or string to number in PHP? (For general purpose. Not for only this problem.)
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.