Re: [PHP] crc check for JPEG file exists

2008-02-26 Thread Aleksandar Vojnovic
I would rather use md5_file() for file uniqueness. Aleksander Olav Mřrkrid wrote: hello is crc32() an acceptable way of managing whether a JPEG file exists (in a database or similar collection)? i mean doing a crc32() on the binary data of the JPEG file, and then check the database if there i

Re: [PHP] Checking an array against user input?

2008-02-26 Thread Chris
Keikonium wrote: I am a bit confused by your code, Rob. $newTimestamp = $oldTimestamp; $newTimestamp[5] = '.'; means make the 6th character (remember php is 0 based so the first character is index 0) a '.'. -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing L

Re: [PHP] Checking an array against user input?

2008-02-26 Thread Keikonium
YE! That works perfectly ^_^. Thank you very much for helping out a PHP noob lol. "Robert Cummings" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On Wed, 2008-02-27 at 01:53 -0500, Keikonium wrote: Here is an example of the text I want to update: [01:19:23]And the city lit

Re: [PHP] Checking an array against user input?

2008-02-26 Thread Robert Cummings
On Wed, 2008-02-27 at 01:53 -0500, Keikonium wrote: > Here is an example of the text I want to update: > > [01:19:23]And the city lit up the night > [01:21:04]With the green glow of the Camlin Hotel > > [01:37:49][01:26:82]Ghosts are in the radio, > [01:42:13][01:31:53]They sing along, they sing

Re: [PHP] Checking an array against user input?

2008-02-26 Thread Keikonium
Here is an example of the text I want to update: [01:19:23]And the city lit up the night [01:21:04]With the green glow of the Camlin Hotel [01:37:49][01:26:82]Ghosts are in the radio, [01:42:13][01:31:53]They sing along, they sing along [02:02:14]It's on and the ghosts in the radio [02:05:80]Ar

[PHP] crc check for JPEG file exists

2008-02-26 Thread Olav Mørkrid
hello is crc32() an acceptable way of managing whether a JPEG file exists (in a database or similar collection)? i mean doing a crc32() on the binary data of the JPEG file, and then check the database if there is already another entry with the same CRC. the database has relatively few images (so

Re: [PHP] Checking an array against user input?

2008-02-26 Thread Robert Cummings
Show me an example of actual text where you want to update the format. Cheers, Rob. On Wed, 2008-02-27 at 01:42 -0500, Keikonium wrote: > I am a bit confused by your code, Rob. The timestamps will always change > (and have text after them) and that is what I am trying to take into > account. P

Re: [PHP] Checking an array against user input?

2008-02-26 Thread Keikonium
I am a bit confused by your code, Rob. The timestamps will always change (and have text after them) and that is what I am trying to take into account. Perhaps having my entire code might be of more use: Lyrics Editor $letters = array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l"

Re: [PHP] Checking an array against user input?

2008-02-26 Thread Robert Cummings
On Wed, 2008-02-27 at 00:36 -0500, Keikonium wrote: > Hello all, > > I am new to this news group, and figured this was the fastest way to get a > good, helpful answer. Here is my problem: > > I have an array that I set up with numbers 00 thru 99. Now, I have some > timestamps that look somewha

[PHP] Checking an array against user input?

2008-02-26 Thread Keikonium
Hello all, I am new to this news group, and figured this was the fastest way to get a good, helpful answer. Here is my problem: I have an array that I set up with numbers 00 thru 99. Now, I have some timestamps that look somewhat like this: [00:01:70] [00:06:50] [00:12:07] [00:15:04] [00:19

Re: [PHP] How do you send stylized email?

2008-02-26 Thread Paul Scott
On Tue, 2008-02-26 at 22:52 -0300, Manuel Lemos wrote: > messages. I use this popular MIME message composing class. Try the > test_simple_html_mail_message example script for instance. > > http://www.phpclasses.org/mimemessage > > Hehe, I was holding my breath for Manuel to come on to this thr

Re: [PHP] How do you send stylized email?

2008-02-26 Thread Manuel Lemos
Hello, on 02/26/2008 11:53 AM tedd said the following: >>> $message = <<>> Title: This is a title of the Event. >>> Time: This the time of the Event. >>> >>> Please show up on time. >>> EOT >>> >>> mail('[EMAIL PROTECTED]' , 'An Event' , $message); >>> >>> If so, how do you style it? >>> >>> If no

RE: [PHP] email with style (again)

2008-02-26 Thread Andrés Robinet
> -Original Message- > From: tedd [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 26, 2008 8:33 PM > To: php-general@lists.php.net > Subject: [PHP] email with style (again) > > Ok gang: > > What's wrong with the following code? > > It sends the email OK, but nothing is styled. > > W

[PHP] email with style (again)

2008-02-26 Thread tedd
Ok gang: What's wrong with the following code? It sends the email OK, but nothing is styled. Where did I go wrong? Thanks, tedd --- code Title: A title of something Presenter: By someone tedd EOT; return $message; } function send_mail($to, $body, $subject, $fromaddress, $fromname, $a

Re: [PHP] Shopping Carts

2008-02-26 Thread tedd
At 7:24 PM -0500 2/26/08, Kista Tucker wrote: Thank you, Dan B., Tedd, Dan H., and Jason: I don't mind subcontracting and have already stated to my client that this could possibly happen. I definitely want a quality product. I will work hard within a reasonable timeframe and if I'm not satisfi

RE: [PHP] checking for and enforcing https

2008-02-26 Thread Bastien Koert
> Date: Tue, 26 Feb 2008 17:39:13 -0500 > From: [EMAIL PROTECTED] > To: php-general@lists.php.net > Subject: Re: [PHP] checking for and enforcing https > > On Tue, Feb 26, 2008 at 04:46:38PM -0500, Daniel Brown wrote: >> >> Of course, getting into th

RE: [PHP] Question about PHP Licence and it's future!

2008-02-26 Thread Andrés Robinet
> -Original Message- > From: Daniel Brown [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 26, 2008 6:22 PM > To: tedd > Cc: php-general@lists.php.net > Subject: Re: [PHP] Question about PHP Licence and it's future! > > On Tue, Feb 26, 2008 at 6:01 PM, tedd <[EMAIL PROTECTED]> wrote: >

Re: [PHP] Shopping Carts

2008-02-26 Thread Kista Tucker
Thank you, Dan B., Tedd, Dan H., and Jason: I don't mind subcontracting and have already stated to my client that this could possibly happen. I definitely want a quality product. I will work hard within a reasonable timeframe and if I'm not satisfied with my work, I'll call someone. One concern

Re: [PHP] Question about PHP Licence and it's future!

2008-02-26 Thread Daniel Brown
On Tue, Feb 26, 2008 at 6:01 PM, tedd <[EMAIL PROTECTED]> wrote: > At 5:10 PM -0500 2/26/08, Andrés Robinet wrote: > >let's play soccer tomorrow > > Oh No, that's not the way you guys say it. You say it like: > > Let's play OOC tomorrow. I believe the word is "fu

RE: [PHP] Question about PHP Licence and it's future!

2008-02-26 Thread tedd
At 5:10 PM -0500 2/26/08, Andrés Robinet wrote: let's play soccer tomorrow Oh No, that's not the way you guys say it. You say it like: Let's play OOC tomorrow. So we can make a GOOALLL!!! :-) tedd -- --- http://sperling.com http://ancients

Re: [PHP] checking for and enforcing https

2008-02-26 Thread tedd
At 5:39 PM -0500 2/26/08, Rick Pasotto wrote: I've had nothing to add although I've been somewhat annoyed by the excessive quoting. -- "The most important thing in life is not simply to capitalize on your gains. Any fool can do that. The important thing is to profit from your losses. That requ

Re: [PHP] checking for and enforcing https

2008-02-26 Thread Daniel Brown
On Tue, Feb 26, 2008 at 5:39 PM, Rick Pasotto <[EMAIL PROTECTED]> wrote: > I've had nothing to add although I've been somewhat annoyed by the > excessive quoting. That's probably on the fault of people like myself who use Gmail. It hides the quoted text automatically, so we don't even see th

Re: [PHP] checking for and enforcing https

2008-02-26 Thread Rick Pasotto
On Tue, Feb 26, 2008 at 04:46:38PM -0500, Daniel Brown wrote: > > Of course, getting into that is a completely different discussion > from the post made by the OP whom, as it appears, gave up and took > off when Tedd *hijacked* his thread. ;-P No, I've been reading all the posts and have

RE: [PHP] Question about PHP Licence and it's future!

2008-02-26 Thread Andrés Robinet
> -Original Message- > From: Shawn McKenzie [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 26, 2008 3:44 PM > To: php-general@lists.php.net > Subject: Re: [PHP] Question about PHP Licence and it's future! > > tedd wrote: > > At 12:53 PM -0500 2/25/08, Andrés Robinet wrote: > >> *gring

Re: [PHP] PHP Newbie List

2008-02-26 Thread Greg Donald
On 2/26/08, Daniel Brown <[EMAIL PROTECTED]> wrote: > Speak for yourself. My code is always 100% spotless, efficient, > and runs the first time, completely bug-free, every single time, as it > has for years. Well, in Ruby on Rails, it has this.. nevermind. -- Greg Donald http://destine

Re: [PHP] Question about PHP Licence and it's future!

2008-02-26 Thread Greg Donald
On 2/26/08, Shawn McKenzie <[EMAIL PROTECTED]> wrote: > They (anyone non-white) call us howlies in Hawaii I believe and it's not > meant as a compliment. Regardless, most whites don't take any of these > that negatively because we don't view ourselves as the oppressed and > don't view the othe

Re: [PHP] checking for and enforcing https

2008-02-26 Thread Daniel Brown
On Tue, Feb 26, 2008 at 4:06 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote: > When most people talk about a http and https directory, they are most > likely talking about the common convention in shared hosting especially > on Apache where your account will have a httpdocs/ and a httpsdocs/ > di

Re: [PHP] Question about PHP Licence and it's future!

2008-02-26 Thread Shawn McKenzie
our only attribute is that we can shoot straight. :-) > > Cheers, > > tedd > And jump really high... oh wait... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Ob_Flush issue

2008-02-26 Thread Shawn McKenzie
Bojan Tesanovic wrote: > Try this it help 90% of time, > > function my_flush(){ > @flush(); > @ob_flush(); > @flush(); > @ob_flush(); > @flush(); > @ob_flush(); > } > > this can force buffer to really flush output when you call it few > times, also don't forget @ so it doesn't show empty buffer

Re: [PHP] checking for and enforcing https

2008-02-26 Thread Andrew Ballard
On Tue, Feb 26, 2008 at 4:06 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote: > > Andrew Ballard wrote: > > On Tue, Feb 26, 2008 at 11:54 AM, tedd <[EMAIL PROTECTED]> wrote: > >> At 11:03 AM -0500 2/26/08, Robert Cummings wrote: > >> >On Tue, 2008-02-26 at 10:57 -0500, Andrew Ballard wrote: > >>

Re: [PHP] Question about PHP Licence and it's future!

2008-02-26 Thread tedd
At 2:44 PM -0600 2/26/08, Shawn McKenzie wrote: They (anyone non-white) call us howlies in Hawaii I believe and it's not meant as a compliment. Regardless, most whites don't take any of these that negatively because we don't view ourselves as the oppressed and don't view the others as oppressors

Re: [PHP] PHPDoc autocomplete hints

2008-02-26 Thread Bojan Tesanovic
In getUserDAO() method you need to specify return type eg /** * @return UserDAO */ function getUserDAO(){ ... } and UserDAO class must have resetPW method, I guess it alredy has. This works for me, I have Zend Studio 5.5.0 On Feb 26, 2008, at 2:21 PM, Thiago Pojda wrote: Guys, I

Re: [PHP] Ob_Flush issue

2008-02-26 Thread Bojan Tesanovic
Try this it help 90% of time, function my_flush(){ @flush(); @ob_flush(); @flush(); @ob_flush(); @flush(); @ob_flush(); } this can force buffer to really flush output when you call it few times, also don't forget @ so it doesn't show empty buffer warning . On Feb 26, 2008, at 9:06

Re: [PHP] checking for and enforcing https

2008-02-26 Thread Shawn McKenzie
Andrew Ballard wrote: > On Tue, Feb 26, 2008 at 11:54 AM, tedd <[EMAIL PROTECTED]> wrote: >> At 11:03 AM -0500 2/26/08, Robert Cummings wrote: >> >On Tue, 2008-02-26 at 10:57 -0500, Andrew Ballard wrote: >> >>> > Am I misunderstanding you somewhere? >> > >> >I don't think you are. I think Ted h

Re: [PHP] PHP Newbie List

2008-02-26 Thread tedd
At 12:11 PM -0800 2/26/08, revDAVE wrote: Rather than bug folks on this cool list for beginner questions - does anyone know of a good PHP Newbie email List? -- Thanks - RevDave Welcome. We're used to bugs. Besides, we're all beginners in something. So, ask away -- we'll be more than happy to

Re: [PHP] Question about PHP Licence and it's future!

2008-02-26 Thread Shawn McKenzie
tedd wrote: > At 12:53 PM -0500 2/25/08, Andrés Robinet wrote: >> *gringos* started calling me Rob long ago. It's shorter, it's easier to >> pronounce and it's a short form for my last name (Robinet). > > Gringos? > > That brings up another subject, why is it that Caucasians don't have any > offe

Re: [PHP] PHP Newbie List

2008-02-26 Thread Jason Pruim
On Feb 26, 2008, at 3:30 PM, Wolf wrote: revDAVE <[EMAIL PROTECTED]> wrote: Rather than bug folks on this cool list for beginner questions - does anyone know of a good PHP Newbie email List? -- Thanks - RevDave Cool @ hosting4days . com [db-lists] We're glad to help around here, jus

Re: [PHP] PHP Newbie List

2008-02-26 Thread Daniel Brown
On Tue, Feb 26, 2008 at 3:30 PM, Wolf <[EMAIL PROTECTED]> wrote: > Sometimes that extra set of eyes helps to find the dangling or missing ';' > better then staring at the code for hours... (I think we've all been here at > some point). Speak for yourself. My code is always 100% spotless,

Re: [PHP] PHP Newbie List

2008-02-26 Thread Wolf
revDAVE <[EMAIL PROTECTED]> wrote: > Rather than bug folks on this cool list for beginner questions - does anyone > know of a good PHP Newbie email List? > > -- > Thanks - RevDave > Cool @ hosting4days . com > [db-lists] We're glad to help around here, just realize that none of us are goin

Re: [PHP] PHP Newbie List

2008-02-26 Thread Jason Pruim
On Feb 26, 2008, at 3:11 PM, revDAVE wrote: Rather than bug folks on this cool list for beginner questions - does anyone know of a good PHP Newbie email List? Hi revDAVE, I know of no better resource for PHP related help then this lists... I have learned everything I have from these peo

Re: [PHP] PHP Newbie List

2008-02-26 Thread Greg Donald
On 2/26/08, revDAVE <[EMAIL PROTECTED]> wrote: > Rather than bug folks on this cool list for beginner questions - does anyone > know of a good PHP Newbie email List? The newbie list idea was shot down multiple times over the years. Ask here. -- Greg Donald http://destiney.com/ -- PHP Genera

Re: [PHP] PHP Newbie List

2008-02-26 Thread Daniel Brown
On Tue, Feb 26, 2008 at 3:11 PM, revDAVE <[EMAIL PROTECTED]> wrote: > Rather than bug folks on this cool list for beginner questions - does anyone > know of a good PHP Newbie email List? php-general@lists.php.net You're in the right place. ;-) There are forums elsewhere around the

[PHP] Re: Ob_Flush issue

2008-02-26 Thread Shawn McKenzie
Ritesh Nadhani wrote: > Hello > > I have a sample code like: http://pastebin.ca/919386 > > I have around 4000 rows returned so it should show me partial output > at client after each 100 rows but it never does. I am only getting the > output after full completion. > > Though if you remove the st

[PHP] PHP Newbie List

2008-02-26 Thread revDAVE
Rather than bug folks on this cool list for beginner questions - does anyone know of a good PHP Newbie email List? -- Thanks - RevDave Cool @ hosting4days . com [db-lists] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RES: [PHP] Ob_Flush issue

2008-02-26 Thread Thiago Pojda
try now http://pastebin.ca/919399 Remember IE only starts displaying a page after it receives 256bytes. -Mensagem original- De: Ritesh Nadhani [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 26 de fevereiro de 2008 17:07 Para: php-general@lists.php.net Assunto: [PHP] Ob_Flush issue

[PHP] Ob_Flush issue

2008-02-26 Thread Ritesh Nadhani
Hello I have a sample code like: http://pastebin.ca/919386 I have around 4000 rows returned so it should show me partial output at client after each 100 rows but it never does. I am only getting the output after full completion. Though if you remove the step code and output after every row then

Re: [PHP] How do you send stylized email?

2008-02-26 Thread Greg Donald
On 2/26/08, Ray Hauge <[EMAIL PROTECTED]> wrote: > I'm just glad there's a lot of sinners out there, or at least > people who aren't that crazy :) They're called hypocrites. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

Re: [PHP] Question about PHP Licence and it's future!

2008-02-26 Thread tedd
At 12:26 PM -0600 2/26/08, David Giragosian wrote: My black friends here at work tell me that 'cracker' is indeed the equivalent of the n-word. In fact, they tell me that they were warned by their parents not to use it and punished severely if they did. I'm talking about colleagues in their late

Re: [PHP] checking for and enforcing https

2008-02-26 Thread tedd
At 1:27 PM -0500 2/26/08, Daniel Brown wrote: It's fun to learn, 'cause knowledge is power! ;-P ---* The More You Know! Yes, as the ads say "A mind is a terrible thing..." Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earths

Re: [PHP] How do you send stylized email?

2008-02-26 Thread Robert Cummings
On Tue, 2008-02-26 at 13:14 -0500, Daniel Brown wrote: > On Tue, Feb 26, 2008 at 12:43 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > > > > On Tue, 2008-02-26 at 11:53 -0500, Daniel Brown wrote: > > > All I have to say is, "Thank God for Jameson." [1] > > > > > > 1:http://www.jam

Re: [PHP] Question about PHP Licence and it's future!

2008-02-26 Thread Daniel Brown
On Tue, Feb 26, 2008 at 12:30 PM, tedd <[EMAIL PROTECTED]> wrote: > At 12:53 PM -0500 2/25/08, Andrés Robinet wrote: > >*gringos* started calling me Rob long ago. It's shorter, it's easier to > >pronounce and it's a short form for my last name (Robinet). > > Gringos? > > That brings up another

Re: [PHP] checking for and enforcing https

2008-02-26 Thread Daniel Brown
On Tue, Feb 26, 2008 at 1:11 PM, tedd <[EMAIL PROTECTED]> wrote: > At 12:10 PM -0500 2/26/08, Daniel Brown wrote: > >On Tue, Feb 26, 2008 at 11:54 AM, tedd <[EMAIL PROTECTED]> wrote: > >> At present, I use the actual directories (http/https) to determine if > >> the operation of the script i

Re: [PHP] Question about PHP Licence and it's future!

2008-02-26 Thread David Giragosian
On 2/26/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Tue, 2008-02-26 at 12:30 -0500, tedd wrote: > > At 12:53 PM -0500 2/25/08, Andrés Robinet wrote: > > >*gringos* started calling me Rob long ago. It's shorter, it's easier to > > >pronounce and it's a short form for my last name (Robinet)

Re: [PHP] How do you send stylized email?

2008-02-26 Thread Daniel Brown
On Tue, Feb 26, 2008 at 12:43 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Tue, 2008-02-26 at 11:53 -0500, Daniel Brown wrote: > > All I have to say is, "Thank God for Jameson." [1] > > > > 1:http://www.jameson.ie/ > > You know... until I checked the link I thought it was

Re: [PHP] How do you send stylized email?

2008-02-26 Thread TG
Then I guess I shouldn't link to "Bushmills" either. - Original Message - From: Robert Cummings <[EMAIL PROTECTED]> To: Daniel Brown <[EMAIL PROTECTED]> Cc: Paul Scott <[EMAIL PROTECTED]>, Debi Berkowitz <[EMAIL PROTECTED]>, tedd <[EMAIL PROTECTED]>, php-general@lists.php.net Dat

Re: [PHP] checking for and enforcing https

2008-02-26 Thread tedd
At 12:10 PM -0500 2/26/08, Daniel Brown wrote: On Tue, Feb 26, 2008 at 11:54 AM, tedd <[EMAIL PROTECTED]> wrote: At present, I use the actual directories (http/https) to determine if the operation of the script is secure or not. You also hijack other people's threads. No-no, Tedd! *s

RE: [PHP] checking for and enforcing https

2008-02-26 Thread Warren Vail
Most of my ISP's setup their servers to pull from the same base path for both secure forms and non-secure forms, and I use something similar to below to enforce the right one is being used. One of the benefits of doing this is I can imbed the same images and graphics by using the same business pat

Re: [PHP] How do you send stylized email?

2008-02-26 Thread Ray Hauge
Robert Cummings wrote: So... using this system, a world where everyone is as holy as can be would be a world devoid of humans (gotta have sex to reproduce). I don't think St. Augustine was thinking it through :) Cheers, Rob. Haha. I've often wondered why Christianity has survived so long beca

RE: [PHP] Question about PHP Licence and it's future!

2008-02-26 Thread Robert Cummings
On Tue, 2008-02-26 at 12:30 -0500, tedd wrote: > At 12:53 PM -0500 2/25/08, Andrés Robinet wrote: > >*gringos* started calling me Rob long ago. It's shorter, it's easier to > >pronounce and it's a short form for my last name (Robinet). > > Gringos? > > That brings up another subject, why is it t

Re: [PHP] How do you send stylized email?

2008-02-26 Thread Robert Cummings
On Tue, 2008-02-26 at 11:53 -0500, Daniel Brown wrote: > On Tue, Feb 26, 2008 at 11:47 AM, Paul Scott <[EMAIL PROTECTED]> wrote: > > > > On Tue, 2008-02-26 at 11:44 -0500, Daniel Brown wrote: > > > I wonder if I can just apt-get the wedding and have it all > > > automated for me. ;-P > > >

Re: [PHP] How do you send stylized email?

2008-02-26 Thread Robert Cummings
On Tue, 2008-02-26 at 10:28 -0600, Ray Hauge wrote: > Robert Cummings wrote: > > On Tue, 2008-02-26 at 10:38 -0500, tedd wrote: > >> At 4:27 PM +0100 2/26/08, Jochem Maas wrote: > >>> tedd schreef: > Now you sound like my wife. :-) > >>> for your sake I hope I don't look like her :-P > >> No

RE: [PHP] Question about PHP Licence and it's future!

2008-02-26 Thread tedd
At 12:53 PM -0500 2/25/08, Andrés Robinet wrote: *gringos* started calling me Rob long ago. It's shorter, it's easier to pronounce and it's a short form for my last name (Robinet). Gringos? That brings up another subject, why is it that Caucasians don't have any offensive slang words? We are

Re: [PHP] checking for and enforcing https

2008-02-26 Thread Daniel Brown
On Tue, Feb 26, 2008 at 11:54 AM, tedd <[EMAIL PROTECTED]> wrote: > At present, I use the actual directories (http/https) to determine if > the operation of the script is secure or not. You also hijack other people's threads. No-no, Tedd! *slaps hand* > For scripts that don't collect sen

Re: [PHP] checking for and enforcing https

2008-02-26 Thread Andrew Ballard
On Tue, Feb 26, 2008 at 11:54 AM, tedd <[EMAIL PROTECTED]> wrote: > At 11:03 AM -0500 2/26/08, Robert Cummings wrote: > >On Tue, 2008-02-26 at 10:57 -0500, Andrew Ballard wrote: > > > > Am I misunderstanding you somewhere? > > > >I don't think you are. I think Ted has been doing it the hard way

Re: [PHP] How do you send stylized email?

2008-02-26 Thread tedd
At 11:44 AM -0500 2/26/08, Daniel Brown wrote: http://debianddan.com/ Hey, she's much cuter than I would have thought. ;-) Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

RE: [PHP] How do you send stylized email?

2008-02-26 Thread Edward Kay
> > Ex's are the experience you need to get it to work. > > > > I've always said that everyone should go through at least one divorce > > before getting married. > > Marriage?? That's for backwards people stuck in ancient pointless > traditions >:) And moreso in today's culture... it's just a comme

Re: [PHP] checking for and enforcing https

2008-02-26 Thread tedd
At 11:03 AM -0500 2/26/08, Robert Cummings wrote: On Tue, 2008-02-26 at 10:57 -0500, Andrew Ballard wrote: > Am I misunderstanding you somewhere? I don't think you are. I think Ted has been doing it the hard way... but the lightbulb may have just gone on :) Cheers, Rob. It's flickering -- so

Re: [PHP] How do you send stylized email?

2008-02-26 Thread Daniel Brown
On Tue, Feb 26, 2008 at 11:47 AM, Paul Scott <[EMAIL PROTECTED]> wrote: > > On Tue, 2008-02-26 at 11:44 -0500, Daniel Brown wrote: > > I wonder if I can just apt-get the wedding and have it all > > automated for me. ;-P > > If only! I remember the stress, and a good friend of mine is getti

Re: [PHP] How do you send stylized email?

2008-02-26 Thread Paul Scott
On Tue, 2008-02-26 at 11:44 -0500, Daniel Brown wrote: > I wonder if I can just apt-get the wedding and have it all > automated for me. ;-P If only! I remember the stress, and a good friend of mine is gettin' hitched on Sat - while I am in Uganda - go figure! Anyway, congrats, and enjoy th

Re: [PHP] How do you send stylized email?

2008-02-26 Thread Daniel Brown
On Tue, Feb 26, 2008 at 11:37 AM, Paul Scott <[EMAIL PROTECTED]> wrote: > > > > http://debianddan.com/ > > > > CC: Debs > > > > LOL! Now you are going to get a gazillion requests coming from people > looking for debian packages (possibly a new debian based distro for > people that s

RE: [PHP] More than one values returned?

2008-02-26 Thread Bastien Koert
> From: [EMAIL PROTECTED]> To: [EMAIL PROTECTED]> CC: > php-general@lists.php.net> Date: Tue, 26 Feb 2008 10:40:34 -0500> Subject: > Re: [PHP] More than one values returned?> > > On Tue, 2008-02-26 at 10:32 > -0500, tedd wrote:> > At 1:08 PM -0500 2/25/08, Daniel Brown wrote:> > >On > Sat, Feb

Re: [PHP] checking for and enforcing https

2008-02-26 Thread Daniel Brown
On Tue, Feb 26, 2008 at 11:12 AM, Jim Lucas <[EMAIL PROTECTED]> wrote: > And it doesn't say "off". It either exists or doesn't. > > if ( isset($_SERVER['HTTPS']) ) { > // Is using SSL > } else { > // Is NOT using SSL > } Almost correct. From http://php.net/reserved.va

Re: [PHP] How do you send stylized email?

2008-02-26 Thread Paul Scott
On Tue, 2008-02-26 at 11:27 -0500, Daniel Brown wrote: > On Tue, Feb 26, 2008 at 10:57 AM, Robert Cummings <[EMAIL PROTECTED]> wrote: > > Marriage?? That's for backwards people stuck in ancient pointless > > traditions >:) And moreso in today's culture... it's just a commercial > > suckfest whe

RE: [PHP] How do you send stylized email?

2008-02-26 Thread Bastien Koert
send an html email... if you are looking to send calendar events, you could look at using the vcal or ical standards plain text emails you can't do much with other than separate sections with dashes or asteriks bastien > Date: Tue, 26 Feb 2008 09:28:06 -0500> To: php-general@lists.ph

Re: [PHP] How do you send stylized email?

2008-02-26 Thread Daniel Brown
On Tue, Feb 26, 2008 at 11:28 AM, Ray Hauge <[EMAIL PROTECTED]> wrote: > > How's that for off topic? > Off-topic or not, welcome back. Looks like the last time you posted here was 2006. ;-P -- Daniel P. Brown Senior Unix Geek -- PHP General Mailing List (http://www.php.net/) To unsub

Re: [PHP] How do you send stylized email?

2008-02-26 Thread Ray Hauge
Robert Cummings wrote: On Tue, 2008-02-26 at 10:38 -0500, tedd wrote: At 4:27 PM +0100 2/26/08, Jochem Maas wrote: tedd schreef: Now you sound like my wife. :-) for your sake I hope I don't look like her :-P No, I have an absolutely beautiful wife -- no complaints in that department. that

Re: [PHP] How do you send stylized email?

2008-02-26 Thread Daniel Brown
On Tue, Feb 26, 2008 at 10:57 AM, Robert Cummings <[EMAIL PROTECTED]> wrote: > Marriage?? That's for backwards people stuck in ancient pointless > traditions >:) And moreso in today's culture... it's just a commercial > suckfest when your money could better go to student loans and raising a > f

Re: [PHP] How do you send stylized email?

2008-02-26 Thread Daniel Brown
On Tue, Feb 26, 2008 at 10:38 AM, tedd <[EMAIL PROTECTED]> wrote: > At 4:27 PM +0100 2/26/08, Jochem Maas wrote: > >tedd schreef: > > >>Now you sound like my wife. :-) > > > >for your sake I hope I don't look like her :-P > > No, I have an absolutely beautiful wife -- no complaints in that dep

Re: [PHP] checking for and enforcing https

2008-02-26 Thread Dan Joseph
On Tue, Feb 26, 2008 at 11:04 AM, Robert Cummings <[EMAIL PROTECTED]> wrote: > Surely you mean $_SERVER['HTTPS'] and not $_ENV['HTTPS']. > > > woops! yep, I meant $_SERVER, thanks :) -- -Dan Joseph "Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will

Re: [PHP] More than one values returned?

2008-02-26 Thread Daniel Brown
On Tue, Feb 26, 2008 at 10:40 AM, Robert Cummings <[EMAIL PROTECTED]> wrote: > > This reminds me of when I commented to a friend that I swim everyday > > but still can't seem to lose the weight I want. He replied "Look at > > whales, they swim all the time and don't lose weight." > > > > I und

Re: [PHP] PHP cuts download process prematurely

2008-02-26 Thread Daniel Brown
On Mon, Feb 25, 2008 at 10:39 PM, Manuel Barros Reyes <[EMAIL PROTECTED]> wrote: [snip!] > I guess the download is stoped by some timeout and not because of the > amount of kb downloaded because the size varies slightly. If that > timeout exists it should be of apox. 5-10 seconds. Check the

Re: [PHP] checking for and enforcing https

2008-02-26 Thread Jim Lucas
Robert Cummings wrote: On Tue, 2008-02-26 at 11:00 -0500, Dan Joseph wrote: On Tue, Feb 26, 2008 at 10:56 AM, tedd <[EMAIL PROTECTED]> wrote: So, let's say I wanted script "secure.php" to be forced to use https -- do I use something like what Dan provided, namely? https://".$url.$_SERVER['PHP

Re: [PHP] checking for and enforcing https

2008-02-26 Thread Robert Cummings
On Tue, 2008-02-26 at 11:00 -0500, Dan Joseph wrote: > On Tue, Feb 26, 2008 at 10:56 AM, tedd <[EMAIL PROTECTED]> wrote: > > > > > So, let's say I wanted script "secure.php" to be forced to use https > > -- do I use something like what Dan provided, namely? > > > > > if($_SERVER['SERVER_PORT

Re: [PHP] checking for and enforcing https

2008-02-26 Thread Robert Cummings
On Tue, 2008-02-26 at 10:57 -0500, Andrew Ballard wrote: > On Tue, Feb 26, 2008 at 10:16 AM, tedd <[EMAIL PROTECTED]> wrote: > > At 3:47 PM +0100 2/26/08, Per Jessen wrote: > > > > >tedd wrote: > > > > > >> Sometimes I feel like a child here. > > >> > > >> Under what circumstances would one

Re: [PHP] checking for and enforcing https

2008-02-26 Thread Robert Cummings
On Tue, 2008-02-26 at 10:56 -0500, tedd wrote: > At 10:24 AM -0500 2/26/08, Robert Cummings wrote: > >On Tue, 2008-02-26 at 10:16 -0500, tedd wrote: > > > Then a user wants to purchase something and I direct them to a unique > >> script in the https directory and that script takes their sensitiv

Re: [PHP] checking for and enforcing https

2008-02-26 Thread Dan Joseph
On Tue, Feb 26, 2008 at 10:56 AM, tedd <[EMAIL PROTECTED]> wrote: > > So, let's say I wanted script "secure.php" to be forced to use https > -- do I use something like what Dan provided, namely? > > if($_SERVER['SERVER_PORT'] != '443') { > $url = isset($_SERVER['HTTP_HOST']) ? $_SERVE

Re: [PHP] checking for and enforcing https

2008-02-26 Thread Andrew Ballard
On Tue, Feb 26, 2008 at 10:16 AM, tedd <[EMAIL PROTECTED]> wrote: > At 3:47 PM +0100 2/26/08, Per Jessen wrote: > > >tedd wrote: > > > >> Sometimes I feel like a child here. > >> > >> Under what circumstances would one require that? > >> > >> If your script is in a https directory, isn't t

Re: [PHP] How do you send stylized email?

2008-02-26 Thread Robert Cummings
On Tue, 2008-02-26 at 10:38 -0500, tedd wrote: > At 4:27 PM +0100 2/26/08, Jochem Maas wrote: > >tedd schreef: > >>Now you sound like my wife. :-) > > > >for your sake I hope I don't look like her :-P > > No, I have an absolutely beautiful wife -- no complaints in that department. > > >that sai

Re: [PHP] checking for and enforcing https

2008-02-26 Thread tedd
At 10:24 AM -0500 2/26/08, Robert Cummings wrote: On Tue, 2008-02-26 at 10:16 -0500, tedd wrote: > Then a user wants to purchase something and I direct them to a unique script in the https directory and that script takes their sensitive data and finalizes the sale. What's wrong with that? N

Re: [PHP] How do you send stylized email?

2008-02-26 Thread tedd
At 4:27 PM +0100 2/26/08, Jochem Maas wrote: tedd schreef: Now you sound like my wife. :-) for your sake I hope I don't look like her :-P No, I have an absolutely beautiful wife -- no complaints in that department. that said I'd hazard a guess and say you listen to what she says ... my ex

Re: [PHP] How do you send stylized email?

2008-02-26 Thread TG
For his sake, I hope SHE doesn't look like YOU. For YOUR sake, I hope you don't look like her. "... it's how you said it.":) -TG, professional smart ass - Original Message - From: Jochem Maas <[EMAIL PROTECTED]> To: tedd <[EMAIL PROTECTED]> Cc: php-general@lists.php.net Date: Tue,

Re: [PHP] More than one values returned?

2008-02-26 Thread Robert Cummings
On Tue, 2008-02-26 at 10:32 -0500, tedd wrote: > At 1:08 PM -0500 2/25/08, Daniel Brown wrote: > >On Sat, Feb 23, 2008 at 6:21 AM, Robert Cummings <[EMAIL PROTECTED]> wrote: > > > On Fri, 2008-02-22 at 18:13 -0500, tedd wrote: > > > He said your narratives, not your jokes. ;) > > > > > > >

Re: [PHP] More than one values returned?

2008-02-26 Thread tedd
At 1:08 PM -0500 2/25/08, Daniel Brown wrote: On Sat, Feb 23, 2008 at 6:21 AM, Robert Cummings <[EMAIL PROTECTED]> wrote: > On Fri, 2008-02-22 at 18:13 -0500, tedd wrote: > He said your narratives, not your jokes. ;) > > > > Besides, if you gave up programming and took up comedy, both >

Re: [PHP] How do you send stylized email?

2008-02-26 Thread Jochem Maas
tedd schreef: At 4:10 PM +0100 2/26/08, Jochem Maas wrote: tedd schreef: At 3:46 PM +0100 2/26/08, Jochem Maas wrote: style comes naturally to some of us ;-) :-) Yes, but it eventually comes to everyone only if your markup is correct Now you sound like my wife. :-) for your sake I ho

Re: [PHP] checking for and enforcing https

2008-02-26 Thread Robert Cummings
On Tue, 2008-02-26 at 10:16 -0500, tedd wrote: > At 3:47 PM +0100 2/26/08, Per Jessen wrote: > >tedd wrote: > > > >> Sometimes I feel like a child here. > >> > >> Under what circumstances would one require that? > >> > >> If your script is in a https directory, isn't that secure? OR, is > >> t

Re: [PHP] checking for and enforcing https

2008-02-26 Thread Wolf
tedd <[EMAIL PROTECTED]> wrote: > At 3:47 PM +0100 2/26/08, Per Jessen wrote: > >tedd wrote: > > > >> Sometimes I feel like a child here. > >> > >> Under what circumstances would one require that? > >> > >> If your script is in a https directory, isn't that secure? OR, is > >> this somet

Re: [PHP] How do you send stylized email?

2008-02-26 Thread tedd
At 4:10 PM +0100 2/26/08, Jochem Maas wrote: tedd schreef: At 3:46 PM +0100 2/26/08, Jochem Maas wrote: style comes naturally to some of us ;-) :-) Yes, but it eventually comes to everyone only if your markup is correct Now you sound like my wife. :-) "It's not what you said -- it's ho

Re: [PHP] checking for and enforcing https

2008-02-26 Thread tedd
At 3:47 PM +0100 2/26/08, Per Jessen wrote: tedd wrote: Sometimes I feel like a child here. Under what circumstances would one require that? If your script is in a https directory, isn't that secure? OR, is this something else? Please explain. You might want to do such checks if your

Re: [PHP] How do you send stylized email?

2008-02-26 Thread Jochem Maas
tedd schreef: At 3:46 PM +0100 2/26/08, Jochem Maas wrote: style comes naturally to some of us ;-) :-) Yes, but it eventually comes to everyone only if your markup is correct "but it eventually comes to everyone" ;-) Cheers, tedd -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] checking for and enforcing https

2008-02-26 Thread Robert Cummings
On Tue, 2008-02-26 at 09:45 -0500, Dan Joseph wrote: > On Tue, Feb 26, 2008 at 9:39 AM, tedd <[EMAIL PROTECTED]> wrote: > > > Sometimes I feel like a child here. > > > > Under what circumstances would one require that? > > > > If your script is in a https directory, isn't that secure? OR, is > >

  1   2   >