Re: [PHP] Double mails

2004-04-16 Thread Elfyn McBratney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Saturday 17 Apr 2004 05:05, PHP Email List wrote: > Sorry this was meant for Kaleb, My bad, see WAY TOO EARLY IN THE > MORNING You mean late at night ;) > [...] > > > > Every mail comes twice... Well, every mail from the list. > > > > I had th

RE: [PHP] Double mails

2004-04-16 Thread PHP Email List
Sorry this was meant for Kaleb, My bad, see WAY TOO EARLY IN THE MORNING > -Original Message- > From: PHP Email List [mailto:[EMAIL PROTECTED] > Sent: Saturday, April 17, 2004 12:04 AM > To: Chris W. Parker > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP] Double mails > > > > From: Chris W

RE: [PHP] Double mails

2004-04-16 Thread PHP Email List
> From: Chris W. Parker [mailto:[EMAIL PROTECTED] > [EMAIL PROTECTED] > Subject: RE: [PHP] Double mails > > Every mail comes twice... Well, every mail from the list. I had this happen a year ago on a Wolf Conservation List that I belong too, I contacted the email administrator and they checked the

Re: [PHP] http header

2004-04-16 Thread Matt Matijevich
[snip] Also, when you're using PHP, it is rare that it is going to be better to use a meta tag to emulate an HTTP header. PHP has the header() function, and it can set real headers. [/snip] also, meta refreshes are easy to turn off. -- PHP General Mailing List (http://www.php.net/) To unsubscrib

RE: [PHP] Double mails

2004-04-16 Thread Chris W. Parker
Lopez, Kaleb (GEAE, Foreign National, CIAT) on Friday, April 16, 2004 1:24 PM said: > Every mail comes twice... Well, every mail from the list. in that case i don't know. i've never heard of such behavior. c -- PHP General Mailing List (http://www.php.net/) To u

[PHP] Fatal error: Call to undefined function: mysql_connect()

2004-04-16 Thread Tim
Setup: 2 servers, one with PHP 4.1.2 and no MySQL installed, the other has MySQL and PHP 4.1.2 Problem: I am attempting to connect to the MySQL server from the server without MySQL, but I get the error that shows in the subject. Fatal error: Call to undefined function: mysql_connect() in /folder/

[PHP] limit number of CGI processes

2004-04-16 Thread Florian Effenberger
Hi there, I run PHP as CGI (because of suEXEC), but some configuration must be wrong. I just tried out to reload a PHP generated website about 20 or 30 times in my browser, and this really bogged down the server, I had a load of about 20 or 30. Is there anything I can do to limit this risk? I alr

Re: [PHP] http header

2004-04-16 Thread Chris Shiflett
--- Elfyn McBratney <[EMAIL PROTECTED]> wrote: > > Is the following code the best way to redirect someone to a > > different page using PHP? > > > > > header("Location: http://www.yahoo.com";); > > ?> > > That's also known as "breaking the back button", but is the only way > to do it in PHP. A bet

[PHP] PHP's RPM vs PHP's Compiling???

2004-04-16 Thread Scott Fletcher
Trying to figure out which would provide more choices or controls... See, I usually compile PHP with those prefix options to allow it to take in cURL, mCrypt, OpenSSL, etc... Later, if I need to add something then I can redo the PHP configuration with additional prefix and recompile PHP. All of

[PHP] *******Re: [PHP] Explanation of cookie behavior

2004-04-16 Thread David A. Stevens
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 16 Apr 2004 18:18, John Nichel wrote: > David A. Stevens wrote: > > Please remove my address from any future correspondence about PHP. > > Allrighty then. I warned ya Davey...you're on yer way to /dev/null. If > you're lucky, I won't post y

RE: [PHP] alternating row color--newbie help

2004-04-16 Thread Don Read
On 15-Apr-2004 Chris W. Parker wrote: > for($i = 0; $i < $numofrows; $i++) > { > ... > $row_color = ($i % 2 == 0) ? "yellow" : "white" ; $row_color = $row_color == "yellow" ? "white" : "yellow" ; > > echo "\n"; > ... Regards, -- Don Read

RE: [PHP] Formatting phone numbers?

2004-04-16 Thread Jay Blanchard
[snip] > [stuff you may not need] > This is a boiled down version of a longer function that counts string > lengths to determine how many dashes might need to be added. Let's say > you have the area code in the number, like 2108765432. Being a ten digit > number with a recognizable area code we can

RE: [PHP] Double mails

2004-04-16 Thread Lopez, Kaleb (GEAE, Foreign National, CIAT)
Every mail comes twice... Well, every mail from the list. Kaleb -Original Message- From: Chris W. Parker [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 3:22 PM To: Lopez, Kaleb (GEAE, Foreign National, CIAT); [EMAIL PROTECTED] Subject: RE: [PHP] Double mails Lopez, Kaleb (GEAE,

RE: [PHP] Double mails

2004-04-16 Thread Chris W. Parker
Lopez, Kaleb (GEAE, Foreign National, CIAT) on Friday, April 16, 2004 1:07 PM said: > Is anyone else getting the mails twice? not me. are you getting *your* mails twice or *every* mail twice? chris. -- PHP General Mailing List (http://www.php.net/) To unsubscrib

[PHP] Re: http header

2004-04-16 Thread Gabe
Brandon Holtsclaw wrote: Thanks for the ideas. The header option will work, I was just curious. or you could try something like : window.location.href='http://www.slashdot.org' and / or window.location.href='http://www.slashdot.org'"; ?> Brandon Holtsclaw

[PHP] Re: http header

2004-04-16 Thread Brandon Holtsclaw
or you could try something like : window.location.href='http://www.slashdot.org' and / or window.location.href='http://www.slashdot.org'"; ?> Brandon Holtsclaw [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

[PHP] Double mails

2004-04-16 Thread Lopez, Kaleb (GEAE, Foreign National, CIAT)
Hello. Is anyone else getting the mails twice? Kaleb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] http header

2004-04-16 Thread Matt Matijevich
[snip] That's also known as "breaking the back button", but is the only way to do it in PHP. A better way to redirect someone (and keep the back busson working) is to use the meta html tag. [/snip] How is that breaking the back button? -- PHP General Mailing List (http://www.php.net/) To uns

Re: [PHP] Unwanted e-mails

2004-04-16 Thread Ryan A
Got up this morning and the coffee tasted bad and then burnt my tongue on it :-( Client again didnt pay on time. Someone was in the bathroom when I wanted to go. Sitting to long in front of the computereyes are paining. Weed should be legalised here as in Amsterdam. Need more women in my life..

Re: [PHP] http header

2004-04-16 Thread Elfyn McBratney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Gabe, On Friday 16 Apr 2004 19:48, Gabe wrote: > Is the following code the best way to redirect someone to a different > page using PHP? > > header("Location: http://www.yahoo.com";); > ?> That's also known as "breaking the back button", but i

Re: [PHP] http header

2004-04-16 Thread Matt Matijevich
[snip] Is the following code the best way to redirect someone to a different page using PHP? http://www.yahoo.com";); ?> I looked for a "redirect" function of some kind and didn't come up with anything. Just curious what the consensus is... [/snip] yes http://www.php.net/header has a good wa

[PHP] http header

2004-04-16 Thread Gabe
Is the following code the best way to redirect someone to a different page using PHP? http://www.yahoo.com";); ?> I looked for a "redirect" function of some kind and didn't come up with anything. Just curious what the consensus is... Thanks -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Unwanted e-mails

2004-04-16 Thread David T-G
Travis, et al -- ...and then Travis Low said... % % Lester Caine wrote: ... % >SOMEBODY NEEDS TO GET THEIR ACT TOGETHER AND FIX THE SYSTEM SO THAT WE % >C*A*N* UNSBSCRIBE ! % % I just unsubscribed and re-subscribed, no problems at all. % % Did I miss any

Re: [PHP] Looking for a comprehensive PHP tutorial

2004-04-16 Thread Stephen Allen
On Fri, Apr 09, 2004 at 03:04:37PM +0530 or thereabouts, Ash.. wrote: > Hi, > > I am looking for a comprehensive handholder tutorial, that introduces the > various aspects > of PHP, step by step and let's u see the big picture. > I have come across tons of PHP learnware which is like "how to do th

Re: [PHP] Unwanted e-mails

2004-04-16 Thread Lester Caine
John W. Holmes wrote: From: "Lester Caine" <[EMAIL PROTECTED]> I am hitting reply, and EVERY php list sends a message back bouncing the unsubscribe message ( along with every post I have tried to make since XMAS - which is why I am having to use the newsgroup interface ) This only happens on list

Re: [PHP] Unwanted e-mails

2004-04-16 Thread Elfyn McBratney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 16 Apr 2004 20:35, Elfyn McBratney wrote: > On Friday 16 Apr 2004 19:35, Lester Caine wrote: > > Elfyn McBratney wrote: > > > Chill out, or you'll see no help, OK? > > > > > > If for whatever reason you don't get that unsibscribe email, you n

Re: [PHP] Unwanted e-mails

2004-04-16 Thread John Nichel
Lester Caine wrote: EVERY message posted to lists.php.net simply gets bounced, and every attempt to get a response on these lists has been ignored. YES there is an unsubscribe, BUT it will only work if the eMail server at PHP will actually accept the unsubscribers eMail. I am not the only person

RE: [PHP] Unwanted e-mails

2004-04-16 Thread Chris W. Parker
Lester Caine on Friday, April 16, 2004 12:36 PM said: > EVERY message posted to lists.php.net simply gets bounced, and every > attempt to get a response on these lists has been ignored. i don't see how if every message you send gets bounced it's still coming through

Re: [PHP] Unwanted e-mails

2004-04-16 Thread Elfyn McBratney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 16 Apr 2004 19:35, Lester Caine wrote: > Elfyn McBratney wrote: > > Chill out, or you'll see no help, OK? > > > > If for whatever reason you don't get that unsibscribe email, you need to > > contact the people who run this list: > > > > >

Re: [PHP] Unwanted e-mails

2004-04-16 Thread John W. Holmes
From: "Lester Caine" <[EMAIL PROTECTED]> > I am hitting reply, and EVERY php list sends a message back bouncing the > unsubscribe message ( along with every post I have tried to make since > XMAS - which is why I am having to use the newsgroup interface ) > This only happens on list.php.net, I hav

RE: [PHP] Unwanted e-mails

2004-04-16 Thread Jay Blanchard
[snip] EVERY message posted to lists.php.net simply gets bounced [/snip] Apparently not, as we all get it. Perhaps you have set up your options to see your own e-mails? There is an option for that. [snip] , and every attempt to get a response on these lists has been ignored. [/snip] Apparently n

Re: [PHP] Unwanted e-mails

2004-04-16 Thread Lester Caine
Elfyn McBratney wrote: Chill out, or you'll see no help, OK? If for whatever reason you don't get that unsibscribe email, you need to contact the people who run this list: But use that as a /last/ resort. Try the unsubscribe page on the PHP website first:

Re: [PHP] sending mail with php on a linux box

2004-04-16 Thread John W. Holmes
From: "Chris W" <[EMAIL PROTECTED]> > I'm not sure if this is a PHP, Apache, Network, or sendmail > configuration but hopefully someone here will know. > > When I send email with PHP the from header is > > [EMAIL PROTECTED] > > I can't run a real mail server on my machine, so I want to change that

Re: [PHP] Unwanted e-mails

2004-04-16 Thread John Nichel
Lester Caine wrote: that sounds like a problem on the end of the person trying to unsubscribe and not the server. WHY? I am hitting reply, and EVERY php list sends a message back bouncing the unsubscribe message ( along with every post I have tried to make since XMAS - which is why I am having

Re: [PHP] Unwanted e-mails

2004-04-16 Thread John W. Holmes
From: "Lester Caine" <[EMAIL PROTECTED]> > Does not Fing work!! > The unsubscribe process requires you to reply to the eMail that is sent. > THAT email is bounced for many people who are trying to unsubscribe. > SOMEBODY NEEDS TO GET THEIR ACT TOGETHER AND FIX THE SYSTEM SO THAT WE > C*A*N

Re: [PHP] Unwanted e-mails

2004-04-16 Thread Lester Caine
Lester Caine on Friday, April 16, 2004 12:20 PM said: Does not Fing work!! The unsubscribe process requires you to reply to the eMail that is sent. THAT email is bounced for many people who are trying to unsubscribe. SOMEBODY NEEDS TO GET THEIR ACT TOGETHER AN

Re: [PHP] Unwanted e-mails

2004-04-16 Thread Travis Low
Lester Caine wrote: Chris W. Parker wrote: David A. Stevens on Friday, April 16, 2004 10:31 AM said: I have somehow, for reasons unknown to me, gotten onto some e-mail list that I don't want to or need to be on. Somebody please, at all the above addresses, do everythi

Re: [PHP] Unwanted e-mails

2004-04-16 Thread Elfyn McBratney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 16 Apr 2004 19:19, Lester Caine wrote: > Chris W. Parker wrote: > > David A. Stevens > > > > on Friday, April 16, 2004 10:31 AM said: > >>I have somehow, for reasons unknown to me, gotten onto some e-mail > >>li

RE: [PHP] Unwanted e-mails

2004-04-16 Thread Chris W. Parker
Lester Caine on Friday, April 16, 2004 12:20 PM said: > Does not Fing work!! > The unsubscribe process requires you to reply to the eMail that is > sent. THAT email is bounced for many people who are trying to > unsubscribe. SOMEBODY NEEDS TO GET THEIR ACT TO

Re: [PHP] Unwanted e-mails

2004-04-16 Thread Lester Caine
Chris W. Parker wrote: David A. Stevens on Friday, April 16, 2004 10:31 AM said: I have somehow, for reasons unknown to me, gotten onto some e-mail list that I don't want to or need to be on. Somebody please, at all the above addresses, do everything possible to get

Re: [PHP] alternating row color--newbie help

2004-04-16 Thread Raquel Rice
On Fri, 16 Apr 2004 11:26:37 -0700 "David A. Stevens" <[EMAIL PROTECTED]> wrote: > Please remove my address from any future correspondence about PHP. Mr. Stevens, I assume you had some reason for sending this to me privately. As I'm only a member of an email list, "[EMAIL PROTECTED]". I'd sugg

RE: AW: [PHP] smarty

2004-04-16 Thread Chris W. Parker
John Nichel on Friday, April 16, 2004 11:24 AM said: > > You do realize that with 2.5 hours left in the work day today, we're > likely to get even sillier? ;) > I still have 6 hours to go. :( c. p.s. anyone play ffxi? -- PHP General Mailing List (http://www.

Re: [PHP] Explanation of cookie behavior

2004-04-16 Thread Elfyn McBratney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 16 Apr 2004 18:18, John Nichel wrote: > David A. Stevens wrote: > > Please remove my address from any future correspondence about PHP. > > Allrighty then. I warned ya Davey...you're on yer way to /dev/null. If > you're lucky, I won't post y

Re: AW: [PHP] smarty

2004-04-16 Thread John Nichel
John W. Holmes wrote: Either we'd talk about the (dis)advantages of TE's in general or compare different TE's, i.e. smarty vs. pattemplate vs. xslt. Wait a minute... are we talking about Smarty as in smarty.php.net? Because I was thinking of something else this entire time and this completely cha

Re: [PHP] Explanation of cookie behavior

2004-04-16 Thread John Nichel
David A. Stevens wrote: Please remove my address from any future correspondence about PHP. Allrighty then. I warned ya Davey...you're on yer way to /dev/null. If you're lucky, I won't post your email to any porn lists or USENET. -- **

Re: AW: [PHP] smarty

2004-04-16 Thread John W. Holmes
> > >>Either we'd talk about the (dis)advantages of TE's in general > > >>or compare different TE's, i.e. smarty vs. pattemplate vs. xslt. Wait a minute... are we talking about Smarty as in smarty.php.net? Because I was thinking of something else this entire time and this completely changes the di

RE: [PHP] Formatting phone numbers?

2004-04-16 Thread Andy Crain
Good stuff. > [stuff you may not need] > This is a boiled down version of a longer function that counts string > lengths to determine how many dashes might need to be added. Let's say > you have the area code in the number, like 2108765432. Being a ten digit > number with a recognizable area code

RE: [PHP] php and mysql help

2004-04-16 Thread Jay Blanchard
Why are you sending this to me? You're at Stanford, you can probably figure out the unsubscribe link and stuff -Original Message- From: David A. Stevens [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 12:41 PM To: Jay Blanchard Subject: RE: [PHP] php and mysql help Please remove

RE: [PHP] Compile PHP question

2004-04-16 Thread Dave Carrera
Hi David, You have to unsubscribe yourself from the php-general list to not receive further correspondence as it is not in my power to do such a task and is not my fault that you are on our list. I am not in any way responsible for the php-general list just a participant it the contributions. Yo

Re: AW: [PHP] smarty

2004-04-16 Thread John Nichel
Aaron Wolski wrote: don't forget interjinn. Like we ever could. (awaits the flame) John WHY ARE YOU SUCH A F... Ok, I'm willing to let bad blood go away if you are. We're all PHP peeps here so really there shouldn't be any animosity (perceived or otherwise). Damn. Some of the best entertainment

Re: [PHP] Unwanted e-mails

2004-04-16 Thread John W. Holmes
From: "David A. Stevens" <[EMAIL PROTECTED]> > I have somehow, for reasons unknown to me, gotten onto some e-mail > list that I don't want to or need to be on. Somebody please, at all > the above addresses, do everything possible to get me off that > list(s). For reasons unknown to me, you obviou

RE: AW: [PHP] smarty

2004-04-16 Thread Aaron Wolski
> > > don't forget interjinn. > > > > Like we ever could. > > (awaits the flame) > > John WHY ARE YOU SUCH A F... Ok, I'm willing to let bad blood go away > if you are. We're all PHP peeps here so really there shouldn't be any > animosity (perceived or otherwise). Damn. Some of the best enterta

Re: AW: [PHP] smarty

2004-04-16 Thread Robert Cummings
On Fri, 2004-04-16 at 13:27, John Nichel wrote: > Chris W. Parker wrote: > > Enrico Weigelt > > on Friday, April 16, 2004 10:13 AM said: > > > > keep in mind it's friday!! > > Then why am I still sober? > > >>Either we'd talk about the (dis)advantages of TE's in ge

Re: [PHP] Unwanted e-mails

2004-04-16 Thread John Nichel
Chris W. Parker wrote: David A. Stevens on Friday, April 16, 2004 10:31 AM said: I have somehow, for reasons unknown to me, gotten onto some e-mail list that I don't want to or need to be on. Somebody please, at all the above addresses, do everything possible to get

[PHP] Re: sending mail with php on a linux box

2004-04-16 Thread John Nichel
David A. Stevens wrote: Please remove my address from any future correspondence about PHP. You are responding to an individual (me) about removing you from a mailing list which I do not own or control. The members of the list already pointed out to you how to unsubscribe. Any further requests

RE: [PHP] Unwanted e-mails

2004-04-16 Thread Chris W. Parker
David A. Stevens on Friday, April 16, 2004 10:31 AM said: > I have somehow, for reasons unknown to me, gotten onto some e-mail > list that I don't want to or need to be on. Somebody please, at all > the above addresses, do everything possible to get me off that > lis

[PHP] Unwanted e-mails

2004-04-16 Thread David A. Stevens
I have somehow, for reasons unknown to me, gotten onto some e-mail list that I don't want to or need to be on. Somebody please, at all the above addresses, do everything possible to get me off that list(s). -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

Re: [PHP] Unwanted e-mails

2004-04-16 Thread Richard Davey
Hello David, Friday, April 16, 2004, 6:31:17 PM, you wrote: DAS> I have somehow, for reasons unknown to me, gotten onto some e-mail DAS> list that I don't want to or need to be on. Somebody please, at all DAS> the above addresses, do everything possible to get me off that DAS> list(s). That wou

Re: AW: [PHP] smarty

2004-04-16 Thread John Nichel
Chris W. Parker wrote: Enrico Weigelt on Friday, April 16, 2004 10:13 AM said: keep in mind it's friday!! Then why am I still sober? Either we'd talk about the (dis)advantages of TE's in general or compare different TE's, i.e. smarty vs. pattemplate vs. xslt. don't

Re: [PHP] sending mail with php on a linux box

2004-04-16 Thread John Nichel
Chris W wrote: I'm not sure if this is a PHP, Apache, Network, or sendmail configuration but hopefully someone here will know. When I send email with PHP the from header is [EMAIL PROTECTED] I can't run a real mail server on my machine, so I want to change that email address to something else.

RE: AW: [PHP] smarty

2004-04-16 Thread Chris W. Parker
Enrico Weigelt on Friday, April 16, 2004 10:13 AM said: keep in mind it's friday!! > Either we'd talk about the (dis)advantages of TE's in general > or compare different TE's, i.e. smarty vs. pattemplate vs. xslt. don't forget interjinn. > So lets split the thread

Re: AW: [PHP] smarty

2004-04-16 Thread Enrico Weigelt
It seems the discussions wents in a completely nonsense direction. Arguing about TE's in general and one concerete TE named "smarty" is simply silly. Either we'd talk about the (dis)advantages of TE's in general or compare different TE's, i.e. smarty vs. pattemplate vs. xslt. So lets split

[PHP] sending mail with php on a linux box

2004-04-16 Thread Chris W
I'm not sure if this is a PHP, Apache, Network, or sendmail configuration but hopefully someone here will know. When I send email with PHP the from header is [EMAIL PROTECTED] I can't run a real mail server on my machine, so I want to change that email address to something else. What config f

[PHP] php buildsystem [WAS: Compile PHP question]

2004-04-16 Thread Enrico Weigelt
* Red Wingate <[EMAIL PROTECTED]> [2004-04-16 10:46:19 +0200]: > [quote] > The CLI SAPI was released for the first time with PHP 4.2.0, but was still > experimental and had to be explicitly enabled with --enable-cli when > running ./configure. Since PHP 4.3.0 the CLI SAPI is no longer experimen

Re: [PHP] Encrypting Source

2004-04-16 Thread Enrico Weigelt
* Richard Harb <[EMAIL PROTECTED]> [2004-04-16 16:09:14 +0200]: > Two come to mind: > - Zend Encoder > costs $, but is widely supported as it 'only' needs zend optimizer to decode > - Turck MMCache/phpcoder on sf.net > open source but not available on most webhosters. though IMHO the cache >

Re: [PHP] Using ' to access session variables?

2004-04-16 Thread Richard Harb
If used outside any strings (like in your $query example) $_SESSION[foo] -- here foo technically is a constant and php ought to produce a notice $_SESSION['foo'] -- is the correct way as there is no doubt that foo is a string When used inside a string the rule

Re: [PHP] Using ' to access session variables?

2004-04-16 Thread Justin Patrin
Michal Migurski wrote: Whats the difference between $_SESSION[foo] and $_SESSION['foo'] I have been using the 's but they seem to be unecessary? Use the single-quotes -- array references often work without them, but the potential for conflict with constants and future PHP incompatibility is a po

Re: [PHP] Using ' to access session variables?

2004-04-16 Thread Michal Migurski
>Whats the difference between $_SESSION[foo] and $_SESSION['foo'] I have >been using the 's but they seem to be unecessary? Use the single-quotes -- array references often work without them, but the potential for conflict with constants and future PHP incompatibility is a possibility. If you (or P

[PHP] Using ' to access session variables?

2004-04-16 Thread BOOT
Whats the difference between $_SESSION[foo] and $_SESSION['foo'] I have been using the 's but they seem to be unecessary? I run into trouble if I try something like: $query = " select * from table where (test.id = '$_SESSION['foo']') "; but the following works: $query = " select * from table w

RE: [PHP] Sending document to printer...

2004-04-16 Thread jon roig
I do this fairly frequently -- basically, I just have word on a windows server and use COM objects to send stuff over to the printer, using word to do the formatting. -- jon --- jon roig web developer email: [EMAIL PROTECTED] phone: 888.230.7557 -Original Message-

RE: [PHP] Formatting phone numbers?

2004-04-16 Thread Paul Fine
Thanks! -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: April 16, 2004 7:33 AM To: BOOT; [EMAIL PROTECTED] Subject: RE: [PHP] Formatting phone numbers? [snip] Thanks for any help, even if you just suggest built in functions to look at. I'm looking for a way to t

Re: [PHP] session timeout

2004-04-16 Thread Richard Harb
Friday, April 16, 2004, 4:35:30 PM, you wrote: > Hello Marek, >I had similar trouble with my PHP application. I used an .htaccess > file with the same line. But it still did not work. I guess I even tried > ini_set() function. > I have a question with this point : I can only answer part o

Re: [PHP] Sending document to printer...

2004-04-16 Thread Enrico Weigelt
* Alex Ortiz <[EMAIL PROTECTED]> [2004-04-14 18:28:18 -0500]: > I'm looking for some ideas to send data directly to printer, > considering the user runs a browser (client side), while the PHP code > runs at apache server (server side). PHP has some printing functions, > but only for the Windows

RE: [PHP] From my side, this thread is closed (Was: smarty)

2004-04-16 Thread Jay Blanchard
[snip] still see ignorance going on around me [/snip] One must look within, before one can look without. See ya! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] From my side, this thread is closed (Was: smarty)

2004-04-16 Thread Robert Cummings
On Fri, 2004-04-16 at 10:44, Chris de Vidal wrote: > Richard Harb said: > > Could we please close the thread already? > > Sorry; sometimes I learn something new but still see ignorance going on > around me, so I "get on a mission" to help. Seems some people are > determined to stay ignorant and e

Re: [PHP] Shell_exec

2004-04-16 Thread Enrico Weigelt
* Peter Hansen <[EMAIL PROTECTED]> [2004-04-15 20:36:28 +0200]: > require_once("mainfile.php"); > > include("header.php"); > > $content = `/C:/Inetpub/com/html/bf1942live/vietnam.pl`; Are you working on dos/windows ? yes) win32 does (IMHO) not support external interpreter executables

RE: [PHP] From my side, this thread is closed (Was: smarty)

2004-04-16 Thread Angelo Zanetti
Hi Chris, thanx for your point of view. I am the origional poster and although I haven;t had too much time to read all the posts, I will, I have read your last 2 or so and I appreciate your input even though others don't. You seem to be very capable in php and templates etc... so I value your opini

[PHP] From my side, this thread is closed (Was: smarty)

2004-04-16 Thread Chris de Vidal
Richard Harb said: > Could we please close the thread already? Sorry; sometimes I learn something new but still see ignorance going on around me, so I "get on a mission" to help. Seems some people are determined to stay ignorant and even get upset when someone offers a fresh point of view that pe

Re: [PHP] session timeout

2004-04-16 Thread Pushpinder Singh
Hello Marek, I had similar trouble with my PHP application. I used an .htaccess file with the same line. But it still did not work. I guess I even tried ini_set() function. I have a question with this point : 2. No other application can access your session storage. Other applications could

Re: AW: [PHP] smarty

2004-04-16 Thread Richard Harb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Could we please close the thread already? I think in the previous week there's been everything said what there's been to say. whoever is still interested in reading the same arguments over and over should please take a look at the archives. I value t

RE: [PHP] File Upload Recommendations

2004-04-16 Thread Ryan Schefke
Thanks. I've checked that site out among others (hotscripts,etc.). I can't seem to find a good one that works that has my requirements below...thought someone might have some specific recommendations. -Original Message- From: John Nichel [mailto:[EMAIL PROTECTED] Sent: Friday, April 16,

Re: [PHP] File Upload Recommendations

2004-04-16 Thread John Nichel
Ryan Schefke wrote: Can anyone recommend a file upload script (or if you have one) that has the following: * Restricts size/dimensions * Restricts file type/extension * Customizeable to specify directory * Allows user to delete files (optional) * Restricts # of file

Re: AW: [PHP] smarty

2004-04-16 Thread Chris de Vidal
pete M said: > Smarty is a cool tool and lots of people use it. You have decided NOT to > use it. I don't believe you've read a word I've written. I've been trying to tell people like myself that one can easily template with PHP. I thought I *needed* Smarty or any nice templating engine to seper

Re: AW: [PHP] smarty

2004-04-16 Thread John Nichel
pete M wrote: There's more than one way of skinning a cat ! Hydrochloric acid works real well. ;) -- *** * _ __ __ __ _ * John Nichel * * | |/ /___ __ \ \/ /__ _ _| |__ ___ __ ___ _ __

Re: [PHP] Encrypting Source

2004-04-16 Thread Richard Harb
Two come to mind: - Zend Encoder costs $, but is widely supported as it 'only' needs zend optimizer to decode - Turck MMCache/phpcoder on sf.net open source but not available on most webhosters. though IMHO the cache alone is worth looking into There may be other solutions /me steps back for

Re: [PHP] Formatting phone numbers?

2004-04-16 Thread Rob Ellis
On Thu, Apr 15, 2004 at 06:11:57PM -0400, John W. Holmes wrote: > Rob Ellis wrote: > >On Thu, Apr 15, 2004 at 04:31:09PM -0500, BOOT wrote: > >> > >>I'm looking for a way to take a 7 digit number and put it into xxx- > >>format. > >> > >>So basically the logic is to count 3 characters into $num

[PHP] File Upload Recommendations

2004-04-16 Thread Ryan Schefke
Can anyone recommend a file upload script (or if you have one) that has the following: * Restricts size/dimensions * Restricts file type/extension * Customizeable to specify directory * Allows user to delete files (optional) * Restricts # of files uploaded to a dir

Re: AW: [PHP] smarty

2004-04-16 Thread pete M
I don't see why you keep persisting this thread. Smarty is a cool tool and lots of people use it. You have decided NOT to use it. So why keep going on; you not like Smarty; are you encouraging users not to use Smarty. I don't see your point at all !!! There's more than one way of skinning a ca

Re: AW: [PHP] smarty

2004-04-16 Thread Chris de Vidal
Ben said: > But i don't see an alternative in your "Example 3". Here was example 3 from my post: http://marc.theaimsgroup.com/?l=php-general&m=108145205519710&w=2 $result = mysql_query ("SELECT * FROM users WHERE id = '".$_GET["id"]."'); $row_array = mysql_fetch_array ($result); $name= $row_a

Re: [PHP] binary data in php

2004-04-16 Thread Marek Kilimajer
Anthony Ritter wrote: However when clicking the getdata.php link - the file does not appear on the screen. The code is below. Thank you for your time. TR . //getdata.php Remove @'s while debugging. @mysql_select_db("sitename"); $query = "SELECT bin_data,description,filetype

Re: [PHP] binary data in php

2004-04-16 Thread Anthony Ritter
Marek Kilimajer <[EMAIL PROTECTED]> wrote in message: > You said register globals are off, didn't you? Where is the above > variable set then? > > :) ... That was it. Many thanks Marek and others. Checking through the command line the file was uploaded to mysql database. Howeve

Re: [PHP] binary data in php

2004-04-16 Thread Marek Kilimajer
Anthony Ritter wrote: Any other thoughts? Best... TR ... You said register globals are off, didn't you? Where is the above variable set then? :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Escaping php content output for valid html

2004-04-16 Thread Jason Wong
On Friday 16 April 2004 20:19, Merlin wrote: > hmm so you would suggest to save the entitty code directly to the database > in the first place? If the data is mainly displayed as HTML then yes, store the HTML entities and do a conversion when you want plain text or whatever. > What happens if

Re: [PHP] session timeout

2004-04-16 Thread Marek Kilimajer
pete M wrote: Am trying to increae the session lifetime to 8 hours ish using this code ini_set('session.gc_maxlifetime',28800); does not work ? any ideas Pete There are 3 conditions that must be met: 1. You must set it before session_start() 2. No other application can access your session stor

Re: [PHP] binary data in php

2004-04-16 Thread Jason Wong
On Friday 16 April 2004 20:35, Anthony Ritter wrote: > I know that there is no binary file upload to the table called binary_data > in mysql database since I checked if there was a new entry through the > command line after I submit. > > After I hit submit, the field that I inserted are blank. > >

Re: [PHP] Custom session functions

2004-04-16 Thread Marek Kilimajer
I found only one problem - you must lock the session file when the session is open and unlock it when closed. There is a user note in the manual that explains it. Will wrote: Hello all, Due to my need to have the whole session data file encrypted. I am thinking about using custom session funct

Re: [PHP] binary data in php

2004-04-16 Thread Anthony Ritter
"John W. Holmes" <[EMAIL PROTECTED]> wrote in message: > So what's the output? How do you know it's not working? If you're not > getting an error, then your query is running and something is going in > the database. Are you sure the problem isn't in how you're displaying > the data?

Re: [PHP] FPDF Help

2004-04-16 Thread Marek Kilimajer
Nathan Mealey wrote: Anyone who is familiar with using FPDF to generate PDFs, I'd really appreciate some suggestions here: I am using the following code, virtually identical to that used in the FPDF tutorial examples. But I keep getting a parse error for the first line containing the variable

RE: [PHP] Formatting phone numbers?

2004-04-16 Thread Jay Blanchard
[snip] Thanks for any help, even if you just suggest built in functions to look at. I'm looking for a way to take a 7 digit number and put it into xxx- format. So basically the logic is to count 3 characters into $number and insert a "-" there. [/snip] As a telecom we use several methods, bu

Re: [PHP] binary data in php

2004-04-16 Thread Anthony Ritter
Lowell Allen <[EMAIL PROTECTED]> wrote in message: > You might try using "$HTTP_POST_FILES" rather than "$_FILES" -- was > necessary in my code recently. > > -- > Lowell Allen ... Lowell, Thank you. I tried that in code below. Still - no dice. Any other thoughts? Best... TR ..

  1   2   >