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 “SOAP Server with PHP5”

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.

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.

CSS tips , bg iamge position, DIV hover

Css bg image position

stylesheet

.seabox {

background-image: url(images/seascape.gif);
background-repeat: no-repeat;
background-position: 0 0; /* remark: nothing between 0 and 0 */
}

html

<div>…</div>

http://home.tiscali.nl/developerscorner/port-hole/porthole.htm

CSS DIV HOVER

.home_tab {  (I’d call this #nav a)
width: 75px;
height: 26px;
background: url(images/home.jpg) top left no-repeat;
margin-left: 265px;
}
.home_tab:focus, .home_tab:hover, .home_tab:active { (I’d call this #nav a:focus, #nav a:hover, #nav a:active)
background-image: url(‘images/home_over.jpg’);
}

.home_tab {  (I’d call this #nav a)

width: 75px;

height: 26px;

background: url(images/home.jpg) top left no-repeat;

margin-left: 265px;

}

.home_tab:focus, .home_tab:hover, .home_tab:active { (I’d call this #nav a:focus, #nav a:hover, #nav a:active)

background-image: url(‘images/home_over.jpg’);

}