I looked at porting mdb, but it's a lot of work. On linux we use valgrind to track leaks.
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?
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.
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.
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!
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".
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.
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.
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.
A "Best Practices for Sending Mail from PHP" ZendCon 2007 mp3 file (67M) can be downloaded from
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)
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, ...).
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.
I found I had to also create a symlink to mysql_config:
ln -s /path/to/mysql_config /usr/bin/mysql_config
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.)
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.
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.
What's *your* favorite restaurant there? Our big discovery last time was this cheap burrito place downtown:
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)

