"John Nichel" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> Joachim Person wrote:
>> I tried to make the simple program
>>
>> > $mbox = imap_open("{imap.liu.se:993}", "joape382", "fil");
>>
>> echo "Mailboxes\n";
>> $folders = imap_listmailbox($mbox, "{imap.liu.se:993}", "*");
Can you help me for this problem
Regards,
Nilesh Narkhede
-Original Message-
From: Gabor Hojtsy [mailto:[EMAIL PROTECTED]
Sent: Friday, September 16, 2005 9:34 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: PATH_INFO/PATH_TRANSLATED
Hi Nilesh,
Since your problem has not
On Sat, 2005-09-17 at 00:14, Jasper Bryant-Greene wrote:
> leaf wrote:
> >
> > Actually I choose array_pop for 2 reasons.
> > I like short code. I don't want to read thousands of lines just to get
> > an idea. I tend to think in very compact code. if you find that ugly and
> > unreadable. that's
leaf wrote:
Actually I choose array_pop for 2 reasons.
I like short code. I don't want to read thousands of lines just to get
an idea. I tend to think in very compact code. if you find that ugly and
unreadable. that's your preference. I find extended coding very ugly,
mostly because I'm a slo
- Original Message -
From: "Joerg P" <[EMAIL PROTECTED]>
To:
Sent: Friday, September 16, 2005 2:07 PM
Subject: [PHP] xml first special char
hello,
I have some words with german special chars in mysql. When I print those
strings direct as xml to the browser, everything seems fine.
- Original Message -
From: "Jasper Bryant-Greene" <[EMAIL PROTECTED]>
To:
Sent: Friday, September 16, 2005 4:45 PM
Subject: Re: [PHP] Quick Poll: PHP 4 / 5
Stephen Leaf wrote:
So yes a bug. But for those that want to be able to grab only what we
need. in my case array_pop's returne
We need to protect our intellectual property. We wish to encode or obfuscate
our PHP code before delivering it to a client.
Could someone recommend an free PHP encoder or obfuscating tool. (This is a
very small project so we can NOT justify buying the Zend encoder. However,
if there is any othe
For anyone unfamillair with Signals and Slots, have a read:
http://doc.trolltech.com/3.3/signalsandslots.html
It certainly cleared things up for me a bit.
I'll comment in a bit, when they're formulated a bit more clearly...
--Rob
Konrad Kleine wrote:
Qt like Signals and Slots (Idea + Implemen
http://www.iamcal.com/publish/articles/php/parsing_email/
The author goes through RFC822 in detail and writes up a regex that
validates emails based on that. It's worked in my experience, but I
havn't exactly put it through its paces.
--Rob
bruce wrote:
hi..
looking for a good/working/tes
Hello,
on 09/15/2005 09:32 AM Oliver Grätz said the following:
First of all, in many cases code reuse still is a myth. I hate to say it
but it's true. Then, a large potion of the PHP community hasn't even
heard of PEAR. Then, people definitely start projects from scratch. If
You don't know if yo
Hello,
on 09/15/2005 07:10 AM Oliver Grätz said the following:
NEWSFLASH: PDO already exists for PHP 4:
http://www.phpclasses.org/pdo
One can't implement overloading of the Zend Engine 2 in PHP4 so this is
Who is going to miss that? Anyway, I don't think that is the point of
PDO for PHP 4.
Stephen Leaf wrote:
So yes a bug. But for those that want to be able to grab only what we need. in
my case array_pop's returned element. I don't wanna be hassled with the "are
you sure you wanted to ignore part of what we did?"
It's almost like every program asking "are you sure you wanted to cl
Brad Dameron wrote:
On Fri, 2005-09-16 at 15:33 -0400, John Nichel wrote:
The OS install will take between 1 - 3 hours, depending on the machine.
Setting up mod_rewrite to work via .htaccess is simple; compile it in,
and make sure it's allowed to work via .htaccess in the httpd.conf. Not
re
On Fri, 2005-09-16 at 15:33 -0400, John Nichel wrote:
> The OS install will take between 1 - 3 hours, depending on the machine.
> Setting up mod_rewrite to work via .htaccess is simple; compile it in,
> and make sure it's allowed to work via .htaccess in the httpd.conf. Not
> really sure what
Joachim Person wrote:
What could be the cause of the error
Warning: imap_open(): Couldn't open stream
? I have got the address and the port to the imap server right, but I think
that the imap server requires some sort of secure login. Could this be the
problem? If yes, how can it be solved?
Joachim Person wrote:
I tried to make the simple program
Mailboxes\n";
$folders = imap_listmailbox($mbox, "{imap.liu.se:993}", "*");
if ($folders == false) {
echo "Call failed\n";
} else {
foreach ($folders as $val) {
echo $val . "\n";
}
}
echo "Headers in INBOX\n";
$headers =
What could be the cause of the error
Warning: imap_open(): Couldn't open stream
? I have got the address and the port to the imap server right, but I think
that the imap server requires some sort of secure login. Could this be the
problem? If yes, how can it be solved? If no, what other causes
What could be the cause of the error
Warning: imap_open(): Couldn't open stream
? I have got the address and the port to the imap server right, but I think
that the imap server requires some sort of secure login. Could this be the
problem? If yes, how can it be solved? If no, what other causes c
I tried to make the simple program
Mailboxes\n";
$folders = imap_listmailbox($mbox, "{imap.liu.se:993}", "*");
if ($folders == false) {
echo "Call failed\n";
} else {
foreach ($folders as $val) {
echo $val . "\n";
}
}
echo "Headers in INBOX\n";
$headers = imap_headers($mbox);
if
Wigs @Claw wrote:
Hi guys , sorry for responding if this message is a bit off topic!
Id have to say that you are assuming no glitches come into play with
that response.
I just recently had to do a Red Hat install , with Apache , MySQL and
the works. The install of Redhat ran into some iss
Iggep wrote:
John Nichel wrote:
Brian Dunning wrote:
I got a 12-hour invoice from a consultant who was tasked to do the
following:
- Install a Red Hat machine from absolute scratch for PHP/MySQL/Apache
- Copy over some MySQL databases
- Have mod_rewrite working via htaccess, and have wil
I would approach this problem in one of two ways
1. put all the values from the Java User object into PHP variables and store
those in the session. You might have to deal with serialization issues as
mentioned below, but I think copying to PHP would get rid of this issue.
2. It almost sounds l
2wsxdr5 wrote:
Brian Dunning wrote:
I got a 12-hour invoice from a consultant who was tasked to do the
following:
- Install a Red Hat machine from absolute scratch for PHP/MySQL/Apache
- Copy over some MySQL databases
- Have mod_rewrite working via htaccess, and have wildcard DNS
I'm a pr
Qt like Signals and Slots (Idea + Implementation)
Hey,
I am a big fan of Qt from Trolltech.com and I especially like the signals and
slot mechanism. I have implemented a small example in php here.
It is really not thought of to be production ready, but think about it a little
while ;)
You can
if we saw some code it would help, also it could be something to do with the
text encoding
On 9/16/05, Joerg P <[EMAIL PROTECTED]> wrote:
>
> hello,
>
> I have some words with german special chars in mysql. When I print those
> strings direct as xml to the browser, everything seems fine. But th
Brian Dunning wrote:
I got a 12-hour invoice from a consultant who was tasked to do the
following:
- Install a Red Hat machine from absolute scratch for PHP/MySQL/Apache
- Copy over some MySQL databases
- Have mod_rewrite working via htaccess, and have wildcard DNS
I'm a programmer, not a
On 9/16/05, John Nichel <[EMAIL PROTECTED]> wrote:
> Brian Dunning wrote:
> > I got a 12-hour invoice from a consultant who was tasked to do the
> > following:
> >
> > - Install a Red Hat machine from absolute scratch for PHP/MySQL/Apache
> >
> > - Copy over some MySQL databases
> >
> > - Have mod_
hello,
I have some words with german special chars in mysql. When I print those
strings direct as xml to the browser, everything seems fine. But there
is one 'ä' that makes me crazy. It always appears as a ? in Firefox and
even makes an error in ie.
But other 'ä's are ok.
What could I d
Brian Dunning wrote:
I got a 12-hour invoice from a consultant who was tasked to do the
following:
- Install a Red Hat machine from absolute scratch for PHP/MySQL/Apache
- Copy over some MySQL databases
- Have mod_rewrite working via htaccess, and have wildcard DNS
I realize there are a bil
I got a 12-hour invoice from a consultant who was tasked to do the
following:
- Install a Red Hat machine from absolute scratch for PHP/MySQL/Apache
- Copy over some MySQL databases
- Have mod_rewrite working via htaccess, and have wildcard DNS
I realize there are a billion different variabl
On Fri, 2005-09-16 at 14:10, Rasmus Lerdorf wrote:
> Well, this is the sort of thing the language should help you with.
> Whether or not the code is incorrect or not is not the relevant question
> I think. The question is whether the language should try to detect when
> you are doing something th
Robert Cummings wrote:
> On Fri, 2005-09-16 at 10:28, Rasmus Lerdorf wrote:
>
>>Stephen Leaf wrote:
>>
>>>$this->urlArr[0] = array_pop($arr = explode("&",$this->urlArr[0]));
>>>
>>>I still have to scratch my head as to why I *need* that "$arr = "
>>>prior to 5.0.5 this was not needed.
>>>$this->ur
reel 'em in john
but remember.. there's top/bottom/side/spoon/etc for more, head to san
francisco!!
later..
-Original Message-
From: John Nichel [mailto:[EMAIL PROTECTED]
Sent: Friday, September 16, 2005 10:19 AM
To: php-general@lists.php.net
Subject: Re: [PHP] email validation r
On Fri, 2005-09-16 at 10:28, Rasmus Lerdorf wrote:
> Stephen Leaf wrote:
> >
> > $this->urlArr[0] = array_pop($arr = explode("&",$this->urlArr[0]));
> >
> > I still have to scratch my head as to why I *need* that "$arr = "
> > prior to 5.0.5 this was not needed.
> > $this->urlArr[0] = array_pop(ex
Jordan Miller wrote:
What do you mean? What's wrong with top posting? ;)
The bait is on the hook..
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What do you mean? What's wrong with top posting? ;)
Jordan
On Sep 16, 2005, at 11:31 AM, John Nichel wrote:
bruce wrote:
hi..
looking for a good/working/tested php email validation regex that
conforms
to the rfc2822 standard.
a lot of what i've seen from google breaks, or doesn't follow
bruce wrote:
hi..
looking for a good/working/tested php email validation regex that conforms
to the rfc2822 standard.
a lot of what i've seen from google breaks, or doesn't follow the standard!
any ideas/thoughts/sample code/etc...
Didn't we just have this flame war about a month ago? Is it
Can't expect everything to be done right on the first try. But it sure was a
big annoyance. Great to hear that work is being done to improve on this.
I personally would rather it just be silently ignored as to me an error line
at the top is the same as it not working at all.
Would love to find a
bruce wrote:
hi..
looking for a good/working/tested php email validation regex that conforms
to the rfc2822 standard.
a lot of what i've seen from google breaks, or doesn't follow the standard!
any ideas/thoughts/sample code/etc...
I use this code to build the regex
$tld='[a-z]{2,}'
Hello,
About a few weeks ago I started seeing three emails that all come at the
same time (within the same minute) that seem to be trying to exploit a
feedback form I have on our website. Everytime someone submits a
feedback form I am sent the information they entered. The To and From
address are
I've used PHP on Windows systems quite a bit and have had very little problem.
But then again, many times it's been for small projects that didn't have a
chance to develop any nasty 'gotchas'.
First thing that comes to mind to investigate further, though, is Zend's
WinEnabler product. Even if
symbulos wrote:
Nuno Pereira wrote:
Classified by what? When? Where?
What has PHP to do with it?
The question is very ambiguous...
Some of the messages I send to php.general (this newsgroup), get classified
as [suspicious - maybe spam]. What I mean is, the [suspicious - maybe spam]
gets ad
perl has a mod "email::valid" that claims to do email validation, and it
appears to be fairly complex/lengthy.
i'm considering simply using this in a perl app, that i'd then call from the
php function...
use the best tool for the job in the quickest manner!!!
thoughts
-bruce
-Original
Howdy group!
As many of you may or may not know, I made the switch to another company
recently and it is a Windows shop (although I do have the IT Mgr. leaning
heavily towards exploring *nix products soon). I have successfully
configured a brand new W2K test server with IIS 5.0 and PHP 4.4.n (isap
> $mypath = "C:/phptestdir/";
> $file = "phpinfo.htm";
> $html_file = fopen("$mypath$file", "w");
> fwrite ($html_file, printf(phpinfo()));
> fclose ($html_file);
>
> How would I accomplish this?
ob_start();
phpinfo();
$content = ob_get_clean();
fwrite($html_file, $content);
--
PHP General Maili
This one time, at band camp, "bruce" <[EMAIL PROTECTED]> wrote:
> hi..
>
> looking for a good/working/tested php email validation regex that conforms
> to the rfc2822 standard.
This will be fun, everybody has their own which is always best. No two people
will agree what is correct method and wil
$mypath = "C:/phptestdir/";
$file = "phpinfo.htm";
$html_file = fopen("$mypath$file", "w");
fwrite ($html_file, printf(phpinfo()));
fclose ($html_file);
How would I accomplish this?
All I get is the "1" that phpinfo succeeded. I want to write the results of
phpinfo to a file. I am sure it is so
Nuno Pereira wrote:
> Classified by what? When? Where?
> What has PHP to do with it?
>
> The question is very ambiguous...
Some of the messages I send to php.general (this newsgroup), get classified
as [suspicious - maybe spam]. What I mean is, the [suspicious - maybe spam]
gets added to the sub
[snip]
> How can "[suspicious - maybe spam]" possibly be less ambiguous?
Sorry. Why on earth MY EMAILS which are not spam get classified [suspicious
- maybe spam]?
[/snip]
Are you using a proxy for your e-mail? If so it might be viewed as potential
spoofing.
--
PHP General Mailing List (http://
John Nichel schrieb:
>>Is there any difference in performance in these two ways?
>> [...]
> The latter is less for you to type. ;)
I had a prepared a similar answer but then I figured the question was
explicitly focused on performance and dropped that note. But now I see
that the question could be
hi..
looking for a good/working/tested php email validation regex that conforms
to the rfc2822 standard.
a lot of what i've seen from google breaks, or doesn't follow the standard!
any ideas/thoughts/sample code/etc...
thanks
-bruce
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.p
symbulos wrote:
Jim Moseby wrote:
How can "[suspicious - maybe spam]" possibly be less ambiguous?
Sorry. Why on earth MY EMAILS which are not spam get classified [suspicious
- maybe spam]?
Classified by what? When? Where?
What has PHP to do with it?
The question is very ambiguous...
--
Stephen Leaf wrote:
>
> $this->urlArr[0] = array_pop($arr = explode("&",$this->urlArr[0]));
>
> I still have to scratch my head as to why I *need* that "$arr = "
> prior to 5.0.5 this was not needed.
> $this->urlArr[0] = array_pop(explode("&",$this->urlArr[0]));
This is a much misunderstood issue
Jim Moseby wrote:
> How can "[suspicious - maybe spam]" possibly be less ambiguous?
Sorry. Why on earth MY EMAILS which are not spam get classified [suspicious
- maybe spam]?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Paul Kain wrote:
> a notification that its suspiscious and might be spam ?
So why do my emails get classified as [suspicious - maybe spam]?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello
I need version 7.14 of curl, as it contains a bug fix for my environment
(behind an ISA proxy server). phpinfo tells me that my current version is
7.11.2, and I'm running PHP 5.0.4
As I am running Windows, and have neither the software nor the skills to
compile my own dlls (the suggested s
>
>
> what on earth is [suspicious - maybe spam]?
>
How can "[suspicious - maybe spam]" possibly be less ambiguous?
JM
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a notification that its suspiscious and might be spam ?
On 9/16/05, symbulos <[EMAIL PROTECTED]> wrote:
> what on earth is [suspicious - maybe spam]?
>
> Corrado
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
PHP General M
I'm looking for tools that would ease the modularization of i18n and
also use of templates/skins on the final web site.
What I mean is that the tool would take care of much of the hand coding
of variables of string insertion (languages).
For the template/skin part, it would be nice to have a
> "Are you sure?" and then a "yes" and "no" buttons to confirm the deletion or
> to cancel the command.
>
> Any thougts??
While some of the others here have answered your technical question,
I'd like to state my opinion on usability.
I HATE "Are you sure?" prompts. If I wasn't sure, I wouldn't
R. Vijay Daniel wrote:
sir,
how can i add scroll pan to a table in php.
is that possible to scroll the html table like jtable in java.
with regards
vijay
That would be in the client side code. Have PHP output whatever client
side code you desire.
--
John C. Nichel
ÜberGeek
KegWor
Gustav Wiberg wrote:
Hi guys!
Is there any difference in performance in these two ways?
$sql = $sql .
OR
$sql .=
The latter is less for you to type. ;)
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
what on earth is [suspicious - maybe spam]?
Corrado
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Graham Cossey wrote:
> Have you looked at phpATM? http://www.phpatm.tk/
>
> I've used it with some success and it seems to have a reasonably active
> community.
I am downloading it now, thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.ph
On 9/16/05, symbulos <[EMAIL PROTECTED]> wrote:
>
> Dear friends,
>
> do you know about a good web based document management solution, FS/OS
> licensed, implemented in PHP/*sql/Apache, for document upload, download,
> protected, for editing articles or other document of the sort?
>
> I am lookin
R. Vijay Daniel wrote:
sir,
how can i add scroll pan to a table in php.
'scroll pan' ?
I get what you mean but I think you used the 'wrong' words :-)
is that possible to scroll the html table like jtable in java.
yes, you need to use javascript and CSS to accomplish this
(or use a browser
[snip]
how can i add scroll pan to a table in php.
is that possible to scroll the html table like jtable in java.
[/snip]
put the table in an IFRAME (read about that under the HTML specs at
http://www.w3.org )
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
sir,
how can i add scroll pan to a table in php.
is that possible to scroll the html table like jtable in java.
with regards
vijay
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dear friends,
do you know about a good web based document management solution, FS/OS
licensed, implemented in PHP/*sql/Apache, for document upload, download,
protected, for editing articles or other document of the sort?
I am looking for recommendations from people who have tested some of them
an
Hi All,
I am trying to upgrade from 4.2.2 to 5.0.4 with source in my linux
2.4.20machine.
tar -xjf php-5.0.4.tar.bz2
tar -xjf httpd-2.0.54.tar.bz2
cd httpd-2.0.54
./configure --prefix=/usr/local/apache2 --enable-module=so
make
make install
./configure --prefix=/usr/local/php5 --with-mysql
--wit
Quite rite.
Well i have used this on my next page:
global $HTTP_POST_VARS;
$num_fields=count($HTTP_POST_VARS);
while(list($key, $value) = each($HTTP_POST_VARS))
{
echo "$key = $value";
/or whatever coding i want to do//
}
regards
hope
Jay Blanchard wrote:
71 matches
Mail list logo