wapdesire v2 xhtml (teaze-n-plz.com)
Started on the old forum in April 2009 · view the original in the archive · old links redirect here
TL;DR · summary of 163 replies
- -chmod upload folders to 777 needs to be done for specific directories like gallery, downloads, and smilies.
- -For adding points to users, it involves modifying the database or using a custom function in PHP as suggested by quiksilverX.
- -php.txt is used when register globals are not enabled, requiring renaming it to php.ini and placing it in relevant folders.
- -Database configuration needs to be set up with correct information for wapdesire v2.
Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.
ethanhunt, just click on the user profile, click admin tools and click on add plusses
http://myfacepals.com MYFACEPALS SOCIAL NETWORKExternal image (may be gone)
Correct Register Global Command
for htaccess
php_flag register_globals On
for php.ini
[php]
register_globals = On
External image (may be gone) http://wapx.amob.com Applications, Games, Wallpapers, Ringtones, Videos, Themes, Screensaver and More!!!
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 🙁
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
php_flag display_errors On
if your server is running on phpsuexec mode, php_flag wont work and return to 500 internal server error, you can try using php.ini instead..
[php]
display_errors = On
External image (may be gone) http://wapx.amob.com Applications, Games, Wallpapers, Ringtones, Videos, Themes, Screensaver and More!!!
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="**0**"; $key1="accesskey=\"1\""; $onekey="**1**"; $key2="accesskey=\"2\""; $twokey="**2**"; $key3="accesskey=\"3\""; $threekey="**3**"; $key4="accesskey=\"4\""; $fourkey="**4**"; $key5="accesskey=\"5\""; $fivekey="**5**"; $key6="accesskey=\"6\""; $sixkey="**6**"; $key7="accesskey=\"7\""; $sevenkey="**7**"; $key8="accesskey=\"8\""; $eightkey="**8**"; $key9="accesskey=\"9\""; $ninekey="**9**"; $keyS="accesskey=\"*\""; $Skey="*****"; $keN="accesskey=\"#\""; $Nkey="**#**"; $row_users=mysql_fetch_array(mysql_query("select * from users where username='".getnick_sid($sid)."'")); $row_profiles=mysql_fetch_array(mysql_query("select * 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&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;hey how about the logo idk how... i try to upload logo_1.png but it doesn't show help me just pm me.. and the profile pic... help me on my hosting too in freei.me the downloads and galley didn't work... i can upload but can't download the file... help just pm me pls.. i'm just a noob in coding. and in gallery the preview doesn't show..
nice share lavalair script bro
DoRiAnN DaMoN
coder programmer http://www.plugadoz.net