Re: [PHP] Cookies/Sessions and how they work

2009-03-09 Thread Chris
It brings up another question, though. Let's say that I have a session_start() call at the beginning of a bunch of pages. So that each time one of these pages is called, the call is made to session_start(). It seems like it would screw things up royally if each call to session_start() generated

Re: [PHP] Script execution

2009-03-09 Thread Paul M Foster
On Mon, Mar 09, 2009 at 05:36:05PM -0400, 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. :) Wow! This list is pretty cordial. I've been o

Re: [PHP] [PHP & MySQL] Introduction to using relational databases

2009-03-09 Thread Dirk
Thilo Klein wrote: Dear readers, I am new to relational DB but not to MySQL & PHP in general. I created a RDB using Powerdesigner. Struggling with the program's complexity I managed to create a set of databases being interconnected via (foreign) keys. What I want to know is how to use

Re: [PHP] [PHP & MySQL] Introduction to using relational databases

2009-03-09 Thread Paul M Foster
On Tue, Mar 10, 2009 at 05:44:31AM +0100, Thilo Klein wrote: > Dear readers, > >I am new to relational DB but not to MySQL & PHP in general. I > created a RDB using Powerdesigner. Struggling with the program's > complexity I managed to create a set of databases being interconnected > via (fore

Re: [PHP] Cookies/Sessions and how they work

2009-03-09 Thread Paul M Foster
On Mon, Mar 09, 2009 at 11:35:57PM -0400, APseudoUtopia wrote: > On Mon, Mar 9, 2009 at 10:26 PM, Paul M Foster > wrote: > > This is in two parts. First cookies. I'm a little unclear on how they > > work. From what I've read, cookies are stored by the browser. When a > > request for that cookie c

Re: [PHP] [PHP & MySQL] Introduction to using relational databases

2009-03-09 Thread Dirk
Thilo Klein wrote: Dear readers, I am new to relational DB but not to MySQL & PHP in general. I created a RDB using Struggling with the program's complexity I managed to create a set of databases being interconnected via (foreign) keys. What I want to know is how to use this database

[PHP] [PHP & MySQL] Introduction to using relational databases

2009-03-09 Thread Thilo Klein
Dear readers, I am new to relational DB but not to MySQL & PHP in general. I created a RDB using Powerdesigner. Struggling with the program's complexity I managed to create a set of databases being interconnected via (foreign) keys. What I want to know is how to use this database via p

RE: [PHP] Cookies/Sessions and how they work

2009-03-09 Thread Chetan Rane
Hi I don't think PHP stores Session information in Cookies. However It dose store the sessionId (a unique alphanumeric string) in cookies. This SessionId is used to identify the requests sent from one user. The Session information is by default stored in the /tmp directory on your system in a flat

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

2009-03-09 Thread Picu Priya
Thank you all for the warm welcome. I Love PHP :) On 3/10/09, haliphax wrote: > On Mon, Mar 9, 2009 at 12:54 PM, 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 >> n

Re: [PHP] Cookies/Sessions and how they work

2009-03-09 Thread APseudoUtopia
On Mon, Mar 9, 2009 at 10:26 PM, Paul M Foster wrote: > This is in two parts. First cookies. I'm a little unclear on how they > work. From what I've read, cookies are stored by the browser. When a > request for that cookie comes in from the server, the browser returns > only the value, and no othe

Re: [PHP] Re: PHP timezone is unstable...

2009-03-09 Thread Dirk
Nathan Rixham wrote: Dirk wrote: Nathan Rixham wrote: Dirk wrote: Hello, what could cause the timezone in PHP to, randomly, jump back and forth 6 hours now and then? from phpinfo(): date date/time support enabled "Olson" Timezone Database Version 0.system Timezone Database i

Re: [PHP] Re: PHP timezone is unstable...

2009-03-09 Thread Dirk
Nathan Rixham wrote: Dirk wrote: Nathan Rixham wrote: Dirk wrote: Hello, what could cause the timezone in PHP to, randomly, jump back and forth 6 hours now and then? from phpinfo(): date date/time support enabled "Olson" Timezone Database Version 0.system Timezone Database i

Re: [PHP] Cookies/Sessions and how they work

2009-03-09 Thread Chris
Paul M Foster wrote: This is in two parts. First cookies. I'm a little unclear on how they work. From what I've read, cookies are stored by the browser. When a request for that cookie comes in from the server, the browser returns only the value, and no other data. One question: When the browser r

[PHP] Cookies/Sessions and how they work

2009-03-09 Thread Paul M Foster
This is in two parts. First cookies. I'm a little unclear on how they work. From what I've read, cookies are stored by the browser. When a request for that cookie comes in from the server, the browser returns only the value, and no other data. One question: When the browser requests a page from a s

Re: [PHP] Re: PHP timezone is unstable...

2009-03-09 Thread Nathan Rixham
Dirk wrote: Nathan Rixham wrote: Dirk wrote: Hello, what could cause the timezone in PHP to, randomly, jump back and forth 6 hours now and then? from phpinfo(): date date/time support enabled "Olson" Timezone Database Version 0.system Timezone Database internal Default timezo

Re: [PHP] Re: PHP timezone is unstable...

2009-03-09 Thread Dirk
Nathan Rixham wrote: Dirk wrote: Hello, what could cause the timezone in PHP to, randomly, jump back and forth 6 hours now and then? from phpinfo(): date date/time support enabled "Olson" Timezone Database Version 0.system Timezone Database internal Default timezone Americ

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

2009-03-09 Thread Sashikanth Gurram
Thanks Shawn and Dollah -Sashi Shawn McKenzie wrote: Sashikanth Gurram wrote: haliphax wrote: On Mon, Mar 9, 2009 at 10:52 AM, Sashikanth Gurram wrote: haliphax wrote: On Mon, Mar 9, 2009 at 10:24 AM, Sashikanth Gurram wrote: Nathan Nobbe wr

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

2009-03-09 Thread Sashikanth Gurram
Hi, Worked perfectly. Thank you very much. -Sashi Dollah Ihsan wrote: Hi, you are using single quotes like this? echo ' '; single quotes will ignore that "$building" variable. Just concatenate it: echo '"; It should work I think, sorry if it does not. On Tue, Mar 10, 2009 at 8:14 AM, Sas

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

2009-03-09 Thread Shawn McKenzie
Sashikanth Gurram wrote: > haliphax wrote: >> On Mon, Mar 9, 2009 at 10:52 AM, Sashikanth Gurram >> wrote: >> >>> haliphax wrote: >>> On Mon, Mar 9, 2009 at 10:24 AM, Sashikanth Gurram wrote: > Nathan Nobbe wrote: > > >> On Mon, Mar 9, 2009

RE: [PHP] Re: Setting Up A Web Subscription Service

2009-03-09 Thread HallMarc Websites
etty much the standard AFAIK -- 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 3922 (20090309) __ The message was checked by ESET Smart Security. http://

[PHP] Re: PHP timezone is unstable...

2009-03-09 Thread Nathan Rixham
Dirk wrote: Hello, what could cause the timezone in PHP to, randomly, jump back and forth 6 hours now and then? from phpinfo(): date date/time support enabled "Olson" Timezone Database Version 0.system Timezone Database internal Default timezone America/Chicago Directive

[PHP] Re: Setting Up A Web Subscription Service

2009-03-09 Thread Nathan Rixham
revDAVE wrote: Rather than reinventing the wheel & trying to set up a Web Subscription Service from scratch - I imagine there must be a good selection of Web Subscription Services, pre-made and maybe even open source apps (php/MySql ?) out there already. I'm not quite sure where to start looking

[PHP] PHP timezone is unstable...

2009-03-09 Thread Dirk
Hello, what could cause the timezone in PHP to, randomly, jump back and forth 6 hours now and then? from phpinfo(): date date/time support enabled "Olson" Timezone Database Version 0.system Timezone Database internal Default timezone America/Chicago DirectiveLocal Value

[PHP] PHP timezone is unstable...

2009-03-09 Thread Dirk
Hello, what could cause the timezone in PHP to, randomly, jump back and forth 6 hours now and then? from phpinfo(): date date/time support enabled "Olson" Timezone Database Version 0.system Timezone Database internal Default timezone America/Chicago DirectiveLocal Value

[PHP] Setting Up A Web Subscription Service

2009-03-09 Thread revDAVE
Rather than reinventing the wheel & trying to set up a Web Subscription Service from scratch - I imagine there must be a good selection of Web Subscription Services, pre-made and maybe even open source apps (php/MySql ?) out there already. I'm not quite sure where to start looking however The

Re: [PHP] Opendir on site root directory?

2009-03-09 Thread George Larson
"but it had become lost in the detritus at the back of my mind" Inappropriate as this is for _the_ PHP list -- that was a beautiful phrase, friend. On Mon, Mar 9, 2009 at 8:05 PM, Clancy wrote: > On Mon, 9 Mar 2009 10:07:33 +, stut...@gmail.com (Stuart) wrote: > > ... > >As in the examp

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

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

[PHP] Re: DOMDocument getElementsByAttribute ??

2009-03-09 Thread Michael A. Peters
Nathan Rixham wrote: Michael A. Peters wrote: Nathan Rixham wrote: 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 t

[PHP] Re: DOMDocument getElementsByAttribute ??

2009-03-09 Thread Nathan Rixham
Michael A. Peters wrote: Nathan Rixham wrote: 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.

[PHP] Re: DOMDocument getElementsByAttribute ??

2009-03-09 Thread Michael A. Peters
Nathan Rixham wrote: 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

Re: [PHP] DOM recursion

2009-03-09 Thread Jochem Maas
Nathan Rixham schreef: > 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'v

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!

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

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 writin

[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 Nathan Rixham
haliphax wrote: On Mon, Mar 9, 2009 at 4:55 PM, Nathan Rixham wrote: Daniel Brown wrote: On Mon, Mar 9, 2009 at 17:39, haliphax 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. Now nobody can tell i

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

Re: [PHP] Script execution

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 4:55 PM, Nathan Rixham wrote: > Daniel Brown wrote: >> >> On Mon, Mar 9, 2009 at 17:39, haliphax 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. Now nobody can tell

Re: [PHP] Script execution

2009-03-09 Thread Nathan Rixham
Daniel Brown wrote: On Mon, Mar 9, 2009 at 17:39, haliphax 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: http://www.php.net/uns

Re: [PHP] Script execution

2009-03-09 Thread Daniel Brown
On Mon, Mar 9, 2009 at 17:39, haliphax wrote: > > That, or "***holes." That's what my name tag says. -- 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 DOW1 -- PHP General Mail

Re: [PHP] Script execution

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 4:36 PM, 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.  :) In a word, I think "familiarity" sums it up. That, or "

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 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 wrote: > On Mon, Mar 9, 2009 at 17:21, Daniel Brown wrote: > > > >R

Re: [PHP] Script execution

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 4:28 PM, Daniel Brown wrote: > On Mon, Mar 9, 2009 at 17:21, Daniel Brown 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

Re: [PHP] Script execution

2009-03-09 Thread Daniel Brown
On Mon, Mar 9, 2009 at 17:21, Daniel Brown 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 added to my seem

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 usi

Re: [PHP] Script execution

2009-03-09 Thread Daniel Brown
On Mon, Mar 9, 2009 at 17:17, haliphax 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 a *NIX-like setup

Re: [PHP] Script execution

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 4:04 PM, Daniel Brown wrote: > On Mon, Mar 9, 2009 at 16:59, George Larson 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,

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

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

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread Nathan Rixham
haliphax wrote: On Mon, Mar 9, 2009 at 2:50 PM, Nathan Rixham 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 lol - but really n

Re: [PHP] Script execution

2009-03-09 Thread Daniel Brown
On Mon, Mar 9, 2009 at 16:59, George Larson 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 server you're using) will r

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 h

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

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 2:50 PM, Nathan Rixham 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 Mailing List

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

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 al

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 h

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

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

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 m

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 1:26 PM, 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 >> dev

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 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, and welcome! Just

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

[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 (http://www.php.net

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

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 diffe

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 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 knowledge. :)

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

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

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

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

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 thi

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 wrote: > haliphax wrote: >> >> On Mon, Mar 9, 2009 at 10:24 AM, Sashikanth Gurram >> wrote: >> >>> >>> Nathan Nobbe wrote: >>> On Mon, Mar 9, 2009 at 7:32 AM, Sashikanth Gurram >>> > wrote:   Hi, >

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 wrote: Nathan Nobbe wrote: On Mon, Mar 9, 2009 at 7:32 AM, Sashikanth Gurram mailto:sashi

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 co

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

2009-03-09 Thread Daniel Brown
On Mon, Mar 9, 2009 at 11:14, Per Jessen 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, that's all

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

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 wrote: > Nathan Nobbe wrote: >> >> >> On Mon, Mar 9, 2009 at 7:32 AM, Sashikanth Gurram > > wrote: >> >>    Hi, >> >>    Yes, the problem was solved, but It did not work fine when I used >>    the same code in my larger fil

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 tag. It is working fine. B

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

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 tag. It is working fine. But, the image I need to display is

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 h

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 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] Retrieving Image Location in PHP from MySQL

2009-03-09 Thread Nathan Nobbe
On Mon, Mar 9, 2009 at 7:32 AM, Sashikanth Gurram 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 header() ca

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

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread Virgilio Quilario
> 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 CI and they look

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 an

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

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

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 defin

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 wrote: >> On Mon, Mar 9, 2009 at 1:29 AM, Sashikanth Gurram 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 a

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

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

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 9:25 AM, Marc Christopher Hall 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

Re: [PHP] assign array values to variables

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 9:25 AM, Jim Lucas wrote: > haliphax wrote: >> >> On Mon, Mar 9, 2009 at 2:22 AM, Jim Lucas 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 scattered all >> ove

  1   2   >