Search results

  1. J

    Little help in SQL

    // get value of id that sent from address bar $id=intval($_Post['id']); $username = $_Post['username']; $password = $_Post['password']; $email = $_Post['email']; For inserted/updated data use mysql_real_escape_string
  2. J

    Self Whitelisting Help

    <?php function linkback($link, $ururl) { $ch = curl_init($link); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_USERAGENT, 'Opera/9.80 (Windows NT 5.1; U; en)...
  3. J

    Having Problem with Header

    After or before this <if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
  4. J

    Self Whitelisting Help

    are another error if (strpos($page,ururl)===false) if (stripos($page,$ururl)===false) //they have the url in capital letters and back to the idea i did before $ipAddress = gethostbyname($siteurl); if($ipAddress !== $siteurl) //validate if real the site exists else{"ERROR: Invalid URL"} in...
  5. J

    UnderGroundPorn - Get WhiteListed

    webmastercp.php?wcptask=deletequeue&id=1'OR'1=1''&done=1 very nice good job
  6. J

    Self Whitelisting Help

    $ururl = "xtremeddl.net"; if (stripos($page,$ururl)===false)
  7. J

    Self Whitelisting Help

    parse_url don't remove the www. from domain, if pased as http;//www,domain.com will be accepted as www,domain.com
  8. J

    Self Whitelisting Help

    I guess if the link back are commented will be accepted too <!--LINK to Site--> //are accepted Try always validate the users input data, never forget to safe the query's $siteurl = $_POST['siteurl']; //need be in http $siteurl = parse_url(trim($siteurl)); //remove spaces split the url...
  9. J

    DDL CMS Help

    that are in ddlcms Toggle Provider (view downloads by Provider/arrows) check in db arrowsForProvider TINYINT(1) unsigned DEFAULT 0 NOT NULL,
  10. J

    DDL Script

    ddlcms install and go
  11. J

    Help sorting files from directory by latest uploaded

    http://webxadmin.free.fr/article/php-dir-list-and-sort-by-date-209.php
  12. J

    help required soon

    <?php include "funcs.php"; // Create table $sql = mysql_query(" CREATE TABLE IF NOT EXISTS `wcddl_blacklist` ( `url` varchar(255) NOT NULL, PRIMARY KEY (`url`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; CREATE TABLE IF NOT EXISTS `wcddl_config` ( `config_name` varchar(200) NOT NULL...
  13. J

    Re-write some URLs

    Options +FollowSymLinks RewriteEngine On RewriteRule ^browse/([^/]*)$ /index.php?type=$1 [L]
  14. J

    PHP/MySQL Script Ideas?

    an dynamic metatags (title,description,keywords) based on search type category page... something simple to users can easily adapt to there sites, overigthing the tags. something like if(isset($search)) QUERY distinct title from db where title like %$search% TAG=msql_array if(isset($page))...
  15. J

    Uploading to FileSonic Using cURL

    if(user=gunda316) respect++;
  16. J

    WcDDL whitelist.php

    code above edited, try again i left there the date and reason, shold be that the error
  17. J

    WcDDL whitelist.php

    <?php /*BEGIN_INFO Show if an Site are white/black Listed!<br> by jomasaco. END_INFO*/ if(!defined("WCDDL_GUTS")) exit; $modEnabled = true; //Change to false if don't use if($modEnabled) { $outbw = '<form action="'.$_SERVER['PHP_SELF'].'" method="post">...
  18. J

    DLE RSS Problem

    whitespace php tag not closed something passed to browser before finishes processes the code.
  19. J

    mysql auto repair table upon crash

    an loop CHECK TABLE foreach table msg !=ok repair, optimize or $alltables = mysql_query("SHOW TABLES"); while ($table = mysql_fetch_assoc($alltables)) { foreach ($table as $db => $tablename) { mysql_query("OPTIMIZE TABLE '".$tablename."'") or die(mysql_error())...
  20. J

    Rank Hierarchy Icons

    http://addons.teamspeak.com/directory/skins/icon-packs.html
Back
Top