Re: [PHP] questions about using include() in php

2008-07-18 Thread Robert Cummings
On Sat, 2008-07-19 at 11:57 +0530, Sudhakar wrote: > i am doing seo for a website and this website uses a lot of php for which i > need suggestions. this is how the website is set up. > > in the index.php file there is a flash banner at the top of the page and the > center part is another file whi

[PHP] questions about using include() in php

2008-07-18 Thread Sudhakar
i am doing seo for a website and this website uses a lot of php for which i need suggestions. this is how the website is set up. in the index.php file there is a flash banner at the top of the page and the center part is another file which is called using include("links.php") and the bottom part u

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

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 sumthin

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 a

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 M

[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 h

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 chec

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

[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 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

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 deve

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 HTM

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). T

[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 ma

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

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. > > > >

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

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

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 Temp

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 subsc

[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 t

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 -- --- http://sp

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.

[PHP] Having trouble logging into a PHP Database program

2008-07-18 Thread Jason Pruim
Here is my authentication function: $loginQuery = "SELECT * FROM current WHERE loginName='".$user."' AND loginPassword='".$password."' LIMIT 0,1;"; $loginResult = mysqli_query($link1, $loginQuery) or die("Wrong data supplied or database error" .mysqli_error($link1));

[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] 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

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 (http://www.ph

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: php-general@list

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 off

[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] 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

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 gre

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] 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. >

[PHP] Trailing Spaces Problem

2008-07-18 Thread Wei, Alice J.
Hi, I have a code here as the following: When I execute it, I get this error and output: PHP Notice: Undefined offset: 2 in /root/Desktop/test.php on line 8 PHP Notice: Undefined offset: 3 in /root/Desktop/test.php on line 8 PHP Notice: Undefined offset: 4 in /root/Desktop/test.php on

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 t

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] 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 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 connect

[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:

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, '<' not found ... > > Bec

[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 t

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

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

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

[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] 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.ne

[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

[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, '<' not found ... Because of unknow reasons the DomDocument constructor expected a tag like ''. Ive looked in t

[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

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 de

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

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, in

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 in

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";

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

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 do

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 programm