On 11 October 2011 19:40, Nam Gi VU wrote:
> Hi every one,
> Currently when I call php --ini from CLI, I just see C:\Windows but search
> for this location, I cannot find any php.ini files.
> I'm stuck there - where is the php.ini file used by php.exe called from CLI
> as below
>
> *C:> php --ini*
On Tue, Oct 11, 2011 at 14:40, Nam Gi VU wrote:
> Hi every one,
> Currently when I call php --ini from CLI, I just see C:\Windows but search
> for this location, I cannot find any php.ini files.
> I'm stuck there - where is the php.ini file used by php.exe called from CLI
> as below
>
> *C:> php -
Hi every one,
Currently when I call php --ini from CLI, I just see C:\Windows but search
for this location, I cannot find any php.ini files.
I'm stuck there - where is the php.ini file used by php.exe called from CLI
as below
*C:> php --ini*
Hope to hear from you!
Regards,
Nam
On Thu, Apr 1, 2010 at 11:30 PM, Nilesh Govindarajan wrote:
> On 04/01/10 23:03, Kevin Kinsey wrote:
>
>> Nilesh Govindarajan wrote:
>>
>>> libphp5.so doesn't need the php binary.
>>>
>>
>> You're right, and of course not. libphp5.so
>> *is* a "PHP binary" :-)
>>
>> I've confirmed this using a te
On 04/01/10 23:03, Kevin Kinsey wrote:
Nilesh Govindarajan wrote:
libphp5.so doesn't need the php binary.
You're right, and of course not. libphp5.so
*is* a "PHP binary" :-)
I've confirmed this using a test.
My local apache is configured to use libphp5.so
I moved /usr/bin/php to /root, the
Nilesh Govindarajan wrote:
libphp5.so doesn't need the php binary.
You're right, and of course not. libphp5.so
*is* a "PHP binary" :-)
I've confirmed this using a test.
My local apache is configured to use libphp5.so
I moved /usr/bin/php to /root, then started apache and ran drupal. It
w
libphp5.so doesn't need the php binary.
I've confirmed this using a test.
My local apache is configured to use libphp5.so
I moved /usr/bin/php to /root, then started apache and ran drupal. It
worked.
This confirms that libphp5.so is independent of the php binary in
/usr/bin as I suggested e
Devendra Jadhav wrote:
I am still confused. As per Nilesh php's binary is not required and as per
Ashley it is required.
Which one is correct?
And I am not able to find which php's binary is used by using phpinfo().
Anyone confident about either of the two answers?
Pretty confident about al
On 04/01/10 20:30, Devendra Jadhav wrote:
On Thu, Apr 1, 2010 at 7:22 PM, Devendra Jadhavwrote:
On Thu, Apr 1, 2010 at 7:13 PM, Teus Benschopwrote:
On Thu, 2010-04-01 at 19:07 +0530, Devendra Jadhav wrote:
With my case both installation of PHP has version 5.x, so how to know
which
PHP is b
On Thu, Apr 1, 2010 at 7:22 PM, Devendra Jadhav wrote:
> On Thu, Apr 1, 2010 at 7:13 PM, Teus Benschop wrote:
>
>> On Thu, 2010-04-01 at 19:07 +0530, Devendra Jadhav wrote:
>> > With my case both installation of PHP has version 5.x, so how to know
>> which
>> > PHP is being used?
>> >
>> Running t
On Thu, Apr 1, 2010 at 7:13 PM, Teus Benschop wrote:
> On Thu, 2010-04-01 at 19:07 +0530, Devendra Jadhav wrote:
> > With my case both installation of PHP has version 5.x, so how to know
> which
> > PHP is being used?
> >
> Running this page through Apache could do it:
>
> phpinfo ();
> ?>
>
> Te
On Thu, 2010-04-01 at 19:07 +0530, Devendra Jadhav wrote:
> With my case both installation of PHP has version 5.x, so how to know which
> PHP is being used?
>
Running this page through Apache could do it:
Teus.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww
On 04/01/10 19:00, Devendra Jadhav wrote:
Hi All,
In the situation if there are two PHP's installed on the Linux box.
How to know which PHP is used by Apache?
Another question is do Apache need PHP's binary to execute PHP Scripts? If
yes what is the role of libphp5.so in Apache?
Note: PHP is c
Hi,
> In the situation if there are two PHP's installed on the Linux box.
> How to know which PHP is used by Apache?
>
> Another question is do Apache need PHP's binary to execute PHP Scripts? If
> yes what is the role of libphp5.so in Apache?
>
> Note: PHP is configured as module under Apache.
T
On Thu, Apr 1, 2010 at 6:59 PM, Ashley Sheridan
wrote:
> On Thu, 2010-04-01 at 19:00 +0530, Devendra Jadhav wrote:
>
> Hi All,
>
> In the situation if there are two PHP's installed on the Linux box.
> How to know which PHP is used by Apache?
>
> Another question is do Apache need PHP's binary to
On Thu, 2010-04-01 at 19:00 +0530, Devendra Jadhav wrote:
> Hi All,
>
> In the situation if there are two PHP's installed on the Linux box.
> How to know which PHP is used by Apache?
>
> Another question is do Apache need PHP's binary to execute PHP Scripts? If
> yes what is the role of libphp5.
Hi All,
In the situation if there are two PHP's installed on the Linux box.
How to know which PHP is used by Apache?
Another question is do Apache need PHP's binary to execute PHP Scripts? If
yes what is the role of libphp5.so in Apache?
Note: PHP is configured as module under Apache.
Appreciat
You can try, $_SERVER['SERVER_SOFTWARE']
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jiang Miao
Sent: Monday, October 13, 2008 3:44 PM
To: php-general@lists.php.net
Subject: [PHP] How to know what current system is?
Is there any function do that?
w
Is there any function do that?
when php in Linux it returns linux
in windows it returns windows
I found phpinfo(INFO_GENERAL); output the string System => Linux ubuntu
2.6.24-19-server. but I have no idea to get that info.
Thanks
Jiang Miao
--
PHP General Mailing List (http://www.php.net/)
T
On Mon, May 7, 2007 10:20 pm, Le Phuoc Canh wrote:
> Dear all,
> How can we know a request from web page( ex : firefox, IE..) or from
> client(
> ex : window media, winamp, ...). Please help me !
You can't know for sure for sure, because it can always be forged.
$_SERZVER['USER_AGENT'], I think.
-general@lists.php.net
Subject: Re: [PHP] How to know a requets from web page or client.
Le Phuoc Canh wrote:
> How can we know a request from web page( ex : firefox, IE..) or from
> client( ex : window media, winamp, ...). Please help me !
you need to look at the http request header, you c
Le Phuoc Canh wrote:
How can we know a request from web page( ex : firefox, IE..) or from client(
ex : window media, winamp, ...). Please help me !
you need to look at the http request header, you can use the
$_SERVER['HTTP_USER_AGENT'] variable to access that.
Please note some application
Le Phuoc Canh wrote:
Dear all,
How can we know a request from web page( ex : firefox, IE..) or from client(
ex : window media, winamp, ...). Please help me !
Thanks & Best Regard.
Le Phuoc Canh
Arrive Techologies
Cell Phone : 0902147449
Home Phone : (08)9915349
Email: [EMA
Dear all,
How can we know a request from web page( ex : firefox, IE..) or from client(
ex : window media, winamp, ...). Please help me !
Thanks & Best Regard.
Le Phuoc Canh
Arrive Techologies
Cell Phone : 0902147449
Home Phone : (08)9915349
Email: [EMAIL PROTECTED]
Hi there!
I have a string like this... (envorinment string)
HOSTfriggAUDIODEV/tmp/SUNWut/dev/utaudio/8dtstart_sessionlogfile/dev/nullDTSCREENSAVERLISTStartDtscreenBlankXMBINDDIR/usr/dt/lib/bindingsUTAUDIODEV/tmp/SUNWut/dev/utaudio/8AB_CARDCATALOG/usr/dt/share/answerbooks/C/ab_cardcatalogLC_ALLCDT
Or phpinfo()
-Original Message-
From: Greg Donald [mailto:[EMAIL PROTECTED]
Sent: Domingo, 21 de Agosto de 2005 06:15 a.m.
To: php-general@lists.php.net
Subject: Re: [PHP] how to know when a php library is installed
On 8/21/05, Lizet Pena de Sola <[EMAIL PROTECTED]> wrote:
>
On 8/21/05, Lizet Pena de Sola <[EMAIL PROTECTED]> wrote:
> I need to test whether a library is installed with php or not.
extension_loaded();
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Contacting host, thanks :)
-Original Message-
From: Jasper Bryant-Greene [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 21, 2005 1:20 AM
To: 'php'
Subject: Re: [PHP] how to know when a php library is installed
Lizet Pena de Sola wrote:
> Hello all:
> I need to test whet
Lizet Pena de Sola wrote:
Hello all:
I need to test whether a library is installed with php or not. In this
case it's the tidy library I need for a project.
Jasper
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello all:
I need to test whether a library is installed with php or not. In this
case it's the tidy library I need for a project.
After getting a message from the hosting administrator that the tidy
library was installed and ready to use I ran a phpinfo() to find out
details:
There's nothing that
On Wed, 2005-07-27 at 15:14 +0200, Daniele Palumbo wrote:
> hi.
>
> i have a p_debug(), that print out some useful information (for me).
>
> it is called by a lot of my functions, and i want to know which one is
> generating the error.
> the referral function :)
>
> no, i don't want to write in
hi.
i have a p_debug(), that print out some useful information (for me).
it is called by a lot of my functions, and i want to know which one is
generating the error.
the referral function :)
no, i don't want to write in all call to p_debug some information on running
function...
thanks
daniel
On 5/10/05, Blair Lowe <[EMAIL PROTECTED]> wrote:
> Crackers will typically knock out php
Did you have some statistics or is this just your own experience/assumption?
I may as well switch to mod_ruby if they attack mod_php more often than not.
--
Greg Donald
Zend Certified Engineer
http://dest
On Tue, 2005-05-10 at 08:33, Greg Donald wrote:
> On 5/10/05, balwant singh <[EMAIL PROTECTED]> wrote:
> > is there any method to know whether the other webserver is running or not.
>
> There are lots of methods:
>
> system( 'telnet hostname 80' );
>
> fopen();
>
> fsockopen();
>
> Curl.
Hi,
ECTED]
Sent: 10 May 2005 15:44
To: balwant singh
Cc: php-general@lists.php.net
Subject: Re: [PHP] how to know whether web server of a remote machine is
running or not
Try connecting to it on port 80, the default for web servers. You can
actually play around by connecting to a webserver (or mail s
Hello balwant,
Tuesday, May 10, 2005, 5:59:15 AM, you wrote:
b> is there any method to know whether the other webserver is running
b> or not.
http://us2.php.net/fsockopen
You'll be doing what's termed an HTTP Ping. You make a socket
connection to the other server, perform a GET request on a page
On Tuesday 10 May 2005 14:59, balwant singh wrote:
> Hi,
>
> I want to make a page (on a webserver) which will be redirected to
> another page on another webserver and hence i want to know whether the
> another webserver is running or not so that if the webserver is not
> running it do something e
Try connecting to it on port 80, the default for web servers. You can
actually play around by connecting to a webserver (or mail server)
through telnet. On the command line just type "telnet website.com 80".
If the server is up, you should be able to interact with the webserver.
Type something
On 5/10/05, balwant singh <[EMAIL PROTECTED]> wrote:
> is there any method to know whether the other webserver is running or not.
There are lots of methods:
system( 'telnet hostname 80' );
fopen();
fsockopen();
Curl.
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP Genera
Hi,
I want to make a page (on a webserver) which will be redirected to
another page on another webserver and hence i want to know whether the
another webserver is running or not so that if the webserver is not
running it do something else.
is there any method to know whether the other webserve
Thanks Richard for your answer
Il giorno 29/apr/05, alle 10:07 PM, Richard Lynch ha scritto:
If you're just going to delete the files after your script is done, why
copy them somewhere else at all?
Your best bet is to try and use the /tmp dir, or, more properly, what
PHP
thinks is a "good" place
On Fri, April 29, 2005 1:51 am, Giulio said:
> Having to read some uploaded files, perform operations on them (
> basically attach them on a single file ), and then save the resulting
> file using ftp, and trying to have the php page as general as possible
> ( I mean have it work on the larger numb
I know, uploading files and handling them is an issue covered again and
again, but there are still some answers I can'tfind on archives.
Having to read some uploaded files, perform operations on them (
basically attach them on a single file ), and then save the resulting
file using ftp, and try
Current version of PHP cannot forsee the future, this will be worked on
when PHP5 is out and stabilized.
Untill then you have to make your own judgments, for example if the
array you feed into very_slow_func() has more then 1486 elements, your
code will time out.
Zak Mc Kracken wrote:
Hi all,
Hi all,
I'm using syslog() function to log messages. My problem is enough
typical. An example:
syslog ( LOG_DEBUG, "The function output is: " . very_slow_func () );
Since very_slow_func() is, as written, very slow, I would like to know
in advance if this message will be actually logged or not, so
Yeah, spend a milisecond looking at the manual, and you'll find
"Filesystem Functions"
Mohd_Q wrote:
I wonder if there is a way to get the files names in a given directory.
--
By-Tor.com
It's all about the Rush
http://www.by-tor.com
--
PHP General Mailing List (http://www.php.net/)
To unsu
Try readdir()
http://www.php.net/manual/en/function.readdir.php
Marco
--
php|architect - The magazine for PHP Professionals
The first monthly worldwide magazine dedicated to PHP programmers
Check us out on the web at http://www.phparch.com
On Sat, 2002-11-09 at 15:01, Mohd_Q wrot
I wonder if there is a way to get the files names in a given directory.
ðÒÉ×ÅÔ!
John Holmes wrote:
> Not possible with HTTP, as far as I know. The file is simply sent,
> there's no communication back and forth.
>
> ---John Holmes...
That's from within a single script. But it becvomes possible if you have
a page like this
+---+
! +---+ !
! mai
Not possible with HTTP, as far as I know. The file is simply sent,
there's no communication back and forth.
---John Holmes...
> -Original Message-
> From: S. [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 11, 2002 2:45 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP
Thanks to all for your prompt replies!
It works just fine.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
yip on the browser a small padlock should appear
> -Original Message-
> From: LeTortorec, Jean-Louis [mailto:[EMAIL PROTECTED]]
> Sent: 11 July 2002 4:33 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] How to know if we're using http or https
>
>
> Hello a
You can use either of the following checks to see if
the user is using HTTPS...
$HTTPS == "on"
$SERVER_PORT == "443"
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
if ( $_SERVER["HTTPS"]=="on" )
user using HTTPS
else
user usin http
- Original Message -
From: "LeTortorec, Jean-Louis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 11, 2002 8:32 AM
Subject: [PHP] How to know
Hello all!
Is there a flag that would tell me if the page requested is using SSL, by
https, or regular http?
I'm not sure I could get that from PHP, or from Apache/PHP.
Thanks for your help.
Jean-Louis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.n
Hello,
I'm beginning to use PHP, maybe my question is very simple...
Anyway, I want permit users to upload files using a form, and I would show
them the upload progress status...
I don't know how to extract informations about upload progress status and how
to show informations to users. For exam
, 2001 8:09 AM
To: [EMAIL PROTECTED]
Subject: [PHP] how to know if email sent
hi everybody
i'm making an automatic booking system in php. for the hotelier it's also
possible to calculte offers and send them to his gasts. we send the email
with @mail and although we put in a right-formated
hi everybody
i'm making an automatic booking system in php. for the hotelier it's also
possible to calculte offers and send them to his gasts. we send the email
with @mail and although we put in a right-formated (with @ in it etc.) but
wrong email adress the function results true.
so we tried to
Your best bet would probably be to use the environment variables
getenv("REQUEST_URI") will get you the URL minus the host name, so
basically it's the relative path.
getenv("HTTP_HOST") will return the hostname (www.whatever.com)
Hope this helps.
Regards,
Matt
At 09:40 AM 2/9/2001, you wrote
ROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 09, 2001 10:40 AM
Subject: [PHP] how to know which web dir you're in
> Anyone got any ideas on how to tell what the url you're at? One of my
sites
> is for a bank with a bunch of branches, and when people go to a site for
Anyone got any ideas on how to tell what the url you're at? One of my sites
is for a bank with a bunch of branches, and when people go to a site for a
branch, I want the "prequalify for loan" to know where the person came from
(it's the same page for all branches, but it just has a select box) an
61 matches
Mail list logo