hi, welcome to code masters and serverman !
my server does not support DAT file [ .dat extension ] anybody know what should install ? need help
1 simple DAT file is attached Thanks!
🌹 JUST JOIN FOR FUN ! **[url]http://wapmaster2.com**
Started on the old forum in September 2010 · view the original in the archive · old links redirect here
hi, welcome to code masters and serverman !
my server does not support DAT file [ .dat extension ] anybody know what should install ? need help
1 simple DAT file is attached Thanks!
🌹 JUST JOIN FOR FUN ! **[url]http://wapmaster2.com**
You want to read it or make it work ??
Added after 6 minutes:
$p = 5;
$xfile=file('online1.dat');
$countfile=count($xfile);
if($npage=="")$npage="1";
echo "Tests:".$countfile."\n";
$second=($p*$npage);
$first=($p*($npage-1));
$npages=(int) ceil($countfile/$p);
if ($npage<=$npagesAND$npage>1)$gline_rew="<a href=\"$PHP_SELF?npage=".($npage-1)."\">Prev</a>";
if ($npages > 1 AND $npage<$npages) $gline_next = "<a href=\"$PHP_SELF?npage=".($npage+1)."\">Next</a> ";
for ($i = $first; $i <=*$second-1; $i++)
{
$a=explode("?",$xfile[$i]);
$test = rtrim($a[0]);
echo "$test";
}
print "".$gline_rew."|".$gline_next."";
Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!
SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…
no bro can not able to read that online1.dat file i have testing as your code below;
<?php
header("Cache-Control: no-cache, must-revalidate"); // Prevent caching, HTTP/1.1
header("Pragma: no-cache");
//header('Content-type: application/vnd.wap.xhtml+xml');
echo "<?xml version=\"1.0\"?>";
echo "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\" \"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">";
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<?php
echo "<head>";
echo "<title>Testing......</title>";
echo "</head>";
echo "<body>";
$p = 5;
$xfile=file('online1.dat');
$countfile=count($xfile);
if($npage=="")$npage="1";
echo "Tests:".$countfile."\n";
$second=($p*$npage);
$first=($p*($npage-1));
$npages=(int) ceil($countfile/$p);
if ($npage<=$npagesAND$npage>1)$gline_rew="<a href=\"$PHP_SELF?npage=".($npage-1)."\">Prev</a>";
if ($npages > 1 AND $npage<$npages) $gline_next = "<a href=\"$PHP_SELF?npage=".($npage+1)."\">Next</a> ";
for ($i = $first; $i <=*$second-1; $i++)
{
$a=explode("?",$xfile[$i]);
$test = rtrim($a[0]);
echo "$test";
}
print "".$gline_rew."|".$gline_next."";
echo "</body>";
?>
</html>
🌹 JUST JOIN FOR FUN ! **[url]http://wapmaster2.com**
$content = file_get_contents('dile.dat');
echo $content;
Advertise your mobile site for FREE with AdTwirl
$content = file_get_contents('dile.dat'); echo $content;
woooo its readable thanks bro you are GR8!
🌹 JUST JOIN FOR FUN ! **[url]http://wapmaster2.com**