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, jeff
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 th
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 = << blah blah blah
> $your $stuff
> $here
> "
> '
> \ blah blah
>
> EOF;
>
> Also, since yo
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; charset
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 w
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
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
('Unexpected
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 star
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 (h
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
"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 a
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, .hta
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 i
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!
http://messenger.ms
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 archive').
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 provider
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
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 fi
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
experien
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:
paren
> > 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 yo
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 ne
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 ca
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 m
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
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 y
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 pro
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
28 matches
Mail list logo