Re: [PHP] Reading a Word document from PHP

2008-09-22 Thread clive
Hi I know the new microsoft docx format is an xml document, so you could probably use the xml parser with that. Any chance you can get them to use a rtf file instead of a word file to convert to pdf, rtf is mostly readable text with some control words thrown in for formatting. clive Ashley

Re: [PHP] Passing variables between pages

2008-09-22 Thread Thodoris
At 11:19 PM +0100 9/21/08, Nathan Rixham wrote: so may as well just have everything in one script then.. You always have the option to write one huge script for any application. But normally in programming, we confront any problem by breaking it down into smaller steps and writing code to s

Re: [PHP] Scope of the variables around PHP class

2008-09-22 Thread Chris
VamVan wrote: Hello Guys, I have a problem here. I hope you can help me resolving it. Please see the code below array.php has $array1 = ('hello'=>'heelo',) require_once('array.php'); class Classa { } How can I access the array values in my class? I want to understand the scope. You can't

Re: [PHP] Security warning

2008-09-22 Thread tedd
At 10:55 PM +0100 9/22/08, Ashley Sheridan wrote: Who is /dev/null, and what does he advertise? ;) Nothing. Get it? Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

Re: [PHP] Security warning

2008-09-22 Thread tedd
At 5:48 PM -0400 9/22/08, Daniel Brown wrote: On Mon, Sep 22, 2008 at 5:45 PM, tedd <[EMAIL PROTECTED]> wrote: The problem here is that the site is pretty large (>100 pages) and has thousands of members. I think they would notice a slow down, but that's one of the things they are considering

Re: [PHP] Re: Encrypt database table

2008-09-22 Thread Nathan Rixham
Boyd, Todd M. wrote: -Original Message- From: Nathan Rixham [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2008 12:23 PM To: php-general@lists.php.net Subject: Re: [PHP] Re: Encrypt database table Boyd, Todd M. wrote: -Original Message- From: Micah Gersten [mailto:[EMAIL

Re: [PHP] Reading a Word document from PHP

2008-09-22 Thread Eric Butera
On Mon, Sep 22, 2008 at 3:56 PM, Ashley Sheridan <[EMAIL PROTECTED]> wrote: > Hi All, > > I recently asked a question regarding reading a PDF with PHP. I've tried > Zend_pdf, but all this is able to give me is the number of pages in a > PDF, and cannot extract the text from the PDF files I have. I

Re: [PHP] Security warning

2008-09-22 Thread Eric Butera
On Mon, Sep 22, 2008 at 6:02 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: > On Mon, Sep 22, 2008 at 5:55 PM, Eric Butera <[EMAIL PROTECTED]> wrote: >> >> That reply was just another attempt at getting your sig into the archives. >> :P > >It wasn't, but good point, Butera. ;-P > > -- > > [Del

RE: [PHP] Reading a Word document from PHP

2008-09-22 Thread Boyd, Todd M.
> -Original Message- > From: Bastien Koert [mailto:[EMAIL PROTECTED] > Sent: Monday, September 22, 2008 4:00 PM > To: [EMAIL PROTECTED] > Cc: php-general > Subject: Re: [PHP] Reading a Word document from PHP > > On Mon, Sep 22, 2008 at 4:58 PM, Ashley Sheridan > <[EMAIL PROTECTED]>wrote: >

Re: [PHP] Security warning

2008-09-22 Thread Daniel Brown
On Mon, Sep 22, 2008 at 5:55 PM, Eric Butera <[EMAIL PROTECTED]> wrote: > > That reply was just another attempt at getting your sig into the archives. :P It wasn't, but good point, Butera. ;-P -- [Deleted from this email for everyone's sake. The Earth is running out of bandwidth!] -- P

Re: [PHP] Security warning

2008-09-22 Thread Eric Butera
On Mon, Sep 22, 2008 at 5:50 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: >ATTENTION LAWYERS AND THREAD-FLAMERS: > >That was meant to be a "reply" to Tedd personally, not a > "reply-all." Anyone wishing to slam me for advertising is welcome to > email your local /dev/null. > > -- > > More

Re: [PHP] Security warning

2008-09-22 Thread Ashley Sheridan
On Mon, 2008-09-22 at 17:50 -0400, Daniel Brown wrote: > On Mon, Sep 22, 2008 at 5:48 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: > > On Mon, Sep 22, 2008 at 5:45 PM, tedd <[EMAIL PROTECTED]> wrote: > >> > >> The problem here is that the site is pretty large (>100 pages) and has > >> thousands of

Re: [PHP] Security warning

2008-09-22 Thread Daniel Brown
On Mon, Sep 22, 2008 at 5:48 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: > On Mon, Sep 22, 2008 at 5:45 PM, tedd <[EMAIL PROTECTED]> wrote: >> >> The problem here is that the site is pretty large (>100 pages) and has >> thousands of members. I think they would notice a slow down, but that's one >>

Re: [PHP] Security warning

2008-09-22 Thread Daniel Brown
On Mon, Sep 22, 2008 at 5:45 PM, tedd <[EMAIL PROTECTED]> wrote: > > The problem here is that the site is pretty large (>100 pages) and has > thousands of members. I think they would notice a slow down, but that's one > of the things they are considering. A site like that should probably alrea

Re: [PHP] Security warning

2008-09-22 Thread tedd
At 11:22 PM +0200 9/22/08, Jochem Maas wrote: my personal theory on this is do *everything* via https, screw the overhead and buy a bigger box ... given the state of the art it won't be *that* long before pretty much everything site handling forms/transactions/etc use https exclusively. besides w

Re: [PHP] Problem with sorting

2008-09-22 Thread Jochem Maas
Michelle Konzack schreef: * Do not Cc: me, because I READ THIS LIST, if I write here * *Keine Cc: am mich, ich LESE DIESE LISTE wenn ich hier schreibe*

Re: [PHP] Security warning

2008-09-22 Thread Jochem Maas
tedd schreef: At 4:34 PM -0400 9/22/08, Daniel Brown wrote: On Mon, Sep 22, 2008 at 2:48 PM, tedd <[EMAIL PROTECTED]> wrote: > However, when the user exits https and returns back to the http side of > things, the user receives a warning. If the error you're getting is just saying that y

Re: [PHP] Reading a Word document from PHP

2008-09-22 Thread Bastien Koert
On Mon, Sep 22, 2008 at 4:58 PM, Ashley Sheridan <[EMAIL PROTECTED]>wrote: > On Mon, 2008-09-22 at 16:47 -0400, Bastien Koert wrote: > > > > > > On Mon, Sep 22, 2008 at 3:56 PM, Ashley Sheridan > > <[EMAIL PROTECTED]> wrote: > > Hi All, > > > > I recently asked a question regarding

Re: [PHP] Security warning

2008-09-22 Thread tedd
At 4:34 PM -0400 9/22/08, Daniel Brown wrote: On Mon, Sep 22, 2008 at 2:48 PM, tedd <[EMAIL PROTECTED]> wrote: > However, when the user exits https and returns back to the http side of > things, the user receives a warning. If the error you're getting is just saying that you're being redir

Re: [PHP] Security warning

2008-09-22 Thread Ashley Sheridan
On Mon, 2008-09-22 at 16:55 -0400, tedd wrote: > At 8:49 PM +0100 9/22/08, Ashley Sheridan wrote: > >On Mon, 2008-09-22 at 14:48 -0400, tedd wrote: > > > > > I suspect that the purpose of this warning is to alert the user when > >> they are taken from a https directory to a http directory. > >> >

Re: [PHP] Security warning

2008-09-22 Thread tedd
At 8:49 PM +0100 9/22/08, Ashley Sheridan wrote: On Mon, 2008-09-22 at 14:48 -0400, tedd wrote: > I suspect that the purpose of this warning is to alert the user when they are taken from a https directory to a http directory. Now my question is "Can I turn off that security warning?" or fin

Re: [PHP] Reading a Word document from PHP

2008-09-22 Thread Ashley Sheridan
On Mon, 2008-09-22 at 16:47 -0400, Bastien Koert wrote: > > > On Mon, Sep 22, 2008 at 3:56 PM, Ashley Sheridan > <[EMAIL PROTECTED]> wrote: > Hi All, > > I recently asked a question regarding reading a PDF with PHP. > I've tried > Zend_pdf, but all this is

Re: [PHP] Reading a Word document from PHP

2008-09-22 Thread Bastien Koert
On Mon, Sep 22, 2008 at 3:56 PM, Ashley Sheridan <[EMAIL PROTECTED]>wrote: > Hi All, > > I recently asked a question regarding reading a PDF with PHP. I've tried > Zend_pdf, but all this is able to give me is the number of pages in a > PDF, and cannot extract the text from the PDF files I have. I

Re: [PHP] Search functionality

2008-09-22 Thread Bastien Koert
On Mon, Sep 22, 2008 at 4:07 PM, Dan Shirah <[EMAIL PROTECTED]> wrote: > Hello all, > > I'm looking for suggestions on how to create a search function within my > application. First I'll give you an overview. > > At the top of my page I have a form that contains name and date fields. > When a use

Re: [PHP] Security warning

2008-09-22 Thread Daniel Brown
On Mon, Sep 22, 2008 at 2:48 PM, tedd <[EMAIL PROTECTED]> wrote: > Hi gang: > > I have a problem (please, no remarks). :-) > > I have a site where a security certificate is in place and it works. The > user can login and review their information and purchase stuff. When the > user goes from the ht

[PHP] Scope of the variables around PHP class

2008-09-22 Thread VamVan
Hello Guys, I have a problem here. I hope you can help me resolving it. Please see the code below array.php has $array1 = ('hello'=>'heelo',) require_once('array.php'); class Classa { } How can I access the array values in my class? I want to understand the scope. Thanks

[PHP] Search functionality

2008-09-22 Thread Dan Shirah
Hello all, I'm looking for suggestions on how to create a search function within my application. First I'll give you an overview. At the top of my page I have a form that contains name and date fields. When a user puts in some data and selects "Search" a simple column of results will be displaye

RE: [PHP] Re: Encrypt database table

2008-09-22 Thread Boyd, Todd M.
> -Original Message- > From: Nathan Rixham [mailto:[EMAIL PROTECTED] > Sent: Monday, September 22, 2008 12:23 PM > To: php-general@lists.php.net > Subject: Re: [PHP] Re: Encrypt database table > > Boyd, Todd M. wrote: > >> -Original Message- > >> From: Micah Gersten [mailto:[EMAIL

[PHP] Reading a Word document from PHP

2008-09-22 Thread Ashley Sheridan
Hi All, I recently asked a question regarding reading a PDF with PHP. I've tried Zend_pdf, but all this is able to give me is the number of pages in a PDF, and cannot extract the text from the PDF files I have. I thought I'd try a different method, and try to extract the text straight from the Wor

Re: [PHP] Security warning

2008-09-22 Thread Ashley Sheridan
On Mon, 2008-09-22 at 14:48 -0400, tedd wrote: > Hi gang: > > I have a problem (please, no remarks). :-) > > I have a site where a security certificate is in place and it works. > The user can login and review their information and purchase stuff. > When the user goes from the http to the http

Re: [PHP] was [PHP] Re: render html

2008-09-22 Thread Ashley Sheridan
On Mon, 2008-09-22 at 10:15 -0500, Philip Thompson wrote: > And is just > not right at all (at least for XHTML I think you'll find that is valid XHTML, which just says that the closing tag must be specified. Ash www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Re: Encrypt database table

2008-09-22 Thread Bastien Koert
On Mon, Sep 22, 2008 at 12:09 PM, Philip Thompson <[EMAIL PROTECTED]>wrote: > On Sep 22, 2008, at 9:52 AM, Nathan Rixham wrote: > > [EMAIL PROTECTED] wrote: >> >>> Hi, >>> What methods do you guys use to keep a mysql table encryped, or well >>> atleast a major part of it. Security is very importa

[PHP] Re: Ancient, unsolved high-CPU problem

2008-09-22 Thread Rene Fournier
In case you wanted more detail: +---+---+ | Variable_name | Value | +---+---+ | Aborted_clients | 14| | Aborted_connects | 4 | | Binlog_cache_

[PHP] Security warning

2008-09-22 Thread tedd
Hi gang: I have a problem (please, no remarks). :-) I have a site where a security certificate is in place and it works. The user can login and review their information and purchase stuff. When the user goes from the http to the https side of things, everything is fine -- their no warning gi

Re: [PHP] Re: Encrypt database table

2008-09-22 Thread Nathan Rixham
Boyd, Todd M. wrote: -Original Message- From: Micah Gersten [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2008 11:22 AM To: PHP General list Subject: Re: [PHP] Re: Encrypt database table You have the same worry of a DBA writing the root password on a post it note. In every org

Re: [PHP] Passing variables between pages

2008-09-22 Thread tedd
At 10:18 AM -0400 9/22/08, Eric Butera wrote: I don't understand what sort of point you're trying to make with this? The original poster asked how to keep state between different pages which in that context did mean separate requests. It seems like you're trying to be confusing on purpose. No

[PHP] ANN: BrowserHawk for PHP

2008-09-22 Thread Kevin E
Hi all, I wanted to share with you that we have (finally!) a version of BrowserHawk that works great with PHP. There is nothing to install to use it either. Its called BrowserHawk To-Go (BHTG) an integrates instantly with any PHP page(s) just by including a single line of code in the page. See w

RE: [PHP] Re: Encrypt database table

2008-09-22 Thread Boyd, Todd M.
> -Original Message- > From: Micah Gersten [mailto:[EMAIL PROTECTED] > Sent: Monday, September 22, 2008 11:22 AM > To: PHP General list > Subject: Re: [PHP] Re: Encrypt database table > > You have the same worry of a DBA writing the root password on a post it > note. In every organization

Re: [PHP] was [PHP] Re: render html

2008-09-22 Thread Nathan Rixham
Jim Lucas wrote: Philip Thompson wrote: Nothing ever goes between br tags! There should never be a "between" regarding a br tag is an interesting one; and very rarely used -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] was [PHP] Re: render html

2008-09-22 Thread Jim Lucas
Philip Thompson wrote: > > Nothing ever goes between br tags! > There should never be a "between" regarding a br tag -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twelfth Night, Act II, Scene V by William Shakespe

Re: [PHP] Re: Encrypt database table

2008-09-22 Thread Per Jessen
Philip Thompson wrote: > I understand what you're saying, but I don't completely agree with > this. What happens when the DBA has a table of names and SSNs on > screen and then gets up from his desk to run to the bathroom? In the > fear that he may ruin is best slacks (err, jeans), he forgets to c

Re: [PHP] Re: Encrypt database table

2008-09-22 Thread Micah Gersten
You have the same worry of a DBA writing the root password on a post it note. In every organization, there has to be some level of trust. Tell the DBA to use Linux, there's a lock icon to enable the screensaver in most X environments. ;-) Thank you, Micah Gersten onShore Networks Internal Develo

Re: [PHP] Encrypt database table

2008-09-22 Thread Per Jessen
[EMAIL PROTECTED] wrote: > Hi, > > What methods do you guys use to keep a mysql table encryped, or well > atleast a major part of it. I would use an encrypted filesystem. /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.p

Re: Re[2]: [PHP] ANSI to ISO-8859-2

2008-09-22 Thread Per Jessen
Bc. Radek Krejca wrote: > PJ> ANSI is not a character set, it's a standards organisation. You > may PJ> have meant ASCII, and the string does look as if it could be > ASCII. > PJ> The sequences like &#xNNN are HTML-style symbolic entities. Take > a PJ> look at htmlentities(). > > This function

Re: [PHP] was [PHP] Re: render html

2008-09-22 Thread Philip Thompson
On Sep 22, 2008, at 10:29 AM, tedd wrote: At 10:15 AM -0500 9/22/08, Philip Thompson wrote: And is just not right at all (at least for XHTML, and I doubt for any other doctype). You can look at the DTD for XHTML and see that is not an option. http://www.w3.org/QA/2002/04/valid-dtd-list.h

Re: [PHP] __autoload alternative

2008-09-22 Thread Eric Butera
On Mon, Sep 22, 2008 at 11:59 AM, Nathan Rixham <[EMAIL PROTECTED]> wrote: > Nathan Nobbe wrote: >> >> On Mon, Sep 22, 2008 at 2:54 AM, Shelley <[EMAIL PROTECTED]> wrote: >> >>> Hi all, >>> >>> Is there any way to auto load a class without using __autoload() >>> function? >>> >>> As I want to load

Re: [PHP] Re: Encrypt database table

2008-09-22 Thread Philip Thompson
On Sep 22, 2008, at 9:52 AM, Nathan Rixham wrote: [EMAIL PROTECTED] wrote: Hi, What methods do you guys use to keep a mysql table encryped, or well atleast a major part of it. Security is very important and I want to use a public and private key. Is GPG the only safe way? It's hell of an

Re: [PHP] Passing variables between pages

2008-09-22 Thread Micah Gersten
Sessions are used to pass dynamic content between pages. Your method is passing static content. Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com tedd wrote: > No problem. > > But here is what I would like you to consider, the next time you are > thinking abou

Re: [PHP] Passing variables between pages

2008-09-22 Thread Micah Gersten
You're not passing anything from the browser which is what the OP wanted. You're hard coding variables and the using them in other scripts. Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com tedd wrote: > > > I don't know what a "basic front-end loader pattern"

Re: [PHP] __autoload alternative

2008-09-22 Thread Nathan Rixham
Nathan Nobbe wrote: On Mon, Sep 22, 2008 at 2:54 AM, Shelley <[EMAIL PROTECTED]> wrote: Hi all, Is there any way to auto load a class without using __autoload() function? As I want to load some classes under different paths, and that caused redeclare of __autoload function. a lot of people

Re: [PHP] Re: Encrypt database table

2008-09-22 Thread Andrew Ballard
On Mon, Sep 22, 2008 at 10:52 AM, Nathan Rixham <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: >> >> Hi, >> >> What methods do you guys use to keep a mysql table encryped, or well >> atleast a major part of it. Security is very important and I want to use a >> public and private key. Is GPG

Re: [PHP] Passing variables between pages

2008-09-22 Thread Micah Gersten
I would think debugging a chain of code is more of a nightmare than debugging a $_SESSION variable. Also, HTTP is a stateless protocol no matter what you do. If you want to pass data around, the only ways to do it are $_SESSIONS and cookies with $_SESSIONS being preferable as they stay on the ser

Re: [PHP] __autoload alternative

2008-09-22 Thread Nathan Nobbe
On Mon, Sep 22, 2008 at 2:54 AM, Shelley <[EMAIL PROTECTED]> wrote: > Hi all, > > Is there any way to auto load a class without using __autoload() function? > > As I want to load some classes under different paths, and that caused > redeclare of __autoload function. a lot of people / frameworks,

Re: [PHP] __autoload alternative

2008-09-22 Thread Nathan Nobbe
On Mon, Sep 22, 2008 at 3:09 AM, Aschwin Wesselius <[EMAIL PROTECTED]>wrote: > Shelley wrote: > >> Hi all, >> >> Is there any way to auto load a class without using __autoload() function? >> >> As I want to load some classes under different paths, and that caused >> redeclare of __autoload functio

Re: [PHP] was [PHP] Re: render html

2008-09-22 Thread tedd
At 10:15 AM -0500 9/22/08, Philip Thompson wrote: And is just not right at all (at least for XHTML, and I doubt for any other doctype). You can look at the DTD for XHTML and see that is not an option. http://www.w3.org/QA/2002/04/valid-dtd-list.html ~Philip I never use the tag, but if

Re: [PHP] Passing variables between pages

2008-09-22 Thread Jason Pruim
On Sep 22, 2008, at 10:41 AM, Nathan Rixham wrote: tedd wrote: At 2:47 PM +0100 9/22/08, Nathan Rixham wrote: tedd wrote: -Stut and Nathan: The problem was not how to pass variables between requests, but rather how to variables between pages -- as the subject line indicates. a

Re: [PHP] was [PHP] Re: render html

2008-09-22 Thread tedd
At 11:50 AM -0400 9/21/08, b wrote: I think this page explains the roots of the confusion very well: Empty elements in SGML, HTML, XML, and XHTML http://www.cs.tut.fi/~jkorpela/html/empty.html It wasn't until I got to the bottom of the read that I realized Jukka wrote it -- I've known him for

Re: [PHP] Passing variables between pages

2008-09-22 Thread Stut
On 22 Sep 2008, at 15:08, tedd wrote: At 2:47 PM +0100 9/22/08, Nathan Rixham wrote: tedd wrote: -Stut and Nathan: The problem was not how to pass variables between requests, but rather how to variables between pages -- as the subject line indicates. a! now I follow; and

Re: [PHP] was [PHP] Re: render html

2008-09-22 Thread Philip Thompson
On Sep 22, 2008, at 9:24 AM, tedd wrote: At 8:37 PM +0100 9/21/08, Stut wrote: That's what the DocType is. It tells the browser what version of (X)HTML you're using and therefore which tags are allowed and which are not. It has a major effect on some browsers, and if you use the right one

[PHP] Re: Encrypt database table

2008-09-22 Thread Nathan Rixham
[EMAIL PROTECTED] wrote: Hi, What methods do you guys use to keep a mysql table encryped, or well atleast a major part of it. Security is very important and I want to use a public and private key. Is GPG the only safe way? It's hell of an overhead using GPG on every col, even a very short str

Re: [PHP] Re: Problem with sorting

2008-09-22 Thread Eric Butera
On Mon, Sep 22, 2008 at 10:42 AM, Philip Thompson <[EMAIL PROTECTED]> wrote: > LOL! > > ~Phil > > PS... This was read and replied to on a Monday. =P *golf clap* -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Encrypt database table

2008-09-22 Thread Richard Heyes
> What methods do you guys use to keep a mysql table encryped, or well atleast > a major part of it. Security is very important and I want to use a public and > private key. Is GPG the only safe way? It's hell of an overhead using GPG on > every col, even a very short string is easily 1000 chara

Re: [PHP] Re: Problem with sorting

2008-09-22 Thread Philip Thompson
On Sep 21, 2008, at 2:24 PM, Eric Butera wrote: On Sun, Sep 21, 2008 at 3:26 PM, Ashley Sheridan <[EMAIL PROTECTED]> wrote: On Sun, 2008-09-21 at 15:21 -0400, Eric Butera wrote: On Sun, Sep 21, 2008 at 3:17 PM, Ashley Sheridan <[EMAIL PROTECTED]> wrote: On Sun, 2008-09-21 at 14:34 -0400, Eri

Re: [PHP] Passing variables between pages

2008-09-22 Thread Nathan Rixham
tedd wrote: At 2:47 PM +0100 9/22/08, Nathan Rixham wrote: tedd wrote: -Stut and Nathan: The problem was not how to pass variables between requests, but rather how to variables between pages -- as the subject line indicates. a! now I follow; and surely tedd what you say is

[PHP] Encrypt database table

2008-09-22 Thread emil
Hi, What methods do you guys use to keep a mysql table encryped, or well atleast a major part of it. Security is very important and I want to use a public and private key. Is GPG the only safe way? It's hell of an overhead using GPG on every col, even a very short string is easily 1000 characte

Re: [PHP] SESSIONS vs. MySQL

2008-09-22 Thread Philip Thompson
On Sep 20, 2008, at 7:28 AM, Ashley Sheridan wrote: On Fri, 2008-09-19 at 10:17 -0500, Philip Thompson wrote: Hi all. Let me start out by saying, I have STFW and read through the list archives. Now that that's out of the way. To speed up our application, we want to implement using SESSIONs in

Re: [PHP] was [PHP] Re: render html

2008-09-22 Thread tedd
At 8:37 PM +0100 9/21/08, Stut wrote: That's what the DocType is. It tells the browser what version of (X)HTML you're using and therefore which tags are allowed and which are not. It has a major effect on some browsers, and if you use the right one it can help a lot when trying to make pages lo

Re: [PHP] Passing variables between pages

2008-09-22 Thread Eric Butera
On Mon, Sep 22, 2008 at 9:49 AM, tedd <[EMAIL PROTECTED]> wrote: > At 11:19 PM +0100 9/21/08, Nathan Rixham wrote: >> >> so may as well just have everything in one script then.. > > You always have the option to write one huge script for any application. > > But normally in programming, we confront

Re: [PHP] Passing variables between pages

2008-09-22 Thread tedd
At 2:47 PM +0100 9/22/08, Nathan Rixham wrote: tedd wrote: -Stut and Nathan: The problem was not how to pass variables between requests, but rather how to variables between pages -- as the subject line indicates. a! now I follow; and surely tedd what you say is indeed the b

Re: [PHP] Passing variables between pages

2008-09-22 Thread tedd
At 11:19 PM +0100 9/21/08, Nathan Rixham wrote: so may as well just have everything in one script then.. You always have the option to write one huge script for any application. But normally in programming, we confront any problem by breaking it down into smaller steps and writing code to sol

Re: [PHP] Passing variables between pages

2008-09-22 Thread Nathan Rixham
tedd wrote: -Stut and Nathan: The problem was not how to pass variables between requests, but rather how to variables between pages -- as the subject line indicates. a! now I follow; and surely tedd what you say is indeed the best way of achieving this. cheers for taking th

Re: [PHP] Passing variables between pages

2008-09-22 Thread tedd
At 6:20 PM -0400 9/21/08, Robert Cummings wrote: Looks like a basic front-end loader pattern. Data isn't passed, it's available by virtue of being in the current request's context. Cheers, Rob. Rob: I don't know what a "basic front-end loader pattern" is, but the data is available to the nex

Re: [PHP] Passing variables between pages

2008-09-22 Thread tedd
At 8:39 PM +0100 9/21/08, Stut wrote: On 21 Sep 2008, at 18:13, Nathan Rixham wrote: at it's simplest is this correct..? index.php anotherscript.php I'm struggling to follow here I thinks! lol I don't think you're missing the point Nathan, I think you've hit it on the head. This techniqu

Re[2]: [PHP] ANSI to ISO-8859-2

2008-09-22 Thread Bc. Radek Krejca
PJ> ANSI is not a character set, it's a standards organisation. You may PJ> have meant ASCII, and the string does look as if it could be ASCII. PJ> The sequences like &#xNNN are HTML-style symbolic entities. Take a PJ> look at htmlentities(). This function encode strings, but I tried html_entit

Re: [PHP] __autoload alternative

2008-09-22 Thread Jochem Maas
Shelley schreef: Hi all, Is there any way to auto load a class without using __autoload() function? As I want to load some classes under different paths, and that caused redeclare of __autoload function. Any suggestions appreciated. spl_autoload_register() http://php.net/manual/en/function.

Re: [PHP] __autoload alternative

2008-09-22 Thread Aschwin Wesselius
Shelley wrote: Hi all, Is there any way to auto load a class without using __autoload() function? As I want to load some classes under different paths, and that caused redeclare of __autoload function. Any suggestions appreciated. Hi Shelley, I believe the PECL automap extension does what y

[PHP] __autoload alternative

2008-09-22 Thread Shelley
Hi all, Is there any way to auto load a class without using __autoload() function? As I want to load some classes under different paths, and that caused redeclare of __autoload function. Any suggestions appreciated. -- With best regards, Shelley Shyan http://phparch.cn

Re: [PHP] SESSIONS vs. MySQL

2008-09-22 Thread Per Jessen
Lupus Michaelis wrote: > Per Jessen a écrit : > >> No, that wouldn't be the default behaviour. /tmp is typically on the >> filesystem, and it's not cleared on every reboot (unless your system >> has been configured to do so). > >In Debian based, it is the default behaviour. i hope it is the

Re: [PHP] SESSIONS vs. MySQL

2008-09-22 Thread Lupus Michaelis
Per Jessen a écrit : No, that wouldn't be the default behaviour. /tmp is typically on the filesystem, and it's not cleared on every reboot (unless your system has been configured to do so). In Debian based, it is the default behaviour. i hope it is the same in other major distributions. T

Re: [PHP] SESSIONS vs. MySQL

2008-09-22 Thread Per Jessen
Philip Thompson wrote: > Ok, so I've implemented this in several places where information > basically does not change from page to page. Jumping to the point/ > question... when does it become more inefficient to store lots of > information in SESSION variables than to run several more queries? >