[PHP] Vertical Search Engine

2009-01-16 Thread Neil Rosewarm
ones for PHP. Please advise Thanks Neil

Re: [PHP] V4 Vs V5 Issue

2008-07-07 Thread Neil
. Anyway thanks again Cheers Neil At 01:27 AM 2/07/2008, Neil wrote: Hi First Post here, I hope this is the right place for this post. This is probably not a php problem, I think it may a configuration issue, but sorry I just dont know where to look I have a V4 site the calls an on line editor

[PHP] V4 Vs V5 Issue

2008-07-01 Thread Neil
to look so I am just hoping someone can point me in the right direction. Like I said in the beginning I think it must be a configuration issue but I just dont know what or where. Anyways TIA Cheers Neil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] V4 Vs V5 Issue

2008-07-01 Thread Neil
Thanks Wolf I have replied to all, I hope that is the correct way here. A configuration issue on the PHP V5 Server . thats my problem, I dont know where I should be looking. The source code, php and JS is absolutely identical on both machines. Cheers Neil At 01:36 AM 2/07/2008

Re: [PHP] V4 Vs V5 Issue

2008-07-01 Thread Neil
: On Tue, Jul 1, 2008 at 11:27 AM, Neil [EMAIL PROTECTED] wrote: Hi First Post here, I hope this is the right place for this post. This is probably not a php problem, I think it may a configuration issue, but sorry I just dont know where to look I have a V4 site the calls an on line editor

Re: [PHP] Re: V4 Vs V5 Issue

2008-07-01 Thread Neil
Hi Unfortunately this editor does not run in any other browsers. however I do not believe that it is the java script that is the problem because it runs and works and has done so for years on the current and earlier V4 servers. Cheers Neil At 07:10 AM 2/07/2008, Jon Drukman wrote: Neil

Re: [PHP] V4 Vs V5 Issue

2008-07-01 Thread Neil
httpd server before testing. Short tags is enabled and working most of the application is short tagged. Cheers Neil Just a couple of thoughts -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene

Re: [PHP] V4 Vs V5 Issue

2008-07-01 Thread Neil
by default. This setting would be found in your php.ini file on the server. If you need to change the setting, make sure you restart your httpd server before testing. Short tags is enabled and working most of the application is short tagged. Cheers Neil Just a couple of thoughts -- Jim

Re: [PHP] Sending Pictures to Cell Phones

2007-11-15 Thread neil
are aiming at handsets of indeterminate screen size and display capability. There are plenty of avenues to explore for getting multimedia messages to mobiles. -- Neil Bellamy (( aql.com )) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] stftime differences on Windows/Linux platforms

2007-11-06 Thread Neil Saunders
20060613 Zend Extension 220060519 Am I missing something obvious here? Any help gratefully received. Cheers, Neil. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] stftime differences on Windows/Linux platforms

2007-11-06 Thread Neil Saunders
. Thanks again for your help. Cheers, Neil. On Nov 6, 2007 12:01 PM, Robin Vickery [EMAIL PROTECTED] wrote: On 06/11/2007, Neil Saunders [EMAIL PROTECTED] wrote: Hi All, I'm experiencing some differences in in the return values of strftime on Windows Linux platforms on PHP 5.2.1. I've knocked

Re: [PHP] if inside an echo.

2007-07-31 Thread Neil Freeman
Or another way... for ($value = 0; $value = 2000; $value += 100) { echo sprintf(option value=\%s\%s%s/option, $value, (($min_rent==$value) ? selected=\selected\ : NULL), $value); } Hulf wrote: ** This Email Has Been Virus Swept ** I

[PHP] Virtual includes of PHP into SSI pages.

2005-11-14 Thread Neil Hoggarth
Regards, -- Neil HoggarthDepartmental Computing Manager [EMAIL PROTECTED] Laboratory of Physiology http://www.physiol.ox.ac.uk/~njh/ University of Oxford, UK -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[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

[PHP] Checking requested range

2005-06-21 Thread Neil Doody
Is there anything in PHP which would allow me to check the requested range of bytes by an client? Basically one of the download scripts I made some time ago got hit by a load of requests for a file, but the server was giving back 416 Requested Range Not Satisfiable. I assume that the user is

Re: [PHP] Checking requested range

2005-06-21 Thread Neil Doody
Marek Kilimajer wrote: Try http://pear.php.net/package/HTTP_Download Cheers for that, I think I just found a reasonable method to do a short term fix, though I might totally redesign my download application to support resumable download agents. I looked on the HTTP 1.1 protocol and found

[PHP] php4 can't find tnsnames.ora oracle9 but can connect if description hardcoded

2005-04-19 Thread neil smith
with sqlplus or tnsping. Does anybody have any ideas what is going wrong? Is this a bug? thanks, neil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] uploading files with a single quote in the filename

2005-02-23 Thread neil
Hi When uploading files using a type=file in a form, if a file is uploaded with a single quote the file gets truncated to whatever is after the quote eg. blah'sblah.txt will be uploaded as sblah.txt Is this a magic quotes issue? What is the best way to deal with it? Neil -- PHP General

Re: [PHP] uploading files with a single quote in the filename

2005-02-23 Thread neil
) Neil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] uploading files with a single quote in the filename

2005-02-23 Thread neil
$_FILES There seems to be no way to intercept this before the filename gets truncated Thanks again Neil Bret Hughes [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Wed, 2005-02-23 at 06:49, [EMAIL PROTECTED] wrote: Hi When uploading files using a type=file in a form, if a file

Re: [PHP] uploading files with a single quote in the filename

2005-02-23 Thread neil
. But with it escaping the quote do you mean that you end up with a file with \ in it? That would be an illegal filename. Neil Bret Hughes [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Wed, 2005-02-23 at 16:40, [EMAIL PROTECTED] wrote: Thanks Bret I have tried turning all

[PHP] Underscores within echo statements

2004-09-07 Thread Neil Freeman
Just a quick question. What is the purpose of the underscore character within the following echo statement? I had a quick look in the manual and archives but couldn't find any reference to it. ?php echo _(Username) ? Thanks, Neil This communication is confidential to the intended recipient(s

Re: [PHP] Underscores within echo statements

2004-09-07 Thread Neil Freeman
Marek Kilimajer wrote: *** This Email Has Been Virus Swept *** Neil Freeman wrote: Just a quick question. What is the purpose of the underscore character within the following echo statement? I had a quick look

[PHP] A bit stuck with $$

2004-08-26 Thread Neil
Note: it is the same as echo $test $foo; // * for me it only prints out test Any Ideas Cheers Neil Regards Chester Cairns - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A bit stuck with $$

2004-08-26 Thread Neil
For me echo $test -- $foo; results in avalue -- Neil At 02:56 PM 27/08/2004, Curt Zirzow wrote: * Thus wrote Neil: Not sure if its me or the configuration of PHP variable variables are rather standard and dont have any configuration settings. I have played around with this bit

Re: [PHP] Using php_value in .htaccess files

2004-08-24 Thread Neil Freeman
before attempting to change any of it's values: IfModule mod_php5.c php_value auto_prepend_file groove.php /IfModule Neil This communication is confidential to the intended recipient(s). If you are not that person you are not permitted to make use of the information and you

Re: [PHP] Help Loading MySQL Extension with PHP5/Apache1.3

2004-08-12 Thread Neil Freeman
- maybe this was just getting PHP5 running though? Restart Apache and hope for the best. Neil This communication is confidential to the intended recipient(s). If you are not that person you are not permitted to make use of the information and you are requested to notify the sender immediately

Re: [PHP] Control structure - easier way than repeating conditions in IF?

2004-04-30 Thread Neil Freeman
Why not just use a switch?... switch ($x) { case $a: case $b: case $c: case $d: //do whatever you need break; default: //catch any other values here break; } Neil BOOT wrote

Re: [PHP] Switching First Last Names in List

2004-03-16 Thread Neil Freeman
Take a look at explode() www.php.net/explode Neil Jeff Oien wrote: *** This Email Has Been Virus Swept *** If I have a list like this: Firstname1 LastName1 Firstname2 Lastname2 etc. I can split the names

Re: [PHP] $_GET, expressions and conditional statements

2004-03-11 Thread Neil Freeman
How about this - untested by the way: $order = ASC; if (isset($_GET[ORDER])) { $value = $_GET[ORDER]; if (($value == ASC) || ($value == DESC)) { $order = $value; } else if ($value == RAND) { $order = RAND();

Re: [PHP] Re: Parse error ???

2004-03-04 Thread Neil Freeman
If I remember correctly the second parameter of move_uploaded_file() needs to be the full filename, ie path plus required filename. so... if(!move_uploaded_file($_FILES['myfile']['tmp_name'], (/var/www/html/upload/ . $_FILES['myfile']['name']))) Neil Mike Mapsnac wrote

Re: [PHP] Unexpected ;

2004-02-19 Thread Neil Freeman
You're missing a right bracket within the if statement. Paul Furman wrote: *** This Email Has Been Virus Swept *** I don't see what's wrong with this if statement: while ... and ... { if (($pic_num + 1) =

Re: [PHP] how to open a webpage

2004-01-12 Thread Neil Freeman
Or with PHP you could do: Header(Location:$launch); die; Make sure that nothing is outputted before this is called though. The variable $launch should also be an absolute URL. Neil Richard Davey wrote: *** This Email Has Been Virus Swept

Re: [PHP] PHP function for length of the array???

2004-01-06 Thread Neil Freeman
Or you can use sizeof() which is an alias for count() Scott Fletcher wrote: *** This Email Has Been Virus Swept *** Ah! Thanks!!! Chris Hayes [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] At

Re: [PHP] Php Windows server

2003-12-19 Thread Neil Freeman
You will need to ensure that the session save path is set to a valid directory: e.g. session.save_path = C:/Temp Neil E. Ricardo Santos wrote: *** This Email Has Been Virus Swept *** Somebody could say

Re: [PHP] CHMOD...

2003-12-04 Thread Neil Freeman
How about: exec(chmod -R 755 /somedir/); [EMAIL PROTECTED] wrote: *** This Email Has Been Virus Swept *** Is there anyway to use CHMOD: chmod (/somedir/somefile, 0755); but have it set all files, folders

[PHP] Calculating difference between two timestamps

2003-11-27 Thread Neil Freeman
are within one second of each other. Any suggestions would be great. Neil -- -- www.curvedvision.com -- This communication is confidential to the intended recipient(s). If you are not that person you are not permitted to make use of the information

Re: [PHP] Re: Calculating difference between two timestamps

2003-11-27 Thread Neil Freeman
Perfect - thanks Bogdan Bogdan Stancescu wrote: *** This Email Has Been Virus Swept *** Neil Freeman wrote: Hi there, Does anyone have any suggestions as to how I can calculate whether one timestamp

Re: [PHP] Old version of PHP

2003-08-14 Thread Neil Davis
current ISP has been here. thx, Neil behaviour is caused, and the causes are many - Original Message - From: Justin French [EMAIL PROTECTED] To: Dan Phiffer [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, August 07, 2003 9:43 PM Subject: Re: [PHP] Old version of PHP On Friday

[PHP] Open Source Software Survey

2003-08-08 Thread Neil Hambleton
as an off-topic posting. Thank you very much for your help, Neil Hambleton Email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] getallheaders() in PHP 4.2.3

2003-07-16 Thread Neil Freeman
I believe getallheaders() has been supported since v4.0.0 Ananth Kesari wrote: *** This Email Has Been Virus Swept *** Hi, For some reason, getallheaders() is not working with the NetWare port of PHP 4.2.3

[PHP] Re: Empty session directory

2003-06-24 Thread Neil M
of space it could probably go without cleaning for years :) Cheers Neil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Synchronize MYSQL

2003-06-20 Thread Neil
how up to date you need to keep Cheers Neil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] strip tags not working - any ideas ?

2003-06-18 Thread Neil
thoughts Neil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] strip tags not working - any ideas ?

2003-06-18 Thread Neil
Jason Wong wrote: On Wednesday 18 June 2003 18:27, Neil wrote: I am trying to strip all HTML and other tags from a document, I have read the docs and written a 4 line script that should do the job (from my point of view ! ). However it seems to have literally no effect. Heres the script

Re: [PHP] strip tags not working - any ideas ?

2003-06-18 Thread Neil
John W. Holmes wrote: Jason Wong wrote: On Wednesday 18 June 2003 18:27, Neil wrote: I am trying to strip all HTML and other tags from a document, I have read the docs and written a 4 line script that should do the job (from my point of view ! ). However it seems to have literally no effect

Re: [PHP] Add new loadable module in php

2003-06-18 Thread Neil
not 100% sure of my explanation, but i know in pratice this is the case. Cheers Neil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] header() and mozilla - HELP!

2003-06-14 Thread Neil Freeman
Ensure that you have a die; after the Header() line. Neil deno vichas wrote: *** This Message Was Virus Checked With : SAVI 3.70 June 2003 Last Updated/Checked 12th June 2003

[PHP] How do I replace browser history using Header()?

2003-06-14 Thread Neil Freeman
of JavaScript's window.self.location.replace(http://www.mysite.com/mypage.php;)? In other words I would like to use PHP's Header statement to replace the current page in the brower's history, not just add another location onto the collection. Any help much appreciated. Neil

Re: [PHP] How do I replace browser history using Header()?

2003-06-14 Thread Neil Freeman
Hmmm. As I thought. Thanks anyway Mark. Neil Mark Charette wrote: *** This Message Was Virus Checked With : SAVI 3.70 June 2003 Last Updated/Checked 12th June 2003

Re: [PHP] setlocale() changes?

2003-06-05 Thread Neil Freeman
Try removing the double quotes around LC_TIME Neil Mike At Spy wrote: *** This Message Was Virus Checked With : SAVI 3.69 May 2003 Last Updated/Checked 2nd June 2003

[PHP] Re: textarea new line

2003-01-23 Thread Neil M
For a new line in a text area you cant use html br's You need to use either \n OR \r\n Thanks Neil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Removing the #!/usr... from cgi output?

2003-01-23 Thread Neil M
by extension, e.g. .php files should be processed by php in apache This link describes how to configure a webserver to do this http://www.php.net/manual/en/install.unix.php ( a unix server , but its nearly the same for windows ) Thanks Neil -- PHP General Mailing List (http://www.php.net

[PHP] Re: File upload problem

2003-01-23 Thread Neil M
Not Copy, Wrong Filetype (.$_FILES['imagefile']['name'].); } } ? /form /body /html Thanks Neil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $header = Location:........ being ignored!

2003-01-21 Thread Neil Freeman
Looks like you're missing a closing bracket on the IF statement as well. Neil Shams wrote: ** This Message Was Virus Checked With : SAVI 3.61 September 2002 Last Updated 17th January 2003

Re: [PHP] Newbie Questions

2003-01-21 Thread Neil Freeman
Have a look on devshed.com Bryan Cassidy wrote: Could someone point me to a VERY good doc for learning PHP for a NEWBIE!!! Something I can understand from the beginning to the end. YES I am willing to put my time into learning and reading docs as long as they are clear and made for what they say

RE: [PHP] Sessions 'funny' and Zone Alarm Pro 3

2003-01-15 Thread Neil Stirton
at all when Privacy is on. This is after having split the code into multiple files. Don't know why it should make a difference over multiple files though? Thanks Neil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Sessions 'funny' and Zone Alarm Pro 3

2003-01-12 Thread Neil Stirton
is being called several times before being displayed. I'm tearing my hair out here and I can't leave it as is and the cart has to go into production and I can't have people buying 31 items when they wanted 3 :) Anyone any suggestions at all. Regards, Neil Stiron -- PHP General Mailing List

Re: [PHP] PHP Editors

2003-01-07 Thread Neil Freeman
Take a look at Maguma Studio Light (www.maguma.com) Neil Nilza Lafayette wrote: ** This Message Was Virus Checked With : SAVI 3.61 September 2002 Last Updated 2nd January 2003

Re: [PHP] $_SERVER['DOCUMENT_ROOT'] on localhost

2002-12-18 Thread DL Neil
Rolf, the document_root just doesn't show up in my phpinfo(); do windows machines have one anyway? I have used this var before, just not testing it locally. It normally shows up when I use phpifno on the server. Please check/compare the entries for doc_root = in the two PHP.INI

Re: [PHP] Parse Errors

2002-12-14 Thread DL Neil
Andy, I am a PHP beginner so this error may be a stupid one. Anyway, I'm trying to write a simple addition script. The client enters two numbers, then my script (adder.php) adds them. However, when the script is run, I get Parse Error On Line 3 I have no idea exactly what I have done wrong.

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 =

[PHP] Proposal: New list etiquette/rule

2002-12-12 Thread DL Neil
Spam Arrest Sender VerificationYesterday we held an amusing discussion which highlighted the futility of using (badly implemented) technological 'solutions' to a social problem... Herewith I attach a response received pursuant to a list contribution. Does this 'gentleman' seriously expect

Re: [PHP] ExpertRating launches PHP Certification Exam

2002-12-12 Thread DL Neil
I must be a suspicious character, but I haven't come across Expert Rating before, nor do I know what Pete's connection with Expert Rating is, so I went and looked at the PHP web site (where we are led to believe that we would expect to find a lot of excitement) but a site-wide search fails to

Re: [PHP] Problem relating to images in email

2002-12-11 Thread DL Neil
Hello khuram, Iam new at this mailing list . =welcome to our happy band! I have a problem in php is that i want to store the images on local hard disk that are in email (pop3 account) by runing a php file. how can i do that. please help me asap. =there are a number of classes available

Re: [PHP] fgetcsv Help

2002-12-11 Thread DL Neil
Richard, I am parsing a csv file with fgetcsv and the fields are surrounding by double quotes, now I am running into a problem periodically that when there are quotes within the value it is treating it like another value instead of the same value. Any ideas on how to get around that? I am

Re: Re[2]: [PHP] Script not working from one computer

2002-12-11 Thread DL Neil
I have a feeling it's going to work out to be something stupidly simple... like these problems always do. :) =embarrassingly so! If you're taking this all off a user's say-so, then it sounds like an eyeball job to me... I never did solve it, but it came down to a weird cookie problem.

Re: [PHP] Filter vulger / controversial words - need word source

2002-12-11 Thread DL Neil
Hi Jon, I think we've seen this discussion on the list before (so Christopher, check the archives!) I'm wondering if someone has a great source for a master-list of controversial and vulger words that I can use on my site. I would like to pattern match input text against this master-list

Re: [PHP] date() on two diff. servers

2002-12-11 Thread DL Neil
(Christmas) tree(s). No worries - it's familiar territory! Thanks for your help, =dn -Original Message- From: DL Neil [mailto:[EMAIL PROTECTED]] Sent: 10 December 2002 19:52 =as a Windows user I struggle to cope with some of these UNIX concepts, so I hit Google - with no joy

Re: [PHP] Filter vulger / controversial words - need word source

2002-12-11 Thread DL Neil
if you want a partial list of offensive terms - try looking at the meta keywords on a few porn sites ... Excellent idea! Unfortunately I'd have to explain that to my boss... No, really, I'm doing some research... =guess monopolising the color printer for a whole afternoon would give you

Re: [PHP] Filter vulger / controversial words - need word source

2002-12-11 Thread DL Neil
Jason, there simply is no definitive list of words The fact is content filtering does not work without a heavy dose of human intervention. It is quite shocking that large numbers of well known corporations deploy misconfigured content-filtering software which rejects perfectly innocent

Re: [PHP] mail() problem

2002-12-11 Thread DL Neil
i setting php.ini [mail function] ;For Win32 only SMTP = hermes.ica.gov.co sendmail_from = [EMAIL PROTECTED] =it is impressive to see that the Greeks' messenger has made it all the way over to Colombia! Wasn't he also held responsible for dealing with people who were guilty of indiscreet speech

Re: [PHP] Re: Snoopy Class

2002-12-10 Thread DL Neil
Hi UberGoober, Thanks for your (unique) reply. Specifically: am playing with web pages/link continuity checking and suchlike. So HTTP; as an improvement over the facilities offered by fopen(). Have worked through the readme examples, and dived into the script's code, as you would expect. Was

Re: Re[2]: [PHP] Script not working from one computer

2002-12-10 Thread DL Neil
Hi John, You mention that it is a login script and that input is rejected. Is it rejected when it is initially typed in, or is it reported as rejected when ensuing pages are served? Please check the IE on the offending machine. Does it have security settings that forbid cookies? Check the

Re: [PHP] How to test php.info from command line

2002-12-10 Thread DL Neil
I agree with Jason, it seems strange to have a command line option (that can only apply to command line operation) and yet the output be in browser/non-command line format... However with PHP-CLI 'coming soon', maybe that sorts things out. Meantime may I suggest combining the two answers: php -i

Re: [PHP] Different output on two different servers

2002-12-10 Thread DL Neil
Hi Steve, Have you solved this already? If not, when you copied the code between machines was there some effort to ensure that the 'copy' points to the RDBMS/tbls on the same box/different box - or does the original box have code that points to tbls on itself, and the second box have code that

Re: Re[2]: [PHP] Script not working from one computer

2002-12-10 Thread DL Neil
John, You mention that it is a login script and that input is rejected. Is it rejected when it is initially typed in, or is it reported as rejected when ensuing pages are served? When it's initially typed in. =do you have multiple 'environments' (eg VHosts or even physical servers)

Re: [PHP] date() on two diff. servers

2002-12-10 Thread DL Neil
=now let's take a look at the UNIX Epoch. Various 'quotations' have surfaced in this email, and I don't recall that it is well discussed within the PHP manual (it being a UNIX definition after all...). The epoch 'began' 1Jan1970, sure enough (exactly as quoted). HOWEVER it is defined

Re: [PHP] date() on two diff. servers

2002-12-09 Thread DL Neil
Justin, Jumping in late... Daylight Savings Time? John, I think Daylight Saving Time creates a difference of 1 hour and not 1 day :) True... but I checked it anyway -- by adding just one and two hours to the stamp... which made no difference... but when I added 86400 to the stamp, it all

[PHP] Snoopy Class

2002-12-08 Thread DL Neil
(pardon the pun) Please recommend a Snoopy tutorial, =dn PS Google has not been my friend! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re[2]: [PHP] Simple text editor for Windows?

2002-12-07 Thread DL Neil
Hi Tom, I know the text editor question has been beat to death, but I'm looking for a simple editor with syntax highlighting that can be installed in Windows by a general user. It would have to be something that didn't access the registry, as normal users can't do that. Does anyone know

Re: [PHP] empty string parameters to backslashes?

2002-12-06 Thread DL Neil
Hey Andy, I'm trying to track down a problem with someone else's code. Our hosting service changed PHP versions on us (up to 4.0.6), and everything broke. I think I have tracked down at least part of the problem. We have a ... Ascertain differences by printing out a phpinfo() report for the

Re: [PHP] Checking for Overlapping Dates

2002-12-06 Thread DL Neil
Hi Thomas, SELECT * from $DB_TBLName WHERE (Trim(WorkerEmail)='$userReplacementEmail') AND AND OR OR OR OR OR This is all a bit complicated, and a simple boy like me gets lost too easily. KISS principle: Keep it simple... You have two employees: A, so named because he Already has Annual

Fw: [PHP] Checking for Overlapping Dates

2002-12-06 Thread DL Neil
Thomas (and list), The solution, as previously posted, is flawed/incomplete - mea culpa. Excuse: I was interrupted three times from typing the word SELECT until pressing Send, and then rushing to get on to the next call on my time... WHERE bstart afinish OR bfinish astart; Check

Re: [PHP] mail function() with MS

2002-12-06 Thread DL Neil
Hi Anthony, I'm using MS Win 98 and my ISP has PHP installed on a MS server. I'd like to display a HTML form box on my site for users to type in a message utilizing the PHP mail() function. I've tested this using Apache on my drive with a html form and a php script to receive the data and

Re: [PHP] mail function() with MS

2002-12-06 Thread DL Neil
Hi Anthony Qusetion: 1: What would happen if I changed the php.ini settings to: SMTP=mail.yourisp.com sendmail_from=MyAddress@MyDomain as opposed to: SMTP=smtp.ISPs.domain =as long as the SMTP server is accessible and you have access rights, then it can be anyone's/anywhere... When you

Re: [PHP] mail() problems...

2002-12-06 Thread DL Neil
Anthony, Do you have an SMTP server on your Win98 localhost? Recommend you change the PHP.INI SMTP= to say the same as your email package's server definitions. =dn I'm using MS Win98 and Apache and getting the following after submitting the mail form: .. Warning: Failed to Connect

Re: [PHP] mail() problems...

2002-12-06 Thread DL Neil
/simple email stub-script for testing/proving. =If PHP's mail() can be persuaded to work, thereafter it (and any scripts) can be 'tweaked'/made better - or we can look back and compare... =dn - Original Message - From: DL Neil [EMAIL PROTECTED] To: Anthony Ritter [EMAIL PROTECTED

[PHP] Failed to install Mod_cURL under Windows/Apache

2002-12-06 Thread DL Neil
PHP v4.2.3 with Apache 1.3.24 under Win2000 Prof SP2 Downloaded the full v4.2.3 zip package/Win binary, some weeks ago. Installation went fine. Extensions are happily included. Have had several weeks of operations. Decided to install cURL to do some URL (strangely enough) link

Re: [PHP] Regular Expresion Work on IP address

2002-12-05 Thread DL Neil
$parts[1]==168){ $network=internal; } else { $network=external; } return $network; }; At 07:47 PM 12/4/2002 +, DL Neil wrote: John, I think it'd be hard to verify the range with a regex. ip2long and long2ip

Re: [PHP] Regular Expresion Work on IP address

2002-12-04 Thread DL Neil
Hello Dev, Now I am continuing on with the same script and I need to check for valid IP address form. Currently I have: $ip=255.255.255.0; if (preg_match (/[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/, $ip)) { print Good Ip; } else { print Bad Ip; } This does work kinda.

Re: [PHP] Regular Expresion Work on IP address

2002-12-04 Thread DL Neil
John, I think it'd be hard to verify the range with a regex. ip2long and long2ip do not validate. So, an option would be to write your own little function that splits the $ip on the period, verifies there are 4 parts, then checks that each part is between 1 and 255 inclusive. My other post

Re: [PHP] My first post

2002-12-03 Thread DL Neil
Hi Victor, Welcome to the wonderful world of PHP! I'm new in PHP. Could you point me where can i download a sample script about how can i paginate some results? PHP essentially exists to output HTML. You cannot paginate in HTML (although there is some fancy CSS that could be employed).

Re: [PHP] date

2002-12-03 Thread DL Neil
Hi Shaun, please could someone tell me how i can return a month in text from an int ie getMonth(12) returns Decmber. Is this possible? No. If you want to stick with this, write your own function to look up a text array. If the 12 is part of more data coming in from a form or db (for

Re: [PHP] How to give parameters to a console php-script?

2002-12-02 Thread DL Neil
Hello Martin, I start a console app with php myscript.php4 (just prints ok). How can I give parameters to it? I tried: php myscript.php4 myparameter php myscript.php4?myparameter php myscript.php4?param=myparameter But always php just returns without doing nothing (not even giving an

Re: [PHP] How to give parameters to a console php-script?

2002-12-02 Thread DL Neil
Martin, Ah yes, the famous 'read the upgrade notes - gotcha'! Well done, you figured it out... =dn ll I found a register_argc_argv = On in my php.ini, which should work then. But I also found, that I have to use print Ok: .$_SERVER[argv][1]; instead of print Ok: .$argv[1]; Martin

Re: [PHP] Test links?

2002-12-02 Thread DL Neil
Beth, When fopen successfully opens a file it populates an array $http_response_header, which you can examine to see if the link works or not - I don't believe you can actually get the file itself, but since that's not what we're after that's not a problem! I noticed this reference to

Re: [PHP] Test links?

2002-12-02 Thread DL Neil
Rob/Beth, The code should also consider: 1 updating the db if the link is 'valid', ie if previously it had been 'down'! 2 putting an @ to prevent any errors causing a hard-stop at the fopen line 3 that the url/database must contain protocol information, ie http://www.nytimes.com not

Re: [PHP] Triggering a PHP Script

2002-12-02 Thread DL Neil
Ryan, My Problem: I've got a PHP script (running on Apache) that can take several hours to complete. The script sends out a newsletter to those who have requested it. When calling this script from a web browser, the browser hangs until the script has fully executed. If the user hits Stop

Re: [PHP] Detecting email bounces sent by the mail function?

2002-11-28 Thread DL Neil
Hello Ade, Is it possible to detect with PHP whether an email sent using the PHP 'mail' function has bounced back or has not been delivered? I currently all ready check the email address using the 'ereg' function before the mail function is called, but this only checks the format is valid

  1   2   3   4   5   >