[PHP] difference PEAR PECL

2012-07-19 Thread Mihamina Rakotomandimby
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

Re: [PHP] difference PEAR PECL

2012-07-19 Thread Daniel Brown
On Thu, Jul 19, 2012 at 12:18 PM, Mihamina Rakotomandimby miham...@rktmb.org 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

Re: [PHP] difference PEAR PECL

2012-07-19 Thread Matijn Woudt
On Thu, Jul 19, 2012 at 6:58 PM, Daniel Brown danbr...@php.net wrote: On Thu, Jul 19, 2012 at 12:18 PM, Mihamina Rakotomandimby miham...@rktmb.org wrote: Hi all, Wondering about the difference between PECL and PEAR, I found: http://board.phpbuilder.com/showthread.php?10339238-Pecl-vs-Pear

Re: [PHP] difference PEAR PECL

2012-07-19 Thread Daniel Brown
On Thu, Jul 19, 2012 at 2:26 PM, Matijn Woudt tijn...@gmail.com 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

[PHP] Difference between CURLOPT_URL and wget

2011-01-22 Thread Ashim Kapoor
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

RE: [PHP] Difference between CURLOPT_URL and wget

2011-01-22 Thread Tommy Pham
-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 studying the curl library and I came across

[PHP] difference between two times? Date_diff and DateTime::diff

2009-06-16 Thread Matthew Croud
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 (

Re: [PHP] difference between two times? Date_diff and DateTime::diff

2009-06-16 Thread Matthew Croud
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

RE: [PHP] difference between two times? Date_diff and DateTime::diff

2009-06-16 Thread Dajve Green
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 Subject: Re: [PHP] difference between two

Re: [PHP] difference between two times? Date_diff and DateTime::diff

2009-06-16 Thread Matthew Croud
...@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 on the PHP manual page ( http

Re: [PHP] difference between two times? Date_diff and DateTime::diff

2009-06-16 Thread Tom Chubb
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 Subject: Re: [PHP] difference between two times? Date_diff and DateTime::diff Hi Tom

Re: [PHP] difference between two times? Date_diff and DateTime::diff

2009-06-16 Thread Ian
] 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 on the PHP manual page

Re: [PHP] difference between two times? Date_diff and DateTime::diff

2009-06-16 Thread Matthew Croud
() or phpinfo() -Original Message- 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

RE: [PHP] difference between two times? Date_diff and DateTime::diff

2009-06-16 Thread Dajve Green
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 m

Re: [PHP] Difference between imagegif/imagejpeg sending to browser - saving to file?

2008-05-08 Thread zyro
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 result).

[PHP] Difference between imagegif/imagejpeg sending to browser - saving to file?

2008-05-06 Thread zyro
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

Re: [PHP] difference in time

2008-03-11 Thread Aschwin Wesselius
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 use

[PHP] difference in time

2008-03-10 Thread Lamp Lists
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

[PHP] Difference between 2 time entries

2006-07-20 Thread Chris Grigor
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

Re: [PHP] Difference between 2 time entries

2006-07-20 Thread nicolas figaro
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

[PHP] Difference between 2 time entries

2006-07-20 Thread Chris Grigor
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

Re: [PHP] Difference between 2 time entries

2006-07-20 Thread John Meyer
|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

Re: [PHP] Difference between 2 time entries

2006-07-20 Thread tedd
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 =

Re: [PHP] Difference between 2 time entries

2006-07-20 Thread tedd
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'; $finish =

[PHP] difference between require and include

2006-01-20 Thread balachandar muruganantham
Can anyone tell me the exact differeneces between require and include? -- name balachandar muruganantham/name Yahoo! mbchandar/Yahoo! Hotmail mbchandar/Hotmail blog http://chandar.blogspot.com/blog webhttp://www.balachandar.net/web talk http://www.expertstalk.org/talk

Re: [PHP] difference between require and include

2006-01-20 Thread Adi
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? -- name balachandar muruganantham/name Yahoo! mbchandar/Yahoo! Hotmail mbchandar/Hotmail blog

RE: [PHP] difference between require and include

2006-01-20 Thread Weber Sites LTD
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? -- name balachandar muruganantham/name Yahoo! mbchandar/Yahoo! Hotmail mbchandar/Hotmail

[PHP] Difference between --with-... and --enable-... in config.m4 [php-4.3.1]

2004-01-26 Thread Bruce Bailey
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. It’s not clear if ‘something external’ is the UNIX file system, a socket

[PHP] Difference between php_flag php_admin_flag

2003-11-26 Thread Gerard Samuel
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

Re: [PHP] Difference between php_flag php_admin_flag

2003-11-26 Thread Gerard Samuel
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 an

[PHP] Difference between equal $_SERVER variables?

2003-07-24 Thread Ivo Fokkema
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

: [PHP] Difference between equal $_SERVERvariables?

2003-07-24 Thread chenqi1
] [PHP] Difference between equal $_SERVER variables? 2003-07-24

Re: [PHP] Difference between equal $_SERVER variables?

2003-07-24 Thread Marek Kilimajer
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

Re: [PHP] Difference between equal $_SERVER variables?

2003-07-24 Thread Curt Zirzow
* 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

Re: [PHP] Difference between equal $_SERVER variables?

2003-07-24 Thread Ivo Fokkema
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 test-file at

[PHP] Difference between $_POST[foo] and $_POST['foo']?

2003-06-17 Thread Jarmo Järvenpää
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

Re: [PHP] Difference between $_POST[foo] and $_POST['foo']?

2003-06-17 Thread Justin French
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

[PHP] difference twixt mod_php_memory_usage and top size/res

2003-06-09 Thread Eric Gehner
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

RE: [PHP] Difference between months

2003-03-25 Thread John W. Holmes
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 can I

Re: [PHP] Difference between

2003-03-08 Thread Ernest E Vogelsinger
At 05:54 08.03.2003, James Taylor said: [snip] Ok, this may have already been posted to the list already, but the archives don't seem to like the and characters. I'm running into some code that looks like this: snip Define('INPUT', 2); snip

[PHP] Difference between

2003-03-07 Thread James Taylor
Ok, this may have already been posted to the list already, but the archives don't seem to like the and characters. I'm running into some code that looks like this: snip Define('INPUT', 2); snip if($search-level INPUT) $tmp.= $search-input(); Ok, what's the mean? As far as I could tell

Re: [PHP] Difference between

2003-03-07 Thread Leo Spalteholz
On March 7, 2003 08:54 pm, James Taylor wrote: Ok, this may have already been posted to the list already, but the archives don't seem to like the and characters. I'm running into some code that looks like this: snip Define('INPUT', 2); snip if($search-level INPUT) $tmp.=

[PHP] difference between shared and /usr/bin/mysql

2003-01-15 Thread gamin
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:

[PHP] Difference between 2 Dates

2002-12-13 Thread vernon
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 =

Fw: [PHP] Difference between 2 Dates

2002-12-13 Thread Kevin Stone
- 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 calucuated. Belowis the code I'm using

Re: [PHP] Difference between 2 Dates

2002-12-13 Thread Colin Bossen
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

Re: [PHP] Difference between 2 Dates

2002-12-13 Thread Kevin Stone
) { // .. 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

Re: [PHP] Difference between 2 Dates

2002-12-13 Thread DL Neil
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; $DateTwo =

Re: [PHP] Difference between 2 Dates

2002-12-13 Thread Jean-Marc Libs
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 is

Re: [PHP] Difference between 2 Dates

2002-12-13 Thread vernon
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

[PHP] Difference between $object = new Class and $object = new Class

2002-10-15 Thread Tim Molendijk
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.

[PHP] difference

2002-08-02 Thread Bob Lockie
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

[PHP] Difference between executable and Apache server

2002-07-08 Thread Jay Blanchard
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

Re: [PHP] Difference between executable and Apache server

2002-07-08 Thread Chris Wesley
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

[PHP] difference between $foo and isset($foo)

2002-04-18 Thread Norman Zhang
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

Re: [PHP] difference between $foo and isset($foo)

2002-04-18 Thread Miguel Cruz
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 can be

[PHP] difference between php3 and php4

2002-02-22 Thread toni baker
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 table border=0; echo tr; echo td

Re: [PHP] Difference between two dates

2002-02-20 Thread Steve Werby
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 is preferred

Re: [PHP] Difference between two dates

2002-02-20 Thread Uma Shankari T.
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 problem...

[PHP] Difference between two dates

2002-02-19 Thread Uma Shankari T.
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 Mailing

Re: [PHP] Difference between two dates

2002-02-19 Thread Daniel Alsén
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 dates Hello, How

Re: [PHP] Difference between two dates

2002-02-19 Thread Andrey Hristov
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 10:50 AM Subject: [PHP] Difference between two

Re: [PHP] Difference between two dates

2002-02-19 Thread Uma Shankari T.
: Uma Shankari T. [EMAIL PROTECTED] AHTo: [EMAIL PROTECTED] AHSent: Tuesday, February 19, 2002 10:50 AM AHSubject: [PHP] Difference between two dates AH AH AH AH AH Hello, AH AH How can i find out the difference between two dates. AH AH I am having the date like this AH AH $str=10-01-2001

[PHP] Difference between two dates

2002-02-19 Thread Uma Shankari T.
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

Re: [PHP] Difference between two dates

2002-02-19 Thread Rasmus Lerdorf
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 having

Re: [PHP] Difference between two dates

2002-02-19 Thread Steven Walker
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]) ? $time1 =

Re: [PHP] Difference between two dates

2002-02-19 Thread Uma Shankari T.
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: RLThis will give you the difference between the two dates in seconds: RL RL$diff =

[PHP] Difference between vpopmail_add_domain AND vpopmail_add_domain_ex

2002-02-15 Thread Johannes Tyra [BrainData]
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

[PHP] Difference between cookie and session

2002-02-13 Thread Ryan F. Bayhonan
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

[PHP] difference !!??

2002-02-07 Thread B. Verbeek
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

Re: [PHP] difference !!??

2002-02-07 Thread bvr
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

[PHP] Difference between i586 RPM and SRC.RPM?

2002-01-23 Thread gaukia 345
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.

Re: [PHP] Difference of queries in PHP/mySQL?

2001-11-18 Thread Jason G.
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

[PHP] Difference of queries in PHP/mySQL?

2001-11-17 Thread Jeff Lewis
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

Re: [PHP] Difference of queries in PHP/mySQL?

2001-11-17 Thread Jack Dempsey
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

RE: [PHP] difference between ?php and ?

2001-09-09 Thread Matthew Loff
There isn't any difference, if your php.ini settings allow it (short_tags, I believe), you can use ? instead of ?php -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 09, 2001 2:43 PM To: [EMAIL PROTECTED] Subject: [PHP] difference between

Re: [PHP] difference between ?php and ?

2001-09-09 Thread Tom Carter
those.. ie echo('?xml'); works fine - Original Message - From: Matthew Loff [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, September 09, 2001 8:05 PM Subject: RE: [PHP] difference between ?php and ? There isn't any difference, if your php.ini settings allow