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 obvious way to decode
them, can someone please assist?
My website is running utf-8 all
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 obvious way to decode
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 obvious way to
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
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 an
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 m...@kamazee.name:
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
?php
class MyParent {
const NAME = 'MyParent';
public function
2009/4/20 Nitsan Bin-Nun nit...@binnun.co.il:
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
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.
Please read things more carefully before responding... I was answering
the question, not asking it.
-Stuart
2009/4/21 David Négrier d.negr...@thecodingmachine.com:
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
On 20 Apr 2009 at 11:37, Ray wrote:
snip
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
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
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 checked
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
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. Look
On Tue, Apr 21, 2009 at 03:28, ramesh.marimu...@wipro.com 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
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
At 12:58 PM +0530 4/21/09, ramesh.marimu...@wipro.com 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
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 without OOP?
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
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:
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
On Tue, Apr 21, 2009 at 10:14 AM, tedd tedd.sperl...@gmail.com 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
On Fri, Apr 17, 2009 at 1:01 PM, 9el le...@phpxperts.net 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
On Tue, Apr 21, 2009 at 10:20 AM, tedd tedd.sperl...@gmail.com 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
2009/4/21 tedd tedd.sperl...@gmail.com:
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
On Tue, Apr 21, 2009 at 8:34 AM, Grega Leskovsek mavri...@gmail.com 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
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 user input
On Tue, Apr 21, 2009 at 8:29 AM, Alan Chen c...@datanumen.com 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
At 3:27 PM +0100 4/21/09, Stuart wrote:
2009/4/21 tedd tedd.sperl...@gmail.com:
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
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
currently
using
2009/4/21 tedd tedd.sperl...@gmail.com:
At 3:27 PM +0100 4/21/09, Stuart wrote:
2009/4/21 tedd tedd.sperl...@gmail.com:
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.
On Tue, Apr 21, 2009 at 9:43 AM, Bob McConnell r...@cbord.com 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
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
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 messages? Can it
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
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
2009/4/21 David Négrier d.negr...@thecodingmachine.com:
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
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 know
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
2009/4/21 tedd tedd.sperl...@gmail.com:
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
2009/4/21 David Négrier d.negr...@thecodingmachine.com:
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:
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 halip...@gmail.com wrote in message
news:952625160904210725j5aa0d50bvbc258d1103357...@mail.gmail.com...
On Fri, Apr 17, 2009
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
2009/4/21 David Négrier d.negr...@thecodingmachine.com:
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
--
®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 dond;t
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 dmag...@gmail.com:
How does one deal with that? Do you use mysql_real_escape_string?
e.g.
?php
$db_host = 'localhost';
$db_user = 'auser';
$db_pwd = 'apassword';
$database = 'adatabase';
$table = 'authorBook';
if (!mysql_connect($db_host, $db_user, $db_pwd))
2009/4/21 ®0L¥ rol...@gmail.com:
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,
2009/4/21 Andrew Ballard aball...@gmail.com:
On Tue, Apr 21, 2009 at 8:34 AM, Grega Leskovsek mavri...@gmail.com 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
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
encryption,
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
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
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 matt...@thorslund.us 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.
Andrew Ballard wrote:
On Tue, Apr 21, 2009 at 4:04 PM, Mattias Thorslund matt...@thorslund.us 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
On Tue, Apr 21, 2009 at 4:21 PM, Mattias Thorslund matt...@thorslund.us wrote:
Andrew Ballard wrote:
On Tue, Apr 21, 2009 at 4:04 PM, Mattias Thorslund matt...@thorslund.us
wrote:
Hi all,
Apparently, $_SERVER['REQUEST_URI'] doesn't get set the same way when
running PHP on IIS as when
Andrew Ballard wrote:
On Tue, Apr 21, 2009 at 8:34 AM, Grega Leskovsek mavri...@gmail.com 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 ...
How to deactivate checkboxes when one in a series is checked?
input type=checkbox name=choice[1]another input
input type=checkbox name=choice[2]another input1
input type=checkbox name=choice[3]another input2
input type=checkbox name=choice[4]another input3
So that only 1 of the other inputs could
PJ wrote:
How to deactivate checkboxes when one in a series is checked?
input type=checkbox name=choice[1]another input
input type=checkbox name=choice[2]another input1
input type=checkbox name=choice[3]another input2
input type=checkbox name=choice[4]another input3
So that only 1 of the
Thank you so much.
haliphax halip...@gmail.com
дÈëÏûÏ¢ÐÂÎÅ:952625160904210738k494b892dlac3bb1b8e809f...@mail.gmail.com...
On Tue, Apr 21, 2009 at 8:29 AM, Alan Chen c...@datanumen.com wrote:
Hi, everyone,
I want to write a small PHP script test.php that can determine whether a
webpage is
I have a PHP script which uses the PHP 'mail' function. When the
script's 'to' address is an ATT address, such as my own as an ATT ISP
customer, the mail never gets to me. If the 'to' address is anything
other than an ATT address, the mail gets to the recipient. The PHP code
for sending the
On Apr 21, 2009, at 20:32, Edward Diener el...@tropicsoft.com wrote:
I have a PHP script which uses the PHP 'mail' function. When the
script's 'to' address is an ATT address, such as my own as an ATT
ISP customer, the mail never gets to me. If the 'to' address is
anything other than an
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 ATT 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 sholme...@mac.com
Date: Tue, Apr 21, 2009 at 10:13 PM
Subject: Re: [PHP] MySQL, MD5 and SHA1
To: Per Jessen p...@computer.org
On Tue, Apr 21, 2009 at 1:35 PM, Per Jessen p...@computer.org wrote:
Jan
Michael A. Peters mpet...@mac.com wrote in message
news:49e4d4ca.7060...@mac.com...
scubak1w1 wrote:
Michael A. Peters mpet...@mac.com wrote in message
news:49e41267.5010...@mac.com...
scubak1w1 wrote:
I have a series of web sites which use https:// authentication (using
AD integration
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 el...@tropicsoft.com wrote:
I have a PHP script which uses the PHP 'mail' function. When the
script's 'to' address is an ATT address, such as my own as an ATT
ISP customer, the mail never gets to me. If the 'to' address is
anything
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 ATT 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 ATT gives out that sort of access ;)
Exactly.
The idea
scubak1w1 sk...@spamcop.net 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!]
Edward Diener el...@tropicsoft.com 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
On Tue, Apr 21, 2009 at 9:02 PM, scubak1w1 sk...@spamcop.net wrote:
scubak1w1 sk...@spamcop.net 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
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:
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'll
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
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
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 than the
82 matches
Mail list logo