prosoxi.com | Archive | June

Archive | June, 2009

List of TCP and UDP port numbers

Color coding of table entries

Official Port/application combination is registered with IANA
Unofficial Port/application combination is not registered with IANA
Conflict Port is in use for multiple applications

Continue Reading

Posted in Network3 Comments

ASP (VB, C#) / PHP code reference

ASP (vb.net and c#.net) and PHP are the most common language for web development environment. This are not the fully conversion of one to other but get a quick references. We could get the ASP Convertor for free from the net but this might help to the developer when we work in different cross language or want to learn the basic syntax of similar different languages. Continue Reading

Posted in ASP / ASP.net, PHP0 Comments

The file web.sitemap required by XmlSiteMapProvider does not exist.

The most common case when the “The file web.sitemap required by XmlSiteMapProvider does not exist” error is received is when a SiteMap control was added to a WebForm, however you don’t have a mandatory Web.sitemap file in the root of your web application.
To fix this error, make sure you have this file in the root directory, and that it is a valid XML file that has the website’s sitemap defined. An example Web.sitemap file can be seen below:

<?xml version=1.0 encoding=utf-8 ?>

<siteMap xmlns=http://schemas.microsoft.com/AspNet/SiteMap-File-1.0 >

<siteMapNode url=Default.aspxtitle=Geekpedia description=Home Page of Geekpedia.com >

<siteMapNode url=Register.aspx title=Registration description=Register a new account. />

<siteMapNode url=SignIn.aspx title=Sign-In description=Sign-in into your existing account. />

</siteMapNode>

</siteMap>

Posted in ASP / ASP.net0 Comments

The ASP.NET Repeater Web Server Control

<asp:Repeater id="myRepeaterPlain" runat="server">
  <ItemTemplate>
    <%# DataBinder.Eval(Container.DataItem, "Id") %>,
    <%# DataBinder.Eval(Container.DataItem, "Name") %>,
    <%# DataBinder.Eval(Container.DataItem, "URL") %>,
    <%# DataBinder.Eval(Container.DataItem, "Image") %>
    <br />
  </ItemTemplate>
</asp:Repeater>

Posted in ASP / ASP.net0 Comments

Sharethis flash (Social bookmarking in flash)

Social bookmarking in flash!!!

Now you can , place a “bookmark button” directly inside flash for sharing with the most popular online services!.

This little utility can enable you to SUBMIT to most popular informational, news and bookmarking services on internet (Digg ,del.icio.us … etc.) It will help you drive more traffic to your site.

AS3

http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=1599018#

AS2

http://flashden.net/item/social-sharing-and-bookmarking-from-flash-class/31755

Posted in Flash1 Comment

SOAP Server with PHP5

Setting up a SOAP web service with php used to seem pretty intimidating to me, until I finally decided that I would hunker down and build my own WSDL. Now that I’ve successfully gone through the process of building a SOAP web service with php5, I would say that it really isn’t all that bad. I was actually quite surprised at how easy it was in the end.

To get started, I recommend the PHP Soap Extension article found on the Zend Developer Zone website. Before going through the tutorial you’ll need to make sure that you are running on php 5 with the soap extension installed. If you’re not sure if you are on version 5 or if the SOAP extension is indeed installed, create a script with the following code: Continue Reading

Posted in PHP0 Comments

Linux /dev/sda1 disk full

The other thing is that when you update the .deb files go in /var/cache/apt/archive. To clean it up use:

Code:
apt-get clean
or

Code:
apt-get autoclean
from the man page:

Quote:
clean
clean clears out the local repository of retrieved package files. It removes everything but the lock file from /var/cache/apt/archives/ and /var/cache/apt/archives/partial/. When APT is used as a dselect( method, clean is run automatically. Those who do not use dselect will likely want to run apt-get clean from time to time to free up disk space.

autoclean
Like clean, autoclean clears out the local repository of retrieved package files. The difference is that it only removes package files that can no longer be downloaded, and are largely useless. This allows a cache to be maintained over a long period without it growing out of control. The configuration option APT::Clean-Installed will prevent installed packages from being erased if it is set to off.

Posted in Linux0 Comments

mysql: “not cleanly closed and upgrade needing tables” problem

I have used mysql server on my laptop with gutsy on xfs file system. I have tested on hardy version and have same output as following

Quote:
sudo /etc/init.d/mysql start
* Starting MySQL database server mysqld [ OK ]
* Checking for corrupt, not cleanly closed and upgrade needing tables.
I google and couldn’t find a clean solution. I have already do

Quote:
myisamchk *.MYI
myisamchk –recover *.MYI
myisamchk –safe-recover *.MYI
But unfortunately problem still there. I need your help about why and how this can be solved. Thank a lot for your help.

Posted in MySQL1 Comment

Job control

bg – Resume the suspended job jobspec in the background
cron – Daemon to execute scheduled commands
fg – Resume the suspended job jobspec in the foreground
jobs – list the active jobs
disown – Remove job from the table of active jobs
suspend – Suspend the execution of this shell
wait – Wait until the child process exits

Posted in Linux0 Comments

Redirect iframe to top target with php

Redirect iframe to top target with php

<script>window.top.location.href=”<?php echo “index.php/final?code=1″; ?>”</script>

Posted in JavaScript - Ajax, PHP0 Comments

Domain Finder

Domain Finder Tool by Truste.gr

read more for domains

Advertisers

Wedstar all about wedding - gamos - γαμος
Κατασκευή ιστοσελίδων
Domain Names | Hosting

Adds