php-general Digest 21 Jun 2010 06:58:21 -0000 Issue 6808

2010-06-21 Thread php-general-digest-help
php-general Digest 21 Jun 2010 06:58:21 - Issue 6808 Topics (messages 306275 through 306281): Re: Encrypt and Decript email using PHP 306275 by: Adam Richardson function within a class function 306276 by: Rick Pasotto 306277 by: Rick Pasotto Re: Seeking developer

php-general Digest 22 Jun 2010 01:43:39 -0000 Issue 6809

2010-06-21 Thread php-general-digest-help
php-general Digest 22 Jun 2010 01:43:39 - Issue 6809 Topics (messages 306282 through 306301): Re: function within a class function 306282 by: Pete Ford 306283 by: Richard Quadling 306285 by: Gary . Website content question 306284 by: Ernie Kemp

Re: [PHP] What am I missing here?

2010-06-21 Thread Simcha Younger
On Sat, 19 Jun 2010 13:21:02 -0400 Rick Dwyer rpdw...@earthlink.net wrote: Hello List. I am completely at a loss for why the line of code below returns the desired value: $PATH_INFO= substr($_SERVER['REQUEST_URI'],strlen($_SERVER['SCRI PT_NAME']), strlen($_SERVER['REQUEST_URI']));

Re: [PHP] function within a class function

2010-06-21 Thread Richard Quadling
On 21 June 2010 00:45, Rick Pasotto r...@niof.net wrote: Within a class function I have defined another function for use with the usort() function. How do I reference it? When it's not part of a class usort($arr,cmp) works fine but when it's within a class function I get this error: PHP

[PHP] Website content question

2010-06-21 Thread Ernie Kemp
This is not a direct PHP question but I will be using PHP in the website. I go to the php list because the wordpress forum does not respond to my questions and I know some of you have a lot of expertise in other areas than PHP. I wish to a my own pages to a theme. I created pages on my

Re: [PHP] Re: function within a class function

2010-06-21 Thread Gary .
On Mon, Jun 21, 2010 at 10:49 AM, Pete Ford wrote: On 21/06/10 00:45, Rick Pasotto wrote: I think that's right - doesn't the manual describe this sort of thing about using callback functions that are class members? Yes.

Re: [PHP] Website content question

2010-06-21 Thread Shreyas Agasthya
Ernie, I am sure you know none of us could have accessed the link that you have given there. Can you let us know what code you have written so that one of us can guide you? As a broad pitch, your php code has to be either in ?php ? or ? ? I would wait for your code and other to probe a little

RE: [PHP] Website content question

2010-06-21 Thread Ernie Kemp
So sorry about the link, in too much of a hurry. My server site is http://digitalbiz4u.com/wordpress/ I used ?php /* Template Name: Home Page */ in my Homepage.php program. They very much. .../Ernie -Original Message- From: Shreyas Agasthya [mailto:shreya...@gmail.com] Sent:

RE: [PHP] Website content question

2010-06-21 Thread Ernie Kemp
Just as a follow up I'm including a link to a test site that I wish to have the wordpress to be able to change the content, but I'm unable to have wordpress use my includes. I must be putting them in the wrong places so need some help with this. Thanks, .../Ernie -Original Message-

RE: [PHP] Website content question

2010-06-21 Thread Ashley Sheridan
On Mon, 2010-06-21 at 10:04 -0400, Ernie Kemp wrote: Just as a follow up I'm including a link to a test site that I wish to have the wordpress to be able to change the content, but I'm unable to have wordpress use my includes. I must be putting them in the wrong places so need some help with

RE: [PHP] Website content question

2010-06-21 Thread Ernie Kemp
Need to use the template http://www.digitalbiz4u.com/site_flash/ . Thanks, /Ernie From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: June-21-10 10:09 AM To: Ernie Kemp Cc: 'Shreyas Agasthya'; 'PHP General List' Subject: RE: [PHP] Website content question On Mon,

RE: [PHP] Website content question

2010-06-21 Thread Ashley Sheridan
On Mon, 2010-06-21 at 10:40 -0400, Ernie Kemp wrote: Need to use the template http://www.digitalbiz4u.com/site_flash/ . Thanks, /Ernie From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: June-21-10 10:09 AM To: Ernie Kemp Cc: 'Shreyas Agasthya'; 'PHP General

[PHP] PHP Active Directory?

2010-06-21 Thread David Stoltz
Folks, I'm trying to validate an email address which is entered in a form field against our Active Directory. I'm using some PHP scripting supplied by http://phpad.sunyday.net/ but it's not working, and the site doesn't seem to be supported anymore. Does anyone have any good method of

Re: [PHP] PHP Active Directory?

2010-06-21 Thread Ashley Sheridan
On Mon, 2010-06-21 at 10:59 -0400, David Stoltz wrote: Folks, I'm trying to validate an email address which is entered in a form field against our Active Directory. I'm using some PHP scripting supplied by http://phpad.sunyday.net/ but it's not working, and the site doesn't

Re: [PHP] PHP Active Directory?

2010-06-21 Thread Nathan Nobbe
On Mon, Jun 21, 2010 at 8:59 AM, David Stoltz dsto...@shh.org wrote: Folks, I'm trying to validate an email address which is entered in a form field against our Active Directory. Does anyone have any good method of doing this? try the adLDAP class - its the chronic

RE: [PHP] Website content question

2010-06-21 Thread Ernie Kemp
Resolved. The paths are: wordpress- flash Ø CSS Ø Js Wordpress/mytheme - your custom template files Thanks, /Ernie From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: June-21-10 10:43 AM To: Ernie Kemp Cc: 'Shreyas Agasthya'; 'PHP General List' Subject: RE: [PHP]

RE: [PHP] PHP Active Directory?

2010-06-21 Thread David Stoltz
Awesome – thanks – BTW, what does “it’s the chronic” mean? From: Nathan Nobbe [mailto:quickshif...@gmail.com] Sent: Monday, June 21, 2010 11:27 AM To: David Stoltz Cc: php-general@lists.php.net Subject: Re: [PHP] PHP Active Directory? On Mon, Jun 21, 2010 at 8:59 AM, David Stoltz

Re: [PHP] PHP Active Directory?

2010-06-21 Thread Nathan Nobbe
On Mon, Jun 21, 2010 at 9:42 AM, David Stoltz dsto...@shh.org wrote: Awesome – thanks – BTW, what does “it’s the chronic” mean? listen to some dr. dre or come visit me in denver, co :) -nathan

RE: [PHP] PHP Active Directory?

2010-06-21 Thread David Stoltz
Lol – ok…I guess it’s comparable to “it’s the bomb”…. Thanks ;-) From: Nathan Nobbe [mailto:quickshif...@gmail.com] Sent: Monday, June 21, 2010 11:46 AM To: David Stoltz Cc: php-general@lists.php.net Subject: Re: [PHP] PHP Active Directory? On Mon, Jun 21, 2010 at 9:42 AM, David

[PHP] fetching DB entries

2010-06-21 Thread Ashley Sheridan
Hi All, This is just a bit of a 'throw it out to the masses' sort of question to see what people might recommend. At the moment, if I am retrieving a single record from the DB, my code looks like this: $query = SELECT * FROM table WHERE id=1; $result = mysql_query($query); while($row =

Re: [PHP] fetching DB entries

2010-06-21 Thread la...@garfieldtech.com
Performance-wise, SELECT * is slower than specifying fields (marginally). If you just want a single field then mysql_result() will be faster, but if you want multiple fields mysql_fetch_* is your best bet. As far as the PHP goes, if you know there will be only a single record I'd suggest

Re: [PHP] Website content question

2010-06-21 Thread Hans Åhlin
Did you include the necessary php code? ** Hans Åhlin Tel: +46761488019 icq: 275232967 http://www.kronan-net.com/ irc://irc.freenode.net:6667 - TheCoin ** 2010/6/21 Ernie Kemp

RE: [PHP] Website content question

2010-06-21 Thread Ernie Kemp
I did put the PHP code. It kind of working. From: ahlin.h...@gmail.com [mailto:ahlin.h...@gmail.com] On Behalf Of Hans Åhlin Sent: June-21-10 9:43 PM To: Ernie Kemp Cc: PHP General List Subject: Re: [PHP] Website content question Did you include the necessary php code?