php-general Digest 9 Mar 2009 12:32:32 -0000 Issue 6001

2009-03-09 Thread php-general-digest-help
php-general Digest 9 Mar 2009 12:32:32 - Issue 6001 Topics (messages 289614 through 289632): Re: Database Abstraction Class 289614 by: Shawn McKenzie 289615 by: Micah Gersten 289616 by: Chris 289620 by: Paul M Foster Re: insert array values 289617

[PHP] php fop (XSLFO)

2009-03-09 Thread Tom Sparks
is there a php Fop (XSLFO)? if not are there any that are not java based and can be run o a website that has php support only? tom_a_sparks Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html Stay connected to the people

Re: [PHP] assign array values to variables

2009-03-09 Thread Jim Lucas
PJ wrote: Jochem Maas wrote: PJ schreef: Seems it should be simple, but how does one extract values from an array and assign them to a variable? foreach ($categoriesIN as $category) { 1. if $categoriesIN comes from a POST, use $_POST['categoriesIN'] instead. It does, but results are the

Re: [PHP] DOM recursion

2009-03-09 Thread Jochem Maas
Jochem Maas schreef: Joanne Lane schreef: I am trying to create a class that recursively iterates over an array an creates XML tree to reflect a multidimensional array. I am not really a PHP coder, but am trying my hand. I've seen 'real coders' write stuff thats leagues worse. This is

Re: [PHP] Opendir on site root directory?

2009-03-09 Thread Stuart
2009/3/8 Clancy clanc...@cybec.com.au On Sun, 8 Mar 2009 12:33:15 +, stut...@gmail.com (Stuart) wrote: 2009/3/8 Clancy clanc...@cybec.com.au On Sun, 8 Mar 2009 09:01:18 +, stut...@gmail.com (Stuart) wrote: 2009/3/8 Clancy clanc...@cybec.com.au I want to index the files on

[PHP] Line Break Problem

2009-03-09 Thread Alice Wei
Hi, I have a question regarding using line breaks in PHP. I have the code something like: echo 1 . \t . $x . \t . $y . \r\n; When I run the code, it looks like a whole blob of text, but when I use View Source, the line breaks are formatted then correctly. Anyone can please tell

Re: [PHP] Line Break Problem

2009-03-09 Thread Stuart
2009/3/9 Alice Wei aj...@alumni.iu.edu I have a question regarding using line breaks in PHP. I have the code something like: echo 1 . \t . $x . \t . $y . \r\n; When I run the code, it looks like a whole blob of text, but when I use View Source, the line breaks are formatted then

Re: [PHP] Line Break Problem

2009-03-09 Thread Jochem Maas
Stuart schreef: 2009/3/9 Alice Wei aj...@alumni.iu.edu I have a question regarding using line breaks in PHP. I have the code something like: echo 1 . \t . $x . \t . $y . \r\n; When I run the code, it looks like a whole blob of text, but when I use View Source, the line breaks are

RE: [PHP] Line Break Problem

2009-03-09 Thread Alice Wei
Date: Mon, 9 Mar 2009 13:28:19 +0100 From: joc...@iamjochem.com To: stut...@gmail.com CC: aj...@alumni.iu.edu; php-general@lists.php.net Subject: Re: [PHP] Line Break Problem Stuart schreef: 2009/3/9 Alice Wei aj...@alumni.iu.edu I have a question regarding using line breaks in

Re: [PHP] PHP includes

2009-03-09 Thread tedd
At 1:06 PM -0400 3/8/09, Gary wrote: I'm working on learning php and have been toying with includes, and I am trying to figure the advantages/disadvantages to using them. I know that using them eliminates the need to put the files once altered as with a template, however, is that the only

Re: [PHP] Retrieving Image Location in PHP from MySQL

2009-03-09 Thread Sashikanth Gurram
Hi Nathan, Thanks a lot for the suggestion. It is working fine for an example code I have used to test it. The code I have written after your suggestion is as follows. ?php $location=C:\wamp\bin\apache\apache2.2.8\htdocs\Bldgs_lots\SQUIRES.jpg; header('Content-Type: image/jpeg');

Re: [PHP] Retrieving Image Location in PHP from MySQL

2009-03-09 Thread Sashikanth Gurram
Hi Nathan, Thanks a lot for the suggestion. It is working fine for an example code I have used to test it. The code I have written after your suggestion is as follows. ?php $location=C:\wamp\bin\apache\apache2.2.8\htdocs\Bldgs_lots\SQUIRES.jpg; header('Content-Type: image/jpeg');

[PHP] Re: php fop (XSLFO)

2009-03-09 Thread Nathan Rixham
Tom Sparks wrote: is there a php Fop (XSLFO)? if not are there any that are not java based and can be run o a website that has php support only? Hi Tom, Not XSLFO as such, this was split up years ago in to it's comprising parts - XSLT, XSL and XPath, all of which PHP supports with the

Re: [PHP] verify data in fields

2009-03-09 Thread haliphax
On Sun, Mar 8, 2009 at 4:52 PM, PJ af.gour...@videotron.ca wrote: Ashley Sheridan wrote: On Sun, 2009-03-08 at 10:25 -0500, PJ wrote: My mysql table contains data. But I don't know how to verify what exactly is the data... is it an array, an integer, an alphanumeric character or what?

Re: [PHP] DOM recursion

2009-03-09 Thread Nathan Rixham
Jochem Maas wrote: Jochem Maas schreef: Joanne Lane schreef: I am trying to create a class that recursively iterates over an array an creates XML tree to reflect a multidimensional array. I am not really a PHP coder, but am trying my hand. I've seen 'real coders' write stuff thats leagues

Re: [PHP] Line Break Problem

2009-03-09 Thread Nathan Rixham
Alice Wei wrote: Date: Mon, 9 Mar 2009 13:28:19 +0100 From: joc...@iamjochem.com To: stut...@gmail.com CC: aj...@alumni.iu.edu; php-general@lists.php.net Subject: Re: [PHP] Line Break Problem Stuart schreef: 2009/3/9 Alice Wei aj...@alumni.iu.edu I have a question regarding using line

Re: [PHP] PHP includes

2009-03-09 Thread Virgilio Quilario
I'm working on learning php and have been toying with includes, and I am trying to figure the advantages/disadvantages to using them. I know that using them eliminates the need to put the files once altered as with a template, however, is that the only advantage. My particular concerns are

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread haliphax
On Sun, Mar 8, 2009 at 11:57 PM, Micah Gersten news.php@micahscomputing.com wrote: Chetan Rane wrote: HI I also was looking for various frameworks and came across a very nice framework, which is feature rich as well as very fast You can see more details at http://www.yiiframework.com/

Re: [PHP] Opendir on site root directory?

2009-03-09 Thread Nathan Rixham
Stuart wrote: 2009/3/8 Clancy clanc...@cybec.com.au On Sun, 8 Mar 2009 12:33:15 +, stut...@gmail.com (Stuart) wrote: 2009/3/8 Clancy clanc...@cybec.com.au On Sun, 8 Mar 2009 09:01:18 +, stut...@gmail.com (Stuart) wrote: 2009/3/8 Clancy clanc...@cybec.com.au I want to index the

Re: [PHP] PHP includes

2009-03-09 Thread Nathan Rixham
Virgilio Quilario wrote: I'm working on learning php and have been toying with includes, and I am trying to figure the advantages/disadvantages to using them. I know that using them eliminates the need to put the files once altered as with a template, however, is that the only advantage. My

Re: [PHP] Line Break Problem

2009-03-09 Thread Virgilio Quilario
Hi,  I have a question regarding using line breaks in PHP. I have the code something like:       echo 1 . \t . $x . \t . $y . \r\n; When I run the code, it looks like a whole blob of text, but when I use View Source, the line breaks are formatted then correctly. Anyone can please tell

RE: [PHP] How Much Data Can Be Written to a Database In One Instance?

2009-03-09 Thread Alice Wei
Date: Wed, 4 Mar 2009 15:29:19 -0500 Subject: Re: [PHP] How Much Data Can Be Written to a Database In One Instance? From: danbr...@php.net To: rob...@interjinn.com CC: aj...@alumni.iu.edu; php-general@lists.php.net On Wed, Mar 4, 2009 at 15:26, Robert Cummings rob...@interjinn.com

Re: [PHP] Retrieving Image Location in PHP from MySQL

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 1:29 AM, Sashikanth Gurram sashi...@vt.edu wrote: Hi Nathan, Thanks a lot for the suggestion. It is working fine for an example code I have used to test it. The code I have written after your suggestion is as follows. ?php

Re: [PHP] web refreshing problem

2009-03-09 Thread Nathan Rixham
Andrew Williams wrote: Hi, my php program does not display current result of submitted form instead the previous content is shown until you refresh manually (which means resubmitting the form). Can someone help me out because, I want to display the result of the latest form result and not the

Re: [PHP] stdin, stdout, stderr, 3

2009-03-09 Thread Daniel Brown
On Sun, Mar 8, 2009 at 22:35, Richard Lynch c...@l-i-e.com wrote: I have a program sending/receiving data to/from my CLI script using: 0 stdin 1 stdout 2 stderr 3 ?? UNIX Channel 3 is a non-standard stream resource, though I don't believe it's even yet been given a name, so we'll

[PHP] Error in Building an XML File

2009-03-09 Thread Joe Harman
Hello, I am using PHP to build an XML file, but I keep on getting an XML error when open the file in Google Chrome. - This page contains the following errors: error on line 30 at column 318: Entity 'iuml' not defined

Re: [PHP] Opendir on site root directory?

2009-03-09 Thread Virgilio Quilario
I want to index the files on a website recursively. The program will run in the site root directory, which GETCWD reports as D:/Websites/Website_1.  I can open any file in the root directory simply using its file name; Joe.dat, for example, and I can opendir for any

RE: [PHP] Re: PHP Frameworks

2009-03-09 Thread Marc Christopher Hall
easy to learn. -- // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ Information from ESET Smart Security, version of virus signature database 3920 (20090309) __ The message was checked by ESET Smart Security. http

Re: [PHP] Retrieving Image Location in PHP from MySQL

2009-03-09 Thread Nathan Nobbe
On Sun, Mar 8, 2009 at 11:29 PM, Sashikanth Gurram sashi...@vt.edu wrote: Hi Nathan, Thanks a lot for the suggestion. It is working fine for an example code I have used to test it. The code I have written after your suggestion is as follows. ?php

Re: [PHP] web refreshing problem

2009-03-09 Thread Virgilio Quilario
Hi, my php program does not display current result of submitted form instead the previous content is shown until you refresh manually (which means resubmitting the form). Can someone help me out because, I want to display the result of the latest form result and not the old one. I am

Re: [PHP] Retrieving Image Location in PHP from MySQL

2009-03-09 Thread Sashikanth Gurram
Hi, Yes, the problem was solved, but It did not work fine when I used the same code in my larger file. Now it makes sense. Let me just repeat what you have said just to make sure that I did not misread you. So you say that the solution to this problem is to create another php file with the

Re: [PHP] assign array values to variables

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 9:25 AM, Jim Lucas li...@cmsws.com wrote: haliphax wrote: On Mon, Mar 9, 2009 at 2:22 AM, Jim Lucas li...@cmsws.com wrote: PJ wrote: PJ, this looks like your third thread for this same question. It might be easier to get a straight answer if your request isn't

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 9:25 AM, Marc Christopher Hall m...@hallmarcwebsites.com wrote: @todd; Micah - Precisely why I presented the question anew. Not only do I not have enough time to troll through the archives; I was looking for a fresher set of responses based on today's smorgasbord. Thank

[PHP] Re: Error in Building an XML File

2009-03-09 Thread Nathan Rixham
Joe Harman wrote: Hello, I am using PHP to build an XML file, but I keep on getting an XML error when open the file in Google Chrome. - This page contains the following errors: error on line 30 at column 318:

Re: [PHP] Retrieving Image Location in PHP from MySQL

2009-03-09 Thread Virgilio Quilario
I am using a WAMP server for my coding purposes. My MySQL Version is 5.0.51b, PHP version is 5.2.6 and Apache version is 2.2.8 I have created a database with one of the tables containing a location of the image. Using PHP I am trying to retrieve the location of the image (from the mysql db)

Re: [PHP] Retrieving Image Location in PHP from MySQL

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 9:32 AM, Sashikanth Gurram sashi...@vt.edu wrote: On Mon, Mar 9, 2009 at 1:29 AM, Sashikanth Gurram sashi...@vt.edu wrote: Hi Nathan, Thanks a lot for the suggestion. It is working fine for an example code I have used to test it. The code I have written after your

Re: [PHP] Error in Building an XML File

2009-03-09 Thread Virgilio Quilario
I am using PHP to build an XML file, but I keep on getting an XML error when open the file in Google Chrome. - This page contains the following errors: error on line 30 at column 318: Entity 'iuml' not defined

RE: [PHP] Error in Building an XML File

2009-03-09 Thread Bob McConnell
From: Joe Harman I am using PHP to build an XML file, but I keep on getting an XML error when open the file in Google Chrome. - This page contains the following errors: error on line 30 at column 318: Entity

[PHP] Re: PHP includes

2009-03-09 Thread Gary
Thank you to everybody that replied...but it almost seems it is making extra work. I can understand using an include for a menu, since they tend to change often and it is on every page, but the normal content I am not understanding the benefit. If I have a page that has unique content on it,

Re: [PHP] web refreshing problem

2009-03-09 Thread Virgilio Quilario
my php program does not display current result of submitted form instead the previous content is shown until you refresh manually (which means resubmitting the form). Can someone help me out because, I want to display the result of the latest form result and not the old one. I am

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread Virgilio Quilario
m...@hallmarcwebsites.com wrote: @todd; Micah - Precisely why I presented the question anew. Not only do I not have enough time to troll through the archives; I was looking for a fresher set of responses based on today's smorgasbord. Thank you for your input; I have looked at both YII and

RE: [PHP] Re: PHP includes

2009-03-09 Thread Mayer, Jonathan
Thank you to everybody that replied...but it almost seems it is making extra work. I can understand using an include for a menu, since they tend to change often and it is on every page, but the normal content I am not understanding the benefit. If I have a page that has unique content on it,

Re: [PHP] Retrieving Image Location in PHP from MySQL

2009-03-09 Thread Nathan Nobbe
On Mon, Mar 9, 2009 at 7:32 AM, Sashikanth Gurram sashi...@vt.edu wrote: Hi, Yes, the problem was solved, but It did not work fine when I used the same code in my larger file. Now it makes sense. right, just track down where you started sending the output, and remember if youre going to use

Re: [PHP] stdin, stdout, stderr, 3

2009-03-09 Thread Per Jessen
Daniel Brown wrote: On Sun, Mar 8, 2009 at 22:35, Richard Lynch c...@l-i-e.com wrote: I have a program sending/receiving data to/from my CLI script using: 0 stdin 1 stdout 2 stderr 3 ?? UNIX Channel 3 is a non-standard stream resource, though I don't believe it's even yet been

RE: [PHP] Re: PHP includes

2009-03-09 Thread Bob McConnell
From: Gary Thank you to everybody that replied...but it almost seems it is making extra work. I can understand using an include for a menu, since they tend to change often and it is on every page, but the normal content I am not understanding the benefit. If I have a page that has

Re: [PHP] Retrieving Image Location in PHP from MySQL

2009-03-09 Thread Sashikanth Gurram
Hi, Thanks a lot for all the patient replies. All the suggestions led me in a positive direction. Finally, instead of using the header() in my main PHP file (with HTML tags), I have used it in a secondary file and called it using a tagimg src=imgtest.php. It is working fine. But, the image I

RE: Re: [PHP] stdin, stdout, stderr, 3

2009-03-09 Thread Bob McConnell
From: Per Jessen Daniel Brown wrote: On Sun, Mar 8, 2009 at 22:35, Richard Lynch c...@l-i-e.com wrote: I have a program sending/receiving data to/from my CLI script using: 0 stdin 1 stdout 2 stderr 3 ?? UNIX Channel 3 is a non-standard stream resource, though I don't believe

RE: [PHP] Retrieving Image Location in PHP from MySQL

2009-03-09 Thread Bob McConnell
From: Sashikanth Gurram Hi, Thanks a lot for all the patient replies. All the suggestions led me in a positive direction. Finally, instead of using the header() in my main PHP file (with HTML tags), I have used it in a secondary file and called it using a tagimg src=imgtest.php. It is

Re: [PHP] Retrieving Image Location in PHP from MySQL

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 10:24 AM, Sashikanth Gurram sashi...@vt.edu wrote: Nathan Nobbe wrote: On Mon, Mar 9, 2009 at 7:32 AM, Sashikanth Gurram sashi...@vt.edu mailto:sashi...@vt.edu wrote:    Hi,    Yes, the problem was solved, but It did not work fine when I used    the same code in my

Re: [PHP] Error in Building an XML File

2009-03-09 Thread Joe Harman
On Mon, Mar 9, 2009 at 9:53 AM, Bob McConnell r...@cbord.com wrote: From: Joe Harman I am using PHP to build an XML file, but I keep on getting an XML error when open the file in Google Chrome. - This page

Re: [PHP] stdin, stdout, stderr, 3

2009-03-09 Thread Daniel Brown
On Mon, Mar 9, 2009 at 11:14, Per Jessen p...@computer.org wrote: UNIX Channel 3 ?? Sorry, Per, I must've stuttered. Yes, I said, UNIX Channel 3. For lack of a better reference. That not withstanding, the direct response to Lynch's question still holds true. It's just file descriptor 3,

Re: [PHP] Retrieving Image Location in PHP from MySQL

2009-03-09 Thread Sashikanth Gurram
Thanks a lot everyone, particularly Haliphax, Nathan, Virgilio and Bob. I will try it and will come back to you. Thanks, Sashi haliphax wrote: On Mon, Mar 9, 2009 at 10:24 AM, Sashikanth Gurram sashi...@vt.edu wrote: Nathan Nobbe wrote: On Mon, Mar 9, 2009 at 7:32 AM, Sashikanth

Re: [PHP] Retrieving Image Location in PHP from MySQL

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 10:52 AM, Sashikanth Gurram sashi...@vt.edu wrote: haliphax wrote: On Mon, Mar 9, 2009 at 10:24 AM, Sashikanth Gurram sashi...@vt.edu wrote: Nathan Nobbe wrote: On Mon, Mar 9, 2009 at 7:32 AM, Sashikanth Gurram sashi...@vt.edu mailto:sashi...@vt.edu wrote:   Hi,

Re: [PHP] stdin, stdout, stderr, 3

2009-03-09 Thread Per Jessen
Daniel Brown wrote: It's just file descriptor 3, that's all. In the old days, it was occasionally called stdaux, but AFAIK that's not used any more. Now that you mention it, I do seem to recall the term STDAUX, but I'm not sure if it's an actual memory or just one of those things that

Re: [PHP] Re: PHP includes

2009-03-09 Thread Sudheer Satyanarayana
Gary wrote: Thank you to everybody that replied...but it almost seems it is making extra work. I can understand using an include for a menu, since they tend to change often and it is on every page, but the normal content I am not understanding the benefit. If I have a page that has unique

Re: [PHP] Error in Building an XML File

2009-03-09 Thread Nathan Rixham
Joe Harman wrote: On Mon, Mar 9, 2009 at 9:53 AM, Bob McConnell r...@cbord.com wrote: From: Joe Harman I am using PHP to build an XML file, but I keep on getting an XML error when open the file in Google Chrome.

[PHP] Re: PHP includes

2009-03-09 Thread Nathan Rixham
Gary wrote: Thank you to everybody that replied...but it almost seems it is making extra work. I can understand using an include for a menu, since they tend to change often and it is on every page, but the normal content I am not understanding the benefit. If I have a page that has unique

[PHP] Re: PHP includes

2009-03-09 Thread Nathan Rixham
Gary wrote: Thank you to everybody that replied...but it almost seems it is making extra work. What is the best type of file to be used as an include (.txt, .php). new I forgot something! the best type of file to be used as an include differs on a case by case basis. name the files

[PHP] Hi!! I Joined the PHP Mailing List

2009-03-09 Thread Picu Priya
Hello Everyone, I have just joined the PHP Community.. I hope, I will spend good time here.. I am already a PHP programmer, and Love to learn a lot of new php tricks while helping others, as best of my knowledge. :) -- http://www.iniad.com : Iniad Link Xchange System

[PHP] Re: Hi!! I Joined the PHP Mailing List

2009-03-09 Thread Shawn McKenzie
Picu Priya wrote: Hello Everyone, I have just joined the PHP Community.. I hope, I will spend good time here.. I am already a PHP programmer, and Love to learn a lot of new php tricks while helping others, as best of my knowledge. :) Welcome! You are the designated helper for PJ. --

Re: [PHP] Re: Hi!! I Joined the PHP Mailing List

2009-03-09 Thread Eric Butera
On Mon, Mar 9, 2009 at 2:07 PM, Shawn McKenzie nos...@mckenzies.net wrote: Picu Priya wrote: Hello Everyone, I have just joined the PHP Community.. I hope, I will spend good time here.. I am already a PHP programmer, and Love to learn a lot of new php tricks while helping others, as best of my

Re: [PHP] web refreshing problem

2009-03-09 Thread Andrew Williams
Hi everyone, I discovered that error and warning messages from my program does not display automatically unless you refresh the page. and page also has the same problem. Does it has anything to do with the PHP - Apache settings. I have added the below message to it but its not making no

Re: [PHP] web refreshing problem

2009-03-09 Thread Nathan Rixham
Andrew Williams wrote: Hi everyone, I discovered that error and warning messages from my program does not display automatically unless you refresh the page. and page also has the same problem. Does it has anything to do with the PHP - Apache settings. post your code - limited in what help

[PHP] Re: Hi!! I Joined the PHP Mailing List

2009-03-09 Thread Nathan Rixham
Picu Priya wrote: Hello Everyone, I have just joined the PHP Community.. I hope, I will spend good time here.. I am already a PHP programmer, and Love to learn a lot of new php tricks while helping others, as best of my knowledge. :) welcome :-) -- PHP General Mailing List

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread Jason Norwood-Young
haliphax wrote: Perhaps I should have phrased it a bit more concise: This has been discussed many times--often, and RECENTLY. Anyway, since I'm already writing this, I'll say that overhead/bloat vs. productivity of the developer is a trade-off you're going to have to make for ANY of the

Re: [PHP] Re: Hi!! I Joined the PHP Mailing List

2009-03-09 Thread 9el
Welcome here as well :) www.twitter.com/nine_L www.lenin9l.wordpress.com

Re: [PHP] Hi!! I Joined the PHP Mailing List

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 12:54 PM, Picu Priya iniad...@gmail.com wrote: Hello Everyone, I have just joined the PHP Community.. I hope, I will spend good time here.. I am already a PHP programmer, and Love to learn a lot of new php tricks while helping others, as best of my knowledge. :) Hello,

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 1:26 PM, Jason Norwood-Young ja...@freespeechpub.co.za wrote: haliphax wrote: Perhaps I should have phrased it a bit more concise: This has been discussed many times--often, and RECENTLY. Anyway, since I'm already writing this, I'll say that overhead/bloat vs.

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread Nathan Rixham
Jason Norwood-Young wrote: haliphax wrote: Perhaps I should have phrased it a bit more concise: This has been discussed many times--often, and RECENTLY. Anyway, since I'm already writing this, I'll say that overhead/bloat vs. productivity of the developer is a trade-off you're going to have to

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread Jason Norwood-Young
haliphax wrote: On Mon, Mar 9, 2009 at 1:26 PM, Jason Norwood-Young ja...@freespeechpub.co.za wrote: haliphax wrote: Perhaps I should have phrased it a bit more concise: This has been discussed many times--often, and RECENTLY. Anyway, since I'm already writing this, I'll say that

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread Nathan Rixham
Jason Norwood-Young wrote: haliphax wrote: On Mon, Mar 9, 2009 at 1:26 PM, Jason Norwood-Young ja...@freespeechpub.co.za wrote: haliphax wrote: Perhaps I should have phrased it a bit more concise: This has been discussed many times--often, and RECENTLY. Anyway, since I'm already writing

RE: [PHP] Re: PHP includes

2009-03-09 Thread Ashley Sheridan
On Mon, 2009-03-09 at 15:10 +, Mayer, Jonathan wrote: Thank you to everybody that replied...but it almost seems it is making extra work. I can understand using an include for a menu, since they tend to change often and it is on every page, but the normal content I am not

Re: [PHP] Error in Building an XML File

2009-03-09 Thread Ashley Sheridan
On Mon, 2009-03-09 at 16:26 +, Nathan Rixham wrote: Joe Harman wrote: On Mon, Mar 9, 2009 at 9:53 AM, Bob McConnell r...@cbord.com wrote: From: Joe Harman I am using PHP to build an XML file, but I keep on getting an XML error when open the file in Google Chrome.

Re: [PHP] Re: PHP includes

2009-03-09 Thread Nathan Rixham
Ashley Sheridan wrote: Just thought I'd point out that it's recommended against giving non-php extensions to PHP code pages. Basically, making all of your include files .inc without the server correctly configured to recognise all .inc files as PHP files, you are opening yourself up to possible

Re: [PHP] Re: PHP includes

2009-03-09 Thread Larry Garfield
On Monday 09 March 2009 3:07:17 pm Nathan Rixham wrote: Ashley Sheridan wrote: Just thought I'd point out that it's recommended against giving non-php extensions to PHP code pages. Basically, making all of your include files .inc without the server correctly configured to recognise all .inc

Re: [PHP] Re: PHP includes

2009-03-09 Thread Ashley Sheridan
On Mon, 2009-03-09 at 15:23 -0500, Larry Garfield wrote: On Monday 09 March 2009 3:07:17 pm Nathan Rixham wrote: Ashley Sheridan wrote: Just thought I'd point out that it's recommended against giving non-php extensions to PHP code pages. Basically, making all of your include files .inc

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 2:50 PM, Nathan Rixham nrix...@gmail.com wrote: haliphax wrote: Framework = Overhead (when compared to vanilla PHP). Period. I'm not by vanilla do you mean vanilla from lussimo? [http://getvanilla.com/] ? You know damn well I didn't. :) -- // Todd -- PHP General

[PHP] Script execution

2009-03-09 Thread George Larson
Hi everybody. The problem that I'm having is probably because I've got more of a Windows background -- and it isn't so much a problem as a point of curiosity. I've recently noticed that when I write a script that they seem to have different permissions when executed at the command line. Two

Re: [PHP] Script execution

2009-03-09 Thread Ashley Sheridan
On Mon, 2009-03-09 at 16:59 -0400, George Larson wrote: Hi everybody. The problem that I'm having is probably because I've got more of a Windows background -- and it isn't so much a problem as a point of curiosity. I've recently noticed that when I write a script that they seem to have

Re: [PHP] Script execution

2009-03-09 Thread Daniel Brown
On Mon, Mar 9, 2009 at 16:59, George Larson george.g.lar...@gmail.com wrote: Am I imagining things?  If not, how would I properly make them able to run through a browser? You're not imagining things. In general, unless set up with SuExec privileges, Apache (which is probably the HTTP

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread Nathan Rixham
haliphax wrote: On Mon, Mar 9, 2009 at 2:50 PM, Nathan Rixham nrix...@gmail.com wrote: haliphax wrote: Framework = Overhead (when compared to vanilla PHP). Period. I'm not by vanilla do you mean vanilla from lussimo? [http://getvanilla.com/] ? You know damn well I didn't. :) I'd love to

[PHP] Re: Script execution

2009-03-09 Thread Shawn McKenzie
George Larson wrote: Hi everybody. The problem that I'm having is probably because I've got more of a Windows background -- and it isn't so much a problem as a point of curiosity. I've recently noticed that when I write a script that they seem to have different permissions when executed

[PHP] Re: Script execution

2009-03-09 Thread Shawn McKenzie
George Larson wrote: Hi everybody. The problem that I'm having is probably because I've got more of a Windows background -- and it isn't so much a problem as a point of curiosity. I've recently noticed that when I write a script that they seem to have different permissions when executed

Re: [PHP] Script execution

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 4:04 PM, Daniel Brown danbr...@php.net wrote: On Mon, Mar 9, 2009 at 16:59, George Larson george.g.lar...@gmail.com wrote: Am I imagining things?  If not, how would I properly make them able to run through a browser?    You're not imagining things.  In general, unless

Re: [PHP] Script execution

2009-03-09 Thread Daniel Brown
On Mon, Mar 9, 2009 at 17:17, haliphax halip...@gmail.com wrote: OP is a Windows user. I am assuming that they are using Windows. Re-read the context of that first paragraph from the OP and you'll see why I presume (as opposed to *ass*ume) that, despite his experience with Windows, this is

Re: [PHP] Script execution

2009-03-09 Thread George Larson
Thanks everybody! I guess I was a little vague. I'm working on an OpenSUSE setup with Apache, MySQL and PHP. I just knew that my confusion was because of my Windows up-bringing. The writing I referred to was to a file. One example is I had a script that was pulling data from a database and

Re: [PHP] Script execution

2009-03-09 Thread Daniel Brown
On Mon, Mar 9, 2009 at 17:21, Daniel Brown paras...@gmail.com wrote:    Re-read the context of that first paragraph from the OP and you'll see why I presume (as opposed to *ass*ume) that, despite his experience with Windows, this is a *NIX-like setup. DISCLAIMER: This was supposed to be

Re: [PHP] Script execution

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 4:28 PM, Daniel Brown paras...@gmail.com wrote: On Mon, Mar 9, 2009 at 17:21, Daniel Brown paras...@gmail.com wrote:    Re-read the context of that first paragraph from the OP and you'll see why I presume (as opposed to *ass*ume) that, despite his experience with

Re: [PHP] Script execution

2009-03-09 Thread George Larson
That's funny! I've been watching this and a few other lists (MySQL, local Linux Users' Group) for a few days - weeks and I had wondered why the PHP list seemed more hostile. :) On Mon, Mar 9, 2009 at 5:28 PM, Daniel Brown paras...@gmail.com wrote: On Mon, Mar 9, 2009 at 17:21, Daniel Brown

Re: [PHP] Script execution

2009-03-09 Thread Michael A. Peters
George Larson wrote: Thanks everybody! I guess I was a little vague. I'm working on an OpenSUSE setup with Apache, MySQL and PHP. I just knew that my confusion was because of my Windows up-bringing. The writing I referred to was to a file. One example is I had a script that was pulling data

Re: [PHP] Script execution

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 4:36 PM, George Larson george.g.lar...@gmail.com wrote: That's funny! I've been watching this and a few other lists (MySQL, local Linux Users' Group) for a few days - weeks and I had wondered why the PHP list seemed more hostile.  :) In a word, I think familiarity sums

Re: [PHP] Script execution

2009-03-09 Thread Daniel Brown
On Mon, Mar 9, 2009 at 17:39, haliphax halip...@gmail.com wrote: That, or ***holes. That's what my name tag says. -- /Daniel P. Brown daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ 50% Off All Shared Hosting Plans at PilotPig: Use Coupon

Re: [PHP] Script execution

2009-03-09 Thread Nathan Rixham
Daniel Brown wrote: On Mon, Mar 9, 2009 at 17:39, haliphax halip...@gmail.com wrote: That, or ***holes. That's what my name tag says. you got shot in the nametag 3 times? i dunno if that's good or bad luck! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Script execution

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 4:55 PM, Nathan Rixham nrix...@gmail.com wrote: Daniel Brown wrote: On Mon, Mar 9, 2009 at 17:39, haliphax halip...@gmail.com wrote: That, or ***holes.    That's what my name tag says. you got shot in the nametag 3 times? i dunno if that's good or bad luck! Yep.

Re: [PHP] Script execution

2009-03-09 Thread Nathan Rixham
George Larson wrote: That's funny! I've been watching this and a few other lists (MySQL, local Linux Users' Group) for a few days - weeks and I had wondered why the PHP list seemed more hostile. :) may be something to do with the fact 95% of posts here could be covered by: - a 5 question

Re: [PHP] Script execution

2009-03-09 Thread Nathan Rixham
haliphax wrote: On Mon, Mar 9, 2009 at 4:55 PM, Nathan Rixham nrix...@gmail.com wrote: Daniel Brown wrote: On Mon, Mar 9, 2009 at 17:39, haliphax halip...@gmail.com wrote: That, or ***holes. That's what my name tag says. you got shot in the nametag 3 times? i dunno if that's good or bad

[PHP] DOMDocument getElementsByAttribute ??

2009-03-09 Thread Michael A. Peters
Seems like such a function does not exist in php. I can write my own function that does it using DOMElement-hasAttribute() - but I'm not sure how to get an array of every element in the DOM to test them for the attribute. Any hints? I'm sure it's simple, I'm just not seeing the function that

Re: [PHP] Script execution

2009-03-09 Thread Ray
On Monday 09 March 2009 15:38:37 Michael A. Peters wrote: George Larson wrote: Thanks everybody! I guess I was a little vague. I'm working on an OpenSUSE setup with Apache, MySQL and PHP. I just knew that my confusion was because of my Windows up-bringing. The writing I referred

[PHP] Re: DOMDocument getElementsByAttribute ??

2009-03-09 Thread Nathan Rixham
Michael A. Peters wrote: Seems like such a function does not exist in php. I can write my own function that does it using DOMElement-hasAttribute() - but I'm not sure how to get an array of every element in the DOM to test them for the attribute. Any hints? I'm sure it's simple, I'm just

Re: [PHP] Opendir on site root directory?

2009-03-09 Thread Clancy
On Mon, 9 Mar 2009 10:07:33 +, stut...@gmail.com (Stuart) wrote: ... As in the example script I've posted above you can refer to the current working directory with a single period (.), but this is still relying on the current working directory being what you expect it to be. Thank you!

  1   2   >