Re: [PHP] Apache is not parsing my php...sometimes...

2002-02-26 Thread DL Neil
> I'm posting this to the list as a private email to you was returned with a 550 >Access denied error. Surely "open systems" means 'open' - in the support community as well as other aspects!? Echoing/amplifying Torben's comment earlier: Private replies do not benefit others on the list (presu

Re: [PHP] RE: php email question

2002-02-26 Thread DL Neil
Terry, > I am trying to set up a MIME email that would include an HTML and Plain > Text version of content, such that if the recipient's email client did > not understand html or have html disabled, that the content would come > through as plain text, but if html were accepted, the plain text wo

Re: [PHP] Apache is not parsing my php...sometimes...

2002-02-26 Thread DL Neil
> >Echoing/amplifying Torben's comment earlier: Private replies do not benefit others >on the list (presumably with > >similar questions/learning need), nor do they end up in any archive. > > > I did not feel the particular question added to the sum total of > information so replied privately. I

Re: [PHP] Mailing Files

2002-02-27 Thread DL Neil
Sven, > Is it possible to mail files with the mail() commando? > Or can it be done on a other way? You're talking about 'attachments' aren't you? Yes it is! Recommend you visit http://phpguru.org/ and pickup the SMTP and MIME classes there (including sample code which shows how to attach file

Re: [PHP] Sending mail using a password

2002-02-27 Thread DL Neil
Greetings Svavar My SMTP server requests I use a password for every time I send(not IP based). How is it possible to let PHP to use password authentication when mail is sent. =Eureka! I have been looking at this, and made a note to come back to take a look at a 'likely candidate'. Of course,

Re: [PHP] maximum string length

2002-02-27 Thread DL Neil
Steven > It may be able to store 8MB, but each line can only hold 1024 > characters. I ran into this using a string variable to store the message > body of an HTML email. If I did not put a '\n' at the end of each line, > I would get random '!' placed through the sent email. Maybe you know more

Fw: [PHP] maximum string length

2002-02-27 Thread DL Neil
Steven (and anyone else interested), I was working on email earlier in the day, and have just cleared my desk of all that 'junk'. Your reading for tonight (1024/1000/997 byte line length limits in email) can be found in the discussion of RFC 2646 available from sunsite.dk (and elsewhere) - one

Re: [PHP] PHP MAIL function...why wont it work????

2002-02-28 Thread DL Neil
Hi Brad, > Hi all... I have a line in a page that should send me an email when the page > is loaded. > mail("[EMAIL PROTECTED]", "worked", "Line 1\nLine 2\nLine 3"); > when i load the page...i get NO error msgs, but the function does not send > the mail. There is no record of any activity in the

Re: [PHP] the date90 fucntions gone haywire!

2002-02-28 Thread DL Neil
Hi Georgie, > The date() function is returning the 19th of Januray 2038 as *ALL* dates no > matter what timestamp i feed it! whats goin on?? Result outside the UNIX epoch. Sounds like DATE()'s being fed some crazy data. What is the server's ToD clock showing? Make sure you debugECHO the source

Re: [PHP] Help with Array Walk

2002-02-28 Thread DL Neil
Hello Vidyut, > I have a question regarding array_walk.. I couldn't find any help on > the website or on irc.. didn't know where else to look. You've come to the right place. > I'm stumped, and about to just copy the function on top of this script > to make it work.. any ideas from anyone else

Re: [PHP] preg_replace() ??

2002-03-01 Thread DL Neil
Monty, > Is preg_replace() the best PHP command to use for parsing custom codes in > text retrieved from a database (e.g., turning "[link= ]" into "")? It is conventional wisdom that the PCRE functions are faster than their EREG cousins. However because/if you can guarantee that your 'template'

Re: [PHP] include() and paths

2002-03-01 Thread DL Neil
Hi Nick, > masterfile.inc lives in /var/www/includes/ and contains this line: > include("/var/www/includes/anotherfile.inc"); > > in index.php I include masterfile.inc and thus get anotherfile.inc. > > What I'd like to know though is, is it possible to have the include line > in masterfile.inc sp

Re: [PHP] PHP MAIL function...why wont it work????

2002-03-01 Thread DL Neil
Brad, > Yep it is a linux box. Ok, seeing that's 'sweet', go for "KISS"! See earlier comments about simplifying and once 'plain vanilla' is working, add back the optional headers/multiple lines, etc. Will be easier to work out what's breaking things, and then address that issue. Regards, =dn

Re: [PHP] include() and paths

2002-03-01 Thread DL Neil
and Nick Wilson opined in what could be seen to be an arrogant fashion... > * and then DL Neil declared > > > masterfile.inc lives in /var/www/includes/ and contains this line: > > > include("/var/www/includes/anotherfile.inc"); > > > > > > i

Re: [PHP] Returning error code from a function

2002-03-02 Thread DL Neil
Anas, > I am wondering if someone could shed some light on > this aspect of PHP. It might be something obvious, but > I am not able to figure it out. > > I have a function that returns a dynamically generated > HTML string. However, I need a way to let the caller > know if that function has faile

Re: [PHP] fopen

2002-03-02 Thread DL Neil
Craig, AFAIK you can't: fopen opens the file and leaves it up to you to read it a character or some other chunk at a time, keeping what you want, and leaving the rest. There is no concept of opening a file at a particular character position, other than to write-over or write-append. (see http://w

Re: [PHP] comparing string values, etc

2002-03-03 Thread DL Neil
Hi Tim, > I'm a major newbie. I was in the navy so never made it to major!? I'm only going to comment on your syntax and ignore the wide/Unix-related issues: > $noting = ""; > $checkval = "Hello > World"; > $filename = "thefile.inc"; > > $fd = fopen ($filename, "w"); > $contents = fread ($fd, f

Re: [PHP] phpAdsNew

2002-03-03 Thread DL Neil
Georgie, > I'm getting loads of "undefined variable" errors with this script. any1 know > why? You're using a recent release of PHP aren't you? Check out http://www.php.net/manual/en/security.registerglobals.php for an explanation of changes in 4.1.n. Regards, =dn -- PHP General Mailing Lis

Re: [PHP] phpAdsNew

2002-03-04 Thread DL Neil
Georgie, > > > I'm getting loads of "undefined variable" errors with this script. > > any1 know > > > why? > > > > You're using a recent release of PHP aren't you? Check out > > http://www.php.net/manual/en/security.registerglobals.php for an > > explanation of changes in 4.1.n. > no, registergl

Re: [PHP] ips and mysql table.

2002-03-04 Thread DL Neil
Hey Kunal, > I have a mysql table which stores the IP Address of my site visitors. When I > try to sort these Ip address in the ascending or descending order the order > is completely out of order. I am currently storing the IP addresses under a > varchar column. An int column would not store the

Re: [PHP] date calculations

2002-03-04 Thread DL Neil
Yow Sven, > I need to calculate the Time ( days hour minutes between 2 times ) > I have something but I have an error margine of 10 % and that is to high > > Time one 2002/02/24 10:23:43 > Time two 2002/02/02 12:43:12 > > this need to give me the correct time in days hours and minutes between the

Re: [PHP] Upload a CSV file to MySQL

2002-03-04 Thread DL Neil
Ben, > Is there an easy way to upload a CSV file into a MySQL table? Is there also > a way to export the MySQL file into a CSV file? I would like to make a form > using PHP to do import a CSV file into an existing table. Any advise would > be appreciated. Manual: 6.4.9 LOAD DATA INFILE Synta

Re: [PHP] mktime() into TIMESTAMP ?

2002-03-04 Thread DL Neil
Erik, > PHP's mktime() function uses a timestamp that is the number of seconds > since the Unix epoch. MySQL uses the MMDDhhmmss format for its > TIMESTAMP column type. > > I'm not complaining that they're not the same, but curious as to which I > should use for storing timestamps -- does it

Re: [PHP] timestamp iin MySQL not compatible to the one in PHP???

2002-03-05 Thread DL Neil
Andy, > So what is the proper function in PHP to convert the MySQL timestamp into a > proper format like Sonday, Apr. 20th 2002? SELECT from SQL using UNIX_TIMESTAMP() Format for presentation in PHP using: string date ( string format [, int timestamp]) Regards, =dn > > > I am playing around

Re: [PHP] timestamp iin MySQL not compatible to the one in PHP???

2002-03-06 Thread DL Neil
Hi Andy I apologise. The way I wrote the suggestion looks very much like a SQL query doesn't it? It wasn't! It would have been better expressed if I had said: retrieve the MySQL timestamp field as a UNIX (epoch) timestamp, by using the UNIX_TIMESTAMP function within the SELECT statement > I trye

Re: [PHP] mktime() into TIMESTAMP ?

2002-03-06 Thread DL Neil
Erik, Apologies, I missed your reply in the mass of mailings and a rushed start to the week... > > The choice comes down to how you are generating the time data prior to > > its storage in the db, and how you plan to use it afterwards. If you are > > going to be doing lots of temporal processing

[PHP] Rasmus, O'Reilly, "Programming PHP"

2002-03-07 Thread DL Neil
Rasmus/others, O'Reilly are advertising the imminent release (Mar 2002) of "Programming PHP" (http://www.oreilly.com/catalog/progphp/desc.html). Is that still going ahead? (I'll submit an advanced purchase order...) Regards, =dn -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] PHP MAIL function...why wont it work????

2002-03-07 Thread DL Neil
Brad, [I've put this back on the list, because someone who's into PHP's MAIL() from Linux might be able to help] > OK, I 'KISS'ed' it. The line now reads: > mail("[EMAIL PROTECTED]", "Please call if this works", "Hi there", > "From: [EMAIL PROTECTED]"); > and works fine. BUT, if i put my email a

Re: [PHP] Rasmus, O'Reilly, "Programming PHP"

2002-03-07 Thread DL Neil
Hi Erik, > > Rasmus/others, > > > > O'Reilly are advertising the imminent release (Mar 2002) of "Programming > > PHP" (http://www.oreilly.com/catalog/progphp/desc.html). > > Is that still going ahead? > > (I'll submit an advanced purchase order...) > > > > Hmmm... on the one hand, it's an O'Reill

Re: [PHP] mktime() into TIMESTAMP ?

2002-03-08 Thread DL Neil
Hi Erik, > On Wednesday, March 6, 2002, at 05:11 AM, DL Neil wrote: > > > My 'rules' are simple: > > If the date/time is for processing, keep it as a timestamp (consider > > which type). > > If the timestamp is being used to keep track of RDBMS a

Re: [PHP] Problems installing PHP

2002-03-11 Thread DL Neil
Hi Berlina, > Im trying to install an Apache Web Server and PHP in a Windows NT . > > * Apache 1.2.23 > * PHP 4.1.1 > * Windows NT Server 4.0 with SP4 > > The installation of Apache Web Server and PHP was succesfully ok, but when I > configure the PHP and Apache, editing the PHP.ini and httpd.con

[PHP] Re: [PHP-DB] how to get consistent UTC from gmmktime (w/o dst-offset) ????

2002-03-26 Thread DL Neil
BTW for all who are following this, Patrick has cleverly illustrated that most of the northern hemisphere locations where summer time is observed will 'spring forward' this weekend. Most of the southern hemisphere locations that were in summer time did their 'fall back' last weekend! NB the two us

[PHP] Re: [PHP-DB] how to get consistent UTC from gmmktime (w/o dst-offset) ????

2002-03-28 Thread DL Neil
er time discontinuity. (so I don't need to run it on another box/change the server's TZ setting, I simply read the second half of the report) It is not missing one day, but one hour! Regards, =dn > Fucko. I kicked this pony-style. Yes - typo Didn't know what hit me th

Re: [PHP] Warning: Undefined variable

2002-04-03 Thread DL Neil
Erik, My two cents' (with allowance for inflation...) > > If you're distributing code in cyberspace it's a good > > idea to make it error free too, E_NOTICE or otherwise. To get the maximum help when coding, and to ensure the minimum of confusion for your users, I recommend: 1 set the dev serve

Re: [PHP] PHP FAQ (again)

2002-04-03 Thread DL Neil
Justin, > I think this is a good idea, but it looks to be more of a searchable FAQ, > which will highly detailed... I'm really thinking of a medium-length email > introduction to the group (as per my attachment) which hopefulyl cleans up > the group a bit. > > Your resource could be fantastic, an

Re: [PHP] Re: executing script at specified time

2001-10-18 Thread DL Neil
The answer "cron" refers to *nix OpSys. It is the name of a demon/daemon that kicks of commands/jobs at a pre-specified time and/or on a regular basis. M$ spell it "at". Was that your question? =dn - Original Message - From: "Lucas Chan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent:

Re: [PHP] IMAP Question

2001-10-18 Thread DL Neil
> Is it possible to use imap_mail() on php 4.0.6 on NT machine? > Maybe anyone has dll for this. Yes Val. It is possible. See related thread/discussion list: [PHP-WIN] Help on using mail() function =dn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] parsing a string

2001-10-18 Thread DL Neil
John, Two inter-dependent problems: 1 a means of identifying a cipher within the text 2 a means of replacing the cipher with HTML code 1 there are a limited number of graphics formats (.GIF, .JPG, .PNG, etc) and the number you are prepared to contemplate may be even shorter. Thus it would not b

[PHP] PHP Filesystem functions/reference table

2001-10-18 Thread DL Neil
Isn't it fun when people asking questions on the list spark off your own thoughts/inspiration!? Has anyone seen a tabulation of the functions in (manual: IV Function Reference XXVI. Filesystem functions) that shows which functions [don't] work under what conditions? eg Col1: function name, Col

Re: [PHP] Re: Annotated PHP Manual

2001-10-20 Thread DL Neil
> Khalid Hazmi wrote: > > How I can download the current Annotated PHP Manual??? > There is no such thing... AFAIK. => Yasuo Ohgaki Yasuo: Yes there is (and VERY useful it is too), check out the range of PHP documentation available from http://www.php.net/docs.php Khalid: Unlike some other p

[PHP] Re: [PHP-DB] variable operators in queries

2001-10-19 Thread DL Neil
> Is it possible to put variable operators in queries? =I can see no reason why not - you're not actually putting the 'variable' in the 'query', just using a PHP-variable to build a PHP-string which will be sent to MySQL as a SQL query... > I tried this (the real variable comes from a form) > $

Re: [PHP] str_replace binary safe??

2001-10-22 Thread DL Neil
> Hi folks, > following problem appeared on PHP 3.0.16 on LINUX > I have a binary file, where I want to replace some letters > I do the following: > $filename = "xyz.sdc"; > $fd = fopen( $filename, "r+b" ); // also tried "r" > $x=filesize( $filename ); // this shows the correct filesize 22528 byte

Re: [PHP] str_replace binary safe??

2001-10-22 Thread DL Neil
> > > following problem appeared on PHP 3.0.16 on LINUX > > > I have a binary file, where I want to replace some letters > > > I do the following: > > > $filename = "xyz.sdc"; > > > $fd = fopen( $filename, "r+b" ); // also tried "r" > > > $x=filesize( $filename ); // this shows the correct filesiz

Re: [PHP] mktime() problem

2001-10-23 Thread DL Neil
> I'm running 4.0.6 on a Solaris 8 box. The output given by > echo mktime(0,0,0,1,1,1970); > is 3600. > > Shouldn't it be 0? My box's locale is set to the UK defaults, so as I write > this we are in daylight savings (GMT+1). Would this make a difference? (I > have already tried > echo mktime(0,0,

Re: [PHP] mktime() problem

2001-10-23 Thread DL Neil
ubject: RE: [PHP] mktime() problem > > > Thanks, I'll use gmmktime() from now on! > > James > > -Original Message- > From: DL Neil [mailto:[EMAIL PROTECTED]] > Sent: 23 October 2001 13:54 > To: Fairbairn,J,James,IVLH4 C; php-general > Subject: Re: [PHP]

Re: [PHP] Package mechanism

2001-10-24 Thread DL Neil
> I have a need for a package mechanism like that provided by TCL. We > write a > lot of code in reusable libraries and often encounter the situation in > which > an application uses a particular library but requires at least version X > or > greater. > > The require(), require_once(), etc. functi

Re: [PHP] Package mechanism

2001-10-24 Thread DL Neil
Douw, It's kind of eerie the way your reply appears in my email before I can see my intervening post!!!??? Perhaps you're just more important than me (bow, scrape, simper...) > Thanks for the feedback and additional ideas. =HTH > I had also though that it might be necessary to separate out th

Re: [PHP] how do i give optional arguments to functions??

2001-10-24 Thread DL Neil
> On Wednesday 24 October 2001 19:14, Richard S. Crawford wrote: > > The default value for $image parameter was missing: > > > function top ($image="defaultvalue") { > > if ($image=="defaultvalue") echo "blah blah blah"; > > else echo "blah blah $image blah"; > > } If the defa

Re: [PHP] Re: Loading message

2001-10-25 Thread DL Neil
> I suspect that PHP does all of it's work and, only when complete, will it > send the generated html to the client. > > No matter what you try and do there's no way you can output the progress of > your script to the browser while it is still being parsed. > > I could be wrong, but this is my und

Re: [PHP] Re: is there a commandline php.exe interpreter?

2001-10-25 Thread DL Neil
> "John A. Grant" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I've installed ActivePerl, which gives me a way to run .pl files, > > i.e. : > > c:\> perl someprogram.pl > > > > Does the Win32 php installation give me a command-line > > interpreter lik

Re: [PHP] PHP File not found

2001-10-25 Thread DL Neil
> I have just set up PHP on my webserver (IIS 4 on NT4). > I have set up the script mapping so that I can save php files as .html and > php processes them. > > This works fine until someone goes to a page that doesn't exist - instead of > getting the customised error 404 page (i.e. the page you r

Re: [PHP] Truncating Lines

2001-10-25 Thread DL Neil
Please define "long", and perhaps think of that in the context of the RFC ?822 is it? =dn - Original Message - From: "BT News" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: 25 October 2001 17:38 Subject: [PHP] Truncating Lines > Hi, > > I have the following code, which reads in an

Re: [PHP] PHP File not found

2001-10-26 Thread DL Neil
nd I think that is where you'lll find (at least) one. =Regards, =dn > > THanks. > "Dl Neil" <[EMAIL PROTECTED]> wrote in message > 048001c15dab$d5c0fcf0$a516100a@jrbrown">news:048001c15dab$d5c0fcf0$a516100a@jrbrown... > > > I have just set up

Re: [PHP] variable gets lost in function problem again...

2001-10-26 Thread DL Neil
> I have an two dimensional array that is returned from code from an included > file. I'm assigning parts of the array to variables ( $variable = > $array["key"]["value"]; ). This works fine and can be printed until I send > it through a function eg. ( ereg_replace(" ", "_", "$variable"); ). After

[PHP] Debugging aids (after the style of: Error management)

2001-10-26 Thread DL Neil
Don't you like the side-benefits of this list, eg that someone comes up with a question that gets your thought processes running or suggests an idea you'd not otherwise come up with!? So further to the question: > How can I know the line and the file from where a function has called. I > alread

Re: [PHP] how to recognize local or server execution?

2001-10-26 Thread DL Neil
Mark, Backing John's question up by one iteration: is there a PHP environment variable which can be used to distinguish between code being run from the command line and code being run in a browser? - and the Million dollar question, sorry make that the M$ question: will it also work under Windo

Re: [PHP] how to recognize local or server execution?

2001-10-26 Thread DL Neil
iration. =dn > may be > > $argv > Array of arguments passed to the script. When the script is run on the > command line, this gives C-style access to the command line parameters. When > called via the GET method, this will contain the query string. > > $argc > > Con

Re: [PHP] Replace text

2001-10-27 Thread DL Neil
> Hello guys > > function replace_text_smiley(){ > > global $comment; > // To add a relation between a text smiley a an image smiley do this: > // $faces["text smiley here"] = "img tag to image smile here"; > > $faces[":)"] = ""; > $faces[":P"] = ""; > $faces[":D"] = ""; > $faces[":("] = ""; > $fa

Re: [PHP] command line option f -- how do i get the name of the file?

2001-10-27 Thread DL Neil
> I am writing a script using php's command line ability and I am lost on > how to work with a file when I don't kow what the file's name is. > > Example: > script.php -f > > In my script, how do I reference the file when I have no idea what it's > name is going to be? > > The scrip will get

Re: [PHP] how to recognize local or server execution?

2001-10-28 Thread DL Neil
John, Netscape! Differences between servers AND differences between browsers AND differences between in-browser and command-line operations! Isn't life fun? Like you I'm messing around with some of these differences as part of a bid to 'convert' an existing set of scripts from browser i/f to c

Re: [PHP] HELP: Syntax Needed

2001-10-28 Thread DL Neil
> Jokes aside, I still don't get it. =the word "it" is part of the difficulty everyone faces in thinking about whether they could help or not - what "it" is, is not apparent 1 there is a problem with a mysql_pconnect() call, and 2 there is a problem with a mysql_query() call. Which one is "it"?

Re: [PHP] switch-statement overrides use of global arrays?

2001-10-28 Thread DL Neil
Imar, The global array is being defined in the mainline, but not populated. What happens if you set element 0 to some value (to take up some storage space first) and then try the switched function calls? When you say "Alas, this also emptied the array each time I went from one function to anothe

[PHP] PHP templates vs XML

2001-10-29 Thread DL Neil
In an on-again-off-again desultory style, I keep trying to find the time to study template systems - and quite separately see if I can find a practical use for XML. The idea of a template system is that the HTML code/presentation of the final view to the user/browser, can be devised/maintained

[PHP] Displaying "please wait"

2001-10-29 Thread DL Neil
Is there someone 'up' on the way Apache works who can offer some comment please? Th "how do I display 'please wait' " question was asked by someone (else) last week. The standard answer is "no" - server-side PHP assembles an HTML page, and when it is completed the whole page is transmitted from

Re: [PHP] lesson in NOT how to run your php website ...

2001-10-30 Thread DL Neil
> > I teach law at a university .. I also run the website here ... > > Thankfully Tasmania is not considered part of Australia. :) > > *troll bait away* =but are you trolling for bad lawyer jokes to wind up brendan, or inviting the rest to take on the Aussies? =Tasmania advertises itself as

Re: [PHP] spliting results into 2 colomns

2001-10-31 Thread DL Neil
> I have following code, sorry it's pretty big for posting, i want to > split the output into 2 colomns, been trying almost all still can't > get it working Harik, First off, have you checked the manual (http://uk.php.net/manual/en/function.mysql-result.php) and the recommendations against th

Re: Re[2]: [PHP] split array in 2 halfs

2001-10-31 Thread DL Neil
Or do you really want: First array: 1 3 5 Second array 2 4 6 Corresponding to the two columns across the screen, and controlled by the same iteration index? =dn - Original Message - From: "Daniel Harik" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: 01 November 2001 07:25 Subject:

Re: [PHP] regular expression

2001-11-01 Thread DL Neil
Wow, there are some long and curly ways to use RegExp-s aren't there? I'm not very good at them (and I hear that they can be expensively inefficient) so I tend to look elsewhere. Check out pathinfo -- Returns information about a file path array pathinfo (string path) pathinfo() returns an associ

[PHP] Re: [PHP-WIN] 4.0.6 mssql.dll Extension load failure

2001-11-01 Thread DL Neil
Mike, > We have PHP installed as an ISAP module on our W2K IIS5 server and > its operational with no problems - phpinfo() runs just fine. > > But - When I uncomment the php_mssql.dll extension in php.ini I get an error > when PHP starts up saying it cannot find the .dll file. > > The extension di

Re: [PHP] mail() extra headers not working

2001-11-01 Thread DL Neil
> I am trying to ad extra headers to email's I am sending through php. I > want to ad Reply-To: and Bounse-To: addresses. But when add them useing > the forth feild of the mail() funtion. > mail($recipient,$msubject,$message,"Reply-To: $sender"); > but for some reason when I send this e-mail i

[PHP] Utility script: dates

2001-11-01 Thread DL Neil
Somewhere on my travels around the many PHP/script sites, I'm sure that at one time I noticed a date-display utility. I cannot find it again. Please would someone point the way... What I'm looking for: displays a form with a variety of date/time fields, user enters a date/time into various fiel

Re: [PHP] Re: Questions about php.ini

2001-11-03 Thread DL Neil
Would the annotated manual LXV. "PHP options & information" be of any use? =dn - Original Message - From: "jennyw" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: 03 November 2001 03:18 Subject: [PHP] Re: Questions about php.ini > This is a dedicated server, and I have several sites

Re: [PHP] Incoming mail to PHP as Apache module

2001-11-03 Thread DL Neil
> Maybe I should be posting this on the Procmail list but someone here > might have a non-Procmail solution. I'm trying to get a PHP script to > process incoming email. The script will lookup a database and do > something depending on the mail headers. I'm running on a FreeBSD > virtual server acc

Re: [PHP] Date help (no not that kind)

2001-11-11 Thread DL Neil
Hi Sundog, Can help you with dates (but no, if you want that kind you'll definitely not be wanting my advice...) - Original Message - > I am trying to determine if todays date ($today) is within a week > ($startcheck) of a given date ($dob). This is what I have so far. > > $todaydate = (

Re: [PHP] Re: mail() w/ mailing lists

2001-11-12 Thread DL Neil
> > Is is advisable that I mail lots of users from a database via one call to > > mail() ? > > why not make a loop and send to one email at a time. if you have over > 1000 I would use something else than mail(), ex direct to smtp with sockets. Henrik, It is my opinion (too?) that mail() is di

Re: [PHP] Attachments again

2001-11-12 Thread DL Neil
Hi Sjoerd, > When i send a dynamic HTML newletter, which contains newsitems in the > database I now send the e-mail with a link to the image on the webserver. > What i would like to do is instead of linking the image, send the image as a > sort of attachment. So an internetconnection is not requ

Re: [PHP] Weird database stuff.

2001-11-13 Thread DL Neil
Third db question today: do folk know there is a (lightly loaded) '[PHP-DB] list' with some v.competent members? Hi Alexander, - Original Message - > Let me start by laying out some facts: > > SELECT e.NAME AS customer, g.NAME AS driver_lastname, g.FIRSTNAME AS > driver_firstname, $Com

Re: [PHP] mail() with mailing lists problem

2001-11-13 Thread DL Neil
Rudolph, Mail() is v.finicky! Windows machines need more than the \n - what are you running? Have you tried putting some string of characters into the (text) msg body? Can you send us a copy of the actual email msg showing the headers etc (output as received at the POP/IMAP server) - after clippi

Re: [PHP] Re: Books for PHP and MySQL Class

2001-11-21 Thread DL Neil
Chris, Apologies for the belated response/absence. I find myself constantly referring to Welling and Thomson ("PHP and MySQL Web Development", 0-672-31784-2) and happily recommend it to you. Apart from referring to the user as "she" which (both men and women say) interrupts the smooth flow of t

[PHP] Visit to Germany

2005-07-29 Thread DL Neil, Newsletter a/c
Greetings, I'm hoping to visit the Stuttgart area* for one week ~ ten days commencing c.Friday 19 August, to visit my brother-in-law and take a short vacation. If there are any PHP-related gatherings or activities I would be interested to meet up (last time I tried, I missed out by one week.

<    1   2   3