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 - 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
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
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
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
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
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
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
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
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
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:
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
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
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
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
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
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!
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
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,
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
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
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
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
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
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
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
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;
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
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
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,
30 matches
Mail list logo