Search found 196 matches

by mister_v
Mon Jun 28, 2010 7:41 am
Forum: Servers
Topic: Solved: bincimap not starting
Replies: 2
Views: 33563

Solved: bincimap not starting

Hi,

After a reboot of my server bincimap was no started.
I tried staring it manually, but got following error:

Code: Select all

svc -u /service/bincimap/
svc: warning: unable to control /service/bincimap/: supervise not running
The command worked the last time I started it.
by mister_v
Mon Jun 14, 2010 8:28 pm
Forum: PHP
Topic: Solved: print of double/float
Replies: 1
Views: 21932

Solved: print of double/float

Hello,

I want to print a double/float value,
but i get to much numbers behind the comma.

example: 55.3333333333

I only want 2 numbers behind the comma.

Thanks
by mister_v
Sat Mar 20, 2010 8:01 pm
Forum: Apache
Topic: Solved: Apache won't start: no listening sockets available
Replies: 4
Views: 32075

Re: Apache won't start: no listening sockets available

Starting with the arguments makes it work:

Code: Select all

apache2 -D DEFAULT_VHOST -D PHP5 -k start
Thanks,
by mister_v
Fri Mar 19, 2010 11:41 pm
Forum: Apache
Topic: Solved: Apache won't start: no listening sockets available
Replies: 4
Views: 32075

Re: Apache won't start: no listening sockets available

I added the line: Listen 80 And the server starts without error: apache2 -k start But when I try accessing my site I get: 403 Forbidden You don't have permission to access / on this server. Apache Server at localhost Port 80 In my error log I get: tail /var/log/apache2/error_log [error] [client 127....
by mister_v
Sun Mar 07, 2010 11:17 pm
Forum: PHP
Topic: Solved Converting rrs-date format to MySQL date format
Replies: 5
Views: 30271

Re: Converting rrs-date format to MySQL date format

Thanks,

This works.
It gets the correct date.
by mister_v
Fri Mar 05, 2010 10:31 pm
Forum: PHP
Topic: Solved Converting rrs-date format to MySQL date format
Replies: 5
Views: 30271

Re: Converting rrs-date format to MySQL date format

Hi,

strtotime() doesn't do it for me.

I have the following code:

Code: Select all

	  $pubdate=date('Y-m-d',strtotime($rssdate));
	  print $rssdate."\n";
	  print $pubdate."\n";
Wich results in:
Fri, 5 Mar 2010 08:00:00 System/Localtime
1970-01-01

My php version:
PHP 5.2.6