php-general Digest 18 Jul 2008 08:52:15 -0000 Issue 5575

2008-07-18 Thread php-general-digest-help
php-general Digest 18 Jul 2008 08:52:15 - Issue 5575 Topics (messages 276997 through 277017): Re: is there a problem with php script pulling HTML out of database as it writes the page?? 276997 by: Robert Cummings 276999 by: Micah Gersten 277000 by: Stut

Re: [PHP] OpenID

2008-07-18 Thread Per Jessen
Kevin Waterson wrote: This one time, at band camp, Alex Chamberlain [EMAIL PROTECTED] wrote: Has anybody had any success implementing an OpenID server in PHP?? Sure, I had mine all set up on oceania.net and then the domain got stolen. So, all my OpenID info went with it.. not as good an

Re: [PHP] PHP Development Team

2008-07-18 Thread Børge Holen
On Friday 18 July 2008 07:34:22 Nathan Nobbe wrote: On Thu, Jul 17, 2008 at 10:11 PM, AvPHP [EMAIL PROTECTED] wrote: We represent an established team of 15 PHP developers, with extensive experience in OOP Lamp development, including multiyear projects with thousand of total programming

Re: [PHP] OpenID

2008-07-18 Thread Børge Holen
On Friday 18 July 2008 08:37:14 Per Jessen wrote: Kevin Waterson wrote: This one time, at band camp, Alex Chamberlain [EMAIL PROTECTED] wrote: Has anybody had any success implementing an OpenID server in PHP?? Sure, I had mine all set up on oceania.net and then the domain got

RE: [PHP] OpenID

2008-07-18 Thread Alex Chamberlain
This one time, at band camp, Alex Chamberlain [EMAIL PROTECTED] wrote: Has anybody had any success implementing an OpenID server in PHP?? Sure, I had mine all set up on oceania.net and then the domain got stolen. So, all my OpenID info went with it.. not as good an idea as it first

Re: [PHP] is there a problem with php script pulling HTML out of database as it writes the page??

2008-07-18 Thread Jason Norwood-Young
On Thu, 2008-07-17 at 10:41 -0400, Daniel Brown wrote: 9.) NEVER store passwords in a PHP script. Instead, store them in a file named `inc/config.inc` in the web directory, and include them. Dude! You forgot the most important bit: inc/config.inc: $dbusername=root; $dbpassword=r00t; //By

Re: [PHP] OpenID

2008-07-18 Thread Aschwin Wesselius
Per Jessen wrote: Kevin Waterson wrote: This one time, at band camp, Alex Chamberlain [EMAIL PROTECTED] wrote: Has anybody had any success implementing an OpenID server in PHP?? Sure, I had mine all set up on oceania.net and then the domain got stolen. So, all my OpenID info

Re: [PHP] PHP Development Team

2008-07-18 Thread Robert Cummings
On Fri, 2008-07-18 at 09:15 +0200, Børge Holen wrote: On Friday 18 July 2008 07:34:22 Nathan Nobbe wrote: On Thu, Jul 17, 2008 at 10:11 PM, AvPHP [EMAIL PROTECTED] wrote: We represent an established team of 15 PHP developers, with extensive experience in OOP Lamp development, including

Re: [PHP] OpenID

2008-07-18 Thread Bipin Upadhyay
Clamshell -- http://wiki.guruj.net/Clamshell!Home HTH On Fri, Jul 18, 2008 at 1:36 AM, Alex Chamberlain [EMAIL PROTECTED] wrote: Hi, Has anybody had any success implementing an OpenID server in PHP?? Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] OpenID

2008-07-18 Thread Kevin Waterson
This one time, at band camp, Per Jessen [EMAIL PROTECTED] wrote: I'm curious, how does a domain get stolen ? This is a process I am now looking in to. The domain was registered via a reseller who I also had an email address with. The reseller had access to to both my domain registration

[PHP] PHP documentation parsing?

2008-07-18 Thread Christian A. Reiter
As you maybe know, the program kdevelop under Linux has a built in documentation browser which uses the online php documentation which was on the homepage of the Minnesota university. Since this homepage isn't available any more the documentation is broken. I tried to link to the new page, but

[PHP] problem with DOMDocument

2008-07-18 Thread Christoph Kappestein
hi I have trouble while creating an DOMDocument. When I make $test = new DomDocument('1.0'); php tells me a warning error like: Entity: line 1: parser error : Start tag expected, 'lt;' not found ... Because of unknow reasons the DomDocument constructor expected a tag like 'test /'. Ive

[PHP] Re: PHP documentation parsing?

2008-07-18 Thread M. Sokolewicz
Christian A. Reiter wrote: As you maybe know, the program kdevelop under Linux has a built in documentation browser which uses the online php documentation which was on the homepage of the Minnesota university. Since this homepage isn't available any more the documentation is broken. I tried

Re: [PHP] OpenID

2008-07-18 Thread Eric Butera
On Fri, Jul 18, 2008 at 2:37 AM, Per Jessen [EMAIL PROTECTED] wrote: Kevin Waterson wrote: This one time, at band camp, Alex Chamberlain [EMAIL PROTECTED] wrote: Has anybody had any success implementing an OpenID server in PHP?? Sure, I had mine all set up on oceania.net and then the

[PHP] Optimization of PHP Code

2008-07-18 Thread Manoj Singh
Hello All, I am developing the web site in PHP using MYSQL database. Can you please provide me some tips to write the optimized code. Best Regards, Manoj Kumar Singh

Re: [PHP] Optimization of PHP Code

2008-07-18 Thread Stephen
Manoj Singh wrote: I am developing the web site in PHP using MYSQL database. Can you please provide me some tips to write the optimized code. Hard to be specific without a more detailed understanding of what you are going to do. But in general, use the newer PDO class instead of the older

Re: [PHP] Optimization of PHP Code

2008-07-18 Thread Schiz0
On Fri, Jul 18, 2008 at 8:53 AM, Manoj Singh [EMAIL PROTECTED] wrote: Hello All, I am developing the web site in PHP using MYSQL database. Can you please provide me some tips to write the optimized code. Best Regards, Manoj Kumar Singh A opcode cacher helped me a lot on my site. I got

Re: [PHP] PHP Development Team

2008-07-18 Thread Bastien Koert
On Fri, Jul 18, 2008 at 4:09 AM, Robert Cummings [EMAIL PROTECTED] wrote: On Fri, 2008-07-18 at 09:15 +0200, Børge Holen wrote: On Friday 18 July 2008 07:34:22 Nathan Nobbe wrote: On Thu, Jul 17, 2008 at 10:11 PM, AvPHP [EMAIL PROTECTED] wrote: We represent an established team of 15

[PHP] Re: PHP documentation parsing?

2008-07-18 Thread Christian A. Reiter
Am Freitag, 18. Juli 2008 13:03:43 schrieb M. Sokolewicz: This is more of a question for the PHP Documentation Mailinglist than for php-general, so I'm cc'ing it there. Could you perhaps put up such a toc file somewhere online, so we could take a look at what it actually looks like, for those

Re: [PHP] problem with DOMDocument

2008-07-18 Thread Andrew Ballard
On Fri, Jul 18, 2008 at 6:51 AM, Christoph Kappestein [EMAIL PROTECTED] wrote: hi I have trouble while creating an DOMDocument. When I make $test = new DomDocument('1.0'); php tells me a warning error like: Entity: line 1: parser error : Start tag expected, 'lt;' not found ... Because of

[PHP] Returning SOAP array type

2008-07-18 Thread Dan Joseph
Hi, I have a web service with an array type I am trying to return. I can't seem to find the right answers anywhere... First, the WSDL piece: xsd:complexType name=getQuoteHistory xsd:complexContent xsd:restriction base=SOAP-ENC:Array xsd:sequence

Re: [PHP] Optimization of PHP Code

2008-07-18 Thread Sancar Saran
On Friday 18 July 2008 15:53:06 Manoj Singh wrote: Hello All, I am developing the web site in PHP using MYSQL database. Can you please provide me some tips to write the optimized code. Best Regards, Manoj Kumar Singh Premature optimization as root of all evil. Use less sql connection as

Re: [PHP] PHP Development Team

2008-07-18 Thread Daniel Brown
See, now this one-off kind of thing is no problem. I wish some of those other folks who pop in only to contribute links to their websites would learn from this. It was a well-written pitch to the General list, where it's more appropriate than other places. Granted, it burns me that they're

Re: [PHP] Optimization of PHP Code

2008-07-18 Thread Aschwin Wesselius
Sancar Saran wrote: On Friday 18 July 2008 15:53:06 Manoj Singh wrote: Hello All, I am developing the web site in PHP using MYSQL database. Can you please provide me some tips to write the optimized code. Best Regards, Manoj Kumar Singh Premature optimization as root of all evil.

Re: [PHP] Optimization of PHP Code

2008-07-18 Thread Eric Butera
On Fri, Jul 18, 2008 at 9:52 AM, Aschwin Wesselius [EMAIL PROTECTED] wrote: Sancar Saran wrote: On Friday 18 July 2008 15:53:06 Manoj Singh wrote: Hello All, I am developing the web site in PHP using MYSQL database. Can you please provide me some tips to write the optimized code. Best

[PHP] Trailing Spaces Problem

2008-07-18 Thread Wei, Alice J.
Hi, I have a code here as the following: ?php $string=1 0 70.208 61.613 1.424 3.689 61.404 0.000 0.000 0.000 0.000 0.000; $data= explode(\t, $string); echo 1: . $data[0] . 2: . $data[1] . 3: . $data[2] . 4: . $data[3] . 5:

Re: [PHP] Trailing Spaces Problem

2008-07-18 Thread Thiago H. Pojda
On Fri, Jul 18, 2008 at 11:41 AM, Wei, Alice J. [EMAIL PROTECTED] wrote: Hi, Is there some way that I can have it so that it can print out: 1: 1 2:0 3: 70.208 4. 61.613 5. 1.424 I tried using \s for trailing spaces, but It all gave me output of everything in the single line. Have I

Re: [PHP] PHP Development Team

2008-07-18 Thread tedd
At 9:48 AM -0400 7/18/08, Daniel Brown wrote: See, now this one-off kind of thing is no problem. I wish some of those other folks who pop in only to contribute links to their websites would learn from this. It was a well-written pitch to the General list, where it's more appropriate than

Re: [PHP] OpenID

2008-07-18 Thread Jim Lucas
Alex Chamberlain wrote: Hi, Has anybody had any success implementing an OpenID server in PHP?? Alex Third result on a search in Google using openid server php returned this page. http://wiki.openid.net/Run_your_own_identity_server -- Jim Lucas Some men are born to

Re: [PHP] Trailing Spaces Problem

2008-07-18 Thread Peter Ford
Thiago H. Pojda wrote: On Fri, Jul 18, 2008 at 11:41 AM, Wei, Alice J. [EMAIL PROTECTED] wrote: Hi, Is there some way that I can have it so that it can print out: 1: 1 2:0 3: 70.208 4. 61.613 5. 1.424 I tried using \s for trailing spaces, but It all gave me output of everything in the

[PHP] Anyone use Zend framework

2008-07-18 Thread Micah Gersten
Does anyone use the Zend Framework? Is it fast? -- Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Anyone use Zend framework

2008-07-18 Thread Eric Butera
On Fri, Jul 18, 2008 at 11:10 AM, Micah Gersten [EMAIL PROTECTED] wrote: Does anyone use the Zend Framework? Is it fast? I do for some things such as the mail lucene search. In the future I plan on moving more of my custom code to use the ZF where possible. It isn't the fastest, but it offers

RE: [PHP] Trailing Spaces Problem

2008-07-18 Thread Wei, Alice J.
== Alice Wei MIS 2009 School of Library and Information Science Indiana University Bloomington [EMAIL PROTECTED] From: Peter Ford [EMAIL PROTECTED] Sent: Friday, July 18, 2008 11:02 AM To:

Re: [PHP] Optimization of PHP Code

2008-07-18 Thread Robert Cummings
On Fri, 2008-07-18 at 16:47 +0300, Sancar Saran wrote: Do not use, template system, use inline php code for templates. Oh dear... you must subscribe to FUD 101. Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP -- PHP General Mailing List

[PHP] very very small CMS

2008-07-18 Thread OOzy Pal
Hello I am looking for a simple php CMS. Can anyone help? -- OOzy Ubuntu-Hardy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: very very small CMS

2008-07-18 Thread Shawn McKenzie
OOzy Pal wrote: Hello I am looking for a simple php CMS. Can anyone help? What should it do? -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Having trouble logging into a PHP Database program

2008-07-18 Thread Jason Pruim
Here is my authentication function: ?PHP function authentication($user, $pass, $link1){ // Keep in mind, PASSWORD has meaning in MySQL // Do your string sanitizing here // (e.g. - $user =

Re: [PHP] Optimization of PHP Code

2008-07-18 Thread Eric Butera
On Fri, Jul 18, 2008 at 11:43 AM, Robert Cummings [EMAIL PROTECTED] wrote: On Fri, 2008-07-18 at 16:47 +0300, Sancar Saran wrote: Do not use, template system, use inline php code for templates. Oh dear... you must subscribe to FUD 101. ??? I use straight php files for my templates. My

Re: [PHP] very very small CMS

2008-07-18 Thread tedd
At 7:00 PM +0300 7/18/08, OOzy Pal wrote: Hello I am looking for a simple php CMS. Can anyone help? -- OOzy Ubuntu-Hardy A Content Management System manges content. If you can define what content you want to manage, then we can suggest a way to do that. Cheers, tedd -- ---

[PHP] SESSIONS QUESTION

2008-07-18 Thread R.C.
Hi group, I'm still having trouble with sessions on a page and need help. I've been working with all sorts of configurations on this one but it doesn't seem to be working properly. Here's the scenario: I have a login.html page that thas two fields for user input i.e. a password (that is given

Re: [PHP] Optimization of PHP Code

2008-07-18 Thread Robert Cummings
On Fri, 2008-07-18 at 12:35 -0400, Eric Butera wrote: On Fri, Jul 18, 2008 at 11:43 AM, Robert Cummings [EMAIL PROTECTED] wrote: On Fri, 2008-07-18 at 16:47 +0300, Sancar Saran wrote: Do not use, template system, use inline php code for templates. Oh dear... you must subscribe to FUD

Re: [PHP] Optimization of PHP Code

2008-07-18 Thread Sancar Saran
On Friday 18 July 2008 18:43:43 Robert Cummings wrote: On Fri, 2008-07-18 at 16:47 +0300, Sancar Saran wrote: Do not use, template system, use inline php code for templates. Oh dear... you must subscribe to FUD 101. Cheers, Rob. -- http://www.interjinn.com Application and Templating

[PHP] Re: Having trouble logging into a PHP Database program

2008-07-18 Thread Shawn McKenzie
Jason Pruim wrote: Here is my authentication function: ?PHP function authentication($user, $pass, $link1){ // Keep in mind, PASSWORD has meaning in MySQL // Do your string sanitizing here // (e.g. - $user = mysqli_real_escape_string($_POST['user']);)

Re: [PHP] Optimization of PHP Code

2008-07-18 Thread Robert Cummings
On Fri, 2008-07-18 at 20:32 +0300, Sancar Saran wrote: On Friday 18 July 2008 18:43:43 Robert Cummings wrote: On Fri, 2008-07-18 at 16:47 +0300, Sancar Saran wrote: Do not use, template system, use inline php code for templates. Oh dear... you must subscribe to FUD 101. Cheers,

Re: [PHP] PHP Development Team

2008-07-18 Thread Nathan Nobbe
On Fri, Jul 18, 2008 at 8:53 AM, tedd [EMAIL PROTECTED] wrote: At 9:48 AM -0400 7/18/08, Daniel Brown wrote: See, now this one-off kind of thing is no problem. I wish some of those other folks who pop in only to contribute links to their websites would learn from this. It was a

[PHP] Pure PHP

2008-07-18 Thread Sancar Saran
Hello, I want to write some of my ideas about php performance and maintenance. Also you may consider this response to Robert's template systems arguments. I hope my english does not disturb too much. As a uneducated php developer, I have open mind to anything. I try lots of things. After so

Re: [PHP] Optimization of PHP Code

2008-07-18 Thread Sancar Saran
And one thing. (1). It is very convenient to pre-process static information at compile time rather than on every request (specific properties, content chunks, content relocation, etc). Additionally, it can compile to static HTML, One of my sites using 3rd party as data source (via xml).

Re: [PHP] Optimization of PHP Code

2008-07-18 Thread Robert Cummings
On Fri, 2008-07-18 at 21:33 +0300, Sancar Saran wrote: And one thing. (1). It is very convenient to pre-process static information at compile time rather than on every request (specific properties, content chunks, content relocation, etc). Additionally, it can compile to static HTML,

Re: [PHP] Pure PHP

2008-07-18 Thread Robert Cummings
On Fri, 2008-07-18 at 21:28 +0300, Sancar Saran wrote: Hello, I want to write some of my ideas about php performance and maintenance. Also you may consider this response to Robert's template systems arguments. I hope my english does not disturb too much. As a uneducated php developer,

Re: [PHP] very very small CMS

2008-07-18 Thread OOzy Pal
On 7/18/08, Nitsan Bin-Nun [EMAIL PROTECTED] wrote: Hi OOzy, I would like to get more details about that CMS. Thanks, Nitsan On 18/07/2008, OOzy Pal [EMAIL PROTECTED] wrote: Hello I am looking for a simple php CMS. Can anyone help? -- OOzy Ubuntu-Hardy -- PHP General

[PHP] Re: very very small CMS

2008-07-18 Thread Al
I've got one that sounds like it's exactly what you are looking for. This site uses it extensively. http://www.restonrunners.org Just about every single page on the site was created using my php program EditPage. Non-techies do their own thing. It is highly configurable and uses a simple

Re: [PHP] very very small CMS

2008-07-18 Thread Nathan Nobbe
On Fri, Jul 18, 2008 at 10:00 AM, OOzy Pal [EMAIL PROTECTED] wrote: Hello I am looking for a simple php CMS. Can anyone help? check out cmsmatrix.org, you might find something there. -nathan

Re: [PHP] very very small CMS

2008-07-18 Thread Bastien Koert
On Fri, Jul 18, 2008 at 4:42 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: On Fri, Jul 18, 2008 at 10:00 AM, OOzy Pal [EMAIL PROTECTED] wrote: Hello I am looking for a simple php CMS. Can anyone help? check out cmsmatrix.org, you might find something there. -nathan or check out

[PHP] Re: very very small CMS

2008-07-18 Thread tedd
At 4:26 PM -0400 7/18/08, Al wrote: I've got one that sounds like it's exactly what you are looking for. This site uses it extensively. http://www.restonrunners.org Just about every single page on the site was created using my php program EditPage. Non-techies do their own thing. It is

Re: [PHP] PHP Development Team

2008-07-18 Thread tedd
At 12:23 PM -0600 7/18/08, Nathan Nobbe wrote: honestly, a team of 15, cheap is tempting. -- snip-- -nathan Tempting??? At what? The only number I found tempting was a three-sum. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General

Re: [PHP] SESSIONS QUESTION

2008-07-18 Thread tedd
At 9:59 AM -0700 7/18/08, R.C. wrote: What's the sequence here. I was able to get the password going, protect the main.php page, sent the email etc. but can't get that password to remain on the main.php when they user tries to get back to that page. Really appreciate some input and coding. I

Re: [PHP] PHP Development Team

2008-07-18 Thread Robert Cummings
On Fri, 2008-07-18 at 19:57 -0400, tedd wrote: At 12:23 PM -0600 7/18/08, Nathan Nobbe wrote: honestly, a team of 15, cheap is tempting. -- snip-- -nathan Tempting??? At what? The only number I found tempting was a three-sum. I like the purity of 1 + 1 + 1. Now that's sumthing!

Re: [PHP] Re: very very small CMS

2008-07-18 Thread Robert Cummings
On Fri, 2008-07-18 at 19:40 -0400, tedd wrote: At 4:26 PM -0400 7/18/08, Al wrote: I've got one that sounds like it's exactly what you are looking for. This site uses it extensively. http://www.restonrunners.org Just about every single page on the site was created using my php program