Shaon
-
Posts
2 -
Joined
-
Last visited
Never
Posts posted by Shaon
-
-
Hi all,
I need help in converting the HTML to RSS2 in PHP.
Like:
[code]
$rss2=HTML2RSS($html);
# $html <-- some html code
# $rss2 <-- contains the rss feed return by function
[/code]
Is here anyone to help me!!!
Thanks
-Shaon
writing to a txt file
in PHP Coding Help
Posted
i need help desperately
I need a way where i can have a user type information into a form and submit it
after it is submited it should be saved to the server and ready to see
writing to a txt file
can someone help
[/quote]
Hi,
Try with this
[code]
function savefile($filename,$content)
{
if (!$handle = fopen($filename, 'w')) {
echo "Cannot open file ($filename)";
exit;
}
if (fwrite($handle, $content) === FALSE) {
echo "Cannot write to file ($filename)";
exit;
}
fclose($handle);
return true;
}
[/code]