Hello,
I'm running a Gentoo-hardened box with PHP 5.2.14-pl0-gentoo (Suhosin
included) and Apache 2.2.16. mod_php is running in a chroot, using
mpm_peruser. Everything works OK, except the PHP DNS resolving, which I
need to access HTTP resources. It fails with both the curl and http
extensions
Georgi Hristozov wrote:
Hello,
I'm running a Gentoo-hardened box with PHP 5.2.14-pl0-gentoo (Suhosin
included) and Apache 2.2.16. mod_php is running in a chroot, using
mpm_peruser. Everything works OK, except the PHP DNS resolving, which
I need to access HTTP resources. It fails with both
Hey guys,
I am cross-posting this to the PHP and the PHP-FPM lists, because both
are applicable in my opinion.
I have got a strange problem with my php-fpm chrooted PHP environment.
PHP is chrooted to /var/www/.
/var/www/etc looks like this:
# ls -al /var/www/etc/
insgesamt 20
drwxr-xr-x 2
?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
Hi,
I have a strange problem here. I try to authenticate users with LDAP
at an Active Directory Server (AD). Everything works fine. Just in
some cases, authentication is not possible. As we discovered, this has
something to do with a strange DNS Server setting. Sometimes a nslookup
for the
If I wanted to determine whether a domain has set up mx records, how could I
accomplish this with PHP?
[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
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 Apache 1.33 and PHP 4.4.0.
The script works if I
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
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
[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
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
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...
--
PHP General Mailing List
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 your backup DNS.
If there's any place you know I
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
Is there a way to set up a php page to act as a name server under windows? I
dont have named etc on that OS.
I was thinking of maybe having PHP read from the port used for DNS services
and recording the MAC address of the machine in a dateabse for example and
linking this to a name i.e.
Hi,
Is there anyway I can use PHP to find out all the information in a DNS
Zonefile on a DNS server, in win2k, if you go to a dos prompt, and do the
following
nslookup ENTER
server DNS SERVER
ls -d DOMAINNAME
you will get loads of information on that domain name, like
SOA Records, A
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, but I
have searched high and low for an answer with no luck.
After building PHP as a module, following the online
instructions, Apache complained that it could not resolve
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,
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
20 matches
Mail list logo