[PHP] include()

2005-06-13 Thread I. Gray
Hi Just a quickie. Is there a big difference between me including a file by putting the url in the include() such as include(http://www.examplesite.com/examplefile.php) and putting the server path such as include(number/www.examplesite.com/public_html/examplefile.php) ? I want to get into

[PHP] retreiving postal/zip codes with PHP

2005-06-14 Thread I. Gray
Hi. I was wandering whether anyone knew how i can use php to retrieve info from a postal code (probably mainly in the UK) so that when a person enters the post code it comes up with the address or I can do other things with the info. Is there a php class that can do this? Would I need to

[PHP] Re: Retrievable weather service info?

2005-06-14 Thread I. Gray
You might want to have a look at http://www.accuweather.com/wx/accunet/index.htm Not checked it out properly, but give it a go. Don't think it's free though. Anyone got any other ideas? Murray @ PlanetThoughtful wrote: Hi All, Just wondering if anyone knows of a free weather service that

[PHP] Re: retreiving postal/zip codes with PHP

2005-06-15 Thread I. Gray
I. Gray wrote: Hi. I was wandering whether anyone knew how i can use php to retrieve info from a postal code (probably mainly in the UK) so that when a person enters the post code it comes up with the address or I can do other things with the info. Is there a php class that can do

[PHP] resetting arrays

2005-06-21 Thread I. Gray
Hi. I am sure this is easy, but I can't get this work. Is there not a php function that can do this? I have an array- for example... [1] = Yellow [2] = Green [3] = Purple [4] = Blue [5] = Red [6] = Orange [7] = Cyan What happens, say if I delete [3] = Purple? I get... [1] = Yellow [2] =

Re: [PHP] resetting arrays

2005-06-21 Thread I. Gray
Thanks Richard, I had thought of sort. It almost does what I want, and really simply and neat. However it sorts the array alphabetically, and I would prefer to have things in the same order. Is there another way? Ian Gray Richard Davey wrote: Hello, Tuesday, June 21, 2005, 1:33:55 PM,

[PHP] Re: resetting arrays

2005-06-21 Thread I. Gray
($ses_basket_items) ; } Al wrote: I. Gray wrote: Hi. I am sure this is easy, but I can't get this work. Is there not a php function that can do this? I have an array- for example... [1] = Yellow [2] = Green [3] = Purple [4] = Blue [5] = Red [6] = Orange [7] = Cyan What happens, say if I delete [3

Re: [PHP] Re: resetting arrays

2005-06-21 Thread I. Gray
]); $ses_basket_items = array_values($ses_basket_items) ; -Original Message- From: I. Gray [mailto:[EMAIL PROTECTED] Sent: 21 June 2005 14:21 To: php-general@lists.php.net Subject: [PHP] Re: resetting arrays * This e-mail has been received by the Revenue Internet

Re: [PHP] Re: So many returned mail notices!

2005-06-21 Thread I. Gray
I think many of us on this mailing list would be grateful if there was a little less nastiness going around. If someone is 'ignorant' then there are nicer ways of putting it. My point is if you dont like spam do something about it, clearly your too ignorant to understand. -- PHP General

[PHP] PHP script for removing/forwarding suspected spam from pop3 mailbox

2005-08-11 Thread I. Gray
Hi. I'd like to find or write a script that I can run every so often (hourly for example) from cron that will check my pop3 mailboxes for any emails with SPAM in the subject line and either delete them or forward them to another email address. The best way would be to bundle all the

[PHP] parsing useragent string without get_browser

2005-08-24 Thread I. Gray
I've done a google and can't find anything on this. I want to parse a long list of useragent strings for a web analysis script I am writing. I could use get_browser, but firstly this would slow down my script quite a bit and secondly I am relying on the browscap.ini file of the newness of

[PHP] Re: parsing useragent string without get_browser

2005-08-25 Thread I. Gray
The problem is I haven't seen any examples of this in php. The best I have come up with is the following. I know the code is pants, but it works. I am sure people out there can think of a better way of doing it- $ua = $logInfo[useragent]; if (

[PHP] Php logging into online bank to get details automatically

2005-09-20 Thread I. Gray
Hi all. I thought I may of read of this somewhere- but I may be wrong. I am also not sure whether this is allowed by banks, so please let me know- I want to stay on the right side of the law! I'd like a php script to access my bank balances and send me an email daily. I know how to set up cron

Re: [PHP] Php logging into online bank to get details automatically

2005-09-20 Thread I. Gray
Curl- ahh, thanks not something I've looked into yet. Are there any other resources out there that I could look at for learning about it? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Php logging into online bank to get details automatically

2005-09-21 Thread I. Gray
Thanks, Jasper I looked at my banks TCs and it says don't use software that stores your password unless it is used by a specific banking service. I am going to look into the curl functions, but I am pretty sure that the bank won't let it work unless it thinks it is a proper browser like IE