Re: [PHP] Couple of beginner questions

2009-01-12 Thread Nathan Rixham
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 (like sessions). But, I never need them anyway. As I provided before

Re: [PHP] variable probe revision

2009-01-12 Thread Frank Stanovcak
"Ashley Sheridan" wrote in message news:1231796437.3558.62.ca...@localhost.localdomain... > 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 error

Re: [PHP] switch vs elseif

2009-01-12 Thread tedd
At 3:32 PM -0500 1/12/09, Robert Cummings wrote: One has to wonder about the readability of the case version though since one may not notice immediately the missing break statement. Cheers, Rob. Yes, but that's because of the way you wrote it -- consider this: If you group the case's togeth

Re: [PHP] Couple of beginner questions

2009-01-12 Thread tedd
At 4:17 PM -0500 1/12/09, 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

Re: [PHP] Couple of beginner questions

2009-01-12 Thread tedd
At 9:37 PM + 1/12/09, Ashley Sheridan wrote: 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://we

Re: [PHP] Couple of beginner questions

2009-01-12 Thread Ashley Sheridan
On Mon, 2009-01-12 at 16:54 -0500, tedd wrote: > At 9:37 PM + 1/12/09, Ashley Sheridan wrote: > >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 > >>

Re: [PHP] switch vs elseif

2009-01-12 Thread Robert Cummings
On Mon, 2009-01-12 at 16:49 -0500, tedd wrote: > At 3:32 PM -0500 1/12/09, Robert Cummings wrote: > >One has to wonder about the readability of the case version though since > >one may not notice immediately the missing break statement. > > > >Cheers, > >Rob. > > Yes, but that's because of the way

Re: [PHP] switch vs elseif

2009-01-12 Thread Chris
tedd wrote: At 3:32 PM -0500 1/12/09, Robert Cummings wrote: One has to wonder about the readability of the case version though since one may not notice immediately the missing break statement. Cheers, Rob. Yes, but that's because of the way you wrote it -- consider this: I'm sure that was

Re: [PHP] Couple of beginner questions

2009-01-12 Thread Robert Cummings
On Mon, 2009-01-12 at 16:51 -0500, tedd wrote: > At 4:17 PM -0500 1/12/09, 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: > >> > >> h

Re: [PHP] switch vs elseif

2009-01-12 Thread Ashley Sheridan
On Mon, 2009-01-12 at 16:49 -0500, tedd wrote: > At 3:32 PM -0500 1/12/09, Robert Cummings wrote: > >One has to wonder about the readability of the case version though since > >one may not notice immediately the missing break statement. > > > >Cheers, > >Rob. > > Yes, but that's because of the way

Re: [PHP] Couple of beginner questions

2009-01-12 Thread Robert Cummings
On Mon, 2009-01-12 at 16:54 -0500, tedd wrote: > At 9:37 PM + 1/12/09, Ashley Sheridan wrote: > >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 > >>

Re: [PHP] variable probe revision

2009-01-12 Thread Chris
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 the same script for variable watching. --

Re: [PHP] variable probe revision

2009-01-12 Thread Frank Stanovcak
"Chris" wrote in message news:496bbd52.2080...@gmail.com... > 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

Re: [PHP] switch vs elseif

2009-01-12 Thread tedd
At 4:57 PM -0500 1/12/09, Robert Cummings wrote: No, that's DIFFERENT from what I wrote. Go back and re-read. :) I did and reread again -- it looks different. I'm simply talking about the spacing. No matter though, it's the same code. Cheers, tedd -- --- http://sperling.com http://

Re: [PHP] switch vs elseif

2009-01-12 Thread Robert Cummings
On Mon, 2009-01-12 at 17:09 -0500, tedd wrote: > At 4:57 PM -0500 1/12/09, Robert Cummings wrote: > >No, that's DIFFERENT from what I wrote. Go back and re-read. > > > >:) > > I did and reread again -- it looks different. I'm simply talking > about the spacing. > > No matter though, it's the sam

[PHP] update von php 4.4.6 zu 5.2.8

2009-01-12 Thread Merlin Morgenstern
Hello everybody, I want to upgrade my system and do face some trouble with pdflib. compile says: Notice: Following unknown configure options were used: --enable-gd-imgstrttf --with-pdflib I guess the gd functionality is enabled now anyway? How about the pdflib? Is there another command for t

Re: [PHP] update von php 4.4.6 zu 5.2.8

2009-01-12 Thread Chris
Merlin Morgenstern wrote: Hello everybody, I want to upgrade my system and do face some trouble with pdflib. compile says: Notice: Following unknown configure options were used: --enable-gd-imgstrttf --with-pdflib I guess the gd functionality is enabled now anyway? How about the pdflib? Is

[PHP] Query string vanishes on header("Location: ...") redirect

2009-01-12 Thread Richard S. Crawford
I'm trying to redirect my users to a URL which includes a query string: $the_url = $CFG->wwwroot."/DLC/includes/L1_accept_required.php?cid=".$course->id; //die ("URL = $the_url"); header('Location: '. $the_url); When I uncomment the die() command, the URL shows properly, e

[PHP] upgrade php 5.2.6 -> 5.2.8 mysql problems!

2009-01-12 Thread Merlin Morgenstern
Hello everybody, I am trying to update php 5.2.6 to 5.2.8 on a test system. Somehow it can not find the working mysql installation. With 5.2.6 I everything is fine. Here is the configure command that is pretty much the same as in 5.2.6: './configure' '--enable-fastcgi' '--with-mysql' '--pre

Re: [PHP] upgrade php 5.2.6 -> 5.2.8 mysql problems!

2009-01-12 Thread Chris
Here is the configure command that is pretty much the same as in 5.2.6: So look at the differences ;) './configure' '--enable-fastcgi' '--with-mysql' '--prefix=/usr/local/php' '--with-apxs2=/usr/local/apache2/bin/apxs' '--enable-mbstring' '--with-pdo-mysql=/usr/local/mysql/' '--with-mysql-

Re: [PHP] upgrade php 5.2.6 -> 5.2.8 mysql problems!

2009-01-12 Thread Merlin Morgenstern
No. The with-pdo-mysql command secures compatibility with oder databases . That workes fine. The yes in the error msg. seams to be normal in this case. I found loads of such via google. e.g: http://www.rootforum.de/forum/viewtopic.php?f=158&t=35941&start=0 All point to the fact that there needs

Re: [PHP] switch vs elseif

2009-01-12 Thread tedd
At 5:12 PM -0500 1/12/09, Robert Cummings wrote: On Mon, 2009-01-12 at 17:09 -0500, tedd wrote: At 4:57 PM -0500 1/12/09, Robert Cummings wrote: >No, that's DIFFERENT from what I wrote. Go back and re-read. > >:) I did and reread again -- it looks different. I'm simply talking about the s

[PHP] HowTo use Eclipse PDT and existing mounted directory tree?

2009-01-12 Thread Daevid Vincent
I must be retarded or something because I can't figure out in Eclipse PDT (Linux) how in the heck do I start a new project and have it "point" to an existing directory tree. I DO NOT want Eclipse to pull in a copy of the files or do anything wacky like that. I simply want it to look at a mount poi

Re: [PHP] HowTo use Eclipse PDT and existing mounted directory tree?

2009-01-12 Thread Eric Butera
On Mon, Jan 12, 2009 at 8:13 PM, Daevid Vincent wrote: > I must be retarded or something because I can't figure out in Eclipse > PDT (Linux) how in the heck do I start a new project and have it "point" > to an existing directory tree. > > I DO NOT want Eclipse to pull in a copy of the files or do

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

2009-01-12 Thread Paul M Foster
On Mon, Jan 12, 2009 at 09:56:00PM +, Ashley Sheridan wrote: > > Here's something for fixing IE with hacks: > > http://www.ashleysheridan.co.uk/coding_html_comments.php > > basically it lets you add in extra IE-only stylesheets using comment > code only recognised by IE, and you can use !

[PHP] Re: RewriteRules

2009-01-12 Thread Jason Pruim
On Jan 12, 2009, at 2:16 PM, Nathan Rixham wrote: 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'

[PHP] ecommerce related question

2009-01-12 Thread Travis Moore
Firstly, not really a php question, but generic web stuff, but I feel it's still better answered here. Recently a friend came to me asking to create an ecommerce website. In the past my php work has been primarily a hobby, and as such haven't really taken much interest or effort into security

<    1   2