RE: [PHP] utf8 encoding £ to £ problem

2006-12-05 Thread James Nunnerley
Hi Chris, Do you use pound; or £? I've had problems uploading onto a linux box for ages, but a straight text £ never seems to work, so I have to get one of my colleagues to do it instead... Does that help? Nunners -Original Message- From: Chris Dean [mailto:[EMAIL PROTECTED] Sent: 05

[PHP] Process of creating invoices requiring human thought!

2006-11-28 Thread James Nunnerley
I’m creating an invoicing system for a children’s nursery, and I’m trying to work out how I can replicate the thought process one would normally go through when working out the bill for each day. I’ve created all the mysql tables that I think I need, with all the info possible; along the

[PHP] RE: Error Reporting for file commands

2006-09-25 Thread James Nunnerley
of these fail sporadically, even with the above error stuff turned off, and trigger an error. Anyone's thoughts gratefully received Thanks Nunners -Original Message- From: James Nunnerley [mailto:[EMAIL PROTECTED] Sent: 25 July 2006 16:33 To: 'php-general@lists.php.net' Subject: Error

RE: [PHP] Re: New Large Scale Project.

2006-08-14 Thread James Nunnerley
I can strongly recommend Joomla - I have it working with Menalto's Gallery2, and just got a phpBB bridge working as well. Can I also recommend you use Joomla over Mambo? About a year ago the core developers (now at Joomla) fell out with the so called owners of Mambo, about ownership and future

[PHP] Regular Expresson for checking password strength

2006-08-04 Thread James Nunnerley
I want to have a regular expression that check the following criteria are met by $password: - contains at least 6 characters (any) - has at least 1 letter - has at least 1 number - other 6 characters can be anything... I'm happy to work out the structure of a postcode etc, but to be honest I'm

[PHP] Error Reporting for file commands

2006-07-25 Thread James Nunnerley
We've created a file manager which allows users to access their web space on a server. It's working brilliantly, except that it would seem there are some caching issues, either by the system cache or the web server cache that are causing us a headache. When the script tries to delete a file, we

[PHP] RE: Spam:[PHP] Error Reporting for file commands

2006-07-25 Thread James Nunnerley
[snip] When the script tries to delete a file, we always check (using file_exists) to see whether the file exists before it's deleted. The check comes back true, but the unlink then fails, saying no file or directory there! [/snip] Could you please post the code you are using to check and

[PHP] Running php5 with Zeus and fcgi

2006-07-06 Thread James Nunnerley
Does anyone have any experiences of running php5 as a fcgi and Zeus server? And in particular getting Bad Gateway errors. We are tempted to report it as a fault/bug, but have looked around the net (including bugs.php.net) it would seem that there's already a reported bug, but it's a little

[PHP] FTP - moving/copying files

2006-06-29 Thread James Nunnerley
I'm setting up an ftp manager which allows a user to connect to their space on an external server. All the php-ftp functions work fine - after I'd realized how to use the passive functionality - see previous email to list! I've also got working the download and upload functionality, which

[PHP] FTP Problems

2006-06-27 Thread James Nunnerley
I'm trying to create some functionality which requires FTPing onto another server, using the php functions. Doing the following comes up with a successful login, but cannot display the current directory; yet when I FTP directory from the server which is serving the php pages, it works fine. //

RE: [PHP] FTP Problems

2006-06-27 Thread James Nunnerley
Nope - unfortunately, no change, still the same problems, logging in but no ftp_nlist or indeed ftp_rawlist Cheers Nunners -Original Message- From: nicolas figaro [mailto:[EMAIL PROTECTED] Sent: 27 June 2006 14:12 To: James Nunnerley Cc: php-general@lists.php.net Subject: Re: [PHP] FTP

RE: [PHP] FTP Problems

2006-06-27 Thread James Nunnerley
I'm trying to connect to, but not from the server I'm working on! Is there anyway in which php needs configuring for certain connections? -Original Message- From: chris smith [mailto:[EMAIL PROTECTED] Sent: 27 June 2006 14:16 To: James Nunnerley Cc: php-general@lists.php.net Subject: Re

RE: [PHP] FTP Problems

2006-06-27 Thread James Nunnerley
Just tried that, and still the same result - I think it's the server - going to ask the server admin now! -Original Message- From: nicolas figaro [mailto:[EMAIL PROTECTED] Sent: 27 June 2006 14:19 To: PHP List Subject: Re: [PHP] FTP Problems James Nunnerley a écrit : Nope

RE: [PHP] FTP Problems

2006-06-27 Thread James Nunnerley
PROTECTED] Sent: 27 June 2006 14:29 To: James Nunnerley Cc: 'chris smith'; php-general@lists.php.net Subject: Re: [PHP] FTP Problems James Nunnerley wrote: Thanks for the reply Chris. How would you suggest displaying the current home directory for the user? I've tried / and indeed the real

RE: [PHP] FTP Problems

2006-06-27 Thread James Nunnerley
Ah - whoops - just worked out why - you need to set the passive mode after you login, not after a connect! Silly solution! -Original Message- From: James Nunnerley [mailto:[EMAIL PROTECTED] Sent: 27 June 2006 14:37 To: 'Jochem Maas' Cc: 'chris smith'; php-general@lists.php.net Subject

[PHP] PHP Session

2006-06-19 Thread James Nunnerley
Hi Folks, Bit of an unusual question here, which is basically as a result of my lack of understanding as to how Sessions work. I've created a Captcha image solution for an application I look after, and when we came to look into something that required debugging, I realized I'm using

[PHP] [PHP5] safe_mode_exec_dir

2006-05-31 Thread James Nunnerley
Hi Folks, Should be a nice easy one - if running PHP5, how do I add more than one exec_dir into the list? i.e. what is the separator? Cheers Nunners

[PHP] file Upload - checking file size before uploading

2006-05-10 Thread James Nunnerley
Is there anyway to check the size of a file before it starts uploading it? For instance, if the file is huge, and takes ages to upload, and is then rejected by the server, the user will be somewhat annoyed! I'm not even sure this is a php question! Cheers Nunners

[PHP] Showing an image outside of the web folder

2006-05-05 Thread James Nunnerley
I'm creating a file manager application, from which I want the user to be able to edit/view files. On the text side of things, it's pretty easy, however from the image side of things, I'm not sure how to allow the user to view files outside of the web folder. Doing a readfile ($file_location)

[PHP] Array Sorting

2006-05-04 Thread James Nunnerley
Hi All, I've got an array which has the following properties: $file_array[$filename] = array (Date = $Date, size = $size, permissions = $permissions); I can quite happily sort the array by filename (using natksort and natkrsort), which I found on the php manual - and for reference have included

RE: [PHP] Array Sorting

2006-05-04 Thread James Nunnerley
don't think so, but would be happy to be corrected! Cheers Nunners -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: 04 May 2006 16:24 To: James Nunnerley Cc: php-general@lists.php.net Subject: Re: [PHP] Array Sorting James Nunnerley wrote: I've got an array which has

RE: [PHP] Forking a search - pcntl

2006-04-19 Thread James Nunnerley
Thanks for everyone's replies - but I'm a little uncertain as to what the reasons for not running the pcntl functions under the web browser are - is it down to security? cheers -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED] Sent: 18 April 2006 22:52 To: James Nunnerley

[PHP] Forking a search - pcntl

2006-04-18 Thread James Nunnerley
I'm creating a search function as part of our webmail frontend, however I'm having big problems with timeout etc. What we'd like to do is run the actual search query in the background (i.e. fork) while the viewable page shows a nice scrollie banner etc! Due to various problems with the

[PHP] imap_search and multiple criteria

2006-04-10 Thread James Nunnerley
Does the imap_search support multiple criteria? I've got the following successfully returning the correct results: ?php $search[0] = BODY \test\; $search[1] = SUBJECT \test\; foreach ($search as $criteria) { $search_result[]=$imap_search($mailbox,$criteria,$SE_UID); }

RE: [PHP] Improving a MySQL Search

2005-03-07 Thread James Nunnerley
From: Gareth Williams [mailto:[EMAIL PROTECTED] Sent: Fri 04/03/2005 13:17 To: James Nunnerley Cc: php-general@lists.php.net Subject: Re: [PHP] Improving a MySQL Search Create some indexes. I spend most of my day messing around with a table

[PHP] Improving a MySQL Search

2005-02-28 Thread James Nunnerley
I'm creating a serious of pages that show various aspects from a Syslog output. The main information is currently stored in one MySQL table - which after having been run for about 2 and a bit months has got nearly 100 records. With this amount of information, it's taking a large time to

[PHP] [Pear] go-pear.php

2005-02-23 Thread James Nunnerley
Hi, I'm having two problems: Firstly, the new update of go-pear.php I believe is not working. Does anyone know when a new fixed one is being released? Also, I'm having problems signing up to the pear.php.net lists - again, anyone any ideas? Cheers Nunners

[PHP] Multiple POP accounts on Webmail Front

2005-01-07 Thread James Nunnerley
Hi All, Bit of a side question, but it's still php related. Does anyone know of a Webmail client, preferably open-source, that is able to support single login, to allow users to collect and use multiple POP3 or IMAP accounts? I'm currently using Ilohamail, and have used Squirrel in the

[PHP] SQL sums

2004-12-03 Thread James Nunnerley
I'm trying to create a table, and ultimately a graph, out of some syslog data. I have a mysql table with the following info in it: Time (unixtime stamp), bytes rcvd and bytes sent I want to create a sql statement that group the data over a certain period of time, and produces the

RE: [PHP] Hinding URL

2004-03-31 Thread James Nunnerley
Will, This isn't really a PHP thing... you can do it a number of ways... probably the best is to use frames. If you only have one then just create a single frameset with one frame in it Have a look at a HTML help site... Nunners -Original Message- From: Will [mailto:[EMAIL

[PHP] Display/Screen Size Parameters

2004-03-30 Thread James Nunnerley
Is there a function within PHP that picks up the screen/display size? I know of the one in JavaScript, however I want to pick it up in PHP Thanks Nunners -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Request domain name

2004-02-25 Thread James Nunnerley
$_SERVER[HTTP_HOST] will get you the full domain name... Nunners -Original Message- From: Age Bosma [mailto:[EMAIL PROTECTED] Sent: 25 February 2004 14:13 To: [EMAIL PROTECTED] Subject: [PHP] Request domain name I would like to be able to request the domain name. How can this be

RE: [PHP] UK Postcode Reg Exp

2004-02-17 Thread James Nunnerley
Hi Shaun, Not that I know of - although I have looked at various things like this myself. Would you be interested in a small open source project on this subject? I see you instigated the discussion on this earlier today. It might be something worth putting on PEAR, and somehow linking it with