RE: [PHP-WIN] Re: include_path and relative vs. absolute paths

2004-08-17 Thread David Hamilton
I've had some problems with this at well. I thought about implementing one of the solutions below: $dir = dirname($_SERVER["PATH_TRANSLATED"])"/../includes/"; But it looks like this might have some problems when used with PHP 5. http://www.php.net/manual/en/migration5.incompatible.php Just my

[PHP-WIN] zlib html compression

2004-10-15 Thread David Hamilton
..probably not a good idea...) Any help/comments/suggestions would be greatly appreciated. Thanks, David Hamilton -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] cURL as proxy

2004-10-05 Thread David Hamilton
Hello all, I've run into is strange situation and I am hoping someone on the list can help. I need to use cURL to retrieve information on a remote (non-SSL) webpage. The problem: the page I need to retrieve from is dynamic and the content is determined by the user's IP address. Is there any way

RE: [PHP-WIN] Re: MySQL Errors

2004-10-21 Thread David Hamilton
This might also be of some help. Change your result and fetch lines to read: $result = mysql_query($sql,$db) or die (mysql_error()); $myrow=mysql_fetch_array($result) or die(mysql_error()); David -Original Message- From: Robert Schipper [mailto:[EMAIL PROTECTED] Sent: Thursday, October