Dear All,
I have two files, usr_profile.php and edit_profile.php.
The former is for displaying the user's info viz 'Name', 'Email' etc while the latter is for editing the info available in the former. After editing the info in the edit_profile.php and submitting it, it gets redirected to the usr_profile.php.
The problem is with image (user photograph) upload. After uploading a new image, the new image doesnt get displayed in the usr_profile.php page unless it is refreshed manually.
I have already used,
header('Cache-Control: no-cache');
header('Pragma: no-cache');
in the usr_profile.php file, but to no avail.
Any suggestion would be greatly appreciated.
Regards,
Paranjyoti