Re: [PHP] Outputting File To The Browser Failed And Kill Apache

2009-06-05 Thread Tom Worster
if the problem is due to flow control issues between the script and the httpd server then perhaps changing the approach could help. i quit using this approach of writing files to the php output buffer a little while ago. it seemed that it was better to leave the flow control issues entirely to apa

Re: [PHP] Outputting File To The Browser Failed And Kill Apache

2009-06-05 Thread Nitsan Bin-Nun
My partner ran this command through SSH. This is the returned value: (as root) [r...@s1 ~]# ulimit -a > core file size (blocks, -c) 0 > data seg size (kbytes, -d) unlimited > file size (blocks, -f) unlimited > pending signals (-i) 397311 > max locke

[PHP] Outputting File To The Browser Failed And Kill Apache

2009-06-05 Thread Nitsan Bin-Nun
Hi List, I'm using the following code to output a file to the browser. Each file size is in the range of 5-10MB, all of them are MP3. header("Pragma: public"); > header("Expires: 0"); > header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); > header("Cache-Control: public"); > heade

Re: [PHP] PHP Graphing Libraries...?

2009-06-05 Thread cr.vegelin
Hi Friends, I don't remember the exact OP's question, but for graphing I use the Google Chart API ; see: http://code.google.com/apis/chart/#radar For an overview of chart types, see: http://code.google.com/apis/chart/types.html HTH, Cor - Original Message - From: "tedd" To: ; Sent:

Re: [PHP] https setup

2009-06-05 Thread PJ
Shanon Swafford wrote: >> -Original Message- >> From: PJ [mailto:af.gour...@videotron.ca] >> Sent: Thursday, June 04, 2009 3:59 PM >> To: php-general@lists.php.net >> Subject: [PHP] https setup >> >> Can't find anything on G or web - but I probably didn't try hard enough. >> I am unable to

Re: [PHP] formatting - design question

2009-06-05 Thread PJ
Peter Ford wrote: > PJ wrote: > >> tedd wrote: >> >>> At 3:58 PM -0400 6/4/09, PJ wrote: >>> tedd wrote: > Style sheets are meant simplify things so decide on how you want > things to look uniformly throughout your site and then stick with it. >

Re: [PHP] https setup

2009-06-05 Thread PJ
Per Jessen wrote: > PJ wrote: > > >> Can't find anything on G or web - but I probably didn't try hard >> enough. >> > > Correct :-) > > >> I am unable to set my virtual hosts to handle https. >> I have apache22, mod_ssl, opnenssl and the httpd and httpd-vhosts.conf >> files are set up

Re: [PHP] https setup

2009-06-05 Thread PJ
Michael A. Peters wrote: > PJ wrote: >> Can't find anything on G or web - but I probably didn't try hard enough. >> I am unable to set my virtual hosts to handle https. >> I have apache22, mod_ssl, opnenssl and the httpd and httpd-vhosts.conf >> files are set up "correctly" but directing a sensitiv

Re: [PHP] PHP Graphing Libraries...?

2009-06-05 Thread Richard Heyes
Hi, > I've looked at the docs and I don't see how exactly it handles "x,y" > plotting.  I need the ability to plot multiple lines (which it obviously > does) with wildly varying "x,y" values.   It seems that all of these > libraries "cheat" and force common "x" values via the labels.  I need > som

Re: [PHP] PHP Graphing Libraries...?

2009-06-05 Thread tedd
At 4:33 PM -0400 6/4/09, li...@mgreg.com wrote: Hi All, I'm currently looking for a quality (preferably open source) PHP graphing library that will allow me to create various graphs and plot points. I've seen several that do some amazing things, but cost a fortune -- others are either limite

Re: [PHP] Google Calendar Integration

2009-06-05 Thread Tom Chubb
2009/6/5 Leonard Burton > HI All, > > Has anyone used Google Calendar (of course via PHP) to allow clients > to schedule appointments from the business's webpage? If so, would > you please tell me how you made it so it would only show the client > times which were available and of course not lis

Re: [PHP] Perplexing problem.

2009-06-05 Thread Daniel Brown
On Fri, Jun 5, 2009 at 11:50, Gary wrote: > As usual, thank you for your help.  How do I get it to display in the emails > only if the boxes are checked? -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ 50% Off All Shared Hosting Plans at Pi

Re: [PHP] Perplexing problem.

2009-06-05 Thread Gary
As usual, thank you for your help. How do I get it to display in the emails only if the boxes are checked? Thanks again. Gary "Daniel Brown" wrote in message news:ab5568160906050838k682271eeg1e0a5f90b916c...@mail.gmail.com... On Fri, Jun 5, 2009 at 11:28, Gary wrote: > I have a form script

Re: [PHP] Perplexing problem.

2009-06-05 Thread Gary
Unbeleieable I am now getting it correct on Chrome, but not FF...I have been wracking my brain and it was firefox I dont get it... "Daniel Brown" wrote in message news:ab5568160906050838k682271eeg1e0a5f90b916c...@mail.gmail.com... On Fri, Jun 5, 2009 at 11:28, Gary wrote: > I have a fo

Re: [PHP] Perplexing problem.

2009-06-05 Thread Daniel Brown
On Fri, Jun 5, 2009 at 11:28, Gary wrote: > I have a form script that is not cooperating.  When I fill out this form,  I > get the checkbox "yes", but not the checkbox "info" Also, in the message on > the result page that displays, I get "Yes, send me referral Caards! at > the bottom.  ( I have

[PHP] Perplexing problem.

2009-06-05 Thread Gary
I have a form script that is not cooperating. When I fill out this form, I get the checkbox "yes", but not the checkbox "info" Also, in the message on the result page that displays, I get "Yes, send me referral Caards! at the bottom. ( I have spelled card as Ccard and Caard to see

RE: [PHP] formatting - design question

2009-06-05 Thread Ford, Mike
On 04 June 2009 19:09, PJ advised: > Nitsan Bin-Nun wrote: >>> From my experience I tend to use a difference ID for the > body tag, for >> instance and then format it in my CSS using ID >> reference: #homepage .classname { >> color: blue; >> } >> >> This way you can use a default format fo

Re: [PHP] formatting - design question

2009-06-05 Thread tedd
At 10:23 AM +0100 6/5/09, Peter Ford wrote: PJ wrote: > tedd wrote: >> First you figure out a layout, then you populate it. You don't pick a >> layout, populate it and then change the layout. >> If only it were that simple. When one is developing, one is always changing. And even when you'

Re: [PHP] PHP Graphing Libraries...?

2009-06-05 Thread li...@mgreg.com
On Jun 5, 2009, at 9:41 AM, Michael A. Peters wrote: Sure - the gd library. Scale the x/y position according to your needs. Well, I was trying to avoid building from scratch, but you may be right. I'm surprised no one else has need for an intuitive setup of this nature. Thanks, Micha

Re: [PHP] PHP Graphing Libraries...?

2009-06-05 Thread Michael A. Peters
li...@mgreg.com wrote: On Jun 5, 2009, at 5:26 AM, Richard Heyes wrote: ... I would have to suggest RGraph... ( http://www.rgraph.net ) :-) It's uses canvas though, so browser support is limited at the moment though to Firefox 3.5, Safari 4 and Chrome 2. I've looked at the docs and I don

Re: [PHP] formatting - design question

2009-06-05 Thread tedd
At 4:54 PM -0400 6/4/09, PJ wrote: tedd wrote: > That's simply an example of not thinking things out before you write the code. First you figure out a layout, then you populate it. You don't pick a > layout, populate it and then change the layout. > > If only it were that simple. When on

[PHP] Google Calendar Integration

2009-06-05 Thread Leonard Burton
HI All, Has anyone used Google Calendar (of course via PHP) to allow clients to schedule appointments from the business's webpage? If so, would you please tell me how you made it so it would only show the client times which were available and of course not listing private client details? Thanks,

[PHP] Re: PHP Graphing Libraries...?

2009-06-05 Thread Al
li...@mgreg.com wrote: Hi All, I'm currently looking for a quality (preferably open source) PHP graphing library that will allow me to create various graphs and plot points. I've seen several that do some amazing things, but cost a fortune -- others are either limited, lack documentation,

Re: [PHP] PHP Graphing Libraries...?

2009-06-05 Thread Paul M Foster
On Thu, Jun 04, 2009 at 09:17:07PM -0700, Michael A. Peters wrote: > Paul M Foster wrote: >> On Thu, Jun 04, 2009 at 01:50:28PM -0700, Michael A. Peters wrote: >> >>> li...@mgreg.com wrote: Hi All, I'm currently looking for a quality (preferably open source) PHP graphing librar

Re: [PHP] Web application design considerations - a good reference ?

2009-06-05 Thread Julian Muscat Doublesin
Hi, If you want to develop a professional business - enterprise application I suggest you research books related to Database Design and Development, and Business Systems Analysis. UML or Unified Modeling Language will help you with database design and system design. ERD - Entity Relationship Diag

Re: [PHP] PHP Graphing Libraries...?

2009-06-05 Thread Eddie Drapkin
I've had a lot of success with flot, but that's a jQuery plugin, so it may not be exactly what you need. If you're just making graphs for client side viewing, it ought to be sufficient, though. On Fri, Jun 5, 2009 at 8:33 AM, li...@mgreg.com wrote: > > On Jun 5, 2009, at 5:26 AM, Richard Heyes

Re: [PHP] PHP Graphing Libraries...?

2009-06-05 Thread li...@mgreg.com
On Jun 5, 2009, at 5:26 AM, Richard Heyes wrote: ... I would have to suggest RGraph... ( http://www.rgraph.net ) :-) It's uses canvas though, so browser support is limited at the moment though to Firefox 3.5, Safari 4 and Chrome 2. I've looked at the docs and I don't see how exactly it ha

[PHP] PHP, OOP and AJAX

2009-06-05 Thread Julian Muscat Doublesin
Update. Hello Everyone, First of all, thank you all for your input. I ran a sinmple test using the suggestions you gave me and and require_once. Using firebug to test the output, I got an internal server error. I found out what the problem was. What I am doing is I have classes which represent

Re: [PHP] PHP Graphing Libraries...?

2009-06-05 Thread Richard Heyes
> ... I would have to suggest RGraph... ( http://www.rgraph.net ) :-) It's uses canvas though, so browser support is limited at the moment though to Firefox 3.5, Safari 4 and Chrome 2. -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net - updated 23rd May) PHP mail: RMail (www.phpguru.org/r

Re: [PHP] formatting - design question

2009-06-05 Thread Peter Ford
PJ wrote: > tedd wrote: >> At 3:58 PM -0400 6/4/09, PJ wrote: >>> tedd wrote: >>> >>> > Style sheets are meant simplify things so decide on how you want things to look uniformly throughout your site and then stick with it. There's really no good reason to keep changing things throughou

Re: [PHP] https setup

2009-06-05 Thread Michael A. Peters
PJ wrote: Can't find anything on G or web - but I probably didn't try hard enough. I am unable to set my virtual hosts to handle https. I have apache22, mod_ssl, opnenssl and the httpd and httpd-vhosts.conf files are set up "correctly" but directing a sensitive user information page to an HTTPS p

[PHP] databse query

2009-06-05 Thread web
Hello to all, please i'm new PHP and trying to display some records from my db using dreamweaver. I have 2 tables ( Subjects and Pages) where Subjects is the parent and Pages is the child. I want to get all pages belonging to each subject but my query gives me all pages under the first result of

RE: [PHP] Listening on host:port - Windows

2009-06-05 Thread John Fairley
Thanks, you are right. I used php.exe -v to confirm cgi version. My query is what parameter do I use to specify host and port? That will have the same effect as -b in php5. Sorry if I didn't make it clear. John _ From: ?? [mailto:delm...@gmail.com] Sent: Friday, June 05, 2009 8:24

Re: [PHP] preg_replace

2009-06-05 Thread Marc Steinert
Hey Ben, to replace everything thats not alphanumeric, use the following statement: $output = preg_replace('/[^[:alnum:]]/', '', $input); Greetings from Germany Marc PS: Spaces are not alphanumeric ;) Ben Miller wrote: Oh yeah - not sure if spaces are considered alphanumeric or not, but I

RE: [PHP] preg_replace

2009-06-05 Thread Ben Miller
Oh yeah - not sure if spaces are considered alphanumeric or not, but I need to keep spaces - replacing anything that is NOT a letter, a number or a space. Thanks again. -Original Message- From: Ben Miller [mailto:biprel...@gmail.com] Sent: Friday, June 05, 2009 2:09 AM To: php-general@li

Re: [PHP] https setup

2009-06-05 Thread Per Jessen
PJ wrote: > Can't find anything on G or web - but I probably didn't try hard > enough. Correct :-) > I am unable to set my virtual hosts to handle https. > I have apache22, mod_ssl, opnenssl and the httpd and httpd-vhosts.conf > files are set up "correctly" but directing a sensitive user > inf

[PHP] preg_replace

2009-06-05 Thread Ben Miller
I bought PHP & MySQL for DUMMIES and it shows me how to use special characters for pattern matching and I've figured out the basics of using preg_replace to replace pattern matches. What I am having trouble with, though, is figuring out how to replace anything that does not match the pattern.