Re: [PHP] php or juvascript convert IETF format to ISO08601

2011-03-15 Thread Simon J Welsh
On 15/03/2011, at 9:18 PM, Joce Jovanov wrote: > On Tue, Mar 15, 2011 at 12:44 AM, Simon J Welsh wrote: > >> On 15/03/2011, at 12:32 PM, Jordan wrote: >> >>> Hello Evrybody, >>> >>> Can i convert IETF format (ex: "Wed, 18 Oct 2009 13:00:00 EST") in >> ISO8601 format (ex: "2009-11-05T13:15:30Z

Re: [PHP] php or juvascript convert IETF format to ISO08601

2011-03-14 Thread Simon J Welsh
On 15/03/2011, at 12:32 PM, Jordan wrote: > Hello Evrybody, > > Can i convert IETF format (ex: "Wed, 18 Oct 2009 13:00:00 EST") in ISO8601 > format (ex: "2009-11-05T13:15:30Z") > > Does somebody know some php scripte or similar? > > Thanks... strtotime() (http://php.net/strtotime) and date()

[PHP] php or juvascript convert IETF format to ISO08601

2011-03-14 Thread Jordan
Hello Evrybody, Can i convert IETF format (ex: "Wed, 18 Oct 2009 13:00:00 EST") in ISO8601 format (ex: "2009-11-05T13:15:30Z") Does somebody know some php scripte or similar? Thanks... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP or SQL to do this?

2010-02-24 Thread Ian
On 24/02/2010 05:46, Rob Gould wrote: > I'm not sure if I need to write a PHP for-loop to do this, or if it can all > be done in one SQL statement? > > Basically, I want to copy all the barcodes from one table and put them into > another table, but only if the barcode in the first table > 0, and

Re: [PHP] PHP or SQL to do this?

2010-02-23 Thread Jim Lucas
Rob Gould wrote: I'm not sure if I need to write a PHP for-loop to do this, or if it can all be done in one SQL statement? Basically, I want to copy all the barcodes from one table and put them into another table, but only if the barcode in the first table > 0, and only if the wineid's match

[PHP] PHP or SQL to do this?

2010-02-23 Thread Rob Gould
I'm not sure if I need to write a PHP for-loop to do this, or if it can all be done in one SQL statement? Basically, I want to copy all the barcodes from one table and put them into another table, but only if the barcode in the first table > 0, and only if the wineid's match from table to table

Re: [PHP] Intermittent etwork connection errors with apache. Restarting apache temporarily fixes the problem. PHP or apache problem?

2010-01-04 Thread Andy Shellam
Hi Mark, > I don't have any disconnect call in my code. Is this the same for all your connections code, apart from your LDAP? It's good practice to never assume that PHP will disconnect connections for you - explicitly call the disconnect function when your connection is done with. > Latel

[PHP] Intermittent etwork connection errors with apache. Restarting apache temporarily fixes the problem. PHP or apache problem?

2010-01-04 Thread Mark London
Hi - At the top of my php scripts, I have code to connect to our ldap server, in order for the scripts to make ldap requests. I don't have any disconnect call in my code. Lately I have noticed that the apache server will get into a state where connection requests will occasionally fail. When

Re: [PHP] Logging out of a SSL / https:// site using PHP? (or JS?), Client Side Cache

2009-04-21 Thread scubak1w1
""Michael A. Peters"" wrote in message news:49e4d4ca.7060...@mac.com... > scubak1w1 wrote: >> ""Michael A. Peters"" wrote in message >> news:49e41267.5010...@mac.com... >>> scubak1w1 wrote: I have a series of web sites which use https:// authentication (using AD integration to 'chec

Re: [PHP] Logging out of a SSL / https:// site using PHP? (or JS?), Client Side Cache

2009-04-14 Thread Michael A. Peters
scubak1w1 wrote: ""Michael A. Peters"" wrote in message news:49e41267.5010...@mac.com... scubak1w1 wrote: I have a series of web sites which use https:// authentication (using AD integration to 'check the credentials' as it were) - all seems to be working well.. I have been Googling et al.

Re: [PHP] Logging out of a SSL / https:// site using PHP? (or JS?), Client Side Cache

2009-04-14 Thread scubak1w1
""Michael A. Peters"" wrote in message news:49e41267.5010...@mac.com... > scubak1w1 wrote: >> I have a series of web sites which use https:// authentication (using AD >> integration to 'check the credentials' as it were) - all seems to be >> working well.. >> >> I have been Googling et al. for

Re: [PHP] Logging out of a SSL / https:// site using PHP? (or JS?), Client Side Cache

2009-04-13 Thread Michael A. Peters
scubak1w1 wrote: Hello, I have a series of web sites which use https:// authentication (using AD integration to 'check the credentials' as it were) - all seems to be working well.. I have been Googling et al. for a way to log the user off the site "fully"... I can do a series of thing

[PHP] Logging out of a SSL / https:// site using PHP? (or JS?), Client Side Cache

2009-04-13 Thread scubak1w1
Hello, I have a series of web sites which use https:// authentication (using AD integration to 'check the credentials' as it were) - all seems to be working well.. I have been Googling et al. for a way to log the user off the site "fully"... I can do a series of things on the server side

Re: [PHP] Choosing PHP or ? for building an automatic photo web.

2008-06-09 Thread Peter Sorensen
tp://stut.net/ - Original Message - From: "Stut" <[EMAIL PROTECTED]> Newsgroups: php.general To: "Peter Sorensen" <[EMAIL PROTECTED]> Cc: Sent: Sunday, June 08, 2008 11:27 PM Subject: Re: [PHP] Choosing PHP or ? for building an automatic photo web. On

[PHP] Re: Choosing PHP or ? for building an automatic photo web.

2008-06-08 Thread Dan
To answer your question peter, yes. This is exactly the type of thing that PHP will work for. Password protection is a very common feature, you can implement it either using PHP, or with htaccess, I recomend the ladder just because there's a standard simple way to do it (assuming your

Re: [PHP] Choosing PHP or ? for building an automatic photo web.

2008-06-08 Thread Stut
ot;Peter Sorensen" <[EMAIL PROTECTED]> Cc: Sent: Sunday, June 08, 2008 11:27 PM Subject: Re: [PHP] Choosing PHP or ? for building an automatic photo web. On 8 Jun 2008, at 21:44, Peter Sorensen wrote: I want to make my own web with my familie photos. At the same time I get

Re: [PHP] Choosing PHP or ? for building an automatic photo web.

2008-06-08 Thread Stut
On 8 Jun 2008, at 21:44, Peter Sorensen wrote: I want to make my own web with my familie photos. At the same time I get a remote backup for our photos. I am new to web prgramming including HTML, but as an electronic engineer I have some fundamental understanding of programming. I use windows XP

[PHP] Choosing PHP or ? for building an automatic photo web.

2008-06-08 Thread Peter Sorensen
Hi everyone I want to make my own web with my familie photos. At the same time I get a remote backup for our photos. I am new to web prgramming including HTML, but as an electronic engineer I have some fundamental understanding of programming. I use windows XP or Vista but that properly does no

Re: [PHP] sorting via PHP or MySQL?

2007-05-13 Thread Richard Lynch
On Thu, May 10, 2007 1:00 pm, James Tu wrote: > (I've cross posted at the MySQL list as well) > > Here's an example with a simple table: > > describe collection; > > +--+-+--+- > +-++ > | Field| Type

Re: [PHP] sorting via PHP or MySQL?

2007-05-10 Thread Larry Garfield
A somewhat more extensible version of the 1 query method: http://www.garfieldtech.com/blog/php-group-by If you will only ever have 2 values there, then either method is probably fine. The "php group by" method (above) is more extensible if you're going to have a variable or arbitrary number of

Re: [PHP] sorting via PHP or MySQL?

2007-05-10 Thread Robert Cummings
On Thu, 2007-05-10 at 14:00 -0400, James Tu wrote: > (I've cross posted at the MySQL list as well) > > Here's an example with a simple table: > > describe collection; > > +--+-+--+- > +-++ > | Field| Typ

RE: [PHP] sorting via PHP or MySQL?

2007-05-10 Thread Brad Fuller
James Tu wrote: > (I've cross posted at the MySQL list as well) > > Here's an example with a simple table: > > describe collection; > > +--+-+--+- > +-++ >> Field| Type| Null | Key | > Def

[PHP] sorting via PHP or MySQL?

2007-05-10 Thread James Tu
(I've cross posted at the MySQL list as well) Here's an example with a simple table: describe collection; +--+-+--+- +-++ | Field| Type| Null | Key | Default | Extra

Re: [PHP] PHP or Bridge (card game)

2007-02-13 Thread Richard Lynch
On Sat, February 10, 2007 3:19 pm, pub wrote: > To all PHP experts, > > Do any of you also know how to play bridge? > If yes, which do you think is harder to learn, PHP or bridge? Bridge is way more harder to learn. Especially all those weird bidding conventions with no rational

Re: [PHP] PHP or Bridge (card game)

2007-02-11 Thread tedd
At 1:19 PM -0800 2/10/07, pub wrote: To all PHP experts, Do any of you also know how to play bridge? I'm sure someone does. If yes, which do you think is harder to learn, PHP or bridge? I don't know, I don't play bridge. tedd -- --- http://sperling.com http://an

Re: [PHP] PHP or Bridge (card game)

2007-02-10 Thread Paul Novitski
At 2/10/2007 01:19 PM, pub wrote: Do any of you also know how to play bridge? If yes, which do you think is harder to learn, PHP or bridge? I don't think learning is so generalizable. In my experience, motivation has a lot to do with how easy things are to learn. If you're

Re: [PHP] PHP or Bridge (card game)

2007-02-10 Thread Matt Carlson
al Message From: Kenn Murrah <[EMAIL PROTECTED]> To: pub <[EMAIL PROTECTED]> Cc: PHP General List Sent: Saturday, February 10, 2007 3:57:03 PM Subject: Re: [PHP] PHP or Bridge (card game) pub wrote: > which do you think is harder to learn, PHP or bridge? > Well, PHP *can* be a

Re: [PHP] PHP or Bridge (card game)

2007-02-10 Thread Kenn Murrah
pub wrote: which do you think is harder to learn, PHP or bridge? Well, PHP *can* be a lot more complicated, but at least it's more or less predictable, and I've RARELY had a bridge partner that played the game predictably and consistently kennM -- PHP General Mailing

Re: [PHP] PHP or Bridge (card game)

2007-02-10 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-02-10 13:19:02 -0800: > Do any of you also know how to play bridge? > If yes, which do you think is harder to learn, PHP or bridge? I don't play bridge, but both things are languages. Presumably the one with bigger grammar is more complicated. But syntax

Re: [PHP] PHP or Bridge (card game)

2007-02-10 Thread Stephen Johnson
PROTECTED]> > Date: Sat, 10 Feb 2007 13:19:02 -0800 > To: PHP General List > Subject: [PHP] PHP or Bridge (card game) > > To all PHP experts, > > Do any of you also know how to play bridge? > If yes, which do you think is harder to learn, PHP or bridge? > > T

[PHP] PHP or Bridge (card game)

2007-02-10 Thread pub
To all PHP experts, Do any of you also know how to play bridge? If yes, which do you think is harder to learn, PHP or bridge? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] OR statement

2005-03-24 Thread Joe Wollard
This can also be done with double pipes, which is what is used in many other languages. - if($audio=="Cool" || $audio=="junk" || $audio=="Funky"){ Do this } else{ Do this } -- As far as I can tell there are no plans to remove or reaso

Re: [PHP] OR statement

2005-03-24 Thread Philip Olson
> > This work fine, however, I would like to add to the criteria above. I would > > like to say: > > > > if ($audio == "Cool" or "junk" or "funky"){ > > > > ... > > > > if (in_array($audio,array("Cool","junk","funky"))) { > ... > } > Yes that's one way but to answer the question: if ($a ==

Re: [PHP] OR statement

2005-03-24 Thread Josh Whiting
> This work fine, however, I would like to add to the criteria above. I would > like to say: > > if ($audio == "Cool" or "junk" or "funky"){ > > ... > if (in_array($audio,array("Cool","junk","funky"))) { ... } not the most elegant looking but it gets the job done. /josh w -- PHP General Ma

Re: [PHP] OR statement

2005-03-24 Thread Tom Rogers
Hi, Friday, March 25, 2005, 11:27:30 AM, you wrote: MD> Hello, MD> I would like to first thank everyone for their help with the last few MD> questions I have had. I really appreciate it. MD> Here is my question: MD> if ($audio == "Cool"){ MD> Do this MD> }else{ MD> Do that MD> } MD> This

[PHP] OR statement

2005-03-24 Thread Marquez Design
Hello, I would like to first thank everyone for their help with the last few questions I have had. I really appreciate it. Here is my question: if ($audio == "Cool"){ Do this }else{ Do that } This work fine, however, I would like to add to the criteria above. I would like to say: if ($au

Re: [PHP] // or /**/

2005-02-27 Thread Jochem Maas
pmpa wrote: Thanks Jochem. You're great! no. rasmus, for instance, is great. I'm a parrot :-) but thanks for the compliment. should a parrot respond to a thank you? -Mensagem original- De: Jochem Maas [mailto:[EMAIL PROTECTED] pmpa wrote: Hi all! This is probably a stupid question, b

RE: [PHP] // or /**/

2005-02-27 Thread pmpa
Thanks Jochem. You're great! -Mensagem original- De: Jochem Maas [mailto:[EMAIL PROTECTED] pmpa wrote: > Hi all! > > This is probably a stupid question, but I have to ask :) > Which takes less processing? not stupid. say there is a few microseconds of difference in the parsing/compil

Re: [PHP] // or /**/

2005-02-27 Thread Robert Cummings
On Sun, 2005-02-27 at 14:33, pmpa wrote: > Hi all! > > This is probably a stupid question, but I have to ask :) > Which takes less processing? Run a test. Regardless though, since the parsing time is so miniscule, I always use // for comments so that when I want to temporarily comment out blocks

Re: [PHP] // or /**/

2005-02-27 Thread Jochem Maas
pmpa wrote: Hi all! This is probably a stupid question, but I have to ask :) Which takes less processing? not stupid. say there is a few microseconds of difference in the parsing/compiling (in the case of comments the zend engine is more or less stripping them out as far as 'building a runable scri

[PHP] // or /**/

2005-02-27 Thread pmpa
Hi all! This is probably a stupid question, but I have to ask :) Which takes less processing? 1) /***/ 2) /// 3) //* 4) /* I'm a noOb :) */ 5) // // text // Thanks! Pedro. -- PHP General M

Re: [PHP] PHP or ASP.Net

2005-02-17 Thread Chris Shiflett
--- OOzy Pal <[EMAIL PROTECTED]> wrote: > In a long debate with a friend, he tried to convince > my that ASP.Net is the language to go for. Me, I don't > like MS product. I really could not convince him that > PHP is better than ASP.Net. Can you guys/gals help me > to convince this guy that PHP is

Re: [PHP] [HAB] PHP or ASP.Net

2005-02-17 Thread AdamT
On Thu, 17 Feb 2005 13:41:03 -0800, Stephen Johnson <[EMAIL PROTECTED]> wrote: > I find it humorous that these types of debates keep coming back up -- no > matter what the topic, the IT world can not seem to agree on anything. > http://en.wikipedia.org/wiki/Internet_troll It happens in comp.lang.

Re: [PHP] [HAB] PHP or ASP.Net

2005-02-17 Thread Stephen Johnson
PROTECTED]> > Reply-To: Greg Donald <[EMAIL PROTECTED]> > Date: Thu, 17 Feb 2005 15:32:42 -0600 > To: php-general@lists.php.net > Subject: Re: [PHP] [HAB] PHP or ASP.Net > > On Thu, 17 Feb 2005 13:15:08 -0800 (PST), OOzy Pal <[EMAIL PROTECTED]> wrote: >> In a

Re: [PHP] [HAB] PHP or ASP.Net

2005-02-17 Thread Greg Donald
On Thu, 17 Feb 2005 13:15:08 -0800 (PST), OOzy Pal <[EMAIL PROTECTED]> wrote: > In a long debate with a friend, he tried to convince > my that ASP.Net is the language to go for. Me, I don't > like MS product. I really could not convince him that > PHP is better than ASP.Net. Can you guys/gals help

[PHP] [HAB] PHP or ASP.Net

2005-02-17 Thread OOzy Pal
Guys/Gals In a long debate with a friend, he tried to convince my that ASP.Net is the language to go for. Me, I don't like MS product. I really could not convince him that PHP is better than ASP.Net. Can you guys/gals help me to convince this guy that PHP is the language to go for. Thank you ==

[PHP] PHP or ASP.Net

2005-02-17 Thread OOzy Pal
Guys/Gals In a long debate with a friend, he tried to convince my that ASP.Net is the language to go for. Me, I don't like MS product. I really could not convince him that PHP is better than ASP.Net. Can you guys/gals help me to convince this guy that PHP is the language to go for. Thank you ==

RE: [PHP] Re: Crawlers (was parsing large files - PHP or Perl)

2005-02-17 Thread Warren Vail
Check out PHPdig; http://www.phpdig.net/ Warren > -Original Message- > From: Jamie Alessio [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 17, 2005 9:22 AM > To: John Cage > Cc: php-general@lists.php.net > Subject: [PHP] Re: Crawlers (was parsing large f

[PHP] Re: Crawlers (was parsing large files - PHP or Perl)

2005-02-17 Thread Jamie Alessio
Is there anyone on this list who has written fast and decent crawlers in PHP who would be willing to share their experiences? My first inclination would be to use an existing crawler to grab the pages and store all the files locally (even if only temporarily). Then, you can use PHP to do whatev

[PHP] Crawlers (was parsing large files - PHP or Perl)

2005-02-17 Thread John Cage
Hi there Just an update. We altered our code last night and the result is that we have managed to bring in everything with no problem now. The slowest part was actually pulling down the emails which are on another server. I'd like to thank everyone for their help I have another project I'm wor

RE: [PHP] Re: paring large files - PHP or Perl

2005-02-16 Thread Chris W. Parker
Daniel Bowett <mailto:[EMAIL PROTECTED]> on Wednesday, February 16, 2005 2:06 PM said: [snip 56 lines...] > PHP or Perl??? I'd say Python :) Please trim your posts. KTHXBYE -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: paring large files - PHP or Perl

2005-02-16 Thread Daniel Bowett
an.org) has more mature options for doing things like parsing email so that might get you up and running faster than with PHP. That said, there are some things in the PEAR library that might help. Take a look at the Mail_Mime class (http://pear.php.net/package/Mail_Mime). - Jamie PHP o

[PHP] Re: paring large files - PHP or Perl

2005-02-16 Thread Jamie Alessio
I'm a great believer in using the right program for the right job. I need some advice from people who use both PHP and Perl. I've long been a fan of PHP and we use it for all our development work. However, I seem to keep coming up with a bit of a problem when using PHP and I just wanted to see if

Re: [PHP] paring large files - PHP or Perl

2005-02-16 Thread Richard Lynch
John Cage wrote: > ok, well its actually the attachment we're after. basically we have a > client that sends an automated update email via some software and we're > piggy-backing on it to grab the data out. The email contains a password > protected zip file. We're pulling the email down (from anot

Re: [PHP] paring large files - PHP or Perl

2005-02-16 Thread John Cage
Richard, thanks for the reply. I've not been on the list for a while, so good to see you're still helping us less-knowledgeable people out :) If you already *KNOW* Perl and want to use it, its string manipulation package is probably better from a sheer performance stand-point. No, I don't kno

Re: [PHP] paring large files - PHP or Perl

2005-02-16 Thread Richard Lynch
John Cage wrote: > I'm a great believer in using the right program for the right job. I > need some advice from people who use both PHP and Perl. I've long been > a fan of PHP and we use it for all our development work. However, I seem > to keep coming up with a bit of a problem when using PHP and

[PHP] paring large files - PHP or Perl

2005-02-16 Thread John Cage
Hi there I'm a great believer in using the right program for the right job. I need some advice from people who use both PHP and Perl. I've long been a fan of PHP and we use it for all our development work. However, I seem to keep coming up with a bit of a problem when using PHP and I just want

Re: [PHP] or-die option - Opinions please...

2005-01-03 Thread Burhan Khalid
[EMAIL PROTECTED] wrote: Hi there all! I'm thinking of the "or die" suffix (or option or whatever it is called)... I can use or die together with opening a db. open_mysqldb("bla.bla.") or die("couldn't connect to db"); But this is just useful when developing? I don't want my users to see that a spe

[PHP] or-die option - Opinions please...

2005-01-03 Thread gustav
Hi there all! I'm thinking of the "or die" suffix (or option or whatever it is called)... I can use or die together with opening a db. open_mysqldb("bla.bla.") or die("couldn't connect to db"); But this is just useful when developing? I don't want my users to see that a specific table can't be

Re: Re[2]: [PHP] include files, ".php" or ".inc" ?

2004-11-22 Thread Chris Shiflett
--- Richard Davey <[EMAIL PROTECTED]> wrote: > MK> Yes, .inc files will show up as they are - php source, db > MK> username/password etc. So it's even less secure unless you > forbid serving them: > > That would be the "properly configured web server" section of > my post, assuming this has been d

Re: [PHP] include files, ".php" or ".inc" ?

2004-11-22 Thread Justin French
On 22/11/2004, at 7:02 AM, Perry Jönsson wrote: What it the purpose of the ".inc" file then? It gives you a way of knowing what's a directly executable file (like index.php) and what's an included file. Further, I disallow the direct serving of all .inc files in my htaccess, so that people can't

Re[2]: [PHP] include files, ".php" or ".inc" ?

2004-11-22 Thread Richard Davey
Hello Marek, Monday, November 22, 2004, 12:18:22 PM, you wrote: MK> Yes, .inc files will show up as they are - php source, db MK> username/password etc. So it's even less secure unless you forbid MK> serving them: That would be the "properly configured web server" section of my post, assuming th

Re: [PHP] include files, ".php" or ".inc" ?

2004-11-22 Thread Marek Kilimajer
Richard Davey wrote: Hello Perry, Sunday, November 21, 2004, 8:02:48 PM, you wrote: PJ> What it the purpose of the ".inc" file then? Security - on a properly configured web server a .inc file will never actually try and compile/execute itself. Whereas a .php one always will. Yes, .inc files will sh

RE: [PHP] include files, ".php" or ".inc" ?

2004-11-22 Thread steve
Graham Cossey wrote: > If you only have limited control/knowledge of Apache you could adopt > names something like: script.inc.php > > In such a way PHP will always process the script as it's extension > is .php and you can easily identify that it is a script to be > included/required. FWIW, I us

Re: [PHP] include files, ".php" or ".inc" ?

2004-11-21 Thread John Holmes
Perry Jönsson wrote: Does it make any difference if you include (include/require/include_once/require_once) files with extension ".inc" or ".php"? It makes no difference as far as PHP is concerned. You're just telling PHP what file to load. However, .inc files are generally served up as plain t

Re[2]: [PHP] include files, ".php" or ".inc" ?

2004-11-21 Thread Richard Davey
Hello Perry, Sunday, November 21, 2004, 8:02:48 PM, you wrote: PJ> What it the purpose of the ".inc" file then? Security - on a properly configured web server a .inc file will never actually try and compile/execute itself. Whereas a .php one always will. Best regards, Richard Davey -- http:/

RE: [PHP] include files, ".php" or ".inc" ?

2004-11-21 Thread Graham Cossey
> Perry Jönsson wrote: > > > Jon-Eirik Pettersen wrote: > > > >> Perry Jönsson wrote: > >> > >>> Hello, > >>> > >>> Does it make any difference if you include > >>> (include/require/include_once/require_once) files with extension > >>> ".inc" or ".php"? > >> > >> > >> > >> No, it does not. > > > >

Re: [PHP] include files, ".php" or ".inc" ?

2004-11-21 Thread Janet Valade
Perry Jönsson wrote: Jon-Eirik Pettersen wrote: Perry Jönsson wrote: Hello, Does it make any difference if you include (include/require/include_once/require_once) files with extension ".inc" or ".php"? No, it does not. What it the purpose of the ".inc" file then? For organization. The file name

Re: [PHP] include files, ".php" or ".inc" ?

2004-11-21 Thread Jon-Eirik Pettersen
Perry Jönsson wrote: Jon-Eirik Pettersen wrote: Perry Jönsson wrote: Hello, Does it make any difference if you include (include/require/include_once/require_once) files with extension ".inc" or ".php"? No, it does not. What it the purpose of the ".inc" file then? Not really anything. Just to se

Re: [PHP] include files, ".php" or ".inc" ?

2004-11-21 Thread Perry Jönsson
Jon-Eirik Pettersen wrote: Perry Jönsson wrote: Hello, Does it make any difference if you include (include/require/include_once/require_once) files with extension ".inc" or ".php"? No, it does not. What it the purpose of the ".inc" file then? /Perry -- PHP General Mailing List (http://www.php.n

Re: [PHP] include files, ".php" or ".inc" ?

2004-11-21 Thread Jon-Eirik Pettersen
Perry Jönsson wrote: Hello, Does it make any difference if you include (include/require/include_once/require_once) files with extension ".inc" or ".php"? No, it does not. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] include files, ".php" or ".inc" ?

2004-11-21 Thread Perry Jönsson
Hello, Does it make any difference if you include (include/require/include_once/require_once) files with extension ".inc" or ".php"? Best regards, Perry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP or Apache problem?

2004-10-07 Thread Curt Zirzow
ISGL is working. When I look in apache error_log it > say: > > /usr/sbin/httpd2-prefork: error while loading shared > libraries: /usr/lib/php/extensions/unixODBC.so: > undefined symbol: SQLAllocEnv script not found or > unable to stat > > I'am not sure this is a

[PHP] PHP or Apache problem?

2004-10-07 Thread william van der wee
bin/httpd2-prefork: error while loading shared libraries: /usr/lib/php/extensions/unixODBC.so: undefined symbol: SQLAllocEnv script not found or unable to stat I'am not sure this is a PHP or an Apache problem. Anybody have any experience with this. Appreciate your help.

Re: [PHP] Re: apache1 + php or apache2 + php

2004-07-29 Thread Justin Patrin
For more info: http://www.reversefold.com/tikiwiki/tiki-index.php?page=PHPFAQs#id292342 On Thu, 29 Jul 2004 20:29:46 +0800, Ni Shurong <[EMAIL PROTECTED]> wrote: > Thank you! ;) > > I have build apache1+php5, apache2+php5 > but I don't know how to test which one is better :) > They all works fine

Re: [PHP] Re: apache1 + php or apache2 + php

2004-07-29 Thread Ni Shurong
Thank you! ;) I have build apache1+php5, apache2+php5 but I don't know how to test which one is better :) They all works fine. I works under linux, and I need imap extension support ;) Mayby I will take apache1+php, for contented, aha .. ;) Ni Shurong <[EMAIL PROTECTED]> MAIL : [EMAIL P

[PHP] Re: apache1 + php or apache2 + php

2004-07-29 Thread Jay
Ni Shurong wrote: Hi, I am a newer of this list, nice to meet every body here:) I am wandering about using apache1 or apache2 with php, and i hope i can get some advics here ;) I use ./configure --help and it says: --with-apxs2[=FILE] EXPERIMENTAL: Build shared Apache 2.0 module. FILE is the

[PHP] apache1 + php or apache2 + php

2004-07-29 Thread Ni Shurong
Hi, I am a newer of this list, nice to meet every body here:) I am wandering about using apache1 or apache2 with php, and i hope i can get some advics here ;) I use ./configure --help and it says: --with-apxs2[=FILE] EXPERIMENTAL: Build shared Apache 2.0 module. FILE is the optional

[PHP] Re: JavaScript in PHP or PHP in JavaScript

2004-07-24 Thread Torsten Roehr
"Robb Kerr" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Let me preface this by saying that I don't know JavaScript. I've got a page > that is built by a long complicated JavaScript that I was able to hack just > enough to function the way I wanted. There are some lines of code --

[PHP] JavaScript in PHP or PHP in JavaScript

2004-07-23 Thread Robb Kerr
Let me preface this by saying that I don't know JavaScript. I've got a page that is built by a long complicated JavaScript that I was able to hack just enough to function the way I wanted. There are some lines of code -- those that define div positioning -- that need to be different depending upon

Re: [PHP] OR

2004-04-25 Thread Marco Schuler
Hi Am So, 2004-04-25 um 16.00 schrieb -{ Rene Brehmer }-: > According to historical records, on Sun, 25 Apr 2004 17:14:13 +1000 Aidan > Lister wrote about "[PHP] OR": [...] > || && |! &! > ^ being OR, AND, NOR, and NAND (believe NOR is actually called XOR, c

Re: [PHP] OR

2004-04-25 Thread Red Wingate
BEEP wrong :) http://www.php.net/manual/en/language.operators.php#language.operators.precedence therefore: $a AND $b OR $c AND $d is not equal $a AND $b || $c AND $d but is equal to $a && $b || $c && $d -- red Evan Nemerson wrote: On Sunday 25 April 2004 12:14 am, Aidan Lister wrote: if (

Re: [PHP] OR

2004-04-25 Thread -{ Rene Brehmer }-
According to historical records, on Sun, 25 Apr 2004 17:14:13 +1000 Aidan Lister wrote about "[PHP] OR": >if (cond || cond2) > >OR > >if (cond OR cond2) > > >What do you use, and why? I always use || basically because to me it's easier to read in more co

Re: [PHP] OR

2004-04-25 Thread Evan Nemerson
On Sunday 25 April 2004 12:14 am, Aidan Lister wrote: > if (cond || cond2) > > OR > > if (cond OR cond2) > > > What do you use, and why? Doesn't matter- personal preference. -- Evan Nemerson [EMAIL PROTECTED] http://coeusgroup.com/en -- "There is a certain right by which we may deprive a man o

Re: [PHP] OR

2004-04-25 Thread daniel
> if (cond || cond2) > > OR > > if (cond OR cond2) > > > What do you use, and why? > > -- || coz its easier to type ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] OR

2004-04-25 Thread Aidan Lister
if (cond || cond2) OR if (cond OR cond2) What do you use, and why? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP or MSIE Problem? -- SOLVED

2004-02-22 Thread Beau Hartshorne
I described a situation where MSIE for Windows would not post all of a form's fields under fairly unique circumstances. This problem occurs in MSIE 5, 5.5, and 6 (with the most recent hotfixes applied). No other browsers seem to be affected. When: 1. A form is submitted with the enctype attribute

Re: [PHP] PHP or MSIE Problem?

2004-02-20 Thread Richard Davey
Hello Beau, Friday, February 20, 2004, 9:30:30 PM, you wrote: BH> When I submit a form from MSIE, under certain circumstances some of the BH> fields don't make it into the $_POST array. I am building a CMS that BH> Can anyone tell me if this is a common problem? Is this a purely MSIE BH> bug, or

RE: [PHP] PHP or MSIE Problem?

2004-02-20 Thread Pablo Gosse
Beau Hartshorne wrote: >>as you (6.0.2800.1106) (different product ID though), and can't >>reproduce the problem on any of my Linux webservers, or the one Win2k >>machine I have running PHP/Apache. I also hit your URL with IE, and > > > The problem only occurs in the second form. Did you tr

Re: [PHP] PHP or MSIE Problem?

2004-02-20 Thread John Nichel
Beau Hartshorne wrote: as you (6.0.2800.1106) (different product ID though), and can't reproduce the problem on any of my Linux webservers, or the one Win2k machine I have running PHP/Apache. I also hit your URL with IE, and The problem only occurs in the second form. Did you try that one to

Re: [PHP] PHP or MSIE Problem?

2004-02-20 Thread John Nichel
Beau Hartshorne wrote: All, When I submit a form from MSIE, under certain circumstances some of the fields don't make it into the $_POST array. I am building a CMS that accepts images and text entered into an HTML form. If I submit a form from MSIE, and if the text contains special characters (lik

Re: [PHP] PHP or MSIE Problem?

2004-02-20 Thread Matt Matijevich
Can anyone tell me if this is a common problem? Is this a purely MSIE bug, or could PHP be a factor? I would guess it is a MSIE problem. You could check the raw post data coming into php too see if it is a php bug. I think $GLOBALS['HTTP_RAW_POST_DATA'] has the post data -- PHP General Mailin

[PHP] PHP or MSIE Problem?

2004-02-20 Thread Beau Hartshorne
All, When I submit a form from MSIE, under certain circumstances some of the fields don't make it into the $_POST array. I am building a CMS that accepts images and text entered into an HTML form. If I submit a form from MSIE, and if the text contains special characters (like T [TM] for example),

Re[2]: [PHP] PHP or Apache Problem?

2004-01-16 Thread Richard Davey
Hello Nick, Friday, January 16, 2004, 2:31:46 PM, you wrote: NW> I dont. That's just in my email to tell where the code begins ;-) NW> line 1 is just NW> mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP or Apache Problem?

2004-01-16 Thread Nick Wilson
* and then Richard Davey declared > Why do you have code comments OUTSIDE of the php tags? I can't say for > sure, but it wouldn't surprise me if it caused it. I dont. That's just in my email to tell where the code begins ;-) line 1 is just http://www.php.net/) To unsubscribe, visit: http://w

Re[2]: [PHP] PHP or Apache Problem?

2004-01-16 Thread Richard Davey
Hello Nick, Friday, January 16, 2004, 12:47:43 PM, you wrote: NW> I'm getting this now: NW> Parse error: parse error in http://ellasattic.co.uk/index.php on line 1 NW> ### CODE NW> // $Id: index.php,v 1.68 2003/09/30 17:00:49 dries Exp $ NW> ### END CODE NW> What? - how can that be? - is this

Re: [PHP] PHP or Apache Problem?

2004-01-16 Thread Nick Wilson
* and then Richard Davey declared > Hello Nick, > > Friday, January 16, 2004, 12:39:16 PM, you wrote: > > NW> Line 19 is a simple include() but uses 'http://' rather than a local > NW> path (i cannot change this)... > > allow_url_fopen is almost certainly disabled in your php.ini file. Ye

Re: [PHP] PHP or Apache Problem?

2004-01-16 Thread Richard Davey
Hello Nick, Friday, January 16, 2004, 12:39:16 PM, you wrote: NW> Line 19 is a simple include() but uses 'http://' rather than a local NW> path (i cannot change this)... allow_url_fopen is almost certainly disabled in your php.ini file. -- Best regards, Richardmail

[PHP] PHP or Apache Problem?

2004-01-16 Thread Nick Wilson
Hi all, I'm getting this error on a well tested and used CMS script: ** CODE warning: main(): URL file-access is disabled in the server configuration in /var/www/localhost/htdocs/ellasattic.co.uk/error.php on line 19. warning: main(http://ellasattic.co.uk/index.php): failed to open stream: no s

[PHP] PHP or PEAR MEETING on FOSDEM 2004 (belgium) ?

2003-11-30 Thread Christophe Gesché
http://www.fosdem.org/ 21 and 22 feb 2004 in Brussel ( Belgium - a little country in north of France, with good beer and chocolate. don't forget this argument :-) ) - -- Announcement -- - The __Free and Open source Software Developers' European Meeting__ is a 2 days event, organized by volunt

  1   2   3   >