On Thu, Jul 19, 2012 at 2:26 PM, Matijn Woudt wrote:
>
> Is this really the recommended way on distros' which package the pecl
> packages?
> It seems to me it would be better to use the distros' version, so it
> has the required patches (if any) for them to work correctly on the
> distro, and the
On Thu, Jul 19, 2012 at 6:58 PM, Daniel Brown wrote:
> On Thu, Jul 19, 2012 at 12:18 PM, Mihamina Rakotomandimby
> wrote:
>> Hi all,
>> Wondering about the difference between PECL and PEAR, I found:
>> http://board.phpbuilder.com/showthread.php?10339238-Pecl-vs-Pear
>>
>> Is it a suitable answer?
On Thu, Jul 19, 2012 at 12:18 PM, Mihamina Rakotomandimby
wrote:
> Hi all,
> Wondering about the difference between PECL and PEAR, I found:
> http://board.phpbuilder.com/showthread.php?10339238-Pecl-vs-Pear
>
> Is it a suitable answer?
It's close.
PECL (sometimes pronounced "pickle") sta
Hi all,
Wondering about the difference between PECL and PEAR, I found:
http://board.phpbuilder.com/showthread.php?10339238-Pecl-vs-Pear
Is it a suitable answer?
If so, several Linux ditribution have:
* php-pecl-xxx (PECL)
* php-pear-vvv (PEAR)
* php-yyy (???)
packages (rpm and deb).
What about
> -Original Message-
> From: Ashim Kapoor [mailto:ashimkap...@gmail.com]
> Sent: Saturday, January 22, 2011 5:09 AM
> To: php-general@lists.php.net
> Subject: [PHP] Difference between CURLOPT_URL and wget
>
> Dear All,
>
> I am a beginner at PHP. I was stud
Dear All,
I am a beginner at PHP. I was studying the curl library and I came across
CURLOPT_URL.I think this can be used similar to wget ? What would be the
major differences in these 2 ?
Thank you,
Ashim
June 2009 15:55
To: Matthew Croud
Cc: Dajve Green; PHP General list
Subject: Re: [PHP] difference between two times? Date_diff and
DateTime::diff
The first example here may help:
http://us3.php.net/manual/en/function.time.php
2009/6/16 Matthew Croud
Hi
om
PHP 5.3, which is currently in release candidate stage, meaning
unless you
have your own server running PHP, it won't be available to use
(hopefully -
I would be sceptical of any webhost which rolls out RCs on
production
servers).
If you need to know what version of PHP you're runn
5.3, which is currently in release candidate stage, meaning
> > unless you
> > have your own server running PHP, it won't be available to use
> > (hopefully -
> > I would be sceptical of any webhost which rolls out RCs on production
> > servers)
fully
>> -
>> I would be sceptical of any webhost which rolls out RCs on production
>> servers).
>>
>> If you need to know what version of PHP you're running, use:
>> phpversion() or phpinfo()
>>
>> -Original Message-
>>> From:
From: Matthew Croud [mailto:m...@obviousdigital.com]
Sent: 16 June 2009 12:42
To: Tom Chubb
Cc: PHP General list
Subject: Re: [PHP] difference between two times? Date_diff and
DateTime::diff
Hi Tom,
Thanks for the reply, I believe I have a fair understanding of
functions, and I have followed the example
out RCs on production
servers).
If you need to know what version of PHP you're running, use:
phpversion() or phpinfo()
> -Original Message-
> From: Matthew Croud [mailto:m...@obviousdigital.com]
> Sent: 16 June 2009 12:42
> To: Tom Chubb
> Cc: PHP General list
> Subj
Hi Tom,
Thanks for the reply, I believe I have a fair understanding of
functions, and I have followed the example on the PHP manual page ( http://uk3.php.net/manual/en/function.date-diff.php
), ideally I want to know how to use the class DateTime::diff, how
can I use the DateTime::diff to
Hello,
My journey of learning PHP is going well, so i've decided to make a
small program which works out the difference between two times and
records the data in a text file.
I've searched the PHP manual for functions which can help me out, and
I discovered the function Date_diff ( http:
Lo again,
found my mistake.. in fact, it was the hex-to-rgb conversion not working
properly in some cases.
[SUBJECT CLOSED]
zyro wrote:
>
> Hello together,
>
> I stumbled onto a curious problem:
> i am generating a jpeg/gif with the imagejpeg/imagegif functions (type
> does not alter the res
Hello together,
I stumbled onto a curious problem:
i am generating a jpeg/gif with the imagejpeg/imagegif functions (type does
not alter the result).
Example color "#ff": The hexToRGB coversion etc is all working fine. The
image (if its send directly to the browser via header and
imagegif/im
Lamp Lists wrote:
hi to all!
on one eZine site, I have to show when the article is posted but as difference from NOW. like
"posted 32 minutes ago", or "posted 5 days ago".
is there already sucha php/mysql function?
thanks.
Hi,
I don't know about existing functions but you can us
hi to all!
on one eZine site, I have to show when the article is posted but as
difference from NOW. like "posted 32 minutes ago", or "posted 5 days ago".
is there already sucha php/mysql function?
thanks.
-ll
-
Never miss a thing. Make
At 12:41 PM +0200 7/20/06, Chris Grigor wrote:
>Morning all,
>
>I am looking to get the differnce in hours / minutes between 2 values.
>
>Currently I have 2 time entries being retruned from mysql, one which is a
>start time and
>the other which is a finish time.
>
>So
>
>$start = '13:12:17';
>$fini
At 1:51 PM +0200 7/20/06, nicolas figaro wrote:
>IMHO, the best is to generate a timestamp using mktime for each date.
>you can the calculate the difference of timestamps and convert it back using
>date.
>
>$tm_start = mktime(substr($start,0,2),substr($start,3,2), substr($start,5,2));
>$tm_finish
|Found this on the PHP web site,
you can add the conversions as the first lines in the functions.
function callDuration($dateTimeBegin,$dateTimeEnd) {
$dif=$dateTimeEnd - $dateTimeBegin;
$hours = floor($dif / 3600);
$temp_remainder = $dif - ($hours * 3600);
$minutes
Morning all,
I am looking to get the differnce in hours / minutes between 2 values.
Currently I have 2 time entries being retruned from mysql, one which is a
start time and
the other which is a finish time.
So
$start = '13:12:17';
$finish = '23:12:17';
How would one get the differnce between
Chris Grigor a écrit :
Morning all,
I am looking to get the differnce in hours / minutes between 2 values.
Currently I have 2 time entries being retruned from mysql, one which is a
start time and
the other which is a finish time.
So
$start = '13:12:17';
$finish = '23:12:17';
How would one g
Morning all,
I am looking to get the differnce in hours / minutes between 2 values.
Currently I have 2 time entries being retruned from mysql, one which is a
start time and
the other which is a finish time.
So
$start = '13:12:17';
$finish = '23:12:17';
How would one get the differnce between
MAIL PROTECTED]
Sent: Saturday, January 21, 2006 3:44 AM
To: php; php-install@lists.php.net
Subject: [PHP] difference between require and include
Can anyone tell me the exact differeneces between require and include?
--
balachandar muruganantham
mbchandar
mbchandar
http://chandar.blogspot.com
http://ca.php.net/manual/en/function.include.php
On 1/20/06, balachandar muruganantham <[EMAIL PROTECTED]> wrote:
>
> Can anyone tell me the exact differeneces between require and include?
>
> --
> balachandar muruganantham
> mbchandar
> mbchandar
> http://chandar.blogspot.com
> http://www.ba
Can anyone tell me the exact differeneces between require and include?
--
balachandar muruganantham
mbchandar
mbchandar
http://chandar.blogspot.com
http://www.balachandar.net
http://www.expertstalk.org
http://www.chennaishopping.com
--
PHP General Mailing List (http://www.php.net/)
To unsub
Hi
I created a new extension in php-4.3.1 using the ext_skel script. When I
edit the config.m4 file, I see a comment that says 'If your extension
references something external, use with' seems rather ambiguous. Its not
clear if something external is the UNIX file system, a socket connection
On Wednesday 26 November 2003 05:21 pm, Gerard Samuel wrote:
> That is not explained in the manual
> As far as I can tell, the difference (according to the manual) is that one
> can be overridden by an .htaccess file, while the other cannot
>
> Im testing to see how my script is behaving in
That is not explained in the manual
As far as I can tell, the difference (according to the manual) is that one can
be overridden by an .htaccess file, while the other cannot
Im testing to see how my script is behaving in an environment with
safe_mode turned on.
In apache's config file, I
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> * Thus wrote Ivo Fokkema ([EMAIL PROTECTED]):
> > Hi list,
> >
> > Just out of curiosity I would like to know if anyone can tell me the
> > difference between some $_SERVER variables that generate the same output
(in
> > my
* Thus wrote Ivo Fokkema ([EMAIL PROTECTED]):
> Hi list,
>
> Just out of curiosity I would like to know if anyone can tell me the
> difference between some $_SERVER variables that generate the same output (in
> my test-file at least).
>
> For instance, what is the difference between $_SERVER['HTT
server name - real name of the server, ie when you do a reverse dns
lookup you get (usualy) this
http host - content of the Host: header, that is virtual host
Ivo Fokkema wrote:
Hi list,
Just out of curiosity I would like to know if anyone can tell me the
difference between some $_SERVER variabl
主题: [PHP] Difference between equal
$_SERVER
variables?
2003-07-24
Hi list,
Just out of curiosity I would like to know if anyone can tell me the
difference between some $_SERVER variables that generate the same output (in
my test-file at least).
For instance, what is the difference between $_SERVER['HTTP_HOST'] and
$_SERVER['SERVER_NAME']? Can they generate diff
on 17/06/03 6:09 PM, Jarmo Järvenpää ([EMAIL PROTECTED]) wrote:
> Hi
>
> A quickie, how does the $_POST[foo] and $_POST['foo'] differ?
> Both do work.
$_POST[foo] will look for a pre defined constant foo.
Under certain error-reporting levels, this will generate an notice/warning,
and it assumes
Hi
A quickie, how does the $_POST[foo] and $_POST['foo'] differ?
Both do work.
BR,
Jarmo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm trying to get reliable values for memory usage on my php scripts,
some of which are making big pdfs using PDFlib.
I've set up a CustomLog in my apache config file using the PHP memory
usage note to apache and I'm trying to understand the discrepancies
between the peak memory usage value logged
> How do I subtract the difference of months between two dates?
>
> For instance, if one date is 2003-12 and the other is 2002-08, I need
to
> know that there are 16 months between them. If one date is 2003-04 and
the
> other is 2003-01, I need to know that there are 3 months between them.
How
> c
Hi,
When compiling PHP what is the difference between these two :
./configure --with-mysql=shared
./configure --with-mysql=/usr/bin/mysql
What are the advantages/disadvatages of using either.
thx
g
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.
I'm trying to do a mail function where if the date the email was posted was
today then a "new message" would display, otherwise not.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 13 Dec 2002, Colin Bossen wrote:
> I have a similar problem. I am trying to figure out which of two dates
> is greater. Both are in the -mm-dd format. Is there any easy
> function that allows this sort of comparison or am I missing something?
You have a simpler problem. -mm-dd i
Colin,
> I have a similar problem. I am trying to figure out which of two dates
> is greater. Both are in the -mm-dd format. Is there any easy
> function that allows this sort of comparison or am I missing something?
Treat the dates as strings not numbers:
$DateOne = "2002-12-13";
$DateTw
ts2)
{
// .. blah blah blah.
}
-Kevin
- Original Message -
From: "Colin Bossen" <[EMAIL PROTECTED]>
To: "vernon" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, December 13, 2002 2:50 PM
Subject: Re: [PHP] Difference between 2 Dates
&
I have a similar problem. I am trying to figure out which of two dates
is greater. Both are in the -mm-dd format. Is there any easy
function that allows this sort of comparison or am I missing something?
On Friday, December 13, 2002, at 01:43 PM, vernon wrote:
I found this code on the php.
-
From: "vernon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 13, 2002 12:43 PM
Subject: [PHP] Difference between 2 Dates
> I found this code on the php.net web site but am new to php and can't
figure
> out how to dispaly the difference once
I found this code on the php.net web site but am new to php and can't figure
out how to dispaly the difference once calucuated. Belowis the code I'm
using:
# --- Date Difference ---
#Date 1 from MySQL database recordset row
$date1 = $row_rsMESSAGES['privmsgs_date'];
#Date 2 - now
$date2 = date("ym
Hi,
I'm using a 3rd pary debug class (ErrorHandler -
http://www.phpclasses.org/browse.html/package/345.html) in this project I'm
working on. For this ErrorHandler class to work it just needs to be
instantiated at the beginning of a php file and it will catch the errors,
warnings and notices.
But
What is the difference from using $_GET['some_var'] from using $_REQUEST['some_var']?
I think the documentation says either can be used to do the same thing.
What is the performance difference from having register_globals turned off from having
it turned on?
I assume the default was changed for
On Mon, 8 Jul 2002, Jay Blanchard wrote:
> We have some cases where we run PHP as a standalone executable for scripting
> certain processes that can be called from CRON, and we also have PHP for
> Apache. Does the php.ini affect both? Specifically script times?
Check the output of phpinfo() for
Good afternoon,
We have some cases where we run PHP as a standalone executable for scripting
certain processes that can be called from CRON, and we also have PHP for
Apache. Does the php.ini affect both? Specifically script times?
Thanks!
Jay
--
PHP General Mailing List (http://www.php.net/
On Thu, 18 Apr 2002, Norman Zhang wrote:
> I am looking at some codes. Some authors use $foo and isset($foo)
> interchangeably. Just to want to make sure that the statement,
>
> if ($foo) { ... }
>
> is different from
>
> if (isset($foo)) { ... }
>
> Right? if ($foo) means variable exists and
Hi,
I am looking at some codes. Some authors use $foo and isset($foo)
interchangeably. Just to want to make sure that the statement,
if ($foo) { ... }
is different from
if (isset($foo)) { ... }
Right? if ($foo) means variable exists and can be null. Whereas, isset($foo)
means that the value i
Warning: Supplied argument is not a valid MySQL result
resource in c:\program files\apache
group\apache\cgi-bin\emp.php3 on line 10
$db = mysql_connect("localhost", "", "");
mysql_select_db("employee",$db);
$result = mysql_query("SELECT * FROM employees",$db);
echo "";
echo "";
echo "Name";
echo
Hello,
I got the solution for the date difference problem..,,
Thankyou very much.
-Uma
"Uma Shankari T." <[EMAIL PROTECTED]> wrote:
> If i gave the str date as "31-01-2001"; and $str1="04-02-2001"; then it
> is displaying the wrong result
>
> Plz tell me how can i rectify this p
"Uma Shankari T." <[EMAIL PROTECTED]> wrote:
> If i gave the str date as "31-01-2001"; and $str1="04-02-2001"; then it
> is displaying the wrong result
>
> Plz tell me how can i rectify this problem...
Uma,
I wrote a function last year that calculates the time between 2 dates in
whatever unit i
If i gave the str date as "31-01-2001"; and $str1="04-02-2001"; then it
is displaying the wrong result
Plz tell me how can i rectify this problem...
-Uma
On Tue, 19 Feb 2002, Rasmus Lerdorf wrote:
RL>This will give you the difference between the two dates in seconds:
RL>
RL>$diff
You can convert the time into seconds using mktime(), subtract one from
the other, and then reformat it using gmstrftime:
//int mktime ( int hour, int minute, int second, int month, int day, int
year [, int is_dst])
//string gmstrftime ( string format [, int timestamp])
";
echo "$time2"
This will give you the difference between the two dates in seconds:
$diff = strtotime(str_replace('-','/',$str1)) - strtotime(str_replace('-','/',$str));
-Rasmus
On Wed, 20 Feb 2002, Uma Shankari T. wrote:
>
>
>
> Hello,
>
> How can i find out the difference between two dates.
>
> I am h
Hello,
How can i find out the difference between two dates.
I am having the date like this
$str="10-01-2001";
$str1="01-02-2002";
I need to find out the difference between the date,month and year.
If anyone know the solution for this problem plz tell me
-Uma
--
PHP General Mai
Andrey Hristov
AH>
AH>- Original Message -
AH>From: "Uma Shankari T." <[EMAIL PROTECTED]>
AH>To: <[EMAIL PROTECTED]>
AH>Sent: Tuesday, February 19, 2002 10:50 AM
AH>Subject: [PHP] Difference between two dates
AH>
AH>
AH>>
AH>>
AH>
Try this :
$d1=strtotime('d-m-Y',$str);
$d2=strtotime('d-m-Y',$str1);
var_dump($d2-$d1);
Best regards,
Andrey Hristov
- Original Message -
From: "Uma Shankari T." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 19, 2002
Read this article at PHPbuilder:
http://www.phpbuilder.com/columns/akent2610.php3
- D
- Original Message -
From: "Uma Shankari T." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 19, 2002 9:50 AM
Subject: [PHP] Difference between two
Hello,
How can i find out the difference between two dates.
I am having the date like this
$str="10-01-2001";
$str1="01-02-2002";
I need to find out the difference between the date,month and year.
If anyone know the solution for this problem plz tell me
-Uma
--
PHP General Maili
Hi,
where's the difference between the Popmail vpopmail_add_domain AND
vpopmail_add_domain_ex??
Do you have to make vpopmail_add_domain first, before you make
vpopmail_add_domain_ex?
Thanx,
--
Mit freundlichem Gruß,
Johannes Tyra
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
We had a discussion this morning in our office on the differences between cookie and
session.
I just would like to ask the body if your could enlighten me more on this.
And another thing, can cookie be a carrier of some virus across the internet?
Thanks,
Ryan
Ok,
1 is IMO not correct, a string should be quoted.
2 and 3 make no practical difference in this situation,
although 2 is probably somewhat faster because PHP
doesn't substitute variables with their value when they're
within single quotes.
for code readability it is probaby best if you alwa
Hello,
What's the difference between:
1.- $row[column_name];
2.- $row['column_name'];
3.- $row["column_name"];
?
ragards Bart
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Wanted to download PHP 4.1.1 RPM.
What's the difference between i586 RPM and SRC.RPM?
What sites provide non-FTP download for PHP4.1.1 RPM?
Thanx ppl!
_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
Check the return value of mysql_query(). It should either evaluate to
false, or true. If false, then output some error messages using
mysql_error() and mysql_errno().
-JasonGarber
IonZoftDotCom
At 01:29 PM 11/17/2001 -0500, Jeff Lewis wrote:
>I am wondering if there are any difference betwee
are you actually doing anything with $request? that just gets a mysql result
back in a variable, you then have to extract the data from it...
Jeff Lewis wrote:
> I am wondering if there are any difference between using PHP and using the
> command line for mySQL. Entering this at the comman line
I am wondering if there are any difference between using PHP and using the
command line for mySQL. Entering this at the comman line returns all the
membergroups properly. When I use this in my PHP program, it doesn't
continue past this line:
$request = mysql_query("SELECT membergroup FROM membe
Though i'm a bit of a newbie myself, I believe the only difference between
the 2 is that some servers require
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 09, 2001 11:43 AM
Subject: [PHP] difference between Hi,
>
> I am a newbie at this PHP thing and I have been working from
The problem comes if you use php to generate xml documents in xml you
use the tag
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, September 09, 2001 8:05 PM
Subject: RE: [PHP] difference between
> There isn't any difference, if your php.ini settings allow
There isn't any difference, if your php.ini settings allow it
(short_tags, I believe), you can use mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 09, 2001 2:43 PM
To: [EMAIL PROTECTED]
Subject: [PHP] difference between http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
Hi,
I am a newbie at this PHP thing and I have been working from information
on the web and from books.
I noticed that some start the PHP script with http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrato
My messageboard is working properly in Win98 Apache;
However, it doesn't work properly under Win2000 with the same code.
( Problem: it can save the message but cannot read from file)
I have a questionis there any difference between 98 and 2000?
thx for your help
...nick
77 matches
Mail list logo