Sacramento, CA

Partly Cloudy 72° | 50°

Seattle, WA

AM Clouds/PM Sun 63° | 48°

Buk Life

Posts Tagged ‘PHP’

3 June 2009

Google Apps for mail and using PHP mail()

We use Google Apps for our internal mail.  Not sure why this never came up earlier, but with the server configuration we had, it was not allowing our server generated mail to be sent from PHP’s mail().  BKWLD is hosted by (MT) and their support provided this answer:

1.  Turn mail off for the server from Plesk
2.  Remove domain from your /var/qmail/control/rcpthosts file.
3.  Remove domain from  your /var/qmail/control/virtualdomains file. (This step wasn’t actually needed, but it is necessary if the domain exists in this file).

Hopefully will be of use to someone else, regardless of your host.

Update: Added the link Chris Parsons provided in the comments

3 Robert Reinhard,CTO

June 3rd, 2009 at 10:01 AM
Posted By: Robert Reinhard in Development

28 February 2008

Secure Your Web Apps

Facebook back in August, let super secret code out. Which made its rounds on the internet before it has now died down. Due to the fact that, a extremely large social network, let out it’s source code opened the alley for media to scrutinize Facebook.

Due to the code being leaked, a PHP developer wrote a article about securing your site, making sure no valuable code is leaked.

I suggest reading up on this, as any practice that secures your code, is a practice you should know.

Tags: ,
0 Garrett Bjerkhoel,Developer

February 28th, 2008 at 04:56 PM
Posted By: Garrett Bjerkhoel in Development

27 December 2007

Straighten quotes in textmate

One thing I missed from BBedit was straightening quotes. Just found these great commands that do the same thing.

2 Robert Reinhard,CTO

December 27th, 2007 at 03:41 PM
Posted By: Robert Reinhard in Development

14 November 2007

Leopard + mysql 2

I installed Leopard on my work comp last night. Because I was scarred of php/mysql config from Mark’s post I ended up using Mamp. Just learned of it this morning and installed it, but it’s working pretty nice. One useful thing is it makes it really easy to change your apache directory, so you could test sites out as the root of the webserver without any host file / vhost shenanigans. Also, you can quickly switch between php 4 and 5. I wish it installed as a system pref instead of an app, but still, pretty rad.

Mamp

Tags: ,
0 Robert Reinhard,CTO

November 14th, 2007 at 09:35 AM
Posted By: Robert Reinhard in Development, Operating Systems