Home Blog PHP
PHP
Cross domain AJAX request never go to success
PHP
Written by Dicky   
Friday, 08 August 2014 12:59
AddThis Social Bookmark Button

I was working on implementing a form that do cross-domain AJAX request using $.ajax() functionality in jQuery.

Read more...
 
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by
PHP
Written by Dicky   
Wednesday, 11 July 2012 15:47
AddThis Social Bookmark Button

Another issue that I found when executing session_start(); PHP is sometimes you get the following error: Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by xxx

Read more...
 
Fatal error: Uncaught exception 'apiAuthException' with message 'Error fetching OAuth2 access token, message: 'invalid_request'
PHP
Written by Dicky   
Wednesday, 11 July 2012 15:34
AddThis Social Bookmark Button

I was playing around with Google API and I have issue with authentication.

Read more...
 
Substracting or adding time in PHP to adjust timezone
PHP
Written by Dicky   
Tuesday, 03 April 2012 15:36
AddThis Social Bookmark Button

I have a cell stored in the database in UTC timezone. I need to convert them to PST so the output will match with current local time. I don't want to mess around with the database settings, php.ini or any server configuration. I have searched many examples but none of them give me a simple solution.

Read more...
 
Fix RokComments to not use https on IntenseDebate
PHP
Written by Dicky   
Wednesday, 11 May 2011 13:20
AddThis Social Bookmark Button

I installed RokComments plugin for Joomla! so visitors can post comments about my article. On every comments that user posted, I received an email from IntenseDebate (the comment platform I used) which contains a link to my article. However, the link in the email always point to https:// URL instead of http://. I don't have SSL installed so that link will bring me to error page.

Read more...
 
<< Start < Prev 1 2 3 Next > End >>

Page 1 of 3