> 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
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
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
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
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() {
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
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
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
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
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
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
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
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
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 (
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
®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
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')
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,
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
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
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
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
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
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. "
-
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
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
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
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
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
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
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
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
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
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
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
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
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
-
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
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
""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
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) -
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
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
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
""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
"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
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
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
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'
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
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
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
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
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
82 matches
Mail list logo