19th August @ 13:52 EDT

I looked at porting mdb, but it's a lot of work. On linux we use valgrind to track leaks.

by Wez in .
19th August @ 11:52 EDT

Wez, thanks for porting libumem to linux, I could get it running in my embedded system in no time. I was wondering what post processing tools you're using to analyze memleaks. Sun's site recommends using mdb (modular debugger) with commands like ::findleaks. Is there a linux port of mdb?

by Prasanna in .
15th August @ 11:02 EDT

Hi,

I'm using PDO with Oracle, and I have a question about LOBS. In the documentation, we always find this example : "select contenttype, imagedata from images where id=?", with only one row in the resultset.

continue reading …

by Joël in .
5th August @ 12:39 EDT

Dear Wez,

A complete newby, I am writing an application for me, to be used and maintained by me, using Php, HTML, MySQL, and some javascript. Today was the first time I needed a goto, and I was amazed to find it doesn't exist in Php. It would have been very useful. I think really it is my own business if I write spaghetti code... As it is, I had to make an unusually complex loop, using control variables which were themselves modified by developments within the loop. I think a goto would have been much easier to use in this instance, easier to maintain, and less time consuming. I think keeping goto out of php is an undemocratic attitude, which doesn't recognise that different people have different programming styles. People who don't like gotos need not use them! Of course I would not use a goto to send execution into the middle of a loop, and if I did, I would be the only one to suffer the consequences.

continue reading …

by tdshorter@hotmail.com in .
1st August @ 14:31 EDT

Wes,

This looks really cool, just like every other project you work on. It might even make me a mac convert if I can get it to work!

continue reading …

22nd July @ 22:19 EDT

Hi,

I am using the script to try and interact with the Google Calendar API which requires the content type to be set as "application/atom+xml".

continue reading …

by Andrew in .
21st July @ 04:38 EDT

If you're using FileVault, you'll certainly want to use fixed-size disk images. With FileVault enabled, disk image resizing is pretty painful. Better to take the hit up-front, when creating the disk image.

FWIW I didn't seem much performance hit for VMs after I enabled FileVault.

by Richard Dawe in .
3rd July @ 09:26 EDT

Hi Lukas,

The timeout is per underlying IO syscall issued on the stream, so you get up to 60 seconds (the default) for connect, 60 seconds for the first underlying read call, 60 seconds for the next and so forth.

continue reading …

3rd July @ 03:28 EDT

Hi Wez,

I am wondering about stream_set_timeout(). If I understand the purpose correctly it only controls the timeout until a connection is established, it does not however control how long the entire requests may take to complete. I guess this is my job to handle while reading the data chunks, but it would be nice to be able to define this on a stream level. It would make it much easier (and more performant) for PHP library authors to offer a maximum time for request completion.

26th June @ 11:02 EDT

A "Best Practices for Sending Mail from PHP" ZendCon 2007 mp3 file (67M) can be downloaded from

http://zendcon.sessions.s3.amazonaw...podcast_002.mp3

25th June @ 08:15 EDT

Since you can't guarantee anything about the out-of-band bounce that you get back, I'd recommend using VERP and signing that address (you can use your salted md5 approach for that).

SRS does something like this already (check out libsrs2)

25th June @ 03:46 EDT

Usually, a bounce contains a copy of the mail that yould not be delivered. We use this behaviour and add a new header with the value md5(SECRET . $recipient_address) to outgoing mails. This enables us to verify that bounces are not faked and act on them automatically (displaying a message to the user that something is wrong with his mail account, stop sending emails to him, ...).

25th April @ 06:19 EDT

Hello there?

Can you give me help after installation of EvilShell? In the moment the icons on the taskbar-replace and in the run-dialog were interpreted as .lnk and can`t be opened. Also it is not possible to place the slit anywhere else. on the other way it looks nice and I want to make a donation if it is working properly.

continue reading …

by Burkhard.Voigt@gmx.net in .
21st April @ 03:34 EDT

Hey...

Could someone please help me with HTTPS POST request?

continue reading …

by Sumedh Inamdar in .
15th April @ 10:38 EDT

I found I had to also create a symlink to mysql_config:

ln -s /path/to/mysql_config /usr/bin/mysql_config

continue reading …

by Laura Thomson in .
14th April @ 14:13 EDT

Thanks for the tutorial. This information let me eliminate yet one more plugin from my blog - freeing up a little more memory.

By the way, PIP OpenID delegation appears to work with just the openid.server and openid.delegate links. (I didn't link to XRDS or YADIS.)

continue reading …

11th April @ 08:53 EDT

There's a mailing list you can join if you're super-interested (php-objc@lists.php.net), or you can just browse around the archives at <a href="http://news.php.net/php.objc">http://news.php.net/php.objc</a>.

You should note that xcode doesn't help you write a php based cocoa app. I believe that it is possible to set up a project template to make that easier, but afaics there is no officially supported way to do that either... and it looks to be highly xcode version specific.

continue reading …

11th April @ 00:37 EDT

This <a href="http://blog.phpdoc.info/archives/83-php-5.2.5-on-Leopard.html">page</a> got me to nearly what I needed.

I got your extension compiled and installed, but alas I am not yet familiar enough with xcode to figure out how to get the option to create a Cocoa-PHP app or even how to get the sample code into a project correctly where I can see the currency converter actually do something.

continue reading …

by otkcotsd@yahoo.com in .
5th April @ 13:13 EDT

What's *your* favorite restaurant there? Our big discovery last time was this cheap burrito place downtown:

http://tinyurl.com/5uegzd

continue reading …

by Jeff Griffiths in .
28th March @ 12:50 EDT

When SELECTing BLOBs with PDO_OCI from an Oracle XE the apache process dies an the apache error.log show segmentation faults like this:

[Fri Mar 28 16:19:27 2008] [notice] child pid 20674 exit signal Segmentation fault (11)

continue reading …

by Felix in .