[PHP] object vs functions

2002-12-27 Thread Mat Harris
hat are the uses of objects over functions/groups of functions? sorry if this is an innane or frequently asked question. -- Mat Harris OpenGPG Public Key ID: C37D57D9 [EMAIL PROTECTED]www.genestate.com msg90819/pgp0.pgp Description: PGP signature

Re: [PHP] object vs functions

2002-12-28 Thread Mat Harris
t; In the last few months, I have shifted my own programming techniques to > use classes and I have found it tends to work better for almost every > situation. Personally, I wish I had found out about them sooner! > > Hope this helps, (And I hope it makes sense, as I'm writing at

Re: [PHP] Windows XP

2003-01-01 Thread Mat Harris
Stephen wrote: Ok, this is very off topic but this is strange. I woke up this morning and turned on my computer like always, only today to find my normal Windows XP theme to be changed to the classic style and the normal style is gone, I can't change it back. Any ideas why and how to fix it may

Re: [PHP] php.ini - changes aren't taking?

2003-01-06 Thread Mat Harris
ts out. > > I have logging turned on in my php.ini file, but phpinfo() says it's turned > off. > > Any ideas? > > Rad Craig > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubs

[PHP] fopen with nasty pathnames

2003-01-11 Thread Mat Harris
i have a database with unix path names of mp3s like: Patti Smith/Horses [1975]/01-Gloria.mp3 which have to keep the spaces for part of another application. If i let the shell escape them from an ls command, i can get: Patti\ Smith/Horses\ \[1975\]/01-Gloria.mp3 but fopen will still refuse sayi

Re: [PHP] fopen with nasty pathnames

2003-01-12 Thread Mat Harris
Gerald Timothy Quimpo wrote: On Sunday 12 January 2003 07:08 am, Mat Harris wrote: Patti\ Smith/Horses\ \[1975\]/01-Gloria.mp3 but fopen will still refuse saying file not found. I have tried escaped and unescaped amnd yes, I am very sure the file is there. How can I get fopen to accept a path

[PHP] session storage

2003-01-13 Thread Mat Harris
i am writing a shopping site for training (just out of interest). When a user clicks "add to basket" i want to check whether an item with that id is already in my session ($ALCOHOLE["items"]), if so, redirect them the the view_cart page, if not then append it to the $ALCOHOLE["items"] array as

Re: [PHP] PHP Compile question ....

2003-02-17 Thread Mat Harris
-- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Mat Harris OpenGPG Public Key ID: C37D57D9 [EMAIL PROTECTED]www.genestate.com msg97218/pgp0.pgp Description: PGP signature

Re: [PHP] PHP Compile question ....

2003-02-17 Thread Mat Harris
ether you fix them or forget them :) On Mon, Feb 17, 2003 at 08:43:20 +0100, James Hatridge wrote: > Thanks! I'll give it a shot in the morning! > > JIM > > On Monday 17 February 2003 18:19, Mat Harris wrote: > > i like to use to following with php 4.3.0. Note the $APAC

Re: [PHP] Re: problem with ftp browsing

2003-02-26 Thread Mat Harris
ith either of these. Can anyone give > me > > some advice? I would really appreciate it. Thanks. > > > > Matt > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Mat Harris OpenGPG Public Key ID: C37D57D9 [EMAIL PROTECTED] www.genestate.com pgp0.pgp Description: PGP signature

Re: [PHP] fopen

2003-03-05 Thread Mat Harris
that example code is trying to print out data which refers to the integer filehandle of the fopen. To get data out of the file that you have opened, you will need to read() it in. John Taylor-Johnston wrote: #http://www.php.net/manual/en/function.fopen.php $contents = fopen ("/home/pathto/file.

Re: [PHP] imagejpeg and downloading images

2003-03-11 Thread Mat Harris
oesn't download the image, it just shows the image in the browser. I'm > using IE 6 for my browser. > > How I get PHP to download this image? > > Thanks! > > Doug Coning > > > > > -- > PHP General Mailing List (http://www.php.net/) > To u

[PHP] referer

2003-03-28 Thread Mat Harris
am i going mad or something? i want to use the referer string from the server vars, but the $_SERVER["REFERER"] and $HTTP_SERVER_VARS["REFERER"] vars are empty and the phpinfo doesn't show the referer at all. what's going on? cheers -- Mat Harris

Re: [PHP] referer

2003-03-28 Thread Mat Harris
On Fri, Mar 28, 2003 at 04:19:25 -0500, Sebastian wrote: > try: $_SERVER['HTTP_REFERER']; > > cheers, > - Sebastian > > From: "Mat Harris" <[EMAIL PROTECTED]> > > | am i going mad or something? > | i want to use the referer string from

Re: [PHP] chill out

2003-04-03 Thread Mat Harris
rcasm and flaming that goes on is huge. > > Try subscribing to the qmail list for a day or two. better than that, try the openbsd-misc mailing list :) -- Mat Harris OpenGPG Public Key ID: C37D57D9 [EMAIL PROTECTED] www.genestate.com pgp0.pgp Description: PGP signature

[PHP] database stuff and conditions

2002-10-30 Thread Mat Harris
user_ids records -- all the dns records. not got to this point yet. the keys also have to be digetst::md5 encrypted to compare with those in the database. I think i may need cookies for this so any help would be greatly appreciated. -- Mat Harris OpenGPG Public Key ID: C37D57D9

Re: [PHP] database stuff and conditions

2002-10-30 Thread Mat Harris
user_ids > MH> records -- all the dns records. not got to this point yet. > > > > -- > Best regards, > Martinmailto:corwin@;corwin.sk -- Mat Harris OpenGPG Public Key ID: C37D57D9 [EMAIL PROTECTED]matthewh.genestate.com pdnstest.gz Description: application/gunzip msg83355/pgp0.pgp Description: PGP signature

Re: [PHP] database stuff and conditions

2002-10-30 Thread Mat Harris
egards, > Martinmailto:corwin@;corwin.sk > > Wednesday, October 30, 2002, 3:55:28 PM, you wrote: > > MH> attached is a dump of the mysql database. The passkeys are not on a per user > MH> basis, but rather per domain. this can change if that is no

[PHP] strange echo() effect

2002-10-31 Thread Mat Harris
"\n"; $query = "SELECT * FROM users LIMIT 0,30"; $result = mysql_query($query); while ($query_data = mysql_fetch_row($result)) { echo "\n"; foreach ($query_data As $column) { echo "\t$column\n";

Re: [PHP] Re: strange echo() effect

2002-10-31 Thread Mat Harris
;\n"; > $query = "SELECT * FROM users LIMIT 0,30"; > $result = mysql_query($query); > while ($query_data = mysql_fetch_row($result)) > { > echo "\n"; > foreach ($query_data As $column) > { > echo "\t$column\n"; > } > echo

[PHP] php special permissions

2003-12-18 Thread Mat Harris
I can post code if required. -- Mat Harris Network/Systems Administrator Genestate pgp0.pgp Description: PGP signature

Re: [PHP] Re: php special permissions

2003-12-18 Thread Mat Harris
; Have u looked at "sudo" and "sudoers" > > http://www.courtesan.com/sudo/ > http://www.courtesan.com/sudo/man/sudoers.html > > regards > pete > > > > Mat Harris wrote: > > Hi, > > I am building a web interface to the vacation a

Re: [PHP] php special permissions

2003-12-18 Thread Mat Harris
-0600, Eugene Lee wrote: > On Thu, Dec 18, 2003 at 12:24:21PM +0000, Mat Harris wrote: > : > : I am building a web interface to the vacation autoresponder program > : on linux. > : > : I let users login, edit their message and enable the autoresponder. > : > : The last

Re: [PHP] Re: php special permissions

2003-12-18 Thread Mat Harris
On Thu, Dec 18, 2003 at 08:30:32 -0500, David T-G wrote: > Mat -- > > [BTW, my gnupg could not find your public key.] hmm, i'll look into it. > ...and then Mat Harris said... > % > % yes i've looked at sudo but for some reason, when I use sudo in a php > % scri

[PHP] hacking sf

2004-01-07 Thread Mat Harris
I have just downloaded the sourceforge source from sf.net and I am trying to hack it witohut much luck. The login mechanism just doesn't seem to work. It uses manually set cookies instead of inbuild session stuff and I never got it to work like that. I don't know exatcly why but the cookie just ne

Re: [PHP] Re: hacking sf

2004-01-07 Thread Mat Harris
ey've got to release it somehow. i'll have a look at gforge now. cheers On Wed, Jan 07, 2004 at 12:25:18 -0200, Manuel Lemos wrote: > Hello, > > On 01/07/2004 11:08 AM, Mat Harris wrote: > > I have just downloaded the sourceforge source from sf.net and I am trying to >

Re: [PHP] Re: hacking sf

2004-01-07 Thread Mat Harris
i have just had a look and although it looks very nice, it is restricted to PgSQL which I do not use (MySQL only). thanks for the suggestion tho Manuel, I am sure I will find a use for that peticular project some other time :) cheers mat On Wed, Jan 07, 2004 at 02:39:56 +, Mat Harris wrote

Re: [PHP] ezmlm "bounced email" warnings - [was RE: [PHP] suspicious - maybe spam]

2005-03-09 Thread Mat Harris
On Wed, Mar 09, 2005 at 07:30:57AM -0800, Rob Tanner wrote: > Every ezmlm mailing list I'm on does that periodically. Lists that I'm > on that use MailMan never seem to have that problem. What then does > that tell us about ezmlm... i get the same thing toobut as i run my own mail server i k

Re: [PHP] Googlebot

2004-01-28 Thread Mat Harris
On Wed, Jan 28, 2004 at 11:51:06 -0500, Michael Mulligan wrote: > Googlebot visits my site occasionally and follows a lot of my PHP links > with long query strings... same here, google has been indexing my php site for over 3 years now :) -- A Pope has a Water Cannon.

Re: [PHP] Web Development Overnight!!!

2004-12-13 Thread Mat Harris
sorry, I know we shouldn't reply to this sorta crap, but: On Mon, Dec 13, 2004 at 03:21:01PM +0100, info wrote: > Dear php-general@lists.php.net, > -- > >Act now and we'll even give you your own domain name >(www.yourdomain.com) f

Re: [PHP] IDE recommendation-- (Free?)

2004-12-17 Thread Mat Harris
On Fri, Dec 17, 2004 at 08:20:36 -0500, GH wrote: > Hi... > > I am looking for a FREE PHP IDE that uses syntax highlighting and > code completion amongst other features... > > Do any of you have any recommendations... again I am looking for FREE > (not much budget for me)? > > I use BOTH Linux