Re: [PHP] Re: checkboxes

2009-04-21 Thread Ashley Sheridan
On Wed, 2009-04-22 at 01:38 -0400, PJ wrote: > Ashley Sheridan wrote: > > On Wed, 2009-04-22 at 07:17 +0530, kranthi wrote: > >> yeh an onclick event handler is required to achieve this. but as Shawn > >> has suggested radio buttons are better in this case. > >> > >> but then again if u want to dis

Re: [PHP] Re: checkboxes

2009-04-21 Thread PJ
PJ wrote: > Ashley Sheridan wrote: > >> On Wed, 2009-04-22 at 07:17 +0530, kranthi wrote: >> >>> yeh an onclick event handler is required to achieve this. but as Shawn >>> has suggested radio buttons are better in this case. >>> >>> but then again if u want to disable/greyout the other inpu

Re: [PHP] Re: checkboxes

2009-04-21 Thread PJ
Ashley Sheridan wrote: > On Wed, 2009-04-22 at 07:17 +0530, kranthi wrote: >> yeh an onclick event handler is required to achieve this. but as Shawn >> has suggested radio buttons are better in this case. >> >> but then again if u want to disable/greyout the other input(like >> textboxes, other tha

RE: [PHP] MAIL Error

2009-04-21 Thread ramesh.marimuthu
Thanks kranthi -Original Message- From: kranthi [mailto:kranthi...@gmail.com] Sent: Wednesday, April 22, 2009 11:02 AM To: Ramesh Marimuthu (WT01 - Telecom Equipment) Cc: tedd.sperl...@gmail.com; php-general@lists.php.net Subject: Re: [PHP] MAIL Error seems u r company mail server is addi

Re: [PHP] MAIL Error

2009-04-21 Thread kranthi
seems u r company mail server is adding this to all outgoing mails. if that is the case only option is to change configuration settings in the mail server. you can ask the anchorites to do that (i m not optimistic bout that, though). dont use this mail server to send mails to mailing lists Kranth

RE: [PHP] MAIL Error

2009-04-21 Thread ramesh.marimuthu
Yeah its all garbage. But its from the company. I don't know how to trim it. Can anyone suggest? -Original Message- From: tedd [mailto:tedd.sperl...@gmail.com] Sent: Tuesday, April 21, 2009 7:29 PM To: Ramesh Marimuthu (WT01 - Telecom Equipment); php-general@lists.php.net Subject: Re: [PH

Re: [PHP] Re: checkboxes

2009-04-21 Thread Ashley Sheridan
On Wed, 2009-04-22 at 07:17 +0530, kranthi wrote: > yeh an onclick event handler is required to achieve this. but as Shawn > has suggested radio buttons are better in this case. > > but then again if u want to disable/greyout the other input(like > textboxes, other than the radio button itself) u'

Re: [PHP] Re: Suggestions of some good, simple file upload 'in progress' code?

2009-04-21 Thread Michael Shadle
On Tue, Apr 21, 2009 at 9:02 PM, scubak1w1 wrote: > > ""scubak1w1"" wrote in message > news:cf.13.21597.2ee8e...@pb1.pair.com... >> Hello, >> >> Can someone pass on some suggestions of some good, simple file upload 'in >> progress' code? >> >> Maybe as simple as changing the cursor icon for the d

Re: [PHP] Unable to send mail from PHP to AT&T e-mail address

2009-04-21 Thread scubak1w1
"Edward Diener" wrote in message news:d9.64.21597.c829e...@pb1.pair.com... > Chris wrote: >> kranthi wrote: >>> of u are sure that the mail was not received as spam... >>> >>> check the log files of the mail server on the server to be sure that >>> the mail actually reached the mail server from

[PHP] Re: Suggestions of some good, simple file upload 'in progress' code?

2009-04-21 Thread scubak1w1
""scubak1w1"" wrote in message news:cf.13.21597.2ee8e...@pb1.pair.com... > Hello, > > Can someone pass on some suggestions of some good, simple file upload 'in > progress' code? > > Maybe as simple as changing the cursor icon for the duration? [self snip!] http://www.johnboy.com/about-us/news

Re: [PHP] Unable to send mail from PHP to AT&T e-mail address

2009-04-21 Thread Edward Diener
Chris wrote: kranthi wrote: of u are sure that the mail was not received as spam... check the log files of the mail server on the server to be sure that the mail actually reached the mail server from the http server Somehow I doubt AT&T gives out that sort of access ;) Exactly. The idea

Re: [PHP] Unable to send mail from PHP to AT&T e-mail address

2009-04-21 Thread Edward Diener
kranthi wrote: of u are sure that the mail was not received as spam... check the log files of the mail server on the server to be sure that the mail actually reached the mail server from the http server I doubt AT&T will give me access to the log files on their incoming mail server. -- PHP

Re: [PHP] Unable to send mail from PHP to AT&T e-mail address

2009-04-21 Thread Edward Diener
Phpster wrote: On Apr 21, 2009, at 20:32, Edward Diener wrote: I have a PHP script which uses the PHP 'mail' function. When the script's 'to' address is an AT&T address, such as my own as an AT&T ISP customer, the mail never gets to me. If the 'to' address is anything other than an AT&T ad

[PHP] Suggestions of some good, simple file upload 'in progress' code?

2009-04-21 Thread scubak1w1
Hello, Can someone pass on some suggestions of some good, simple file upload 'in progress' code? Maybe as simple as changing the cursor icon for the duration? I have am HTML form that gathers some data and allows for a file upload of up to 80Mb (on a secure site, and limited to *.zip files) -

Re: [PHP] Logging out of a SSL / https:// site using PHP? (or JS?), Client Side Cache

2009-04-21 Thread scubak1w1
""Michael A. Peters"" wrote in message news:49e4d4ca.7060...@mac.com... > scubak1w1 wrote: >> ""Michael A. Peters"" wrote in message >> news:49e41267.5010...@mac.com... >>> scubak1w1 wrote: I have a series of web sites which use https:// authentication (using AD integration to 'chec

Fwd: [PHP] MySQL, MD5 and SHA1

2009-04-21 Thread Steve Holmes
Oops, meant to copy the list. -- Forwarded message -- From: Steve Holmes Date: Tue, Apr 21, 2009 at 10:13 PM Subject: Re: [PHP] MySQL, MD5 and SHA1 To: Per Jessen On Tue, Apr 21, 2009 at 1:35 PM, Per Jessen wrote: > Jan G.B. wrote: > > > A web application that uses an exter

Re: [PHP] Unable to send mail from PHP to AT&T e-mail address

2009-04-21 Thread Chris
kranthi wrote: of u are sure that the mail was not received as spam... check the log files of the mail server on the server to be sure that the mail actually reached the mail server from the http server Somehow I doubt AT&T gives out that sort of access ;) The idea is right if you have access

Re: [PHP] Re: checkboxes

2009-04-21 Thread kranthi
yeh an onclick event handler is required to achieve this. but as Shawn has suggested radio buttons are better in this case. but then again if u want to disable/greyout the other input(like textboxes, other than the radio button itself) u'll hav to use onclick event handler for the radio buttons -

Re: [PHP] Unable to send mail from PHP to AT&T e-mail address

2009-04-21 Thread kranthi
of u are sure that the mail was not received as spam... check the log files of the mail server on the server to be sure that the mail actually reached the mail server from the http server -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Unable to send mail from PHP to AT&T e-mail address

2009-04-21 Thread Phpster
On Apr 21, 2009, at 20:32, Edward Diener wrote: I have a PHP script which uses the PHP 'mail' function. When the script's 'to' address is an AT&T address, such as my own as an AT&T ISP customer, the mail never gets to me. If the 'to' address is anything other than an AT&T address, the ma

[PHP] Unable to send mail from PHP to AT&T e-mail address

2009-04-21 Thread Edward Diener
I have a PHP script which uses the PHP 'mail' function. When the script's 'to' address is an AT&T address, such as my own as an AT&T ISP customer, the mail never gets to me. If the 'to' address is anything other than an AT&T address, the mail gets to the recipient. The PHP code for sending the

Re: [PHP] Check whether a page is Google Cached

2009-04-21 Thread Alan Chen
Thank you so much. "haliphax" дÈëÏûÏ¢ÐÂÎÅ:952625160904210738k494b892dlac3bb1b8e809f...@mail.gmail.com... > On Tue, Apr 21, 2009 at 8:29 AM, Alan Chen wrote: >> Hi, everyone, >> >> I want to write a small PHP script test.php that can determine whether a >> webpage is Google Cached. >> >> Assumi

[PHP] Re: checkboxes

2009-04-21 Thread Shawn McKenzie
PJ wrote: > How to deactivate checkboxes when one in a series is checked? > > > > > So that only 1 of the other inputs could be used in a search. Probably > do the rest with switch stuff. > Would be neat if the deactivated checkboxes would go grey. > Is this an HTML question? Use onclick?But I

[PHP] checkboxes

2009-04-21 Thread PJ
How to deactivate checkboxes when one in a series is checked? So that only 1 of the other inputs could be used in a search. Probably do the rest with switch stuff. Would be neat if the deactivated checkboxes would go grey. Is this an HTML question? Use onclick?But I think I need to either use a

Re: [PHP] MySQL, MD5 and SHA1

2009-04-21 Thread Micah Gersten
Andrew Ballard wrote: > On Tue, Apr 21, 2009 at 8:34 AM, Grega Leskovsek wrote: >> provided I want to store hash of a password in MySQL ... Using MySQL, >> the whole check can be achieved with a SQL query, since the MD5 >> function is provided as part of the database query language ... >> Can I us

Re: [PHP] Best way to deal with $_SERVER['REQUEST_URI'] on IIS?

2009-04-21 Thread Andrew Ballard
On Tue, Apr 21, 2009 at 4:21 PM, Mattias Thorslund wrote: > Andrew Ballard wrote: >> >> On Tue, Apr 21, 2009 at 4:04 PM, Mattias Thorslund >> wrote: >> >>> >>> Hi all, >>> >>> Apparently, $_SERVER['REQUEST_URI'] doesn't get set the same way when >>> running PHP on IIS as when running it on Apache

Re: [PHP] Best way to deal with $_SERVER['REQUEST_URI'] on IIS?

2009-04-21 Thread Mattias Thorslund
Andrew Ballard wrote: On Tue, Apr 21, 2009 at 4:04 PM, Mattias Thorslund wrote: Hi all, Apparently, $_SERVER['REQUEST_URI'] doesn't get set the same way when running PHP on IIS as when running it on Apache. Specifically, it seems to contain the script name only, and not the query string par

Re: [PHP] Best way to deal with $_SERVER['REQUEST_URI'] on IIS?

2009-04-21 Thread Andrew Ballard
On Tue, Apr 21, 2009 at 4:04 PM, Mattias Thorslund wrote: > Hi all, > > Apparently, $_SERVER['REQUEST_URI'] doesn't get set the same way when > running PHP on IIS as when running it on Apache. Specifically, it seems to > contain the script name only, and not the query string part. > > I know I can

[PHP] Best way to deal with $_SERVER['REQUEST_URI'] on IIS?

2009-04-21 Thread Mattias Thorslund
Hi all, Apparently, $_SERVER['REQUEST_URI'] doesn't get set the same way when running PHP on IIS as when running it on Apache. Specifically, it seems to contain the script name only, and not the query string part. I know I can rewrite my code to piece together a $_SERVER['REQUEST_URI'] from

[PHP] Re: Help me debug this

2009-04-21 Thread Patrick Moloney
Patrick Moloney wrote: Some months ago I downloaded and installed Apache, PHP and MySql. With only light use they seem to be working. I have downloaded a Test Script from the VBulletin vendor that is supposed to determine if your setup could run their product. The Test Script is php and appears

[PHP] re: Collation - Solved

2009-04-21 Thread PJ
Ok, here's where we see a problem with html sanitization. This was the guilty party: $aList = array_map('htmlspecialchars', $aList); Once commented out & deleted, things are back to normal. :-\ -- unheralded genius: "A clean desk is the sign of a dull mind. " -

[PHP] collation

2009-04-21 Thread PJ
I am getting some weird results on some pages output to browser. Many of the listings on the site are in different languages (English, French, Spanish, German, Portugese, Swedish and Italian) - Some author's names are in those languages and some comments or reviews as well. That means that some of

Re: [PHP] MySQL, MD5 and SHA1

2009-04-21 Thread Per Jessen
Jan G.B. wrote: > A web application that uses an external db server would be quite ... > uhm... slow! Anyone did this, yet? ;) Certainly, and it's not slow. It depends entirely on your connection to the public internet. -- Per Jessen, Zürich (18.2°C) -- PHP General Mailing List (http://ww

RE: [PHP] Encrypting email

2009-04-21 Thread Per Jessen
Bob McConnell wrote: > These will be targeted emails for selected recipients, primarily in > the Security and Public Safety offices. But they will be sent via > public mail servers, so the content must be protected. The question is - to what extent? You can use TLS for server-to-server encryptio

Re: [PHP] MySQL, MD5 and SHA1

2009-04-21 Thread Jan G.B.
2009/4/21 Andrew Ballard : > On Tue, Apr 21, 2009 at 8:34 AM, Grega Leskovsek wrote: >> provided I want to store hash of a password in MySQL ... Using MySQL, >> the whole check can be achieved with a SQL query, since the MD5 >> function is provided as part of the database query language ... >> Can

Re: [PHP] error with hosting

2009-04-21 Thread Jan G.B.
2009/4/21 ®0L¥ : > I have a littli application in PHP that I do with appserv, in my local > server work ok but when I upload de page.php to the hosting server don't > work, the hosting say in your page that support php and the web server is > apache because the directory is httpdocs, and why my pag

Re: [PHP] escape your variables

2009-04-21 Thread Jan G.B.
2009/4/21 Chris : > How does one deal with that? Do you use mysql_real_escape_string? e.g. >>> $db_host = 'localhost'; $db_user = 'auser'; $db_pwd = 'apassword'; $database = 'adatabase'; $table = 'authorBook'; if (!mysql_connect($db_host, $db_user,

Re: [PHP] self in inherited methods

2009-04-21 Thread Alex S Kurilo aka Kamazee
Is it right that 'self' in inherited method still points to the parent? If it is, can you explain it? It makes me worry :) Up until 5.3 this was just the way it was. It has been "fixed" in 5.3. See here for more info: http://php.net/lsb Thanks. It seems that 'static' keyword (instead of 'self')

[PHP] Re: error with hosting

2009-04-21 Thread Shawn McKenzie
®0L¥ wrote: > I have a littli application in PHP that I do with appserv, in my local > server work ok but when I upload de page.php to the hosting server don't > work, the hosting say in your page that support php and the web server is > apache because the directory is httpdocs, and why my page don

Re: [PHP] Creating A Chat?

2009-04-21 Thread Stuart
2009/4/21 David Négrier : > I'll keep an eye on pnotes too, if you plan to keep evolving it. There is > only a demo on the web site right now. Do you plan to release it some day? Yes. Hopefully in the near future, but don't hold your breath. -Stuart -- http://stut.net/ -- PHP General Mailing L

Re: [PHP] Creating A Chat?

2009-04-21 Thread David Négrier
Yes, indeed, the Apache footprint is quite large. Furthermore, with Xaja design, I'm starting 2 processes per connected user. Basically, it requires about 10Mo / user, so the footprint is really bigger than what you are having with pnotes. Currently, it scales quite well up to 100 users (I've nev

Re: [PHP] Let me google that for you.

2009-04-21 Thread Gary
Thanks so much for your reply and your help. I had recieved the same advice and solution from stuart just this morning. So thank you very much to both! Gary "haliphax" wrote in message news:952625160904210725j5aa0d50bvbc258d1103357...@mail.gmail.com... > On Fri, Apr 17, 2009 at 1:01 PM, 9el

Re: [PHP] Creating A Chat?

2009-04-21 Thread Stuart
2009/4/21 David Négrier : > There are other ways to do this. I've been doing this in a pure PHP way > with Xaja (without the need of using fastcgi, with just PHP and Apache). > There is an explanation going on here: > http://www.thecodingmachine.com/ext/xaja/doc/about/architecture.html > Maybe it w

Re: [PHP] Creating A Chat?

2009-04-21 Thread Stuart
2009/4/21 tedd : > At 5:14 PM +0200 4/21/09, David Négrier wrote: >> >> Here is a quick explanation of what is going on behind the scene: >> >> -snip- >> >> Regards, >> David. > > Thanks -- I think I know what's going on. I've done sufficient ajax to know > what's going on. However, what I don't un

[PHP] error with hosting

2009-04-21 Thread ®0L¥
I have a littli application in PHP that I do with appserv, in my local server work ok but when I upload de page.php to the hosting server don't work, the hosting say in your page that support php and the web server is apache because the directory is httpdocs, and why my page dond;t work in the host

Re: [PHP] Creating A Chat?

2009-04-21 Thread David Négrier
Hi Tedd, This is where there is a need for some "magic". In the case of Stuart, he wrote a "fastcgi" script. Basiacally, this handles the Ajax calls. Each call uses "long polling": the server is not responding directly. Instead, it keeps the connection open to the fast-cgi script. In order to kn

Re: [PHP] Creating A Chat?

2009-04-21 Thread Stuart
2009/4/21 David Négrier : > > Here is a quick explanation of what is going on behind the scene: > > When a client loads the HTML page, a Javascript function is triggered. This > function performs an Ajax call to the server. In the case of Stuart, I > think he wrote a small fastCgi script that does

Re: [PHP] Creating A Chat?

2009-04-21 Thread tedd
At 5:14 PM +0200 4/21/09, David Négrier wrote: Here is a quick explanation of what is going on behind the scene: -snip- Regards, David. Thanks -- I think I know what's going on. I've done sufficient ajax to know what's going on. However, what I don't understand is: 1. Detecting who is cur

RE: [PHP] Encrypting email

2009-04-21 Thread Per Jessen
tedd wrote: > However, if your client wants to send stuff to anyone and have it > encrypted without knowing who the receiver is going to be, then there > is no way to do this. As long as the intended receiver has the appropriate key to decrypt the email, the client does not need to know the inte

RE: [PHP] Encrypting email

2009-04-21 Thread Per Jessen
Bob McConnell wrote: > From: tedd >> At 8:39 AM -0400 4/21/09, Bob McConnell wrote: >>>I have been asked by a product manager what our options are for >>>encrypting email messages with sensitive information. We are >>>currently using PHPMailer to send email. What can be done to encrypt >>>those me

Re: [PHP] Creating A Chat?

2009-04-21 Thread David Négrier
Here is a quick explanation of what is going on behind the scene: When a client loads the HTML page, a Javascript function is triggered. This function performs an Ajax call to the server. In the case of Stuart, I think he wrote a small fastCgi script that does trap this call (instead of forwardin

Re: [PHP] Encrypting email

2009-04-21 Thread haliphax
On Tue, Apr 21, 2009 at 9:43 AM, Bob McConnell wrote: > From: tedd [mailto:tedd.sperl...@gmail.com] >> At 9:49 AM -0400 4/21/09, Bob McConnell wrote: >> >From: tedd >> >>  At 8:39 AM -0400 4/21/09, Bob McConnell wrote: >> >>>I have been asked by a product manager what our options are for >> >>>enc

Re: [PHP] Creating A Chat?

2009-04-21 Thread Stuart
2009/4/21 tedd : > At 3:27 PM +0100 4/21/09, Stuart wrote: >> >> 2009/4/21 tedd : >>  > That's about it, isn't it? >> >> You know me better than that ;-) >> >> It's a live chat system with no flash in sight. No DB either, the >> whole thing is stored in Memcached. >> >> When you post a message it s

RE: [PHP] Encrypting email

2009-04-21 Thread Bob McConnell
From: tedd [mailto:tedd.sperl...@gmail.com] > At 9:49 AM -0400 4/21/09, Bob McConnell wrote: > >From: tedd > >> At 8:39 AM -0400 4/21/09, Bob McConnell wrote: > >>>I have been asked by a product manager what our options are for > >>>encrypting email messages with sensitive information. We are cur

Re: [PHP] Creating A Chat?

2009-04-21 Thread tedd
At 3:27 PM +0100 4/21/09, Stuart wrote: 2009/4/21 tedd : > That's about it, isn't it? You know me better than that ;-) It's a live chat system with no flash in sight. No DB either, the whole thing is stored in Memcached. When you post a message it should take no longer than a second to get to

Re: [PHP] Check whether a page is Google Cached

2009-04-21 Thread haliphax
On Tue, Apr 21, 2009 at 8:29 AM, Alan Chen wrote: > Hi, everyone, > > I want to write a small PHP script test.php that can determine whether a > webpage is Google Cached. > > Assuming it is uploaded to www.mysite.com, and I want to use it to check > whether www.yoursite.com is google cached. > > I

[PHP] Re: Check whether a page is Google Cached

2009-04-21 Thread Shawn McKenzie
Alan Chen wrote: > Hi, everyone, > > I want to write a small PHP script test.php that can determine whether a > webpage is Google Cached. > > Assuming it is uploaded to www.mysite.com, and I want to use it to check > whether www.yoursite.com is google cached. > > It works as follows: > > The

Re: [PHP] MySQL, MD5 and SHA1

2009-04-21 Thread Andrew Ballard
On Tue, Apr 21, 2009 at 8:34 AM, Grega Leskovsek wrote: > provided I want to store hash of a password in MySQL ... Using MySQL, > the whole check can be achieved with a SQL query, since the MD5 > function is provided as part of the database query language ... > Can I use also SHA1 or must I use MD

Re: [PHP] Creating A Chat?

2009-04-21 Thread Stuart
2009/4/21 tedd : > At 11:57 AM +0100 4/21/09, Stuart wrote: >> >> Not sure what you mean by "chats" but is it anything like this... >> >>    http://pnotes.org/ >> >> If so then I'm happy to talk about how I implemented it. Unfortunately >> I can't release the code because it was developed for a cli

Re: [PHP] Creating A Chat?

2009-04-21 Thread Bastien Koert
On Tue, Apr 21, 2009 at 10:20 AM, tedd wrote: > At 11:57 AM +0100 4/21/09, Stuart wrote: > >> Not sure what you mean by "chats" but is it anything like this... >> >>http://pnotes.org/ >> >> If so then I'm happy to talk about how I implemented it. Unfortunately >> I can't release the code beca

Re: [PHP] Let me google that for you.

2009-04-21 Thread haliphax
On Fri, Apr 17, 2009 at 1:01 PM, 9el wrote: > If you play with jQuery its easy. > > And if you talk about JavaScript's urlencode functionality you wont ask > about 'how to remove the + sign' > > I'm not very good yet on jQuery or else I would have shown you the codes. jQuery doesn't make this muc

Re: [PHP] Encrypting email

2009-04-21 Thread Bastien Koert
On Tue, Apr 21, 2009 at 10:14 AM, tedd wrote: > At 9:49 AM -0400 4/21/09, Bob McConnell wrote: > >> From: tedd >> >>> At 8:39 AM -0400 4/21/09, Bob McConnell wrote: >>> I have been asked by a product manager what our options are for encrypting email messages with sensitive information.

Re: [PHP] Creating A Chat?

2009-04-21 Thread tedd
At 11:57 AM +0100 4/21/09, Stuart wrote: Not sure what you mean by "chats" but is it anything like this... http://pnotes.org/ If so then I'm happy to talk about how I implemented it. Unfortunately I can't release the code because it was developed for a client, but it's pretty simple in conc

[PHP] Check whether a page is Google Cached

2009-04-21 Thread Alan Chen
Hi, everyone, I want to write a small PHP script test.php that can determine whether a webpage is Google Cached. Assuming it is uploaded to www.mysite.com, and I want to use it to check whether www.yoursite.com is google cached. It works as follows: The user input the query: http://www.mysit

RE: [PHP] Encrypting email

2009-04-21 Thread tedd
At 9:49 AM -0400 4/21/09, Bob McConnell wrote: From: tedd At 8:39 AM -0400 4/21/09, Bob McConnell wrote: I have been asked by a product manager what our options are for encrypting email messages with sensitive information. We are currently using PHPMailer to send email. What can be done to enc

RE: [PHP] Encrypting email

2009-04-21 Thread Bob McConnell
From: tedd > At 8:39 AM -0400 4/21/09, Bob McConnell wrote: >>I have been asked by a product manager what our options are for >>encrypting email messages with sensitive information. We are currently >>using PHPMailer to send email. What can be done to encrypt those >>messages? Can it be done withou

Re: [PHP] MAIL Error

2009-04-21 Thread tedd
At 12:58 PM +0530 4/21/09, wrote: P Save a tree...please don't print this e-mail unless you really need to Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive

Re: [PHP] Encrypting email

2009-04-21 Thread tedd
At 8:39 AM -0400 4/21/09, Bob McConnell wrote: I have been asked by a product manager what our options are for encrypting email messages with sensitive information. We are currently using PHPMailer to send email. What can be done to encrypt those messages? Can it be done without OOP? Server conf

Re: [PHP] MAIL Error

2009-04-21 Thread Daniel Brown
On Tue, Apr 21, 2009 at 03:28, wrote: > Hi All, > > While using $m=new MAIL; I get an error "Fatal error: Class 'MAIL' not > found in...". > > Can anyone help on this? Maybe if you provided the relevant code and not just a single variable instantiation. Also, per the rules of the list (

Re: [PHP] Encrypting email

2009-04-21 Thread Per Jessen
Bob McConnell wrote: > I have been asked by a product manager what our options are for > encrypting email messages with sensitive information. We are currently > using PHPMailer to send email. What can be done to encrypt those > messages? Can it be done without OOP? > Yes, that's no problem. Lo

[PHP] Encrypting email

2009-04-21 Thread Bob McConnell
I have been asked by a product manager what our options are for encrypting email messages with sensitive information. We are currently using PHPMailer to send email. What can be done to encrypt those messages? Can it be done without OOP? Server configuration: RHEL 5 Apache 2.0 PHP 5.2.3 PH

Re: [PHP] MySQL, MD5 and SHA1

2009-04-21 Thread Per Jessen
Grega Leskovsek wrote: > provided I want to store hash of a password in MySQL ... Using MySQL, > the whole check can be achieved with a SQL query, since the MD5 > function is provided as part of the database query language ... > Can I use also SHA1 or must I use MD5? > You could have just checke

[PHP] MySQL, MD5 and SHA1

2009-04-21 Thread Grega Leskovsek
provided I want to store hash of a password in MySQL ... Using MySQL, the whole check can be achieved with a SQL query, since the MD5 function is provided as part of the database query language ... Can I use also SHA1 or must I use MD5? Thanks in advance, -- When the sun rises I receive and when

Re: [PHP] Creating A Chat?

2009-04-21 Thread Stuart
Please read things more carefully before responding... I was answering the question, not asking it. -Stuart 2009/4/21 David Négrier : > > Hi Stuart, > > Indeed, in order to create a chat, you need to be able to push messages > from the server to the browser. > There are several techniques in orde

Re: [PHP] problems with gnupg extension.

2009-04-21 Thread Ian
On 20 Apr 2009 at 11:37, Ray wrote: > Any suggestions, Anyone? > Ray Hi, I adapted these scripts for my own user and have not had any problems: http://www.theoslogic.com/scripts/php-gpg/ It does not use the gnupg extension at all but popen() or proc_open(). Regards Ian -- -- PHP Gene

Re: [PHP] Creating A Chat?

2009-04-21 Thread David Négrier
Hi Stuart, Indeed, in order to create a chat, you need to be able to push messages from the server to the browser. There are several techniques in order to do that. One is the long polling technique (or Reverse Ajax). It requires a lot of Javascript. The other is going through a Flash server. In

Re: [PHP] Creating A Chat?

2009-04-21 Thread Stuart
2009/4/20 Nitsan Bin-Nun : > Hi Guys, > > I have created few chats in the past, but I'm trying to create a new one > which saves on HTTP requests and do not become an overkill to the server as > more users get in. > > The chat is a one on one, I'm trying to achieve this: > * A user sends a message

Re: [PHP] self in inherited methods

2009-04-21 Thread Stuart
2009/4/19 Alex S Kurilo aka Kamazee : > Is it right that 'self' in inherited method still points to the parent? > If it is, can you explain it? It makes me worry :) > > A piece of code below for example > > class MyParent { >       const NAME = 'MyParent'; >       public function get_instance() {

Re: RE: [PHP] MAIL Error

2009-04-21 Thread zhoo
you don't include the mail class? or the include path is incorrect . 2009-04-21 zhoo 发件人: Warren Vail 发送时间: 2009-04-21 15:41:25 收件人: ramesh.marimu...@wipro.com; php-general@lists.php.net 抄送: 主题: RE: [PHP] MAIL Error Isn't mail a function and not a class? Warren > -Original

RE: [PHP] MAIL Error

2009-04-21 Thread Warren Vail
Isn't mail a function and not a class? Warren > -Original Message- > From: ramesh.marimu...@wipro.com [mailto:ramesh.marimu...@wipro.com] > Sent: Tuesday, April 21, 2009 12:29 AM > To: php-general@lists.php.net > Subject: [PHP] MAIL Error > > Hi All, > > While using $m=new MAIL; I get

[PHP] MAIL Error

2009-04-21 Thread ramesh.marimuthu
Hi All, While using $m=new MAIL; I get an error "Fatal error: Class 'MAIL' not found in...". Can anyone help on this? regards, -ramesh P Save a tree...please don't print this e-mail unless you really need to Please do not print this email unless it is absolutely necessary. The information co

SV: [PHP] URL data decoding problem

2009-04-21 Thread Anders Norrbring
> On Tue, 2009-04-21 at 08:39 +0200, Anders Norrbring wrote: > > I'm working on a PayPal IPN module, and PayPal returns a lot of data > in a > > GET call. > > The problem is that international characters entered by a user on the > PayPal > > site gets encoded really weird, and I don't see an obviou