[PHP-WIN] cUrl version
Hello Win2k, Apache 2.0, PHP5 I need to make an http request from behind an ISA proxy server. I am trying to use cURL for this, as it seems to offer the most configurable options with relation to a proxy server. This is the code I am using: $ch=curl_init(); curl_setopt ($ch, CURLOPT_URL, 'http://www.google.com/'); curl_setopt($ch, CURLOPT_HEADER, 1); curl_setopt($ch,CURLOPT_HTTP_VERSION,'CURL_HTTP_VERSION_1_1'); curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, 1); curl_setopt($ch,CURLOPT_PROXY,'10.0.0.8:8080'); curl_setopt($ch,CURLOPT_PROXYUSERPWD,'abc:123'); $ret = curl_exec($ch); It is failing as I am getting a 407 from the proxy server. This is apparently a known issue: https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1188280&group_i d=976 I believe that this is fixed in the latest version of curl, which is 7.14.0. However, as far as I know, I would need a new version of php_curl.dll in order to use this. I do not understand how to build this myself, or even what I would need in order to do this, and am not sure that I have the necessary software in any case. Are there any tutorials out there on how to do this? Thanks in advance Mark -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] Re: Perplexed - wont parse tags in html
Lots of possible solutions on this: http://www.webmasterworld.com/forum88/4806.htm And another is... change the extensions on your html files ""Fred"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > PHP5 - Apache2 - XPSP2 > New to PHP. > I have done everything I think I need to do to get PHP5 working. > I can link to and execute file.php scripts just fine, but scripts imbedded > with in html files are not parsed/executed. > I must have missed something really simple - but I can't find it. > Any ideas? > > TIA > > Fred. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-WIN] Script to query NTP server
> http://www.vanheusden.com/query_ntp.php > This site has one, maybe you can try to contact him/her.. - I came across that one too, but didn't think to contact the page owner for the source, I'll give it a go. Cheers. > And here is a manual... > (found with google: php+how+to+query+ntp) > http://www.kloth.net/software/timesrv1.php - thanks, I found that one, but unfortunately the script that queries the ntp server is in perl rather than PHP. ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. ** -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] for help on how to fix this...
I also have had the same problem that my companion. I want that you help me to fix this but with pg_conect() - PostgreSQL. Thanks... [12 Oct 2004 1:09am CEST] ferik100 at flexis dot com dot br Description:I have searched the web, posted to discussion lists and basically donemy homework, but try as I may I've yet to find a solution to thefollowing problem.I have recently installed MySQL 4.0.21, Apache 2.0.52 and PHP 5.0.2 on aWindows XP SP 2 machine. (BTW, I've successfully installed andconfigured Apache/MySQL/PHP dozens of times before under just aboutevery OS.) I uncommented the php_mysql.dll line in the php.ini file asusual, but when I run any script that uses one of the mysql functions, Iget an error message that reads, for instance:Fatal error: Call to undefined function mysql_connect() in...In my case, I don't get any errors from Apache when the server isstarted or re-started, but from what I've read here and there it seemsthat this problem is linked to php_mysql.dll not being loaded properly.I've checked my PATH (no MySQL doesn't come before PHP; in fact it's noteven there), I've tried copying libmysql.dll and php_mysql.dll toWINDOWS/SYSTEM32, and I've tried basically every other suggestion I'veread, but *nothing* works.I see that bug report #29912 seems to be pretty similar to mine, butit's been dismissed as "bogus". Curiously enough, lots of people outthere seem to be having the same problem as we are who were not havingany problems before. I'm not of course saying that the problem is"definitely" with PHP, but something funny's going on... [12 Oct 2004 8:36am CEST] [EMAIL PROTECTED] That doesn't make this a bug, you're just doing something wrong. Pleaserefer to the php-windows@lists.php.net mailinglist for help on how tofix this. There is no bug here. - Correo Yahoo! Comprueba qué es nuevo, aquí http://correo.yahoo.es
[PHP-WIN] for help on how to fix this...
I also have had the same problem that my companion. I want that you help me to fix this but with pg_conect() - PostgreSQL. Thanks... [12 Oct 2004 1:09am CEST] ferik100 at flexis dot com dot br Description:I have searched the web, posted to discussion lists and basically donemy homework, but try as I may I've yet to find a solution to thefollowing problem.I have recently installed MySQL 4.0.21, Apache 2.0.52 and PHP 5.0.2 on aWindows XP SP 2 machine. (BTW, I've successfully installed andconfigured Apache/MySQL/PHP dozens of times before under just aboutevery OS.) I uncommented the php_mysql.dll line in the php.ini file asusual, but when I run any script that uses one of the mysql functions, Iget an error message that reads, for instance:Fatal error: Call to undefined function mysql_connect() in...In my case, I don't get any errors from Apache when the server isstarted or re-started, but from what I've read here and there it seemsthat this problem is linked to php_mysql.dll not being loaded properly.I've checked my PATH (no MySQL doesn't come before PHP; in fact it's noteven there), I've tried copying libmysql.dll and php_mysql.dll toWINDOWS/SYSTEM32, and I've tried basically every other suggestion I'veread, but *nothing* works.I see that bug report #29912 seems to be pretty similar to mine, butit's been dismissed as "bogus". Curiously enough, lots of people outthere seem to be having the same problem as we are who were not havingany problems before. I'm not of course saying that the problem is"definitely" with PHP, but something funny's going on... [12 Oct 2004 8:36am CEST] [EMAIL PROTECTED] That doesn't make this a bug, you're just doing something wrong. Pleaserefer to the php-windows@lists.php.net mailinglist for help on how tofix this. There is no bug here. - Correo Yahoo! Comprueba qué es nuevo, aquí http://correo.yahoo.es