php-general Digest 14 Dec 2006 04:21:47 -0000 Issue 4513

2006-12-13 Thread php-general-digest-help
php-general Digest 14 Dec 2006 04:21:47 - Issue 4513 Topics (messages 245804 through 245819): Re: problem with ob_start() and header() in osCommerce cart 245804 by: Jochem Maas 245805 by: afan.afan.net Re: (SOLVED) Varying session behavior between 2 nearly identical

Re: [PHP] php redirection..

2006-12-13 Thread Youri LACAN-BARTLEY
Tim wrote: Just a quick question regarding this issue. Considering bruce wants to be able to display the data and then change location after a given time, and as stut said you can't do this with a header() as it redirects before output, I would have imagined a dynamic meta tag in the

Re: [PHP] How php works?

2006-12-13 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2006-12-13 14:15:26 +0800: I'm new here and looking PHP these days, howerver , I'm confused by how it works, and here is some questions I have. Is there any old bird wanna help me out? 1. I heard there is a zend engine inside PHP playing the role as a virtual machine,

Re: [PHP] How php works?

2006-12-13 Thread Jochem Maas
Kai Xiang wrote: Hello all: I'm new here and looking PHP these days, howerver , I'm confused by how it works, and here is some questions I have. Is there any old bird wanna help me out? 1. I heard there is a zend engine inside PHP playing the role as a virtual machine, and PHP excution

Re: [PHP] Paste variable from popup to previous page?

2006-12-13 Thread tetet
You can pass values of inputs/variables from a popup window to opener window through javascript like: window.opener.document.form1.input1.value = js_value; where js_value can be a javascript variable or a value of an input in a form in the popup window. Andy William Stokes

RE: [PHP] php redirection..

2006-12-13 Thread Tim
-Message d'origine- De : Youri LACAN-BARTLEY [mailto:[EMAIL PROTECTED] Envoyé : mercredi 13 décembre 2006 09:09 Cc : 'php' Objet : Re: [PHP] php redirection.. Tim wrote: Just a quick question regarding this issue. Considering bruce wants to be able to display the data and

Re: [PHP] How php works?

2006-12-13 Thread Kai Xiang
On 12/13/06, Roman Neuhauser [EMAIL PROTECTED] wrote: # [EMAIL PROTECTED] / 2006-12-13 14:15:26 +0800: I'm new here and looking PHP these days, howerver , I'm confused by how it works, and here is some questions I have. Is there any old bird wanna help me out? 1. I heard there is a zend

Re: [PHP] How php works?

2006-12-13 Thread Kai Xiang
On 12/13/06, Jochem Maas [EMAIL PROTECTED] wrote: Kai Xiang wrote: Hello all: I'm new here and looking PHP these days, howerver , I'm confused by how it works, and here is some questions I have. Is there any old bird wanna help me out? 1. I heard there is a zend engine inside PHP playing

Re: [PHP] Varying session behavior between 2 nearly identical Apache/PHP setups

2006-12-13 Thread Jochem Maas
Matthew North wrote: Hello All, I have an odd situation that I wonder if someone might have some insight on. The scenario is this: - Two FreeBSD systems running Apache+mod_php+others. We use one for development and the other for testing. - Each system is running PHP 5.2.0 with

Re: [PHP] How php works?

2006-12-13 Thread Jochem Maas
Kai Xiang wrote: On 12/13/06, Roman Neuhauser [EMAIL PROTECTED] wrote: # [EMAIL PROTECTED] / 2006-12-13 14:15:26 +0800: I'm new here and looking PHP these days, howerver , I'm confused by how it works, and here is some questions I have. Is there any old bird wanna help me out? 1. I

Re: [PHP] How php works?

2006-12-13 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2006-12-13 18:57:58 +0800: On 12/13/06, Roman Neuhauser [EMAIL PROTECTED] wrote: # [EMAIL PROTECTED] / 2006-12-13 14:15:26 +0800: 3. Take linux apache for example, if compiled as a apache module, and using prefork threading model, for example, if I have 100 process,

[PHP] PHP and connection to mail account

2006-12-13 Thread Angelo Zanetti
Dear All. Do u know if its possible with PHP to receive a mail or connect to a mail box and do something with an incomming email ? I see there is that imap_open() but also there are sockets. Basically I need to connect to a mailbox and then when a mail is received it must take that mail and

[PHP] PHP and connection to mail account

2006-12-13 Thread Aras
Forward the e-mail address to a PHP file, through forwarders in your system (depends on the mta, how and where) Than design a php file to read from php://stdin It will read the mails once they are received. --Aras -Original Message- From: Angelo Zanetti [mailto:[EMAIL PROTECTED] Sent:

Re: [PHP] PHP and connection to mail account

2006-12-13 Thread Jochem Maas
Angelo Zanetti wrote: Dear All. Do u know if its possible with PHP to receive a mail or connect to a mail box and do something with an incomming email ? I see there is that imap_open() but also there are sockets. indeed - basically use whatever you want! - I would suggest have a search

Re: [PHP] PHP and connection to mail account

2006-12-13 Thread Stut
Jochem Maas wrote: Angelo Zanetti wrote: Do u know if its possible with PHP to receive a mail or connect to a mail box and do something with an incomming email ? I see there is that imap_open() but also there are sockets. indeed - basically use whatever you want! - I would suggest

Re: [PHP] PHP and connection to mail account

2006-12-13 Thread Jochem Maas
Stut wrote: Jochem Maas wrote: Angelo Zanetti wrote: Do u know if its possible with PHP to receive a mail or connect to a mail box and do something with an incomming email ? I see there is that imap_open() but also there are sockets. indeed - basically use whatever you want! - I

[PHP] problem with ob_start() and header() in osCommerce cart

2006-12-13 Thread afan
Hi, even it's problem with osCommerce cart I think it's still php question: there is a code in application_top.php file (this file is includeed in login.php page, all the way on the top of the login.php file wich means is the first one) // Check if the browser supports gzip encoding,

Re: [PHP] problem with ob_start() and header() in osCommerce cart

2006-12-13 Thread Jochem Maas
[EMAIL PROTECTED] wrote: Hi, even it's problem with osCommerce cart I think it's still php question: there is a code in application_top.php file (this file is includeed in login.php page, all the way on the top of the login.php file wich means is the first one) // Check if the browser

Re: [PHP] problem with ob_start() and header() in osCommerce cart

2006-12-13 Thread afan
[EMAIL PROTECTED] wrote: Hi, even it's problem with osCommerce cart I think it's still php question: there is a code in application_top.php file (this file is includeed in login.php page, all the way on the top of the login.php file wich means is the first one) // Check if the browser

[PHP] Re: (SOLVED) Varying session behavior between 2 nearly identical Apache/PHP setups

2006-12-13 Thread Matthew North
Thanks to all who responded. Your responses reconfirmed that there must be some configuration difference between the two so I grudgingly re-examined everything, and esp. phpinfo() output. Turns out the test machine had a default (at build time) of 'output_buffering = 0'. Although the two

Re: [PHP] Re: (SOLVED) Varying session behavior between 2 nearly identical Apache/PHP setups

2006-12-13 Thread Jochem Maas
nice of you to write up the solution... Matthew North wrote: Thanks to all who responded. Your responses reconfirmed that there must be some configuration difference between the two so I grudgingly re-examined everything, and esp. phpinfo() output. Turns out the test machine had a default

[PHP] Exchange vs IMAP

2006-12-13 Thread Richard Lynch
I have a specific email Inbox in MS Exchange that I need to get to and read with PHP. I'm not certain, but I think it's using what MS Exchange calls multi-user, based on my Googling... There is one real NT Login User (Administrator) and in MS Outlook, that user is presented with a popup of

RE: [PHP] php redirection..

2006-12-13 Thread tedd
At 9:02 PM +0100 12/12/06, Tim wrote: Just a quick question regarding this issue. Considering bruce wants to be able to display the data and then change location after a given time, and as stut said you can't do this with a header() as it redirects before output, I would have imagined a dynamic

Re: [PHP] How php works?

2006-12-13 Thread tedd
At 2:15 PM +0800 12/13/06, Kai Xiang wrote: Hello all: I'm new here and looking PHP these days, howerver , I'm confused by how it works, and here is some questions I have. Is there any old bird wanna help me out? Sure, which way did you come in? You might want to ask one of the younger

[PHP] Re: utf8 encoding £ to £ problem

2006-12-13 Thread Nisse Engström
On Tue, 5 Dec 2006 12:37:48 -, Chris Dean wrote: I was just wondering if anyone knows why php's utf8_encode function converts the £ symbol into £ Yes. The '£' character is a two-octet sequence in UTF-8. The problem is that you are viewing it as if it were encoded in ISO-8859-1 (or

Re: [PHP] Error Display

2006-12-13 Thread Jochem Maas
Craige Leeder wrote: I have been working with PHP5 since it's release, and until a few months ago, have never experienced the problem I am about to describe to you. I am not sure weather it has been discovered previously or not, nor do I know exactly how to replicate it, but I would like to

Re: [PHP] file uploads Q?

2006-12-13 Thread tedd
At 5:14 PM +0100 12/12/06, Børge Holen wrote: On Tuesday 12 December 2006 15:02, Jochem Maas wrote: Børge Holen wrote: It is sad to see that you got an amazing tool like this list and still manages to read and understand it the way you FEEL like at any moment. what makes this list

[PHP] [so O T that it hurts :-)] Re: [PHP] file uploads Q?

2006-12-13 Thread Jochem Maas
tedd wrote: At 5:14 PM +0100 12/12/06, Børge Holen wrote: On Tuesday 12 December 2006 15:02, Jochem Maas wrote: Børge Holen wrote: ... Well... if Jochem is a moron, then I must be dunce because I've learn a lot from him, and continue to do so. If you take the time to listen, even you

Re: [PHP] How php works?

2006-12-13 Thread Kai Xiang
Thanks Jochem, Roman :) On 12/13/06, Jochem Maas [EMAIL PROTECTED] wrote: Kai Xiang wrote: On 12/13/06, Roman Neuhauser [EMAIL PROTECTED] wrote: # [EMAIL PROTECTED] / 2006-12-13 14:15:26 +0800: I'm new here and looking PHP these days, howerver , I'm confused by how it works, and here

Re: [PHP] How php works?

2006-12-13 Thread Kai Xiang
On 12/14/06, tedd [EMAIL PROTECTED] wrote: At 2:15 PM +0800 12/13/06, Kai Xiang wrote: Hello all: I'm new here and looking PHP these days, howerver , I'm confused by how it works, and here is some questions I have. Is there any old bird wanna help me out? Sure, which way did you come in? You

[PHP] Re: Havn't been on the list in a while

2006-12-13 Thread Chuck Anderson
Jim Lucas wrote: Seems like this list has slowed down alot. Anybody else notice this, or am I just missing something? jl If you're referring to what I think you are yes . I get almost nothing but timeouts when trying to do anything in this newsgroup. --

[PHP] Re: Havn't been on the list in a while

2006-12-13 Thread Chuck Anderson
Jim Lucas wrote: Seems like this list has slowed down alot. Anybody else notice this, or am I just missing something? jl If you're referring to what I think you are yes . I get almost nothing but timeouts when trying to do anything in this newsgroup. --

Re: [PHP] php redirection..

2006-12-13 Thread Casey Chu
Search Engines don't like the META tag. Use scriptlocation.href='foobar.php';/scripta href='foobar.php'Foo Bar/a On 12/13/06, tedd [EMAIL PROTECTED] wrote: At 9:02 PM +0100 12/12/06, Tim wrote: Just a quick question regarding this issue. Considering bruce wants to be able to display the data

Re: [PHP] php redirection..

2006-12-13 Thread Budi Setiawan
basically: cat.php -echo test contentbr -echo more test contentbr //redirect user echo script location.href='foo.php'; /script ; Hi , im a new too.. but you can try with this to delay your script running for some seconds : echo test contentbr echo more test contentbr //

Re: [PHP] Active Directory password change utility in PHP

2006-12-13 Thread Saqib Ali
Another reader on the usenet suggested the followng MS link, which seems pretty helpful: http://support.microsoft.com/kb/269190 saqib http://www.full-disk-encryption.net On 12/13/06, Saqib Ali [EMAIL PROTECTED] wrote: Another reader on the usenet suggested the followng MS link, which seems

Re: [PHP] problem with ob_start() and header() in osCommerce cart

2006-12-13 Thread Youri LACAN-BARTLEY
[EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Hi, even it's problem with osCommerce cart I think it's still php question: there is a code in application_top.php file (this file is includeed in login.php page, all the way on the top of the login.php file wich means is the first one)

Re: [PHP] php redirection..

2006-12-13 Thread Casey Chu
It's usually OK if it's 8 seconds or more, but that would take too long. See here for info: http://www.netmechanic.com/news/vol4/promo_no15.htm On 12/13/06, Budi Setiawan [EMAIL PROTECTED] wrote: basically: cat.php -echo test contentbr -echo more test contentbr //redirect user