php-general Digest 1 Dec 2010 01:49:16 - Issue 7063
Topics (messages 309766 through 309781):
Re: EE1 plugin code/htmlentities() question
309766 by: Richard Quadling
309769 by: Micky Hulse
Re: Spoofing user_agent
309767 by: Ron Piggott
Little Assistance...
On 29/11/10 23:54, Ron Piggott wrote:
I am unable to retrieve the value of $referral_1 from:
$new_email = mysql_escape_string ( $_POST['referral_$i'] );
why?
PHP while lopp to check if any of the fields were populated:
$i=1;
while ( $i= 5 ) {
$new_email = mysql_escape_string (
Hi,
I've found various sources and are successfully manipulating Active
Directory from PHP on our Domain Controller - frankly, things works much
better than I expected :)
I have now reached the point where I need to set permissions on objects in
Active Directory, i.e. to restrict read
On 29 November 2010 19:24, Micky Hulse mickyhulse.li...@gmail.com wrote:
Hello,
I was looking at this ExpressionEngine plugin:
http://expressionengine.com/downloads/details/xml_encode/
Description: This plugin converts reserved XML characters to entities.
It is used in the RSS templates.
The following solution works:
I set my user-agent to:
VerseOfTheDaySitemapRobot/1.0 (http://www.TheVerseOfTheDay.info)
By doing:
ini_set('user_agent', VerseOfTheDaySitemapRobot/1.0
(http://www.TheVerseOfTheDay.info));
When ran by a cron job this causes AWSTATS to treat the hits as:
Unknown
Hi all,
I am needing to find someone with extensive mySQL chops to assist me
in building a few mySQL queries to run from PHP. Compensation, of
course...
Probably an hour or so of effort for qualified. Please contact me
PRIVATELY if interested.
Don
--
PHP General Mailing List
Hi Richard! Thanks for the reply, I really appreciate the help. :)
On Tue, Nov 30, 2010 at 5:49 AM, Richard Quadling rquadl...@gmail.com wrote:
I'm guessing that nbsp; is only valid in HTML.
I see.
Ah, it looks like I need to be Googling for htmlentities and xml.
Thanks for tip!
Not sure
Hi there,
I have a package written in pure PHP, some .php files that refer to others
via require_once(''),
but when I try to see package's contents via a browser, the pacakge just
shows nothing: a blank page.
I've activated all log levels, and it seems that php doesn't encounter any
problem.
I'm
On Tue, 2010-11-30 at 22:26 +0330, Mohammad Taghi Khalifeh wrote:
Hi there,
I have a package written in pure PHP, some .php files that refer to others
via require_once(''),
but when I try to see package's contents via a browser, the pacakge just
shows nothing: a blank page.
I've activated
On Tue, Nov 30, 2010 at 10:38 PM, Bob McConnell r...@cbord.com wrote:
From: Mohammad Taghi Khalifeh
Hi there,
I have a package written in pure PHP, some .php files that refer to
others
via require_once(''),
but when I try to see package's contents via a browser, the pacakge
just
On Tue, Nov 30, 2010 at 10:39 PM, Steve Staples sstap...@mnsi.net wrote:
On Tue, 2010-11-30 at 22:26 +0330, Mohammad Taghi Khalifeh wrote:
Hi there,
I have a package written in pure PHP, some .php files that refer to
others
via require_once(''),
but when I try to see package's contents
From: Mohammad Taghi Khalifeh
On Tue, Nov 30, 2010 at 10:38 PM, Bob McConnell r...@cbord.com wrote:
From: Mohammad Taghi Khalifeh
Hi there,
I have a package written in pure PHP, some .php files that refer to
others
via require_once(''),
but when I try to see package's contents via a
if(!$db = @pg_connect($connection_string)) {
return FALSE;
}
return $db;
how can I find the problem and fix it?
The @ symbol is telling it to ignore errors. Remove it and you'll see
them if that's where the problem is.
Marc
On Wed, Dec 1, 2010 at 1:02 AM, Marc Guay marc.g...@gmail.com wrote:
if(!$db = @pg_connect($connection_string)) {
return FALSE;
}
return $db;
how can I find the problem and fix it?
The @ symbol is telling it to ignore errors. Remove it and
On Tue, Nov 30, 2010 at 16:51, Mohammad Taghi Khalifeh
khalifeh...@gmail.com wrote:
it seems that the problem is in pg_connect().
Do you have PostgreSQL support compiled into PHP?
Command line:
php -i | egrep -i 'postgres|pgsql'
Web:
?php phpinfo(); /* Check in a
-Original Message-
From: ckn...@savage.za.org [mailto:ckn...@savage.za.org] On Behalf Of
Chris Knipe
Sent: Tuesday, November 30, 2010 4:47 AM
To: php-general@lists.php.net
Subject: [PHP] LDAP, Active Directory, and permissions
Hi,
I've found various sources and are successfully
Daniel
On Wed, Dec 1, 2010 at 1:28 AM, Daniel P. Brown
daniel.br...@parasane.netwrote:
On Tue, Nov 30, 2010 at 16:51, Mohammad Taghi Khalifeh
khalifeh...@gmail.com wrote:
it seems that the problem is in pg_connect().
Do you have PostgreSQL support compiled into PHP?
Command line:
Hi,
Chris,
1) Shouldn't the OU security permissions be set within the AD itself?
2) If the above is done, then the user account that's being authenticated
shouldn't be able to access privileged information.
1) Not sure. The permissions I'm after is similar to that of NTFS
permissions on
-Original Message-
From: Chris Knipe [mailto:ckn...@savage.za.org] On Behalf Of Chris Knipe
Sent: Tuesday, November 30, 2010 10:52 PM
To: php-general@lists.php.net
Subject: RE: [PHP] LDAP, Active Directory, and permissions
Hi,
Chris,
1) Shouldn't the OU security permissions
19 matches
Mail list logo