Depending on your mail server, you could possibly get your mail server
to run a php script on an incoming email.
Clive
Yui Hiroaki wrote:
Thank you for your response.
I try to write a code.
I actualy want to do;
1) some body send email to me; for example; to [EMAIL PROTECTED] from [EMAIL
Hi - What Al said, but you want to use the url_encode/url_decode
functions in php
Clive
Churchill, Craig wrote:
Hello,
One of the values I'm passing in a URL string contains multiple spaces.
...
(The multiple spaces are between Argononemertes and australiensis)
However when I retrieve the v
clive schreef:
Hi - What Al said, but you want to use the url_encode/url_decode
functions in php
you don't need to use url_decode() because php will do that automatically
for incoming data - the caveat being situations where double urlencoding is
being used (anyone playing with multiple redirec
Hello there,
I am looking for an implementation for XAdES signature in PHP.
I found nothing on the net for PHP (perhaps I'm a bad researcher! :-) ),
but lot of things for Java
Does somebody know a package for XAdES in PHP or it's a good idea to
begin a new project?
Thanks for your response.
On Mon, 14 Jan 2008 10:17:03 +0100, Jochem Maas wrote:
> clive schreef:
>> Hi - What Al said, but you want to use the url_encode/url_decode
>> functions in php
>
> you don't need to use url_decode() because php will do that automatically
> for incoming data - the caveat being situations where do
thanks, Nisse, for clearing up my half-baked-monday-morning answer.
AFAICT (now that I have woken up somewhat) you are indeed correct.
Nisse Engström schreef:
On Mon, 14 Jan 2008 10:17:03 +0100, Jochem Maas wrote:
clive schreef:
Hi - What Al said, but you want to use the url_encode/url_decode
Eric Butera wrote:
On 1/12/08, Naz Gassiep <[EMAIL PROTECTED]> wrote:
I'm using simplexml to fetch data from a set of data files. If I have
two files, and one is an update to the other, is there an easy way to
merge the two files together, rather than having write logic that checks
one and t
Naz Gassiep wrote:
Eric Butera wrote:
On 1/12/08, Naz Gassiep <[EMAIL PROTECTED]> wrote:
I'm using simplexml to fetch data from a set of data files. If I have
two files, and one is an update to the other, is there an easy way to
merge the two files together, rather than having write logic th
Well, just for the sake of anybody in my situation finding this thread in the
future -- the workaround is to use this:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ /redirectTest2/verify.php?page=$1&%{QUERY_STR
hi list,
(sorry for being offtopic)
the company I work for (international moving/logistics company) is
looking for php developers now, for participating in a quite big
project. we have a young and brilliant team, working with us is cool :)
at least 3 years of PHP/HTML experience,
On Mon, January 14, 2008 4:10 am, Pierre Pintaric wrote:
> I am looking for an implementation for XAdES signature in PHP.
> I found nothing on the net for PHP (perhaps I'm a bad researcher! :-)
> ),
> but lot of things for Java
>
> Does somebody know a package for XAdES in PHP or it's a good idea t
On Sun, January 13, 2008 6:04 pm, Churchill, Craig wrote:
> One of the values I'm passing in a URL string contains multiple
> spaces.
>
> ...
> (The multiple spaces are between Argononemertes and australiensis)
*ALL* data passed by URL to GET should be urlencoded:
http://php.net/urlencode
urlenco
On Mon, January 14, 2008 3:17 am, Jochem Maas wrote:
> I think actually the whole url should be urlencoded as a matter of
> course, not
> 100% sure about this (and it's way to early on a monday to bother
> checking up ;-) ...
> maybe someone else can chime in?
Actually, after you urlencode() the v
On Sun, January 13, 2008 12:54 pm, Danny Brow wrote:
> Just wondering if anyone could tell me how reliable the DESC order
> option is going to be when I am parsing thousands of records where
> they
> are multiple ChartNo's for the same clientNo. Or is there a better way
> to grab the most recent Ch
On Sat, January 12, 2008 9:42 pm, Chuck wrote:
> I have some code doing some checks that sit inside div tags using href
> elements:
> ...
>
> >Panel1
> ...
>
> In code.php, if various conditions aren't met, this script will do a
> bunch of house cleaning, logging, then redirect using
On Sun, January 13, 2008 11:32 am, Europus wrote:
> It's pretty much the same. With var_dump(), values from the first row
> of the table are iterated twice, the script is not looping through and
> reporting all 2100 rows. Grossly similar behavior was observed with
> print_r() and echo: while differ
On Sun, January 13, 2008 3:46 pm, Yui Hiroaki wrote:
> Thank you for your response.
>
> I try to write a code.
>
> I actualy want to do;
>
> 1) some body send email to me; for example; to [EMAIL PROTECTED] from
> [EMAIL PROTECTED]
> 2)read it's email
> 3)return to [EMAIL PROTECTED]
>
> so I can not
> 1) some body send email to me; for example; to [EMAIL PROTECTED] from
[EMAIL PROTECTED]
> 2)read it's email
The easiest way to do it is to get the emails deposited into a POP3
email account and then read that, possibly with the Net_POP3 code in PEAR.
> 3)return to [EMAIL PROTECTED]
After r
At 3:50 PM +0100 1/13/08, Jochem Maas wrote:
to avoid this in future never add the closing php bracket to the end of
the php file (unless you explicitly want to output something after the
code in question - which is almost never the case), it is not required.
e.g.
- >8 info.php
On Sat, January 12, 2008 12:29 pm, [EMAIL PROTECTED] wrote:
> Hello to everybody,
>
> I am using the following function in order to search in
> multi-dimensional array, as per note added on
> http://it.php.net/array_search,
> [code]
> function array_search_recursive($data0, $FinRecSet, $a=0,
> $no
On Fri, January 11, 2008 3:54 pm, Greg Donald wrote:
> On 1/11/08, Richard Lynch <[EMAIL PROTECTED]> wrote:
>> This strikes me as if you've got a Private/Public key issue where
>> you
>> neglected to generate/install a key-pair...
>
> Yeah, the "certificate" error message makes me think something i
On Fri, January 11, 2008 3:00 pm, PostTrack [Dan Brown] wrote:
> Messages| Bytes | Sender
> +-+--
> 226 (100%) 255776 (100%) EVERYONE
> 81(0.36%) 43996(0.17%) "PostTrack [Dan Br
On Jan 14, 2008 1:12 PM, Richard Lynch <[EMAIL PROTECTED]> wrote:
> I think you've got an extra divide by 100 in there somewhere, as
> 81/226 is ~ 36% in most countries.
> php -a
> Interactive mode enabled
Yeah, that was something that I forgot to fix in the blast that
the script sent out (due
On Jan 14, 2008 1:12 PM, Richard Lynch <[EMAIL PROTECTED]> wrote:
> On Fri, January 11, 2008 3:00 pm, PostTrack [Dan Brown] wrote:
>
> > Messages| Bytes | Sender
> > +-+--
> > 226 (100%) 255776 (100%) E
Richard Lynch wrote:
$link = mysql_pconnect('$host', '$login', '$passwd');
'$host' is not right.
$host is right.
Ditto for ALL your values throughout this script.
I know. I knew. I knew that variables do not need quotes, that
single quoted variables get parsed literally. I edited the email
On Fri, January 11, 2008 2:18 pm, Manuel Lemos wrote:
> on 01/11/2008 06:03 PM Richard Heyes said the following:
>>> If you have your sendmail equivalent program properly configured,
>>> no
>>> SMTP connection is used when queueing messages using the sendmail
>>> program.
>>
>> What about when you
On Sat, January 12, 2008 4:28 am, Richard Heyes wrote:
Assuming you're talking delivery to a local MTA (which will
subsequently do the remote delivery), is speed really important?
>>> For the amount of email I'm looking at (1000s, growing), yes.
>>>
>>
>> Hmm, that's not quite what I was
> -Original Message-
> From: Richard Lynch [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 14, 2008 2:11 PM
> To: Jochem Maas
> Cc: clive; Churchill, Craig; php-general@lists.php.net
> Subject: Re: [PHP] $_GET and multiple spaces.
>
> On Mon, January 14, 2008 3:17 am, Jochem Maas wrote:
On Thu, January 10, 2008 10:00 pm, Arlen Christian Mart Cuss wrote:
> Why is it that if I try to evaluate an index of an array returned by a
> function immediately, a syntax error is produced? (unexpected '[',
> expecting ',' or ';')
Because PHP is not C.
It's language-design was chosen to not le
In phpinfo() output, PHP tells you where it is looking for its php.ini
file.
If you aren't changing a php.ini file in that location, then PHP isn't
going to see it...
On Thu, January 10, 2008 4:59 pm, Ryan H. Madison wrote:
> Hello,
>
> I am trying to increase upload_max_filesize beyo
On Thu, January 10, 2008 10:43 am, Humani Power wrote:
> Hi everybody.
> I have a page with 3 combo box that contains rows from an oracle
> database.
> What I want to do, is to make those list dependant one from another.
>
> Let say that I have the combo boxes on a page1.php, then on change the
>
On Thu, January 10, 2008 9:15 pm, Lucas Prado Melo wrote:
> Some php applications store database passwords into files which can be
> read by the user www-data.
> So, a malicious user which can write php scripts could read those
> passwords.
> What should I do to prevent users from viewing those pas
All the browsers cache unless the end user works at it to change that,
or you force it to not cache by giving it a different URL each time.
Playing games with "no-cache" headers (et al) will only give you a
bug-list of arcane browwses that don't honor those headers.
YMMV
On Fri, January 11, 2008
On Fri, January 11, 2008 7:12 am, Christoph Boget wrote:
> Given the following array:
>
>$myArr = array( 'joe' => 'bob', "0" => 'briggs', 'whatever',
> 'whereever');
> echo '' . print_r( $myArr, TRUE ) . '';
> ?>
>
> Array
> (
> [joe] => bob
> [0] => briggs
> [1] => whatever
> [2] => wher
On Thu, January 10, 2008 4:22 am, John Papas wrote:
> Is there any functionality in PHP similar to closures?
Sort of.
There is a create_function:
http://php.net/create_function
> Are there any plans to add it..?
There was discussion on the php-internals list last week about
replacing create_fun
On Mon, 2008-01-14 at 10:59 -0600, Richard Lynch wrote:
> After a quick Google to find out what the Hades is XAdES, I'd suggest
> you look for a C implementation and link it in as an extension.
There are a couple of implementations of XMLDSIG in PHP that I have
seen, although none really up to sc
Europus schreef:
Richard Lynch wrote:
...
Aside, does everyone else think you are a butthead or are we off
to a bad start? Let's fix that, can we?
there is no 'we' in 'you'. Richard's posted more answers to more
posts on this list than you have written line of code in your life
...probabl
Hello,
on 01/14/2008 02:16 PM Zoltán Németh said the following:
> hi list,
>
> (sorry for being offtopic)
>
> the company I work for (international moving/logistics company) is
> looking for php developers now, for participating in a quite big
> project. we have a young and brilliant tea
Richard Lynch schreef:
On Sun, January 13, 2008 12:54 pm, Danny Brow wrote:
Just wondering if anyone could tell me how reliable the DESC order
option is going to be when I am parsing thousands of records where
they
are multiple ChartNo's for the same clientNo. Or is there a better way
to grab th
Yes, you are 100% correct David Powers, I did not include enough information
to get the advice I was asking for. I really need to learn to ask better
questions, so I can get the help I seek... there a book for that lol
No really, I would like to take the time to clarify my question as you
sugg
> -Original Message-
> From: Andrés Robinet [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 15 January 2008 6:33 AM
> To: php-general@lists.php.net
> Subject: RE: [PHP] $_GET and multiple spaces.
> Like this?
>
> $url =
> htmlspecialchars('whatever.php?'.urlencode($name).'='.urlencode($value)
Hello,
on 01/14/2008 04:15 PM Richard Lynch said the following:
If you have your sendmail equivalent program properly configured,
no
SMTP connection is used when queueing messages using the sendmail
program.
>>> What about when you take into consideration this program could be
On Mon, January 14, 2008 1:33 pm, Andrés Robinet wrote:
>> -Original Message-
>> From: Richard Lynch [mailto:[EMAIL PROTECTED]
>> Sent: Monday, January 14, 2008 2:11 PM
>> To: Jochem Maas
>> Cc: clive; Churchill, Craig; php-general@lists.php.net
>> Subject: Re: [PHP] $_GET and multiple spac
On Mon, January 14, 2008 12:22 pm, Eric Butera wrote:
> Looks like someone else is trying to win this week after weeks of
> semi-silence. :)
Not really.
Just happened to need a break from hacking.
Besides, if you run the numbers for all time going back to when there
was only one (1) PHP mailing
Hello,
I have a freebsd 6.2 server running amd64 version with php 5.2.5. The
web server is Apache 1.3.39. The following bit of code works on the 32
bit version of php running on Freebsd 6.2 (32 bit), Apache 1.3.39 build
but causes a 500 internal server error when run on the amd64 bit
version.
On Wed, January 9, 2008 9:45 pm, Tim Traver wrote:
> Thank you for answering, but the issue is that the PHP SOAPClient
> classes actually create that xml to send, so I have no control over
> the
> xml that is sent with a call command to the SOAP object...
>
> I just wondered if there was any flags
On Mon, January 14, 2008 12:21 pm, Europus wrote:
> Richard Lynch wrote:
>
>>> $link = mysql_pconnect('$host', '$login', '$passwd');
>>
>> '$host' is not right.
>>
>> $host is right.
>>
>> Ditto for ALL your values throughout this script.
>
> I know. I knew. I knew that variables do not need quotes
Sancar Saran schreef:
On Sunday 13 January 2008 21:42:28 Jochem Maas wrote:
no race conditions occur in code written in php? true that there is
no direct race conditions that can occur as a direct result of running code
but obviously you've never dealt with multi-user systems using a databse
bac
On Wed, January 9, 2008 9:54 pm, Liam wrote:
> How can I display the returned HTML contents of a cgi (Perl) script,
> without get parameters?
The same way you would do it WITH the parameters, as outlined by
several people in this (previous) thread already.
You are actually reading the answers, ri
Hello Jochem,
>
> no not in the slightest. both those bits of code are identical for one
> (apart from the fact that neither are valid syntax). and whatever your
> trying to point out it's beside the point (I think). any possible race
> condition will be occuring with the code that *sets* data into
> -Original Message-
> From: Richard Lynch [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 14, 2008 7:08 PM
> To: Andrés Robinet
> Cc: php-general@lists.php.net
> Subject: RE: [PHP] $_GET and multiple spaces.
>
> On Mon, January 14, 2008 1:33 pm, Andrés Robinet wrote:
> >> -Original
On Wed, January 9, 2008 10:39 pm, Liam wrote:
> 2) Not count as though the user manually navigated to that page (for
> my
> sanity when checking the site statistics!)
> and
Configure statistics package to not count your own server hits.
Problem solved.
If no allow_url_fopen, then use curl.
If n
> -Original Message-
> From: Anjan Upadhya [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 14, 2008 7:18 PM
> To: php-general@lists.php.net
> Subject: [PHP] Freebsd 6.2 amd64 PHP 5.2.5 Internal Server Error
>
> Hello,
>
> I have a freebsd 6.2 server running amd64 version with php 5.2.5.
Andrés Robinet schreef:
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]
Sent: Monday, January 14, 2008 7:08 PM
To: Andrés Robinet
Cc: php-general@lists.php.net
Subject: RE: [PHP] $_GET and multiple spaces.
On Mon, January 14, 2008 1:33 pm, Andrés Robinet wrote:
-Ori
> -Original Message-
> From: Jochem Maas [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 14, 2008 8:34 PM
> To: Andrés Robinet
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] $_GET and multiple spaces.
>
> Andrés Robinet schreef:
> >> -Original Message-
> >> From: Richard Ly
> -Original Message-
> From: Richard Lynch [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 14, 2008 7:21 PM
> To: Tim Traver
> Cc: Bastien Koert; PHP General List
> Subject: Re: [PHP] PHP SOAP Client formats
>
> On Wed, January 9, 2008 9:45 pm, Tim Traver wrote:
> > Thank you for answeri
Andrés Robinet schreef:
-Original Message-
...
$name = 'mylist[myindex]';
this is almost an invite to moan about how http_build_query() was
'fixed'
in 5.1.3 to escape square brackets ... which makes php nolonger do one
of
the coolest, imho, with regard to incoming GET/POST values -
Sean-Michael schreef:
Yes, you are 100% correct David Powers, I did not include enough information
to get the advice I was asking for. I really need to learn to ask better
questions, so I can get the help I seek... there a book for that lol
No really, I would like to take the time to clarify
On Monday 14 January 2008, Richard Lynch wrote:
> And, actually, the implementation that seemed to get the most
> approbation was a simple way to create a function as a kind of a
> resource (like a MySQL connection resource) and then you could pass it
> around and use it.
>
> It still didn't have
Jochem Maas wrote:
there is no 'we' in 'you'.
There's no "Jochem" in there either. No offense taken, btw.
Richard's posted more answers to more
posts on this list than you have written line of code in your life
...probably.
And yet. No, I'm not going to say what happened elsewhere, to you
Richard Lynch wrote:
The $result may have many, many, many rows in it.
You can find out HOW many by using:
http://php.net/mysql_num_rows
This has already been resolved, but I'd like to learn what I can
from you re: your earlier comments, above.
Your take-home should not be that switching from
On Mon, January 14, 2008 8:13 pm, Larry Garfield wrote:
> On Monday 14 January 2008, Richard Lynch wrote:
>> If you want something that esoteric, go use Lisp. :-)
>
> You are aware that of the "modern" web languages (PHP, Javascript,
> Python,
> Ruby, etc.) PHP is the only one that doesn't have at
This is problematic code, even though it works, because it
auto-generates an unnecessary xmlns: attribute:
$item->addChild('itunes:subtitle', $mySubTitle,"itunes");
It generates the following XML:
Musical Mockery
When really all we want is this:
Musical Mockery
Furthermore, dumping it into a
On Jan 14, 2008 6:11 PM, Sancar Saran <[EMAIL PROTECTED]> wrote:
> Hello Jochem,
> >
> > no not in the slightest. both those bits of code are identical for one
> > (apart from the fact that neither are valid syntax). and whatever your
> > trying to point out it's beside the point (I think). any po
On Jan 14, 2008 8:48 PM, Andrés Robinet <[EMAIL PROTECTED]> wrote:
> The only problem I had with nuSOAP was a name clash with the PHP 5 native
> extension. But they fixed it in November (there was a previous
> non-official
> fix also.. but can't remember the link right now).
> nuSOAP has been arou
when it comes to create_function(), id say its just as painful as building
functions with html or writing queries by hand. namely, its prone to a lot
of string escaping which produces awful hard to read code. i mean, the
kind of code you write yourself and then look at a week later and say
'what
On Jan 14, 2008 10:22 PM, Carole E. Mah <[EMAIL PROTECTED]> wrote:
> This is problematic code, even though it works, because it
> auto-generates an unnecessary xmlns: attribute:
>
> $item->addChild('itunes:subtitle', $mySubTitle,"itunes");
>
> It generates the following XML:
>
> Musical Mockery
>
Yes, I tried the following:
http://us3.php.net/manual/en/function.dom-domdocument-createelementns.php
Same results.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sean-Michael wrote:
I really need to learn to ask better questions, so I can get the help I seek...
there a book for that lol
http://catb.org/~esr/faqs/smart-questions.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What's the current status on this bug:
http://bugs.php.net/bug.php?id=39164
Regardless of what the PHP developers say in those comments, the
modification of data when it is read is not correct. If it is intended
behavior, then the developer/s who intend it to be that way are wrong.
Under no c
Hi,
I have one question about $_POST ['something'] array...
I am trying to use a form and php in a same file and when I am using the
form for the first time, Any $_POST index which I use in the form is not
defined (which is logical)...how can I remove any warning about undefined
index of $_
On Jan 14, 2008, at 1127PM, Lukáš Moravec wrote:
I have one question about $_POST ['something'] array...
I am trying to use a form and php in a same file and when I am using
the
form for the first time, Any $_POST index which I use in the form is
not
defined (which is logical)...how can I r
72 matches
Mail list logo