[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

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

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 !

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

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

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

[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

[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

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

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

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

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

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

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

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

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 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] 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 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 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] 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 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] 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] 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] 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. $_

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

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

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

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

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

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

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

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

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

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

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

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] Php and CSS where to put it

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

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

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

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

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

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

  1   2   >