[PHP-DEV] Editing the wiki

2016-09-20 Thread Sam Hobbs
Login: simplesamples Real Name: Sam Hobbs I intend to improve the following article: PHP: internals:windows:stepbystepbuild https://wiki.php.net/internals/windows/stepbystepbuild -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] mysql_connect using version 5.0.1 accesses the internet when host and client are the same system

2004-09-15 Thread Sam Hobbs
I am using PHP Version 5.0.1, MySQL 5.0.1-alpha-nt, and Apache/2.0.48 with Windows XP with SP2. When I use mysql_connect in a php page in Apache to connect to the "localhost" I get: Warning: mysql_connect() [function.mysql-connect.chm]: Can't connect to MySQL server on 'localhost' (10061) I

Re: [PHP-DEV] mysql_connect using version 5.0.1 accesses the internet when host and client are the same system

2004-09-16 Thread Sam Hobbs
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I am not sure why you assume this to be a PHP problem. I thought I was being reasonable. I thought I was clear about saying I was not sure it is a PHP problem. I was trying to help by helping diagnose a problem. If

Re: [PHP-DEV] mysql_connect using version 5.0.1 accesses the internet when host and client are the same system

2004-09-16 Thread Sam Hobbs
"Adam Maccabee Trachtenberg" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Also, are you really using the mysql extension with MySQL 5.0.1? If > so, you need to make sure you pass special flags to MySQL to make it > play nice with the older client libraries. I am sorry, I don't

Re: [PHP-DEV] mysql_connect using version 5.0.1 accesses the internet when host and client are the same system

2004-09-16 Thread Sam Hobbs
"Andrey Hristov" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >> > Hi, > AFAIK MySQL on windows by default tries to use TCP/IP, this differs from > the > default behavior on *nix, where it tries to Unix socket and after that > TCP/IP. > On windows nt one can use named pipes, howev

Re: [PHP-DEV] mysql_connect using version 5.0.1 accesses the internet when host and client are the same system

2004-09-16 Thread Sam Hobbs
"Andrey Hristov" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > AFAIK this is _not_ a PHP error message. Look at the message (in my original post) again. It sure looks like a php message to me, but perhaps I misunderstand. Is "mysql_connect()" a php function or a libmysql funct

Re: [PHP-DEV] mysql_connect using version 5.0.1 accesses the internet when host and client are the same system

2004-09-16 Thread Sam Hobbs
PHP can't > either and it wouldn't be a PHP problem. > > -Rasmus > > On Thu, 16 Sep 2004, Sam Hobbs wrote: > >> "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message >> news:[EMAIL PROTECTED] >> > >> > I am not sure why yo

Re: [PHP-DEV] mysql_connect using version 5.0.1 accesses the internet when host and client are the same system

2004-09-16 Thread Sam Hobbs
"Andrey Hristov" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Maybe Windows is different than Linux in the way it handles connections > on > 127.0.0.1 ? What leads me to think about this is that only Windows > firewalls > are mentioned. This is possible and if so then I agree

Re: [PHP-DEV] mysql_connect using version 5.0.1 accesses the internet when host and client are the same system

2004-09-16 Thread Sam Hobbs
"Adam Maccabee Trachtenberg" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > http://dev.mysql.com/doc/mysql/en/Old_client.html Does the mysql extension use a "pre-4.1" client? Perhaps the php documentation answers that and if so then I don't expect you to answer that. Note that

Re: [PHP-DEV] mysql_connect using version 5.0.1 accesses the internet when host and client are the same system

2004-09-17 Thread Sam Hobbs
"Cris H" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I understand (it's been a while) that Windows behaves slightly > differently and has no real loop-back, so it uses the stack eben > for local connections. I have a vague recollection of similar > issues using a home-grown ser

Re: [PHP-DEV] mysql_connect using version 5.0.1 accesses the internet when host and client are the same system

2004-09-17 Thread Sam Hobbs
"Adam Maccabee Trachtenberg" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > In this case, there is a line on the main page of the mysql docs on > php.net that says: > > "This MySQL extension doesn't support full functionality of MySQL > versions greater than 4.1.0. For that, use M

Re: [PHP-DEV] mysql_connect using version 5.0.1 accesses theinternet when host and client are the same system

2004-09-17 Thread Sam Hobbs
"Georg Richter" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > If you're using MySQL 4.1 or above you should use the same client > library - even if the authentication is not a problem, you will run into > several problems when retrieving resultsets metadata. I don't understand t

[PHP-DEV] Copying HTML from a document to another document

2004-09-19 Thread Sam Hobbs
Please see: Copying HTML from a document to another document http://marc.theaimsgroup.com/?l=php-general&m=109419037409980&w=2 It has been more than two weeks without a reply. I suspect there is a bug in PHP. I assume the people looking at that list can't answer the question. Am I supposed to a

Re: [PHP-DEV] Copying HTML from a document to another document

2004-09-19 Thread Sam Hobbs
"Christian Stocker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > On 19.9.2004 20:30 Uhr, Sam Hobbs wrote: >> Please see: >> >> Copying HTML from a document to another document >> http://marc.theaimsgroup.com/?l=php-general&

Re: [PHP-DEV] Copying HTML from a document to another document

2004-09-19 Thread Sam Hobbs
I am sorry for getting impatient, but I truly believe that my original question was very reasonalble and relevant. If not, then it would help for someone to be clear about the problem. The very vague answers don't help me; I sure don't understand what the problem is. If the "How To Ask Question

Re: [PHP-DEV] Copying HTML from a document to another document

2004-09-19 Thread Sam Hobbs
"Christian Stocker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > http://www.w3.org/TR/DOM-Level-2-Core/core.html#Core-Document-importNode > > explains it all quite good. And it's no guarantee, that it works in php5, > if it works in JS (the JS implementations aren't flawless ;

Re: [PHP-DEV] Copying HTML from a document to another document

2004-09-19 Thread Sam Hobbs
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Would you please stop asking questions that have nothing to do with > low-level PHP internals on the internals list. You are getting gruff > responses because your posts are completely off-topic to this list. Post > s

Re: [PHP-DEV] Copying HTML from a document to another document

2004-09-19 Thread Sam Hobbs
"Adam Maccabee Trachtenberg" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > foreach ($ContentsDocument->childNodes as $Node) { >$n = $Document->importNode($Node, true); >$Cell->appendChild($n); > } Wow! Wonderful! That sure seems to work. That seems to be all I needed. I