php-general Digest 2 Feb 2008 09:29:32 -0000 Issue 5270

2008-02-02 Thread php-general-digest-help
php-general Digest 2 Feb 2008 09:29:32 - Issue 5270 Topics (messages 268543 through 268558): Re: Search function not working... 268543 by: Jim Lucas Posting Summary for Week Ending 1 February, 2008: [EMAIL PROTECTED] 268544 by: PostTrack [Dan Brown] Calling All Opinionated

php-general Digest 2 Feb 2008 23:04:30 -0000 Issue 5271

2008-02-02 Thread php-general-digest-help
php-general Digest 2 Feb 2008 23:04:30 - Issue 5271 Topics (messages 268559 through 268577): Re: Redirecting STDERR to a file? 268559 by: Per Jessen 268562 by: js 268563 by: Per Jessen 268564 by: js 268565 by: Richard Heyes Location in php's source

Re: [PHP] Redirecting STDERR to a file?

2008-02-02 Thread Per Jessen
js wrote: I was trying to write a script in PHP that takes a program name as an argument and invoke it as a daemon. PHP provides fork(pcntl_fork), setsid(posix_setsid) and umask, so it was easy. However, I couldn't find a way to redirect STDERR a file. I like to have the daemon write its

Re: [PHP] Redirecting STDERR to a file?

2008-02-02 Thread js
nohup would work in some ways, but that's not a real daemon because the process will have tty, in a session and has a process group. I like to have a real daemon. On Feb 2, 2008 5:25 PM, Per Jessen [EMAIL PROTECTED] wrote: js wrote: I was trying to write a script in PHP that takes a program

Re: [PHP] Redirecting STDERR to a file?

2008-02-02 Thread Per Jessen
js wrote: nohup would work in some ways, but that's not a real daemon because the process will have tty, in a session and has a process group. I like to have a real daemon. Well, it depends on what you're after. Are you solving a problem or are you doing an exercise because you can? If

[PHP] Location in php's source for ini-values

2008-02-02 Thread ehl lhe
hello, I'd like to know where PHP finally sets the php.ini-values in it's sourcecode, e.g. max_execution_time, open_basedir, etc... What I need is to set several static values which must not be editable using php.ini, .htaccess, ini_set, or whatever - so I simply need to set final values for

Re: [PHP] PEAR website and MSIE 6 (M$ forcing IE7)

2008-02-02 Thread Richard Heyes
Feb 12th is D-day. [Microsoft] has posted guidelines on how to ward off the automatic update Not exactly forcing if they've provided an alternative. -- Richard Heyes http://www.websupportsolutions.co.uk Knowledge Base and Helpdesk software for £299pa hosted for you - no installation, no

Re: [PHP] Redirecting STDERR to a file?

2008-02-02 Thread js
Hi Per, nohup would work in some ways, but that's not a real daemon because the process will have tty, in a session and has a process group. I like to have a real daemon. Well, it depends on what you're after. Are you solving a problem or are you doing an exercise because you can? Not

Re: [PHP] Redirecting STDERR to a file?

2008-02-02 Thread Per Jessen
js wrote: C would be the last resort. I suppose it would be easily done in Perl, but most of my colleagues prefer PHP. I love to make taking over the code easy, so PHP is more preferable to me. That makes perfect sense, but sometimes PHP is not the best/right answer. What I think you need

Re: [PHP] Redirecting STDERR to a file?

2008-02-02 Thread js
C would be the last resort. I suppose it would be easily done in Perl, but most of my colleagues prefer PHP. I love to make taking over the code easy, so PHP is more preferable to me. That makes perfect sense, but sometimes PHP is not the best/right answer. What I think you need to do

Re: [PHP] Redirecting STDERR to a file?

2008-02-02 Thread Richard Heyes
C would be the last resort. I suppose it would be easily done in Perl, but most of my colleagues prefer PHP. I love to make taking over the code easy, so PHP is more preferable to me. That makes perfect sense, but sometimes PHP is not the best/right answer. What I think you need to do is:

[PHP] Re: Calling All Opinionated ******** ....

2008-02-02 Thread Nathan Rixham
Jochem Maas wrote: hi people, I'm in the market for a new framework/toolkit/whatever-you-want-to-call-it. I've been taking a good hard look at the Zend Framework - if nothing else the docs are very impressive. I'd like to hear from people who have or are using ZF with regard to their

[PHP] Re: Location in php's source for ini-values

2008-02-02 Thread Nathan Rixham
ehl lhe wrote: hello, I'd like to know where PHP finally sets the php.ini-values in it's sourcecode, e.g. max_execution_time, open_basedir, etc... What I need is to set several static values which must not be editable using php.ini, .htaccess, ini_set, or whatever - so I simply need to set

[PHP] Jacco van Hooren

2008-02-02 Thread Nathan Rixham
wish he'd turn that auto responder off.. *sigh* - he's now top of my contacts in gtalk.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHPPDO 1.0RC1 released

2008-02-02 Thread Nikolay Ananiev
Hi guys, I've just released phppdo-1.0RC1. From the readme: PHPPDO is a database abstraction layer over the current PHP database functions, which aim is to offer a migration path for new applications to the PDO classes presented in PHP 5.1. Why a migration path? Currently, most hosting

[PHP] Server to client file transfer with authorization: file always corrupt

2008-02-02 Thread szalinski
Hi I am having trouble with a file transfer script, as you can see, I am trying trying to keep the code as simple as possible. But everytime I download a file with it, it is corrupt. For example, when I download a small .rar file, just to test, it is always corrupt ('Unexpected end of

[PHP] Re: Location in php's source for ini-values

2008-02-02 Thread ehl lhe
please, don't ask me why I need this - I know exactly why I need it and why there is no other solution... thanks anyway, regards ehl22 _ Express yourself instantly with MSN Messenger! Download today it's FREE!

Re: [PHP] PHPPDO 1.0RC1 released

2008-02-02 Thread Larry Garfield
On Saturday 02 February 2008, Nikolay Ananiev wrote: Hi guys, I've just released phppdo-1.0RC1. From the readme: PHPPDO is a database abstraction layer over the current PHP database functions, which aim is to offer a migration path for new applications to the PDO classes presented in PHP

Re: [PHP] Location in php's source for ini-values

2008-02-02 Thread Daniel Brown
On Feb 2, 2008 6:09 AM, ehl lhe [EMAIL PROTECTED] wrote: hello, I'd like to know where PHP finally sets the php.ini-values in it's sourcecode, e.g. max_execution_time, open_basedir, etc... What I need is to set several static values which must not be editable using php.ini, .htaccess,

[PHP] Re: PHPPDO 1.0RC1 released

2008-02-02 Thread Nikolay Ananiev
Larry Garfield [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Saturday 02 February 2008, Nikolay Ananiev wrote: Hi guys, I've just released phppdo-1.0RC1. From the readme: PHPPDO is a database abstraction layer over the current PHP database functions, which aim is to offer a

[PHP] how can make like http://wallpaper.pc86.com ?

2008-02-02 Thread RandMan
how can make like http://wallpaper.pc86.com ? look like XP file manager, any body have idea ? i feel this so simple, but i have't any direction thank you ! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how can make like http://wallpaper.pc86.com ?

2008-02-02 Thread dg
Looks like Treeview http://developer.yahoo.com/yui/treeview/ On Feb 2, 2008, at 1:33 PM, RandMan wrote: how can make like http://wallpaper.pc86.com ? look like XP file manager, any body have idea ? i feel this so simple, but i have't any direction thank you ! -- PHP General Mailing List

Re: [PHP] PEAR website and MSIE 6

2008-02-02 Thread Shawn McKenzie
Glad I read threads that I don't care about or I wouldn't have found out about Firebug! I just installed it, very cool! Also, considering the price of oil/gas, I'm sorry that the 'war for oil' didn't work out the way we had hoped. You would have thought we would have learned in WWII when we

[PHP] Re: Server to client file transfer with authorization: file always corrupt

2008-02-02 Thread Nathan Rixham
szalinski wrote: Hi I am having trouble with a file transfer script, as you can see, I am trying trying to keep the code as simple as possible. But everytime I download a file with it, it is corrupt. For example, when I download a small .rar file, just to test, it is always corrupt

[PHP] Re: how can make like http://wallpaper.pc86.com ?

2008-02-02 Thread Jonesy
On Sun, 3 Feb 2008 04:33:57 +0800, RandMan wrote: how can make like http://wallpaper.pc86.com ? Hell! Why would you want to? http://validator.w3.org/#validate_by_uri Validation Output: 26 Errors Pretty much renders as crap in 4 different browsers here. -- PHP General Mailing

Re: [PHP] PEAR website and MSIE 6

2008-02-02 Thread Jochem Maas
Shawn McKenzie schreef: Glad I read threads that I don't care about or I wouldn't have found out about Firebug! I just installed it, very cool! it can definitely make your day less painful :-) Also, considering the price of oil/gas, I'm sorry that the 'war for oil' didn't work out the way

[PHP] using the mail() command

2008-02-02 Thread Ron Piggott
When I use the mail($email, $subject, $message, $headers); command I assign the value of $message as follows: $boundary = md5(uniqid(time())); $message = --$boundary Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit blah --$boundary Content-Type: text/html;

Re: [PHP] using the mail() command

2008-02-02 Thread Ron Piggott
Thanks for the new command and help. It worked! Ron On Sat, 2008-02-02 at 19:46 -0500, Greg Bowser wrote: First off, I would use heredoc syntax so you don't need to escape the quotes: $message = EOF blah blah blah $your $stuff $here ' \ blah blah EOF; Also, since you're using

[PHP] how to make multiple website on one host

2008-02-02 Thread jeffry s
i am wondering whether this can be done. i know it can. is it possible to make one website with the ability to host multiple website. it is something like website generator. eg: www.shopify.org let say for example i have a website www.example.org. i can point a domain name (www.example1.org) to

Re: [PHP] how to make multiple website on one host

2008-02-02 Thread Larry Garfield
You can, in your code, check the $_SERVER super-global to see what domain name was requested. You can then branch your code however you need to, just as you can for any other conditional. Have a look at the Drupal framework, which includes that exact feature. On Sunday 03 February 2008,