[PHP] php_value error_log realtive path in 5.2.8

2009-01-12 Thread Andre Hübner
Hi, please can someone try to add a logging with .htaccess and use a relative path to logfile? I always get an open_basedir error... open_basedir and document_root of domain points to: /path/path/ In /path/path/ is located the .htaccess with: php_flag log_errors on php_value error_log subpath/

Re: [PHP] Couple of beginner questions

2009-01-12 Thread Peter Ford
Paul M Foster wrote: (snip) > But here's a question for those of you who work in a collaborative > environment-- are you really ever in a situation where some HTML weenie > is coding HTML pages and you're somewhere else doing the PHP work? Or is > that some academic's view of the way things *should

Re: [PHP] Couple of beginner questions

2009-01-12 Thread Nathan Rixham
Paul M Foster wrote: But here's a question for those of you who work in a collaborative environment-- are you really ever in a situation where some HTML weenie is coding HTML pages and you're somewhere else doing the PHP work? Or is that some academic's view of the way things *should* be done? P

Re: [PHP] Couple of beginner questions

2009-01-12 Thread Nathan Rixham
Peter Ford wrote: Paul M Foster wrote: (snip) But here's a question for those of you who work in a collaborative environment-- are you really ever in a situation where some HTML weenie is coding HTML pages and you're somewhere else doing the PHP work? Or is that some academic's view of the way t

[PHP] Re: php_value error_log realtive path in 5.2.8

2009-01-12 Thread Nathan Rixham
Andre Hübner wrote: Hi, please can someone try to add a logging with .htaccess and use a relative path to logfile? I always get an open_basedir error... open_basedir and document_root of domain points to: /path/path/ In /path/path/ is located the .htaccess with: php_flag log_errors on php_val

[PHP] Re: php_value error_log realtive path in 5.2.8

2009-01-12 Thread Nathan Rixham
Andre Hübner wrote: - Original Message - From: "Nathan Rixham" To: "Andre Hübner" Cc: Sent: Monday, January 12, 2009 11:19 AM Subject: Re: php_value error_log realtive path in 5.2.8 Andre Hübner wrote: Hi, please can someone try to add a logging with .htaccess and use a relative

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread Richard Heyes
> Is there something in PHP5 which can generate the RSS feed? You don't need an extension to help you generate an XML feed. You dimply output XML data instead of HTML and send an appropriate content type header, eg: header('Content-Type: text/xml'); And the actual data:

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread Richard Heyes
> > Oops, that should be the title of the individual article. -- Richard Heyes HTML5 Graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 4th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread clive
Richard Heyes wrote: Is there something in PHP5 which can generate the RSS feed? You don't need an extension to help you generate an XML feed. You dimply output XML data instead of HTML and send an appropriate content type header, eg: header('Content-Type: text/xml'); I was just abo

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread Craig Whitmore
On Mon, 2009-01-12 at 11:02 +, Richard Heyes wrote: > > Is there something in PHP5 which can generate the RSS feed? > > You don't need an extension to help you generate an XML feed. You > dimply output XML data instead of HTML and send an appropriate content > type header, eg: > > header('Con

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread Nathan Rixham
Craig Whitmore wrote: On Mon, 2009-01-12 at 11:02 +, Richard Heyes wrote: Is there something in PHP5 which can generate the RSS feed? You don't need an extension to help you generate an XML feed. You dimply output XML data instead of HTML and send an appropriate content type header, eg: he

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread Nathan Rixham
Nathan Rixham wrote: here's an example / test code: $title = stripJunkSimple(stripslashes(htmlentities($item['title']))); there are a couple of custom functions in this script i forgot to pull out so stripJunkSimple can be removed and the db lookup replaced with you're own - just sample c

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread Richard Heyes
>>> header('Content-Type: text/xml'); >>> >> You actually mean application/xml not text/xml Well, no. I use text/xml and have done for nearly 5 years, and it works fine. >> And its alot better to use DOMDocument in PHP5 for XML Creation rather >> than hardcode everything. DOMDocument would be o

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread Nathan Rixham
Richard Heyes wrote: header('Content-Type: text/xml'); You actually mean application/xml not text/xml Well, no. I use text/xml and have done for nearly 5 years, and it works fine. it does, but in 2006 it was upgraded to application/rss+xml for all rss versions; all the ma

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread Richard Heyes
> ... Suppose I should change my feed then. At some point... :-) -- Richard Heyes HTML5 Graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 4th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php_value error_log realtive path in 5.2.8

2009-01-12 Thread Nathan Rixham
Andre Hübner wrote: - Original Message - From: "Nathan Rixham" To: "Andre Hübner" Sent: Monday, January 12, 2009 12:18 PM Subject: Re: php_value error_log realtive path in 5.2.8 Andre Hübner wrote: - Original Message - From: "Nathan Rixham" To: "Andre Hübner" ; "PHP-Gener

[PHP] Re: RSS feeder in PHP5?

2009-01-12 Thread Michelle Konzack
Hello Richard, Am 2009-01-12 11:02:39, schrieb Richard Heyes: > > Is there something in PHP5 which can generate the RSS feed? > > You don't need an extension to help you generate an XML feed. You > dimply output XML data instead of HTML and send an appropriate content > type header, eg: Thanks

Re: [PHP] Couple of beginner questions

2009-01-12 Thread tedd
At 3:36 PM + 1/11/09, Ashley Sheridan wrote: > I was thinking more along the lines of this: [1] echo ""; which looks like this otherwise: [2] Ash: I see and understand what you are saying. To me, [2] is more understandable/preferable than [1]. To each their own. Cheers, tedd --

[PHP] Re: RSS feeder in PHP5?

2009-01-12 Thread Michelle Konzack
Hello Nathan, Am 2009-01-12 11:25:57, schrieb Nathan Rixham: > header("Content-type: application/rss+xml; charset=utf-8") OK > >And its alot better to use DOMDocument in PHP5 for XML Creation rather > >than hardcode everything. > > agreed in principle; and I can't belive i'm saying this.. but w

Re: [PHP] Re: redoing website after 7 years

2009-01-12 Thread Andrew Ballard
On Sun, Jan 11, 2009 at 5:09 PM, Robert Cummings wrote: > On Mon, 2009-01-12 at 09:00 +1100, Chris wrote: >> Robert Cummings wrote: >> > On Fri, 2009-01-09 at 08:56 -0500, Andrew Ballard wrote: >> >> On Fri, Jan 9, 2009 at 2:09 AM, Robert Cummings >> >> wrote: >> >>> On Fri, 2009-01-09 at 15:17

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread Richard Heyes
> hope you're well today Well, I have a bit of runny nose, and as usual it's frickin' freezing (the joys of rat poison). But other than that fine thanks. You? -- Richard Heyes HTML5 Graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 4th) -- PHP General Mail

Re: [PHP] Couple of beginner questions

2009-01-12 Thread tedd
At 5:01 PM + 1/11/09, Nathan Rixham wrote: i love these discussions on pedantics and semantics! [and] keep the layers as seperate as possible That's the main topic of this thread. But you missed the point of the debate. I was claiming that one should not have any html within an echo, wh

Re: [PHP] Couple of beginner questions

2009-01-12 Thread ceo
> $ mv hello-world.php hello-world.html Isn't this backwards?... :-) 39% seems awfully high overhead for what is essentially an extra readfile. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Couple of beginner questions

2009-01-12 Thread tedd
At 12:25 PM -0500 1/11/09, Robert Cummings wrote: Although, to be honest I tend to vertically spread my tags/attributes: $imgHTML = ''; This makes it easy to see at a glance what is there and to also comment out lines easily. I vertically stack variables as well, such as in developing a

Re: [PHP] Couple of beginner questions

2009-01-12 Thread Eric Butera
On Mon, Jan 12, 2009 at 10:16 AM, wrote: > >> $ mv hello-world.php hello-world.html > > Isn't this backwards?... > > :-) > > 39% seems awfully high overhead for what is essentially an extra readfile. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php

Re: [PHP] Couple of beginner questions

2009-01-12 Thread Paul M Foster
On Sun, Jan 11, 2009 at 11:28:49PM -0800, Lars Torben Wilson wrote: > 2009/1/11 Paul M Foster : > > But here's a question for those of you who work in a collaborative > > environment-- are you really ever in a situation where some HTML weenie > > is coding HTML pages and you're somewhere else d

Re: [PHP] is_readable() returns 1 if file is still uploading

2009-01-12 Thread ceo
You should be able to fairly quickly fopen/fread/fseek/fread and compare the opening/ending XML tags. If it's well-formed XML, it should be trivial to detect an incomplete file versus a complete one. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.n

Re: [PHP] Editing in a text area field

2009-01-12 Thread ceo
Google for BBCode. It's just str_replace(array('[b]','[/b]'),array('',''),$text) in the end. And it's not really going to be any better than just letting them type and if that is needed. Your sanitization process will be the same no matter what, and will have the same flaws/risks eith

Re: [PHP] Editing in a text area field

2009-01-12 Thread Eric Butera
On Mon, Jan 12, 2009 at 10:42 AM, wrote: > > Google for BBCode. > > It's just str_replace(array('[b]','[/b]'),array('',''),$text) in the > end. > > And it's not really going to be any better than just letting them type > and if that is needed. > > Your sanitization process will be the same no

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread ceo
> You actually mean application/xml not text/xml That depends on if you want the Userland RSS standard or the Other [blanking on name] RSS standard. Unfortunately, the RSS camps are still at war over syntax and required elements, and there are 9 mutually-incompatible often-used versions of

Re: [PHP] Couple of beginner questions

2009-01-12 Thread ceo
> are you really ever in a situation where some HTML weenie is coding > HTML pages and you're somewhere else doing the PHP work? Yes. I have been there several times, and am there now. In a well-run organization with good communication and a decent framework, it works out well. Other

Re: [PHP] Couple of beginner questions

2009-01-12 Thread Jason Pruim
On Jan 12, 2009, at 1:43 AM, Paul M Foster wrote: On Mon, Jan 12, 2009 at 12:04:15AM -0500, John Corry wrote: But here's a question for those of you who work in a collaborative environment-- are you really ever in a situation where some HTML weenie is coding HTML pages and you're somewhere

[PHP] Php and CSS where to put it

2009-01-12 Thread Terion Miller
I have this code and the css seems to not work in IE at all, do I need to put it somewhere different on the page maybe? xCount ORDER BY RAND() LIMIT 3"; $result = mysql_query($sql); echo " "; while ($row = mysql_fetch_array($result)) { echo " {$row['title']}{$row['blurb']} {$ro

RE: [PHP] Re: Adding extension to an existing PHP install

2009-01-12 Thread Tim Donnelly
I seem to recall reading something about Apache modules that you can do a configure, then make, but not the make install and just move the newly compiled module by hand. Is that possible with PHP? If so, where would the newly complied extension be, and where would it need to be moved? Thanks >I

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread Eric Butera
On Mon, Jan 12, 2009 at 11:02 AM, wrote: > >> You actually mean application/xml not text/xml > > That depends on if you want the Userland RSS standard or the Other [blanking > on name] RSS standard. > > Unfortunately, the RSS camps are still at war over syntax and required > elements, and there

Re: Re: [PHP] Couple of beginner questions

2009-01-12 Thread jcorry
On Jan 12, 2009 11:20am, Jason Pruim wrote: It's actually pretty normal and can work really well. Especially if the HTML person also did the graphic design and KNOWS how to make it work as a web page. We let them build HTML files, which are then turned into Smarty templates with the nec

Re: [PHP] Couple of beginner questions

2009-01-12 Thread Frank Stanovcak
"Ashley Sheridan" <> wrote in message news:1231681793.3527.2.ca...@localhost.localdomain... > On Sun, 2009-01-11 at 08:08 -0500, tedd wrote: >> At 4:16 PM -0500 1/10/09, Paul M Foster wrote: >> >And let me present an alternative perspective. Never do something like: >> > >> > >> > >> >Let Apache

[PHP] Data trasfer between PHP pages

2009-01-12 Thread Chris Carter
Hi, I have one form where user fills data using radio buttons. Only one answer goes from here to another page. FORM 1 5 1 3 --- FORM 2 There is another page has a form with 14 fields PLUS I need the data of the previous form to be hidden somewhere in this fo

RE: [PHP] Data trasfer between PHP pages

2009-01-12 Thread Boyd, Todd M.
> -Original Message- > From: Chris Carter [mailto:chandan9sha...@yahoo.com] > Sent: Monday, January 12, 2009 11:00 AM > To: php-general@lists.php.net > Subject: [PHP] Data trasfer between PHP pages > > > Hi, > > I have one form where user fills data using radio buttons. Only one > answer

Re: [PHP] Php and CSS where to put it

2009-01-12 Thread Stephen
Terion Miller wrote: I have this code and the css seems to not work in IE at all, do I need to put it somewhere different on the page maybe? I don't see the html headers. Nor a body. Get that fixed and see what happens. Stephen -- PHP General Mailing List (http://www.php.net/) To unsubs

Re: [PHP] Php and CSS where to put it

2009-01-12 Thread VamVan
-- should be placed in between Thanks, V

Re: [PHP] Re: Adding extension to an existing PHP install

2009-01-12 Thread Shawn McKenzie
Tim Donnelly wrote: > I seem to recall reading something about Apache modules that you can do > a configure, then make, but not the make install and just move the newly > compiled module by hand. > > Is that possible with PHP? If so, where would the newly complied > extension be, and where would i

Re: [PHP] Data trasfer between PHP pages

2009-01-12 Thread Dan Shirah
> > Hi, > > I have one form where user fills data using radio buttons. Only one answer > goes from here to another page. > > FORM 1 > > > > 5 > > > 1 > > > 3 > > > > > --- > > FORM 2 > > There is another page has a form with 14 fields PLUS I need the data of the > p

[PHP] RewriteRules

2009-01-12 Thread Jason Pruim
Hi Everyone, I know it's not a php question... But I know alot of you use rewrite rules and regular expressions and so I thought maybe you would be able to help me. The site: HTTP://purl.raoset.com/test112 test112 doesn't exist.. It's driven by the database using this rewrite rule: Rew

Re: [PHP] Data trasfer between PHP pages

2009-01-12 Thread VamVan
If the 2 forms exist on the same server. Use Sessions. thats would solve lot of problems managing hidden fields and everything. Thanks, V

Re: [PHP] Data trasfer between PHP pages

2009-01-12 Thread tedd
At 8:59 AM -0800 1/12/09, Chris Carter wrote: Hi, I have one form where user fills data using radio buttons. Only one answer goes from here to another page. FORM 1 5 1 3 --- FORM 2 There is another page has a form with 14 fields PLUS I need the data of the p

Re: [PHP] RewriteRules

2009-01-12 Thread Robert Cummings
On Mon, 2009-01-12 at 13:20 -0500, Jason Pruim wrote: > Hi Everyone, > > I know it's not a php question... But I know alot of you use rewrite > rules and regular expressions and so I thought maybe you would be > able to help me. > > The site: HTTP://purl.raoset.com/test112 > > test112 doesn'

Re: [PHP] Data trasfer between PHP pages

2009-01-12 Thread Robert Cummings
On Mon, 2009-01-12 at 13:37 -0500, tedd wrote: > At 8:59 AM -0800 1/12/09, Chris Carter wrote: > >Hi, > > > >I have one form where user fills data using radio buttons. Only one answer > >goes from here to another page. > > > >FORM 1 > > > > > > > >5 > > > > > >1 > > > > > >3 > > > > > > > > > >

Re: [PHP] RewriteRules

2009-01-12 Thread Marc Steinert
Jason Pruim schrieb: Now, on that site I have a few links... right now the likes are in the format of: HTTP://purl.raoset.com/design.php?purl=test112 What I would like is to have it read: HTTP://purl.raoset.com/test112/design Try the following rule (dunno, if it works for you, but you should g

[PHP] Re: Php and CSS where to put it

2009-01-12 Thread Michelle Konzack
Hello Terion, Am 2009-01-12 10:42:10, schrieb Terion Miller: > I have this code and the css seems to not work in IE at all, do I need to > put it somewhere different on the page maybe? The CSS must be in the HTML Header like CSS Example #body { background-color: magenta; } ..

Re: [PHP] Re: Php and CSS where to put it

2009-01-12 Thread Terion Miller
Resolved! Thanks! On Mon, Jan 12, 2009 at 12:38 PM, Michelle Konzack < linux4miche...@tamay-dogan.net> wrote: > Hello Terion, > > Am 2009-01-12 10:42:10, schrieb Terion Miller: > > I have this code and the css seems to not work in IE at all, do I need to > > put it somewhere different on the page

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread Richard Heyes
> Unfortunately, the RSS camps are still at war over syntax and required > elements, and there are 9 mutually-incompatible often-used versions of the > RSS standard over the years, with TWO current 2.0 "standards" > > You have to try to hit the lowest common denominator and test in many RSS > cl

[PHP] downloading xls files corrupts them

2009-01-12 Thread Chris Ditty
I am using php to download xls files on my server. When I download them, excel is saying they are corrupted. They are not corrupted on the server itself. These are simple xls spreadsheets with no formatting in them. Here is the headers that I am using for the download. This is happening in

[PHP] Re: RewriteRules

2009-01-12 Thread Nathan Rixham
Jason Pruim wrote: Hi Everyone, I know it's not a php question... But I know alot of you use rewrite rules and regular expressions and so I thought maybe you would be able to help me. The site: HTTP://purl.raoset.com/test112 test112 doesn't exist.. It's driven by the database using this rew

[PHP] Re: downloading xls files corrupts them

2009-01-12 Thread Nathan Rixham
Chris Ditty wrote: I am using php to download xls files on my server. When I download them, excel is saying they are corrupted. They are not corrupted on the server itself. These are simple xls spreadsheets with no formatting in them. Here is the headers that I am using for the download.

[PHP] Holy crap

2009-01-12 Thread Richard Heyes
Chrome 2.0? http://www.trustedreviews.com/software/news/2009/01/12/Google-Chrome-Hitting-Macs--Linux-By-July/p1 So much for long beta periods! -- Richard Heyes HTML5 Graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 4th) -- PHP General Mailing List (http:

Re: [PHP] downloading xls files corrupts them

2009-01-12 Thread ceo
For starters, three calls to header("Content-type: "); is just plain silly :-) Read this for sure: http://php.net/header You may find this interesting, or not, to pick the right Content-type http://richardlynch.blogspot.com/2006/06/php-downloads-content-disposition.html -- PHP Genera

Re: [PHP] Holy crap

2009-01-12 Thread Robert Cummings
On Mon, 2009-01-12 at 19:27 +, Richard Heyes wrote: > Chrome 2.0? > > http://www.trustedreviews.com/software/news/2009/01/12/Google-Chrome-Hitting-Macs--Linux-By-July/p1 > > So much for long beta periods! 2.0 is the new beta... what did you think Web 2.0 was all about? Cheers, Rob. -- http

[PHP] Re: downloading xls files corrupts them

2009-01-12 Thread Nathan Rixham
Chris Ditty wrote: I am using php to download xls files on my server. When I download them, excel is saying they are corrupted. They are not corrupted on the server itself. These are simple xls spreadsheets with no formatting in them. Here is the headers that I am using for the download.

Re: [PHP] Couple of beginner questions

2009-01-12 Thread Ashley Sheridan
On Mon, 2009-01-12 at 11:20 -0500, Jason Pruim wrote: > On Jan 12, 2009, at 1:43 AM, Paul M Foster wrote: > > > On Mon, Jan 12, 2009 at 12:04:15AM -0500, John Corry wrote: > > > > > > But here's a question for those of you who work in a collaborative > > environment-- are you really ever in a situ

Re: [PHP] Couple of beginner questions

2009-01-12 Thread Ashley Sheridan
On Mon, 2009-01-12 at 11:51 -0500, Frank Stanovcak wrote: > "Ashley Sheridan" <> wrote in message > news:1231681793.3527.2.ca...@localhost.localdomain... > > On Sun, 2009-01-11 at 08:08 -0500, tedd wrote: > >> At 4:16 PM -0500 1/10/09, Paul M Foster wrote: > >> >And let me present an alternative p

Re: [PHP] Couple of beginner questions

2009-01-12 Thread Nathan Rixham
Ashley Sheridan wrote: On Mon, 2009-01-12 at 11:51 -0500, Frank Stanovcak wrote: "Ashley Sheridan" <> wrote in message news:1231681793.3527.2.ca...@localhost.localdomain... On Sun, 2009-01-11 at 08:08 -0500, tedd wrote: At 4:16 PM -0500 1/10/09, Paul M Foster wrote: And let me present an alte

Re: [PHP] Data trasfer between PHP pages

2009-01-12 Thread Ashley Sheridan
On Mon, 2009-01-12 at 13:40 -0500, Robert Cummings wrote: > On Mon, 2009-01-12 at 13:37 -0500, tedd wrote: > > At 8:59 AM -0800 1/12/09, Chris Carter wrote: > > >Hi, > > > > > >I have one form where user fills data using radio buttons. Only one answer > > >goes from here to another page. > > > > >

Re: [PHP] Couple of beginner questions

2009-01-12 Thread Ashley Sheridan
On Mon, 2009-01-12 at 19:43 +, Nathan Rixham wrote: > Ashley Sheridan wrote: > > On Mon, 2009-01-12 at 11:51 -0500, Frank Stanovcak wrote: > >> "Ashley Sheridan" <> wrote in message > >> news:1231681793.3527.2.ca...@localhost.localdomain... > >>> On Sun, 2009-01-11 at 08:08 -0500, tedd wrote:

Re: [PHP] Data trasfer between PHP pages

2009-01-12 Thread Eric Butera
On Mon, Jan 12, 2009 at 3:03 PM, Ashley Sheridan wrote: > I tend to use $_REQUEST to capture a lot of my data, as I end up mixing > get and post a lot throughout my code. $_REQUEST is an amalgamate of > $_COOKIE, $_GET and $_POST (in that order I believe, with $_GET > overwritting $_COOKIE, and $_

Re: [PHP] Data trasfer between PHP pages

2009-01-12 Thread Robert Cummings
On Mon, 2009-01-12 at 15:15 -0500, Eric Butera wrote: > On Mon, Jan 12, 2009 at 3:03 PM, Ashley Sheridan > wrote: > > I tend to use $_REQUEST to capture a lot of my data, as I end up mixing > > get and post a lot throughout my code. $_REQUEST is an amalgamate of > > $_COOKIE, $_GET and $_POST (in

[PHP] switch vs elseif

2009-01-12 Thread Frank Stanovcak
I've googled, and found some confusing answers. I've tried searching the history of the news group, and only found info on switch or elseif seperately. :( Strictly from a performance stand point, not preference or anything else, is there a benefit of one over the other? for($i=0;$i<3;$i++){

[PHP] switch vs elseif

2009-01-12 Thread Frank Stanovcak
I've googled, and found some confusing answers. I've tried searching the history of the news group, and only found info on switch or elseif seperately. :( Strictly from a performance stand point, not preference or anything else, is there a benefit of one over the other? for($i=0;$i<3;$i++){

Re: [PHP] Data trasfer between PHP pages

2009-01-12 Thread Eric Butera
On Mon, Jan 12, 2009 at 3:21 PM, Robert Cummings wrote: > On Mon, 2009-01-12 at 15:15 -0500, Eric Butera wrote: >> On Mon, Jan 12, 2009 at 3:03 PM, Ashley Sheridan >> wrote: >> > I tend to use $_REQUEST to capture a lot of my data, as I end up mixing >> > get and post a lot throughout my code. $_

Re: [PHP] switch vs elseif

2009-01-12 Thread Eric Butera
On Mon, Jan 12, 2009 at 3:15 PM, Frank Stanovcak wrote: > I've googled, and found some confusing answers. > I've tried searching the history of the news group, and only found info on > switch or elseif seperately. :( > > Strictly from a performance stand point, not preference or anything else, is

Re: [PHP] switch vs elseif

2009-01-12 Thread Robert Cummings
On Mon, 2009-01-12 at 15:15 -0500, Frank Stanovcak wrote: > I've googled, and found some confusing answers. > I've tried searching the history of the news group, and only found info on > switch or elseif seperately. :( > > Strictly from a performance stand point, not preference or anything else,

Re: [PHP] Data trasfer between PHP pages

2009-01-12 Thread Nathan Rixham
Eric Butera wrote: On Mon, Jan 12, 2009 at 3:21 PM, Robert Cummings wrote: On Mon, 2009-01-12 at 15:15 -0500, Eric Butera wrote: On Mon, Jan 12, 2009 at 3:03 PM, Ashley Sheridan wrote: I tend to use $_REQUEST to capture a lot of my data, as I end up mixing get and post a lot throughout my co

Re: [PHP] Data trasfer between PHP pages

2009-01-12 Thread Robert Cummings
On Mon, 2009-01-12 at 15:29 -0500, Eric Butera wrote: > On Mon, Jan 12, 2009 at 3:21 PM, Robert Cummings wrote: > > On Mon, 2009-01-12 at 15:15 -0500, Eric Butera wrote: > >> On Mon, Jan 12, 2009 at 3:03 PM, Ashley Sheridan > >> wrote: > >> > I tend to use $_REQUEST to capture a lot of my data, a

Re: [PHP] Data trasfer between PHP pages

2009-01-12 Thread Ashley Sheridan
On Mon, 2009-01-12 at 15:15 -0500, Eric Butera wrote: > On Mon, Jan 12, 2009 at 3:03 PM, Ashley Sheridan > wrote: > > I tend to use $_REQUEST to capture a lot of my data, as I end up mixing > > get and post a lot throughout my code. $_REQUEST is an amalgamate of > > $_COOKIE, $_GET and $_POST (in

Re: [PHP] switch vs elseif

2009-01-12 Thread Ashley Sheridan
On Mon, 2009-01-12 at 15:15 -0500, Frank Stanovcak wrote: > I've googled, and found some confusing answers. > I've tried searching the history of the news group, and only found info on > switch or elseif seperately. :( > > Strictly from a performance stand point, not preference or anything else,

Re: [PHP] Data trasfer between PHP pages

2009-01-12 Thread Eric Butera
On Mon, Jan 12, 2009 at 3:34 PM, Robert Cummings wrote: > On Mon, 2009-01-12 at 15:29 -0500, Eric Butera wrote: >> On Mon, Jan 12, 2009 at 3:21 PM, Robert Cummings >> wrote: >> > On Mon, 2009-01-12 at 15:15 -0500, Eric Butera wrote: >> >> On Mon, Jan 12, 2009 at 3:03 PM, Ashley Sheridan >> >> w

Re: [PHP] switch vs elseif

2009-01-12 Thread Frank Stanovcak
"Ashley Sheridan" wrote in message news:1231793310.3558.55.ca...@localhost.localdomain... > On Mon, 2009-01-12 at 15:15 -0500, Frank Stanovcak wrote: >> I've googled, and found some confusing answers. >> I've tried searching the history of the news group, and only found info >> on >> switch or el

Re: [PHP] switch vs elseif

2009-01-12 Thread Frank Stanovcak
""Eric Butera"" wrote in message news:6a8639eb0901121231r253eed48xe1974d8ef44ab...@mail.gmail.com... > On Mon, Jan 12, 2009 at 3:15 PM, Frank Stanovcak > wrote: >> I've googled, and found some confusing answers. >> I've tried searching the history of the news group, and only found info >> on >

Re: [PHP] switch vs elseif

2009-01-12 Thread Eric Butera
On Mon, Jan 12, 2009 at 3:58 PM, Frank Stanovcak wrote: > > ""Eric Butera"" wrote in message > news:6a8639eb0901121231r253eed48xe1974d8ef44ab...@mail.gmail.com... >> On Mon, Jan 12, 2009 at 3:15 PM, Frank Stanovcak >> wrote: >>> I've googled, and found some confusing answers. >>> I've tried sear

Re: [PHP] switch vs elseif -- switchtable

2009-01-12 Thread Daevid Vincent
On Mon, 2009-01-12 at 15:31 -0500, Eric Butera wrote: > On Mon, Jan 12, 2009 at 3:15 PM, Frank Stanovcak > wrote: > > I've googled, and found some confusing answers. > > I've tried searching the history of the news group, and only found info on > > switch or elseif seperately. :( > > > > Strictl

Re: [PHP] Couple of beginner questions

2009-01-12 Thread tedd
At 7:47 PM + 1/12/09, Ashley Sheridan wrote: Ehat's what I do do, but the 'odd' has to come from PHP, as unfortunately, numerical selectors in CSS aren't supported by (AFAIK) any browsers at the moment. So for example, if I was coding for alternate rows in a table, I might do: for($i=0; $i<$s

Re: [PHP] switch vs elseif -- switchtable

2009-01-12 Thread Eric Butera
On Mon, Jan 12, 2009 at 4:00 PM, Daevid Vincent wrote: > On Mon, 2009-01-12 at 15:31 -0500, Eric Butera wrote: > >> On Mon, Jan 12, 2009 at 3:15 PM, Frank Stanovcak >> wrote: >> > I've googled, and found some confusing answers. >> > I've tried searching the history of the news group, and only fou

[PHP] variable probe revision

2009-01-12 Thread Frank Stanovcak
I posted this once before, and then tried to use it multiple times in a script. As you can guess I got a bunch of func already defined errors. Here is a revision incase anyone decided to use it that will work multiple times in the same script for variable watching. ---Code follows--- k

Re: [PHP] Couple of beginner questions

2009-01-12 Thread Robert Cummings
On Mon, 2009-01-12 at 16:02 -0500, tedd wrote: > > True, css does not allow numeric classes (like sessions). But, I > never need them anyway. > > As I provided before: > > http://webbytedd.com/b/color-rows/ > > this is my solution for alternating row style. abc abc abc That's ju

Re: [PHP] Data trasfer between PHP pages

2009-01-12 Thread tedd
At 8:03 PM + 1/12/09, Ashley Sheridan wrote: I tend to use $_REQUEST to capture a lot of my data, as I end up mixing get and post a lot throughout my code. $_REQUEST is an amalgamate of $_COOKIE, $_GET and $_POST (in that order I believe, with $_GET overwritting $_COOKIE, and $_POST overwrit

Re: [PHP] Data trasfer between PHP pages

2009-01-12 Thread Robert Cummings
On Mon, 2009-01-12 at 16:18 -0500, tedd wrote: > At 8:03 PM + 1/12/09, Ashley Sheridan wrote: > > > >I tend to use $_REQUEST to capture a lot of my data, as I end up mixing > >get and post a lot throughout my code. $_REQUEST is an amalgamate of > >$_COOKIE, $_GET and $_POST (in that order I bel

Re: [PHP] Data trasfer between PHP pages

2009-01-12 Thread Eric Butera
On Mon, Jan 12, 2009 at 4:18 PM, tedd wrote: > At 8:03 PM + 1/12/09, Ashley Sheridan wrote: >> >> I tend to use $_REQUEST to capture a lot of my data, as I end up mixing >> get and post a lot throughout my code. $_REQUEST is an amalgamate of >> $_COOKIE, $_GET and $_POST (in that order I belie

Re: [PHP] Data trasfer between PHP pages

2009-01-12 Thread Ashley Sheridan
On Mon, 2009-01-12 at 16:18 -0500, tedd wrote: > At 8:03 PM + 1/12/09, Ashley Sheridan wrote: > > > >I tend to use $_REQUEST to capture a lot of my data, as I end up mixing > >get and post a lot throughout my code. $_REQUEST is an amalgamate of > >$_COOKIE, $_GET and $_POST (in that order I bel

Re: [PHP] Couple of beginner questions

2009-01-12 Thread Eric Butera
On Mon, Jan 12, 2009 at 4:17 PM, Robert Cummings wrote: > On Mon, 2009-01-12 at 16:02 -0500, tedd wrote: >> >> True, css does not allow numeric classes (like sessions). But, I >> never need them anyway. >> >> As I provided before: >> >> http://webbytedd.com/b/color-rows/ >> >> this is my solution

[PHP] Re: Php and CSS where to put it

2009-01-12 Thread tedd
At 7:38 PM +0100 1/12/09, Michelle Konzack wrote: Hello Terion, Am 2009-01-12 10:42:10, schrieb Terion Miller: > I have this code and the css seems to not work in IE at all, do I need to > put it somewhere different on the page maybe? The CSS must be in the HTML Header like CSS Example

Re: [PHP] Couple of beginner questions

2009-01-12 Thread Ashley Sheridan
On Mon, 2009-01-12 at 16:17 -0500, Robert Cummings wrote: > On Mon, 2009-01-12 at 16:02 -0500, tedd wrote: > > > > True, css does not allow numeric classes (like sessions). But, I > > never need them anyway. > > > > As I provided before: > > > > http://webbytedd.com/b/color-rows/ > > > > this i

Re: [PHP] variable probe revision

2009-01-12 Thread Ashley Sheridan
On Mon, 2009-01-12 at 16:11 -0500, Frank Stanovcak wrote: > I posted this once before, and then tried to use it multiple times in a > script. As you can guess I got a bunch of func already defined errors. > > Here is a revision incase anyone decided to use it that will work multiple > times in

Re: [PHP] Couple of beginner questions

2009-01-12 Thread Nathan Rixham
Robert Cummings wrote: On Mon, 2009-01-12 at 16:02 -0500, tedd wrote: True, css does not allow numeric classes (like sessions). But, I never need them anyway. As I provided before: http://webbytedd.com/b/color-rows/ this is my solution for alternating row style. abc abc abc

Re: [PHP] switch vs elseif

2009-01-12 Thread tedd
At 3:15 PM -0500 1/12/09, Frank Stanovcak wrote: I've googled, and found some confusing answers. I've tried searching the history of the news group, and only found info on switch or elseif seperately. :( Strictly from a performance stand point, not preference or anything else, is there a benefi

Re: [PHP] Couple of beginner questions

2009-01-12 Thread Robert Cummings
On Mon, 2009-01-12 at 16:26 -0500, Eric Butera wrote: > On Mon, Jan 12, 2009 at 4:17 PM, Robert Cummings > > > > > >abc > >abc > >abc > > > > > > Cheers, > > Rob. > > -- > > http://www.interjinn.com > > Application and Templating Framework for PHP > > > > > > -- > > PHP General Maili

Re: [PHP] Re: Php and CSS where to put it

2009-01-12 Thread Robert Cummings
On Mon, 2009-01-12 at 16:27 -0500, tedd wrote: > At 7:38 PM +0100 1/12/09, Michelle Konzack wrote: > >Hello Terion, > > > >Am 2009-01-12 10:42:10, schrieb Terion Miller: > > > I have this code and the css seems to not work in IE at all, do I need to > > > put it somewhere different on the page ma

Re: [PHP] Couple of beginner questions

2009-01-12 Thread Robert Cummings
On Mon, 2009-01-12 at 21:36 +, Nathan Rixham wrote: > Robert Cummings wrote: > > On Mon, 2009-01-12 at 16:02 -0500, tedd wrote: > >> True, css does not allow numeric classes (like sessions). But, I > >> never need them anyway. > >> > >> As I provided before: > >> > >> http://webbytedd.com/b/co

Re: [PHP] Couple of beginner questions

2009-01-12 Thread Nathan Rixham
Robert Cummings wrote: On Mon, 2009-01-12 at 21:36 +, Nathan Rixham wrote: Robert Cummings wrote: On Mon, 2009-01-12 at 16:02 -0500, tedd wrote: True, css does not allow numeric classes (like sessions). But, I never need them anyway. As I provided before: http://webbytedd

Re: [PHP] Couple of beginner questions

2009-01-12 Thread Robert Cummings
On Mon, 2009-01-12 at 21:45 +, Nathan Rixham wrote: > Robert Cummings wrote: > > On Mon, 2009-01-12 at 21:36 +, Nathan Rixham wrote: > > > >> Robert Cummings wrote: > >> > >>> On Mon, 2009-01-12 at 16:02 -0500, tedd wrote: > >>> > True, css does not allow numeric classes

Re: [PHP] Re: Php and CSS where to put it

2009-01-12 Thread Ashley Sheridan
On Mon, 2009-01-12 at 16:27 -0500, tedd wrote: > At 7:38 PM +0100 1/12/09, Michelle Konzack wrote: > >Hello Terion, > > > >Am 2009-01-12 10:42:10, schrieb Terion Miller: > > > I have this code and the css seems to not work in IE at all, do I need to > > > put it somewhere different on the page m

  1   2   >