[PHP] PHP multipart form data

2002-08-08 Thread Mike Dunlop
hello, i have php 4.2.2 compiled with --enable-ftp running (as a module in apache under red-hat 6.2) and I can not get file uploads through a web page to work!?!? The form variable $userfile (which is the file input name) is returning false; Any ideas how to troubleshoot this? -- PHP Gener

Re: [PHP] Credit Card suggestions

2002-08-12 Thread Mike Dunlop
27;s >useless to anyone that might manage to lift the database. > >Mike > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php -- Mike Dunlop Webmaster Animation World Network [EMAIL PROTECTED] http://www.awn.com (3

Fwd: [PHP] Writing to a file that's not PHP_SELF

2002-08-13 Thread Mike Dunlop
> $file = fopen("Counter.txt", "r+"); You need to open the file with write access and PHP must have write permission e.g. $file = fopen("Counter.txt", "w+"); Mike D... -- Mike Dunlop Webmaster Animation World Network [EMAIL PROTECTED] ht

RE: [PHP] count link clicks

2002-08-13 Thread Mike Dunlop
sub.php >> > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php > >__ >Post your ad for free now! http://personals.yahoo.ca > >-- >PHP

[PHP] Dynamic HTML Email

2002-09-20 Thread Mike Dunlop
email needs to be parsed as html not plain text (or both). I am using the mail command. Can someone shed some light on the subject for me??? Thanks so much in advance! Mike Dunlop -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Explorer-like "drill down" interface

2002-09-25 Thread Mike Dunlop
allowed packets through my firewall destined for port >3306, the mysql server. So I can connect to the server from a remote >machine. Are there any known security vulnerabilities in the mySQL >server? > >Many thanks, > >Rich -- Mike Dunlop Webmaster Animation World Network [

Re: [PHP] Re: Cronjob

2002-09-25 Thread Mike Dunlop
nly in >> >>/usr/bin. Try a "which >> >>php" and see if it finds anything? >> >> >> >>HTH >> >>Chris >> >> >> > >> > >> > >> > ___

Re: [PHP] Encrypt data...

2002-09-25 Thread Mike Dunlop
scribe, visit: http://www.php.net/unsub.php -- Mike Dunlop Webmaster Animation World Network [EMAIL PROTECTED] http://www.awn.com (323) 606-4238 office (323) 466-6619 fax 6525 Sunset Blvd. GS10 Los Angeles, CA 90028 USA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How to test if a number is negative

2002-09-25 Thread Mike Dunlop
I've look through all the numerican functions but can't readily see a way to test for a negative number e.g -7 Any ideas on how to do this? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE: negative numbers

2002-09-25 Thread Mike Dunlop
Nevermind, I have been using if($number<0) { //negative number... but it wasn't working correctly due to a str_replace statement that removing zeros which was screwing it up ok later -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP 4.2.2 vs PHP 4.0.6

2002-10-01 Thread Mike Dunlop
://www.bestadv.net/index.cfm?ref=7029 > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php -- Mike Dunlop Webmaster Animation World Network [EMAIL PROTECTED] http://www.awn.com (323) 606-4238 office (323) 466-6619 fax 6525 Sun

[PHP] Class Variable Scope Question

2006-03-15 Thread Mike Dunlop
und this (e.g. direct access to a variable via "::" syntax like myClass::variable). Does PHP5 address this at all? Many thanks on this. Best, Mike D ....... Mike Dunlop Director of Technology Development [ e ] [EMAIL PROTECTED] [ p ] 323.644.7808

Re: [PHP] Class Variable Scope Question

2006-03-15 Thread Mike Dunlop
the time to respond to my question. - MD ....... Mike Dunlop Director of Technology Development [ e ] [EMAIL PROTECTED] [ p ] 323.644.7808 On Mar 15, 2006, at 1:17 PM, Jochem Maas wrote: Mike Dunlop wrote: Hi Guys, I am wondering how t

Re: [PHP] Class Variable Scope Question

2006-03-15 Thread Mike Dunlop
Nevermind - i found the documentation that answers my question - thanks for the help Jeremy and Jochas. - MD ... Mike Dunlop Director of Technology Development [ e ] [EMAIL PROTECTED] [ p ] 323.644.7808 On Mar 15, 2006, at 1

[PHP] file_get_contents / url wrappers

2006-03-27 Thread Mike Dunlop
ted. Thanks - MD ....... Mike Dunlop Director of Technology Development [ e ] [EMAIL PROTECTED] [ p ] 323.644.7808

[PHP] word matrix

2006-03-27 Thread Mike Dunlop
i have an array of various words and am looking to create a result array of every possible combination of words from the orig array. I'm not sure how to accomplish this elegantly within a for loop. Anyone have any ideas? Thanks - Mike D

Re: [PHP] word matrix

2006-03-28 Thread Mike Dunlop
"word2 word3", "word3 word1", "word3 word2", "word1,word2,word3" ); Thanks - MD On Mar 27, 2006, at 5:55 PM, Chris wrote: Mike Dunlop wrote: i have an array of various words and am looking to create a result arra

Re: [PHP] word matrix

2006-03-28 Thread Mike Dunlop
no, just all the unique combinations. Thanks! ... Mike Dunlop Director of Technology Development [ e ] [EMAIL PROTECTED] [ p ] 323.644.7808 On Mar 28, 2006, at 11:42 AM, Shaunak Kashyap wrote: Would you also want the following

Re: [PHP] word matrix

2006-03-28 Thread Mike Dunlop
this information is prohibited. If you have received this transmission in error, please notify the sender by reply e-mail and destroy all copies of this transmission. -Original Message- From: Mike Dunlop [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 28, 2006 11:57 AM To: Shaunak Kashyap

[PHP] URL Referral Tracking with AIM

2005-09-27 Thread Mike Dunlop
ike D ... Mike Dunlop Director of Technology Development [ e ] [EMAIL PROTECTED] [ p ] 323.644.7808 1-800-Help-Now | http://www.redcross.org

Re: [PHP] Array - partical path to the array's path....

2005-09-27 Thread Mike Dunlop
On Sep 27, 2005, at 10:22 AM, Scott Fletcher wrote: [code] $array = array(); $array['col1']['col2'] = "Test #1"; $array['col3']['col2'] = "Test #2"; $prefix = "['col3']['col2']"; echo $array.$prefix; //Spitted out result as "Test #2"... [/code] This is the simple code that I'm try

Re: [PHP] URL Referral Tracking with AIM

2005-09-27 Thread Mike Dunlop
Thanks for the thoughts -- some good points! I will let you know if I come up with anything that works, please let me you know if you do the same :) Best, Mike D ... Mike Dunlop Director of Technology Development [ e ] [EMAIL

Re: [PHP] Array - partical path to the array's path....

2005-09-27 Thread Mike Dunlop
My bad - that doesn't work - that came off the top off my head. It sure did look sexy though, no ? - MD echo ${"array".$prefix}; really? did you test that? doesn't work when I do it (the second expression does - but doesn't answer the OPs question actually imho the answer is not eval() e