wapdesire v2 xhtml (teaze-n-plz.com)
Collapse
X
-
tell him to delete the folders and make them in cpanel do not alter the permissions some hosts seem to allow uploading on folders created by that user
Leave a comment:
-
if chmod folders: downloads, gallery and smilies dont work with 777, what can one do? Im helping someone setting up his site, but that 3 folders is a problem for me, he uses iwap9.in. On my server(paid) I don't have the problem
Leave a comment:
-
like this ......
$databaseuser="mctbm_6732099";
$databasepass="123456";
$databasename="mctbm_6732099_wapper21";
Leave a comment:
-
$databaseuser="DATABASE USERNAME HERE_DATABASE USERNAME HERE";
$databasepass="DATABASE PASS HERE";
$databasename="DATABASE NAME HERE_DATABASE NAME HERE";
Leave a comment:
-
pls help me on main.inc... where i can put my database pls tell me... thx coderszz
<?php
function incfile($file,$d="")
{
while(!is_file($d.$file)){$d.="../";}
require($d.$file);
}
incfile('./core/register.inc');
incfile('./core/functions.inc');
incfile('./core/xhtml.inc');
incfile('./core/admin.inc');
incfile('./core/userinfo.inc');
incfile('./core/header.inc');
$databasehost="localhost";
$databaseuser="root";
$databasepass="rootwdp";
$databasename="teaze_chat";
mysql_connect($databasehost, $databaseuser, $databasepass) or
die("Could not connect to the database");
mysql_select_db($databasename);
putenv("TZ=".timezone());
//if($username=="")$username="guest";
$key0="accesskey=\"0\"";
$zerokey="<b>0 </b>";
$key1="accesskey=\"1\"";
$onekey="<b>1 </b>";
$key2="accesskey=\"2\"";
$twokey="<b>2 </b>";
$key3="accesskey=\"3\"";
$threekey="<b>3 </b>";
$key4="accesskey=\"4\"";
$fourkey="<b>4 </b>";
$key5="accesskey=\"5\"";
$fivekey="<b>5 </b>";
$key6="accesskey=\"6\"";
$sixkey="<b>6 </b>";
$key7="accesskey=\"7\"";
$sevenkey="<b>7 </b>";
$key8="accesskey=\"8\"";
$eightkey="<b>8 </b>";
$key9="accesskey=\"9\"";
$ninekey="<b>9 </b>";
$keyS="accesskey=\"*\"";
$Skey="<b>* </b>";
$keN="accesskey=\"#\"";
$Nkey="<b># </b>";
$row_users=mysql_fetch_array(mysql_query("select * from users where username='".getnick_sid($sid)."'"));
$row_profiles=mysql_fetch_array(mysql_query("selec t * from profiles where uid='".getuid_sid($sid)."'"));
$row_quiz=mysql_fetch_array(mysql_query("select * from quiz"));
$count_popup=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM popups WHERE unread='1' AND toid='".getuid_sid($sid)."'"));
$query="select * from settings";
$result=mysql_query($query);
$num_rows=mysql_num_rows($result);
$row=mysql_fetch_array($result);
$sitename=sitename();
$align=align();
$vars=$_GET;
function isreq($str)
{
$req="a.p.b.g";
$pos=strpos($req, $str);
if($pos===false){return false;}
return true;
}
foreach($vars as $var=>$val){
if(!isreq($var)){
$uname=$var;
break;
}
}
if(end(explode("/",$_SERVER['SCRIPT_FILENAME']))=="index.php"&&isuser(getuid_nick($uname))){
header("location: ./wapsites/wapsite.php?$uname");
exit;
}
$total="3";
$file_type=".png";
$start="1";
$random=mt_rand($start, $total);
$image_name=$random . $file_type;
$logo="logo_".$image_name;
if(mobile())$logo="logo_".$image_name."&f=png& amp;w=150";
$banner="banner_".$image_name;
if(mobile())$banner="banner_".$image_name."&f= png&w=128";
$ver="<marquee loop=\"800\" bgcolor=\"red\" direction=\"left\">$sitename</marquee>";
$copyright="© ".sitename()." ".gmdate("Y");
$emailaddress=email(site);
$max_buds=100;
Leave a comment:
-
try to add this in your .htaccess to display the error.. I think something goes wrong, not on the register_globals but in the script
Code:php_flag display_errors On
Code:[php] display_errors = On
Leave a comment:
-
hi, ori and waptech. Unfortunaly nothing works 4me i chmoded folders to 777, used php.txt ori has atached in 1st pos as php.ini used also php.rar that subzero writed as php.ini placed php.ini in all folders but no stil can't register it just refreshing register.php page.Used this script on 2 difrent hosts on one of them i have 2 other community scripts instaled with no problem
Leave a comment:
-
Correct Register Global Command
for htaccess
Code:php_flag register_globals On
Code:[php] register_globals = On
Leave a comment:
-
I Can't register i placed register globals on in .htaccess and also tryed with php.ini but still no it's just refreshing register.php page
Leave a comment:
-
@ethanhunt, just click on the user profile, click admin tools and click on add plusses
Leave a comment:
-
please tel me how to increase points in admin mode how admin increase users points
Leave a comment:
-
Another question about forums of wapdesire script:
When I try to make some posts /or edit some of them....Sometimes, I get errors (Sometimes "Error Posting Message" and other times "Database error")....
Why is that? and what is the solution?Last edited by nadym89; 08.11.10, 12:13.
Leave a comment:
Leave a comment: