Re: [PHP] dns lookups only half working in chroot

2009-09-09 Thread Ben Dunlap
?php echo gethostbyname('www.google.de').\n; print_r(dns_get_record('www.google.de', DNS_A)).\n; ? [8] I don't understand why the first lookup fails, but the second one succeeds. Unfortunately thinks like fsockopen() seem to use the same technique as gethostbyname(), so they don't work

RE: [PHP] DNS lookup w/ php

2007-01-15 Thread Jay Blanchard
[snip] If I wanted to determine whether a domain has set up mx records, how could I accomplish this with PHP? [/snip] RTFM http://us3.php.net/manual/en/function.dns-get-mx.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] DNS lookups only sometimes

2005-10-07 Thread Richard Lynch
On Fri, October 7, 2005 2:54 pm, Jadel Menard wrote: I have an email validation script written in PHP that works on most Apache machines I try it on, with the exception (of course) of my production box that it needs to go on. This production machine is a Slackware 10.2 box, running

Re: [PHP] DNS lookups only sometimes

2005-10-07 Thread Jadel Menard
Thank you for your reply. You'd first have to show us the source code that does the email checks. In addition, see if you can dig out the httpd.conf and php.ini that are used on the production server, and post links to them, after removing any data you consider sensitive. As

RE: [PHP] DNS-less Connections With PHP?

2002-05-29 Thread Jay Blanchard
[snip] Could anybody explain to me (or even give me a link to a place explaining) the creation of DSN-less connections? I've extensivly searched Google with this, but I couldn't find anything that was of any help to me. I know how to do this in ASP, though... [/snip] PHP does not use the concept

RE: [PHP] DNS-less Connections With PHP?

2002-05-29 Thread Ed Gorski
Yes you really need to indicate what version of php you are using, what server you are using and what db you are using if you ever need to ask for help. Go to www.php.net and read up on: SQL SERVER mssql_connect() MYSQL mysql_connect() MOST obdc_connect() ORACLE ora_plogon() ed At 06:45

Re: [PHP] DNS

2002-03-23 Thread Jason Wong
On Sunday 24 March 2002 07:26, Liam wrote: 23/03/2002 11:26:39 PM Hi, err, I realise this has nothing to do with PHP but... I am in desperate need of a backup DNS host. I've scoured the internet and I can't find anyone who'll be my backup DNS. I'm willing to exchange the favour and be

Re: [PHP] DNS Lookups Fail

2001-02-26 Thread php3
Addressed to: "Scott Rothgaber" [EMAIL PROTECTED] [EMAIL PROTECTED] ** Reply to note from "Scott Rothgaber" [EMAIL PROTECTED] Mon, 26 Feb 2001 09:45:42 -0500 PHP 4.0.4 pl1, Apache 1.3.17, BSD/OS 4.1 pl37 Good Morning! Please forgive me if this has been covered ad nauseum,

Re: [PHP] DNS Lookups Fail

2001-02-26 Thread php3
Addressed to: "Scott Rothgaber" [EMAIL PROTECTED] [EMAIL PROTECTED] ** Reply to note from "Scott Rothgaber" [EMAIL PROTECTED] Mon, 26 Feb 2001 12:46:08 -0500 On 26 Feb 2001, at 10:21, [EMAIL PROTECTED] wrote: The first thing to try is get a list of the host names that fail