Re: [PHP] official statement about PHP file extensions?

2002-04-19 Thread andy thomas
On Fri, 19 Apr 2002 [EMAIL PROTECTED] wrote: > At 19.04.2002 13:32, you wrote: > > > >Hi, > > > >Is there any official statement (by php.net) about which file extension you > >should use when using PHP (1, 2, 3 or 4)? I know that's server related, but > >isn't there a standard? > > > >http://w

Re: [PHP] Re: Why?

2002-03-30 Thread andy thomas
On Sat, 30 Mar 2002, Michael Kimsal wrote: > Alberto Wagner wrote: > > Why everyone uses $foo or $foobar as examples? > > > > > > > > Why not? They are relatively benign words that are simply to > type and aren't terribly language centric. > > $moo and $moocow would work just as well, or $asdf

Re: [PHP] CLI through PHP

2002-03-14 Thread andy thomas
On Thu, 14 Mar 2002, Liam wrote: > 14/03/2002 10:51:10 PM > > Hi, I was wondering how I'd go about manipulating some command line > software through PHP. For instance, I have an FTP program installed > that allows you to add users through the command line, but it's in this > format: > > -

Re: [PHP] What is needed to test php mail on a local testserver

2002-03-14 Thread andy thomas
On Thu, 14 Mar 2002, andy wrote: > Hi there, > > I am wondering, how I could test the mail functions of php on a local > machine. Do I have to install something like a mailserver, or does this come > with php? If you are using a Unix/Linux type server for your local system, sendmail (or an equ

Re: [PHP] Running PHP scripts from the shell

2002-03-11 Thread andy thomas
On Mon, 11 Mar 2002, Jason Wong wrote: > On Monday 11 March 2002 20:18, andy thomas wrote: > > Just wondering but is there any way PHP scripts can be run from the > > command line from a standard Unix shell like, for example, perl rather > > than being invoked via a br

[PHP] Running PHP scripts from the shell

2002-03-11 Thread andy thomas
Just wondering but is there any way PHP scripts can be run from the command line from a standard Unix shell like, for example, perl rather than being invoked via a browser and running web server, etc? Such a feature would be very nice as there are a number of things that can be done better from P

Re: [PHP] permissions

2002-03-04 Thread andy thomas
On Mon, 4 Mar 2002, John Gurley wrote: > Can someone pleas tell me if there is something funny when it comes to unix > permissions and PHP. When php creates a file in unix the owner is > nobody...does this raise any issues, and if it does could someone please > tell me a web site where I could

Re: [PHP] Bizarre mail() problem

2002-03-03 Thread andy thomas
On Sun, 3 Mar 2002, andy thomas wrote: > > > On Sat, 2 Mar 2002, Andrey Hristov wrote: > > > check you php.ini if you need to change sendmail -t -i to something other. > > We are still having problems with this. Doing another mailshot, the script > crawled at 1 mess

Re: [PHP] Bizarre mail() problem

2002-03-02 Thread andy thomas
ut it will be interesting to see what happens in about half an hour's time. Andy > - Original Message - > From: "andy thomas" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, March 02, 2002 11:04 AM > Subject: [PHP] Bizarre ma

Re: [PHP] Bizarre mail() problem

2002-03-02 Thread andy thomas
ending a message a second, so that sendmail was handling 10 messages/second and load average hit 3.5. It must have been a network related problem but it's all running fine now with 1 message a second going out from the original script. cheers, Andy > - Original Message ----- > From: &q

[PHP] Bizarre mail() problem

2002-03-02 Thread andy thomas
I have written a script to do some massmailing - it extracts an email address from a MySQL database and uses it to send a text file as a mail message. It works but there is a 75 second delay between each message being sent out! This is baffling - there are no delays built into the script and noth