Posted on 30 January 2009.
To administer a computer that is running SQL Server 2000 or SQL Server 7.0 through an ISA server or Microsoft Forefront Threat Management Gateway, Medium Business Editionateway, you must configure both the ISA server and the client computer that has Enterprise Manager installed. Continue Reading
Posted in Windows
Posted on 30 January 2009.
Did you enable TCP/IP from Configuration manager? By default it is disabled and you need to enable it to connect from a remote client.
To enable TCP/IP:
1. run SQL Server Configuration manager
2. select SQL Server Network Configuration
3. select Protocols for ‘instancename’
4. right click on TCP/IP and select ‘enable’
Do you have Sql Server Management Studio. If yes, then you can open it and right click the instance in question, go to Properties -> Connections -> Check “Allow remote connections to this server”.
You might also have to enable TCP/IP Protocol to be enabled thru Configuration Manager.
Posted in MySQL, Windows
Posted on 27 January 2009.
Resolution
By default AwStats does not show countries visitors are coming from. To enable this feature, GeoIP plugin should be configured. Here is the information about this plugin from /etc/awstats/awstats.conf: Continue Reading
Posted in Linux, Plesk
Posted on 27 January 2009.
#update stats
/usr/local/psa/admin/sbin/statistics –-calculate-one –-domain-name=www.www.ww
Posted in Linux, Plesk
Posted on 27 January 2009.
STEP 1 – Download and install AWStats
login your server as root by Putty
change directory and download the archive by copy and paste in Putty Continue Reading
Posted in Linux, Plesk
Posted on 27 January 2009.
<script language=”javascript” type=”text/javascript” src=”Scripts/tiny_mce/tiny_mce.js”></script>
<script language=”javascript” type=”text/javascript”>
// Notice: The simple theme does not use all options some of them are limited to the advanced theme
tinyMCE.init({
mode : “textareas”,
height : “380″,
width : “380″,
theme : “advanced”,
valid_elements : “img[src|border|alt=|title|width|height|align|class],a[href|target=_blank],b/strong,div[align],br,ol,li,ul,p,blockquote”,
entity_encoding : “utf-8″,
plugins :”pagebreak”,
theme_advanced_buttons3 : “pagebreak”,
pagebreak_separator : “<!– my page break –>”
});
</script>
Posted in HTML - XHTML, JavaScript - Ajax
Posted on 27 January 2009.
php code
<?php
if (stripos($row_latestnews['nws_text_gr'],”<div style=\”page-break-after: always;\”><span style=\”display: none;\”> </span></div>”)<1)
echo substr($row_latestnews['nws_text_gr'],0,180);
else
{
$str=split(“<div style=\”page-break-after: always;\”><span style=\”display: none;\”> </span></div>”,$row_latestnews['nws_text_gr']);
echo $str[0];
}
?>
Posted in JavaScript - Ajax, PHP
Posted on 23 January 2009.
Warning: Cannot modify header information – headers already sent by (output started at #:\#######\htdocs\####\Connections\##_cp_UTF.php:2) in #:\#######\htdocs\####\includes\common\KT_functions.inc.php on line 464
in this error please include on top of the page the
MXI/mxi.php files
<?php require_once (‘includes/mxi/MXI.php’); ?>
Posted in PHP
Posted on 21 January 2009. Tags: as2, as3, development, Flash, programming
color = new Color (my_colors["thumbclip" + i].inside1.inside);
color.setRGB(’0x’+my_photo_sm.firstChild.childNodes[i].attributes.hex);
Posted in Flash
Posted on 21 January 2009.
/usr/local/psa/admin/sbin/mchk --with-spam
or
/usr/local/psa/admin/sbin/mchk
Posted in Plesk