<? header("Content-type: text/xml");
include "mainfile.php";
$resultb = mysql_query("SELECT storyid FROM kuku_stories ORDER BY storyid DESC LIMIT 0,1000");
?>
<?php echo '<?xml version="1.0" encoding="ISO-8859-9"?>'; ?>
<?php echo '<urlset xmlns="http://www.google.com/schemas/sitemap/0.84">'; ?>
<? $i=1;
while ($resultat = mysql_fetch_array($resultb)) {
$storyid =$resultat[storyid];
$date=date('Y-m-d');
echo "
<url>
<loc>http://www.mysite.net/modules/news/article.php?storyid=$storyid</loc>
<lastmod>$date</lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url> ";
$i++;
} ?>
</urlset>
zoro_tong wrote:
I just found one typo in edituser.php file.
You have to change this line
Quote:
if (0 === strpos($user_avatarpath, XOOPS_UPLOAD_PATH) && is_file($user_avatarpath))
in edituser.php into
Quote:
if (0 == strpos($user_avatarpath, XOOPS_UPLOAD_PATH) && is_file($user_avatarpath))
<?php
$to = "xxxx@domain.tld";
$subj = "mytest";
$mess = "This is foo";
$headers = "pseudo@otherdomain.tld";
$mailsend = mail($to,$subj,$mess,$headers);
?>
Could not instantiate mail()