Search found 193 matches

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: 31649

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: 29800

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: 29800

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