RE: [PHP] Image submit with mouse over

2006-07-17 Thread Chris W. Parker
Skip Evans mailto:[EMAIL PROTECTED] on Friday, July 14, 2006 4:33 PM said: My apologies to all. I assumed that JS questions would be entertained as the application is within a PHP app. No need to apologize. My off-list email wasn't meant to berate but merely let you know what the purpose

RE: [PHP] Image submit with mouse over

2006-07-17 Thread Chris W. Parker
Chris W. Parker on Monday, July 17, 2006 10:23 AM said: motherboards. Or how about this one? My can't keeps walking on my keyboard while I'm trying to write a PHP page. What should I do? Okay that should be CAT, not can't. -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Enterprise grade CMS+Ecomm

2006-07-20 Thread Chris W. Parker
Hello, So we're getting ready to redo our website once again to integrate some modern changes and a shift in branding. I'm currently looking at all my options as far as software goes. The question I have to answer is Do I write everything by myself from scratch and spend 3-6 months doing it? Or

RE: [PHP] Enterprise grade CMS+Ecomm

2006-07-20 Thread Chris W. Parker
Brady Mitchell mailto:[EMAIL PROTECTED] on Thursday, July 20, 2006 12:25 PM said: The answer to this question depends heavily on your needs. What kind of functionality do you need to get out of your website? If you are looking for a website that is similar to others in function, than I

RE: [PHP] Enterprise grade CMS+Ecomm

2006-07-21 Thread Chris W. Parker
Larry Garfield mailto:[EMAIL PROTECTED] on Thursday, July 20, 2006 6:36 PM said: On Thursday 20 July 2006 11:30, Chris W. Parker wrote: Drupal has its own ecommerce suite that is reasonably robust all on its own. Yeah I saw that module. I think today I am going to try to set them both

[PHP] Best way to get PHP5

2006-08-09 Thread Chris W. Parker
Hello, Generally (well, actually 100%) I just use whatever version of PHP is included with a certain distro (Redhat pre-Fedora, Fedora Core, CentOS). None of the versions I've used have come with PHP5 and I'd really like to get with the times and use PHP5. I know that Fedora Core 5 offers PHP

RE: [PHP] Best way to get PHP5

2006-08-09 Thread Chris W. Parker
Jochem Maas mailto:[EMAIL PROTECTED] on Wednesday, August 09, 2006 11:05 AM said: [snip useful stuff] 1. you can skip 'make test' 2. if in doubt do 'make clean' before 'make' 3. rinse and repeat 'configure', 'make', 'make install' as required 4. do './configure --help' to see all the

RE: [PHP] Best way to get PHP5

2006-08-09 Thread Chris W. Parker
Jack Gates mailto:[EMAIL PROTECTED] on Wednesday, August 09, 2006 10:16 AM said: On Wednesday 09 August 2006 12:02, Chris W. Parker wrote: I know that Fedora Core 5 offers PHP 5.1.2 but I've heard some negative things about it in general (FC5). What sort of negative things have you

RE: [PHP] Best way to get PHP5

2006-08-09 Thread Chris W. Parker
Jonathan Duncan mailto:[EMAIL PROTECTED] on Wednesday, August 09, 2006 3:55 PM said: If you want to really learn Linux, try Gentoo. If you just want a very good and easy to use Linux, go with SuSE. To keep this related to the question I asked... Do either of the latest builds of these

[PHP] OT? Verifying mail was received

2006-08-10 Thread Chris W. Parker
Hello, I have about 90 customers who have created accounts but not yet activated them in the past 11 months. That's less than one every 3.6 days but compared to our total number of customers, it's right at the edge of being a significant number. I'm curious to find a way to determine if the mail

RE: [PHP] OT? Verifying mail was received

2006-08-10 Thread Chris W. Parker
Richard Lynch mailto:[EMAIL PROTECTED] on Thursday, August 10, 2006 1:14 PM said: Keep in mind that for many mere mortals, the process of dealing with your email confirmation goes like this: 1. surf to site, put in email 2. check email, find nothing. 3. go back to site, use

RE: [PHP] OT? Verifying mail was received

2006-08-11 Thread Chris W. Parker
tedd mailto:[EMAIL PROTECTED] on Thursday, August 10, 2006 7:59 PM said: Not a php solution, but send them all a buck via PayPal. For $90 you'll learn if their email addresses are correct. That should be cheaper than writing a program to figure it out for you, if it can be done. Here's

[PHP] Setting flags versus checking for existing/nonexisting values

2006-08-15 Thread Chris W. Parker
Hello, Is it a better practice to set flags to determine the action of your code or is it perfectly acceptable to have your code determine what it should do based on the existence (or lack thereof) of data? For example: ?php if($value == 1) { $flag = true; } if($flag === true) {

RE: [PHP] Setting flags versus checking for existing/nonexisting values

2006-08-15 Thread Chris W. Parker
Brad Bonkoski mailto:[EMAIL PROTECTED] on Tuesday, August 15, 2006 10:04 AM said: Pros: potentially more readable code. Cons: Wasted energy typing unnecessary lines of code. Really I would say it comes down to coder preference. (and why would you avoid the latter all together? Testing

[PHP] Easier way to get the name of a variable?

2006-08-15 Thread Chris W. Parker
Hello, After some intense searching of Google I found one example at http://us2.php.net/language.variables on how to get the name of a variable. But it looks pretty expensive. ?php function vname($var, $scope=false, $prefix='unique', $suffix='value') { if($scope) $vals = $scope; else

RE: [PHP] Creating User Friendly URLS

2006-08-17 Thread Chris W. Parker
tedd mailto:[EMAIL PROTECTED] on Thursday, August 17, 2006 8:29 AM said: And then stripping out the index.php, and using the remainder for both the URL and the database lookup. Why not just place all your pages inside folders with the names you want and then link to the folders?

RE: [PHP] I need an array of state abbrev to names...

2006-08-17 Thread Chris W. Parker
Daevid Vincent mailto:[EMAIL PROTECTED] on Thursday, August 17, 2006 12:58 PM said: B/c I'm too busy (and lazy) to hand type it all in, wondering if someone has an array of state abbreviations to names like so... $states = array( ... 'NY' = 'New York', 'WA' = 'Washington',

[PHP] Looking for caveats to the following code

2006-08-17 Thread Chris W. Parker
Hello, While experimenting with some object stuff I stumbled upon something new (although not object related). Normally I would do this: ?php function do_something($input) { if($input == 'hello') { return $input; } else { return false; } } $result = do_something('hello');

RE: [PHP] active directory and PHP

2006-08-18 Thread Chris W. Parker
Richard Lynch mailto:[EMAIL PROTECTED] on Friday, August 18, 2006 9:47 AM said: Active Directory is a bastardized LDAP with goofy idiosyncracies to drive you crazy. And you're speaking from experience? Never use AD myself. Oh wait, I guess not... :/ Chris. p.s. I'm just having

[PHP] OT alternate website authentication methods

2006-08-18 Thread Chris W. Parker
Hello, Last night I was reading Chris Shiflett's PHP Security book from O'Reilly and got to thinking about ways to authenticate a user other than using a password. Ideas: 1. Use flash to allow the user to draw an image. If the original image created during signup is within an acceptable range

RE: [PHP] Shopping cart

2006-08-23 Thread Chris W. Parker
Richard Lynch mailto:[EMAIL PROTECTED] on Tuesday, August 22, 2006 10:30 AM said: Guys, don't take this wrong but... How do you think all the other PHP shopping carts got started?... Pretty much the same way. So you really need to spend the next couple months figuring out what they

RE: [PHP] OT alternate website authentication methods

2006-08-23 Thread Chris W. Parker
Everyone, Been out of the office for a few days... As nearly everyone has pointed out, the downside(s) to visual/audial authentication methods are greater than the benefits Thanks! Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Format of Encrypted Password

2006-09-05 Thread Chris W. Parker
Kevin Murphy mailto:[EMAIL PROTECTED] on Tuesday, September 05, 2006 3:27 PM said: The passwords are called in the application by: $_SERVER['PHP_AUTH_PW'] Is there any way to tell how these passwords were encrypted? Have you tried searching the entire codebase for that string? Might

[PHP] Data validation at the db level

2006-09-07 Thread Chris W. Parker
Hey everyone, Is there any work being done in the database world for data validation at the db level? It would be cool to just define a field as being an email address (of length nn) instead of saying a TEXT field (of length nn) and validating it in the application layer. Same goes for other

RE: [PHP] Data validation at the db level

2006-09-07 Thread Chris W. Parker
Jay Blanchard mailto:[EMAIL PROTECTED] on Thursday, September 07, 2006 5:16 PM said: There are all sorts of ways to validate data at the DB level and this is a PHP question how? Just because! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] +AFs-OT+AF0- Working with version control

2006-09-21 Thread Chris W. Parker
Hello, This is off topic but I wanted to get the list member's opinions on the subject as it will probably benefit someone else. Currently I don't use version control at all. What I do instead is have one directory that contains my development website and one directory that contains the live

[PHP] Storing dynamic attribute data in a db

2007-01-18 Thread Chris W. Parker
Hello, This is now my 3rd attempt at writing this email. :) The first two were pretty long... I'm currently working on trying to find a solution that is both simple and flexible for storing the data of a complicated set of dynamic options for some of our products. My current thinking is that I

RE: [PHP] Storing dynamic attribute data in a db

2007-01-18 Thread Chris W. Parker
On Thursday, January 18, 2007 3:51 PM Chris mailto:[EMAIL PROTECTED] said: Hey Chris, If you have to write a 6 page document to explain what's going on, that's probably bad.. because in 6 months time if you need to revisit it, you're going to have issues. hehe I wouldn't say that my other

RE: [PHP] Storing dynamic attribute data in a db

2007-01-18 Thread Chris W. Parker
On Thursday, January 18, 2007 5:09 PM Paul Novitski mailto:[EMAIL PROTECTED] said: Are you considering keeping all the levels of your data tree in a single table because you can't predict how many levels there will be? If you CAN predict its depth, wouldn't it be simpler and easier to

[PHP] Recursion: Ugh!

2005-05-26 Thread Chris W. Parker
Hi everyone, I've been working on a problem for a few days now and I'm not making any headway so I think it's time I come to the list for some help (though this really disappoints me since it appears I'm not capable of solving this problem on my own!). Anyway, I'm using the Modified Preorder

RE: [PHP] Recursion: Ugh!

2005-05-26 Thread Chris W. Parker
Marek Kilimajer mailto:[EMAIL PROTECTED] on Thursday, May 26, 2005 11:35 AM said: untested: function display($array, $prefix = '') { echo $prefix ':' . $array['name'] . \n; if(is_array($array['children']) $array['children']) { foreach($array['children'] as

RE: [PHP] Recursion: Ugh!

2005-05-27 Thread Chris W. Parker
Steve Brown mailto:[EMAIL PROTECTED] on Thursday, May 26, 2005 11:47 AM said: How is your structure being built? Is it hard-coded or dynamic (e.g. pulled from a DB)? From a database. We employ a similar tree structure for manging items in our store front. Believe me when I say, its a

RE: [PHP] Re: Free penetration test

2005-05-27 Thread Chris W. Parker
Rasmus Lerdorf mailto:[EMAIL PROTECTED] on Friday, May 27, 2005 4:15 PM said: He was apparently doing something along the lines of: foreach($_GET as $key=$val) { echo EOL input type=hidden name=$key value=$val EOL; } Probably just a lazyness thing. Generally you will want

RE: [PHP] Recursion: Ugh!

2005-05-27 Thread Chris W. Parker
Steve Brown mailto:[EMAIL PROTECTED] on Friday, May 27, 2005 2:17 PM said: So in your case, if you wanted to create a new item in the category Round, you would first have to navigate to Food Vegetables Round, then create the new item. This may seem more complicated, but think about how

RE: [PHP] Re: Free penetration test

2005-05-27 Thread Chris W. Parker
Rasmus Lerdorf mailto:[EMAIL PROTECTED] on Friday, May 27, 2005 11:58 AM said: You have all sorts of problems at that URL. To start with, here is a cross-site scripting hack: http://www.vlaamse-kern.com/yourstore-0.0.2-beta1/admin/?%22%3E%3Cscript %09 src%3D%22http://3423329163/v

RE: [PHP] Variabels in stored txt

2005-05-31 Thread Chris W. Parker
Niels Riis Kristensen mailto:[EMAIL PROTECTED] on Tuesday, May 31, 2005 2:09 PM said: On 31/05/2005, at 22.19, Jay Blanchard wrote: [snip] $get_var1 = mysql_query(SELECT * FROM table1 WHERE id LIKE '1' LIMIT 1); while($record=mysql_fetch_assoc($get_var1)) {

RE: [PHP] Delay?

2005-06-02 Thread Chris W. Parker
Chris Boget mailto:[EMAIL PROTECTED] on Thursday, June 02, 2005 12:16 PM said: Has anyone else noticed significant delays in messages getting posted? No, no delay on my end. At least 4hrs on my end... Uhh.. I think he was joking... Take another read of his next sentence. :) Chris.

RE: [PHP] dynamic drop down

2005-06-06 Thread Chris W. Parker
Danny Brow mailto:[EMAIL PROTECTED] on Saturday, June 04, 2005 2:45 PM said: So how do you refresh the page when the drop down is selected? With javascript or force the user to click a submit button. Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Beautiful HTML Invoice - Prints like crap! I need somesuggestions!

2005-06-09 Thread Chris W. Parker
Leif Gregory mailto:[EMAIL PROTECTED] on Thursday, June 09, 2005 2:29 PM said: You realize that the printing of background colors is determined primarily by the user's browser right? In IE: Tools / Internet Options / Advanced / Under Printing section. In Firefox: File / Page Setup /

RE: [PHP] Problems escaping apostrophe, please help

2005-06-10 Thread Chris W. Parker
Leila Lappin mailto:[EMAIL PROTECTED] on Thursday, June 09, 2005 7:46 AM said: == This is the rendering === == (note the heart's apostrophe breaks IE and firefox) === li a href=# onclick='document.form1.how.value=Pulmonary edema is a condition in which fluid accumulates

RE: [PHP] possible jscript/php/frames question!!

2005-06-17 Thread Chris W. Parker
bruce mailto:[EMAIL PROTECTED] on Friday, June 17, 2005 3:48 PM said: i've got a problem where i'm trying to play with imagemaps. i created a test image map, but when i select inside the image map, i 'see' the ?x,y from the imagemap, appended to the url in the browser address bar... i get

RE: [PHP] possible jscript/php/frames question!!

2005-06-17 Thread Chris W. Parker
bruce mailto:[EMAIL PROTECTED] on Friday, June 17, 2005 5:05 PM said: chris... i'll humour you.. although i'm pretty sure you have no idea as to what i'm trying to acomplish.. or how to get to my goal... the basic issue is to allow a user to click inside an image map, and to

[PHP] So many returned mail notices!

2005-06-20 Thread Chris W. Parker
Hey, I know this kind of post can be annoying to some people but I must ask anyway. Is everyone else getting a bunch of returned mail from [EMAIL PROTECTED] It looks like it has something to do with (possibly) an email address that is subscribed through Road Runner? Anyway this kind of thing

RE: [PHP] So many returned mail notices!

2005-06-20 Thread Chris W. Parker
Richard Davey mailto:[EMAIL PROTECTED] on Monday, June 20, 2005 10:51 AM said: Hello Chris, Monday, June 20, 2005, 6:33:24 PM, you wrote: Anyway this kind of thing always makes me a bit nervous because I start to think something is wrong with my end. It's not just you, we all get

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

2005-06-20 Thread Chris W. Parker
JamesBenson mailto:[EMAIL PROTECTED] on Monday, June 20, 2005 11:11 AM said: Im suscribed to the newsgroup and dont receive emails, I simply browse the threads in Thunderbird, you must of signed up for daily digests. Nope. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] phpInfo() executed on Yahoo!

2005-06-20 Thread Chris W. Parker
AmirBehzad Eslami mailto:[EMAIL PROTECTED] on Monday, June 20, 2005 12:11 PM said: On Monday, June 20, 2005, Jason Barnett wrote: [..] but it would have been cool to see what things they've done to handle the number of page requests they have. Take a look at the attached file.

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

2005-06-21 Thread Chris W. Parker
JamesBenson mailto:[EMAIL PROTECTED] on Tuesday, June 21, 2005 8:41 AM said: You could unsuscribe, open your news client and enter news.php.net No. you can then browse at your own leasure, it does actually say a warning msg at the bottom of this page,

RE: [PHP] Re: security question...??

2005-06-21 Thread Chris W. Parker
bruce mailto:[EMAIL PROTECTED] on Monday, June 20, 2005 5:50 PM said: if you're going to be writing apps that deal with sensitive information, you better damm well give some thought as to how secure the client is, or even if the client is actually valid! It's not possible to determine the

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

2005-06-21 Thread Chris W. Parker
JB05UK mailto:[EMAIL PROTECTED] on Tuesday, June 21, 2005 10:31 AM said: My point is if you dont like spam do something about it, clearly your too ignorant to understand. When did I complain about spam? Go back to my original post, reread it, think about it, then realize that I never

RE: [PHP] Re: security question...??

2005-06-21 Thread Chris W. Parker
bruce mailto:[EMAIL PROTECTED] on Tuesday, June 21, 2005 1:38 PM said: what you state is true at the extreme... but in the case of an client app, i could already extract information about the various apps that make up the client.. ie if, as in the case of IE, I was able to get information

RE: [PHP] Re: security question...??

2005-06-22 Thread Chris W. Parker
bruce mailto:[EMAIL PROTECTED] on Wednesday, June 22, 2005 10:28 AM said: sure it can rory... i can give you a file... i create a hash of the file... if i have a process within the file that i give you that allows the file to more or less create the hash of itself, and if i can

RE: [PHP] Re: security question...??

2005-06-22 Thread Chris W. Parker
bruce mailto:[EMAIL PROTECTED] on Wednesday, June 22, 2005 3:17 PM said: but chris... go back and look at the entire thread... i never stated that i wanted to be able to know whether the entire system is secure on the client's end.. i stated that i wanted to be able to know if the

RE: [PHP] Object Oriented PHP (5)

2005-06-24 Thread Chris W. Parker
Josh Olson mailto:[EMAIL PROTECTED] on Friday, June 24, 2005 12:57 PM said: ...and some of my OO code is still in production use 10 years after it was written. Inspiring. Please don't Lynch me Oh snap! Now you're just asking for it. :P Chris. -- PHP General Mailing List

RE: [PHP] looking for a pure startup opportunity..OT

2005-06-28 Thread Chris W. Parker
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] on Tuesday, June 28, 2005 2:23 PM said: This really shouldn't be getting out of hand the way it is... if you don't like it, trust it, agree with it - why not just ignore it? It's as simple as that... don't have a stroke because of it. Hmm...

RE: [PHP] PHP search

2005-06-30 Thread Chris W. Parker
Richard Lynch mailto:[EMAIL PROTECTED] on Thursday, June 30, 2005 2:33 PM said: There are innumerable gothcas to it to start with, ... Is that a special kind of goth? :P Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Two websites need to share part of one database, suggestions please

2005-07-08 Thread Chris W. Parker
Hello, We have two websites. One website is already up and running, the other is not. The first website (I'll call it one.com) contains a large number of the products and is meant for a specific audience. The second website (I'll call it, yep you guessed it, two.com) will contain a small subset

RE: [PHP] Two websites need to share part of one database,suggestions please

2005-07-08 Thread Chris W. Parker
Robert Cummings mailto:[EMAIL PROTECTED] on Friday, July 08, 2005 3:32 PM said: Use a bitvector field in the table and use a bitmask for filtering for which sites can access what products. I think I understand what a bitmask is after doing some research but would you please give me an

RE: [PHP] iCalendar creation not working with Outlook [SOLVED]

2005-07-11 Thread Chris W. Parker
Daevid Vincent mailto:[EMAIL PROTECTED] on Saturday, July 09, 2005 7:24 PM said: I'm sure there's a better way to get the GMT time, as my way is a total hack. I'm in PST btw, 7 hours from GMT, and I set the party events to be 6 hours long arbitrarily. Adjust as desired. PST is normally

RE: [PHP] Two websites need to share part of onedatabase,suggestions please

2005-07-11 Thread Chris W. Parker
Robert Cummings mailto:[EMAIL PROTECTED] on Friday, July 08, 2005 5:25 PM said: Thus siteMask should have one of the following values: (1 1) == 2 // only site1 can use the product. (1 2) == 4 // only site2 can use the product. ((1 1) |

RE: [PHP] Two websites need to share part of one database, suggestions please

2005-07-11 Thread Chris W. Parker
André Medeiros mailto:[EMAIL PROTECTED] on Monday, July 11, 2005 12:44 PM said: What about using web-services (something ala xml?). Could that be considered an option? No because I don't how to use that stuff. :) Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] Two websites need to share part of one database, suggestions please

2005-07-11 Thread Chris W. Parker
André Medeiros mailto:[EMAIL PROTECTED] on Monday, July 11, 2005 3:08 PM said: XML is quite easy. Let's say you're making a search for books, and you have site1.com searching site2.com for some stuff. site2.com could have some sort of back end like I see what you're saying. But that

RE: [PHP] Two websites need to share part ofonedatabase,suggestions please

2005-07-12 Thread Chris W. Parker
Robert Cummings mailto:[EMAIL PROTECTED] on Tuesday, July 12, 2005 11:47 AM said: Sorry to respond so late, my free time these days is sporadic :) No problem. My example suggested one database to host all products for both sites. The bitmask is used as a filter to determine which sites

RE: [PHP] Missing or wrong reply-to headers in this mailing list

2005-07-12 Thread Chris W. Parker
Ahmed Saad mailto:[EMAIL PROTECTED] on Tuesday, July 12, 2005 11:24 AM said: Can the list administators can fix this? (appending the correct reply-to header) This has come up many times in the past and so far it has not changed. Just hit the Reply to All button and you'll be fine.

RE: [PHP] Missing or wrong reply-to headers in this mailing list

2005-07-12 Thread Chris W. Parker
Alan Milnes mailto:[EMAIL PROTECTED] on Tuesday, July 12, 2005 1:28 PM said: Chris W. Parker wrote: This has come up many times in the past and so far it has not changed. Just hit the Reply to All button and you'll be fine. The problem with that is that people then get a personal

RE: [PHP] Tired and feeling dumb...maths question....

2005-07-14 Thread Chris W. Parker
Ryan A mailto:[EMAIL PROTECTED] on Thursday, July 14, 2005 12:17 PM said: Hey, Hey. people vote on a scale of 1-5, so the average should be between 1-5 (right?? am not even sure of this!) Yes. I was thinking of rounding it with a 2 decimal point...eg: round(5.045, 2) Just need to

RE: [PHP] 404 Not Found - refresh to directory

2005-07-14 Thread Chris W. Parker
Terry Romine mailto:[EMAIL PROTECTED] on Thursday, July 14, 2005 1:52 PM said: I have a website that has several hundred agents in a mysql database. The client wants to be able to enter the domain.com/agentname and be redirected to a standard page where we show the agent information.

RE: [PHP] Cannot modify header information error........usage of header method.

2005-07-20 Thread Chris W. Parker
babu mailto:[EMAIL PROTECTED] on Wednesday, July 20, 2005 10:15 AM said: 1.Is there any other alternative to this method. Javascript or an html redirect. 2.I am getting the error by using this method. the error is Cannot modify header information - headers already sent by. i have seen

RE: [PHP] Cannot modify header information error........usage of header method.

2005-07-20 Thread Chris W. Parker
babu mailto:[EMAIL PROTECTED] on Wednesday, July 20, 2005 10:33 AM said: Hi parker, can you please tell me how to use java script or html redirect, i mean a sample. I must be in a good mood today. :) html redirect (more accurately called meta refresh):

RE: [PHP] Help with a home-grown function

2005-07-21 Thread Chris W. Parker
Dan Trainor mailto:[EMAIL PROTECTED] on Thursday, July 21, 2005 2:03 PM said: I never see hi even if an array is set as such: $vars = array(one,two,three,four,five); That's because your function always returns true. If it finds a missing value it returns true. If it doesn't find a

[PHP] looking for program/script to diff directories and show dates

2005-07-27 Thread Chris W. Parker
(It's been a while and I haven't seen this message yet. Are we back to rediculous message delays?? Forgive the repost if it be such.) Hello, I was just expirementing with the diff command and was wondering if there was anything out there that does the same thing but with a more intuitive

RE: [PHP] looking for program/script to diff directories and show dates

2005-07-27 Thread Chris W. Parker
Philip Hallstrom mailto:[EMAIL PROTECTED] on Wednesday, July 27, 2005 11:09 AM said: I was just expirementing with the diff command and was wondering if there was anything out there that does the same thing but with a more intuitive interface? What's wrong with diff -r --brief dir1 dir2

RE: [PHP] looking for program/script to diff directories and showdates

2005-07-27 Thread Chris W. Parker
John Nichel mailto:[EMAIL PROTECTED] on Wednesday, July 27, 2005 10:56 AM said: What about just checking the modified times of the two files with filemtime()? You could have it grab the timestamp of both files, compare them, and see if it's outside a set parameter (like 24 hours, 7 days,

[PHP] does PHP have a configuration setting for linefeed?

2005-07-28 Thread Chris W. Parker
Hi everyone, As you will read below I've got a strange problem happening with some files after being rsync'd from one machine (FC3) to another (RH9). Someone in the RedHat mailing list suggested that maybe the difference was in the configuration files for PHP. I didn't find anything in php.ini

RE: FW: [PHP] [NEWBIE GUIDE] For the benefit of new members

2005-08-05 Thread Chris W. Parker
Rick Emery mailto:[EMAIL PROTECTED] on Friday, August 05, 2005 4:20 PM said: Can anybody recommend a good JavaScript mailing list? If by anybody you mean Google, then yes anybody can recommend a good JavaScript mailing list. Hope this helps! Chris. -- PHP General Mailing List

RE: FW: [PHP] [NEWBIE GUIDE] For the benefit of new members

2005-08-05 Thread Chris W. Parker
Rick Emery mailto:[EMAIL PROTECTED] on Friday, August 05, 2005 4:54 PM said: Well, as I found out when I Google'd before I posted, it *lists* plenty of JavaScript mailing lists. But it can hardly recommend a good one, which is what I asked for, can it? I was soliciting opinions. Yes I

RE: [PHP] Checking a date for validity

2005-09-07 Thread Chris W. Parker
Todd Cary mailto:[EMAIL PROTECTED] on Wednesday, September 07, 2005 3:39 PM said: /* Is date good */ function is_date_good($date) { if (strtotime($date) == -1) { $retval = 0; } else { if (strpos($date, /) 0) { $parts = explode(/, $date);

RE: [PHP] Re: Best way to mass mail

2005-09-12 Thread Chris W. Parker
Matthew Weier O'Phinney mailto:[EMAIL PROTECTED] on Monday, September 12, 2005 6:55 AM said: Mails are then queued to an MTA -- in our case, Postfix. This is the part I don't know how to do. Can you explain/show some code? Thanks, Chris. -- PHP General Mailing List (http://www.php.net/)

RE: [PHP] Re: Best way to mass mail

2005-09-12 Thread Chris W. Parker
Manuel Lemos mailto:[EMAIL PROTECTED] on Monday, September 12, 2005 1:36 PM said: If he is running postfix on the same machine that postfix is running, it does not make much sense to send the message via SMTP because it is a much slower way to do the same thing. I'm not. I was hoping to

RE: [PHP] Re: Best way to mass mail

2005-09-12 Thread Chris W. Parker
Manuel Lemos mailto:[EMAIL PROTECTED] on Monday, September 12, 2005 2:41 PM said: If you use the mail() function, it uses whatever is installed in your machine because by default it calls the sendmail program. I am aware of that but the problem I'm having is inconsistent mailings. For

RE: [PHP] incrementing in a for loop

2005-09-12 Thread Chris W. Parker
D A GERM mailto:[EMAIL PROTECTED] on Monday, September 12, 2005 1:01 PM said: [CODE] for ($myLoop = 0; $myLoop 100; $myLoop= $myLoop + 5) { print Pmy loop: $myLoop; } [/CODE] Where's the code? Oh there it is!

RE: [PHP] Re: Best way to mass mail

2005-09-12 Thread Chris W. Parker
Manuel Lemos mailto:[EMAIL PROTECTED] on Monday, September 12, 2005 3:15 PM said: If you use PHP mail() function it just calls the sendmail wrapper. If you loose messages, you should check the logs of the installed MTA. Your problem seems to be misconfiguration like you are not setting a

[PHP] Is my feedback form being successfully abused?

2005-09-16 Thread Chris W. Parker
Hello, About a few weeks ago I started seeing three emails that all come at the same time (within the same minute) that seem to be trying to exploit a feedback form I have on our website. Everytime someone submits a feedback form I am sent the information they entered. The To and From address are

RE: [PHP] PHP Standard style of writing your code

2006-04-28 Thread Chris W. Parker
Richard Lynch mailto:[EMAIL PROTECTED] on Monday, April 24, 2006 11:50 PM said: So no matter what was actually typed, *I* would see: function foo ($x) { //body } but some heretic who doesn't know any better would see: function foo($x) { //body } Now *THAT* would be a

RE: [PHP] PHP Standard style of writing your code

2006-05-01 Thread Chris W. Parker
Richard Lynch mailto:[EMAIL PROTECTED] on Saturday, April 29, 2006 12:12 AM said: Okay, but let's do keep this fairly serious, and let's NOT let it devolve into the usual religious flame-war this topic gets to... Yeah I should have asked off list as I'm not interested in debating, just

RE: [PHP] ????,????????????

2006-05-02 Thread Chris W. Parker
Yes definitely. I totally agree. Please send me more on the product/service you're giving away/trying to sell to me/us. I'd really like to see/hear/experience more. Thanks/Regards/Sincerely! Chris. -Original Message- From: abzgjisf5 [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 02,

RE: [PHP] ????,????????????

2006-05-02 Thread Chris W. Parker
Yeah it's Chinese. I can see the characters fine. The subject is just ? marks, though I'm not sure why. -Original Message- From: Rory Browne [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 02, 2006 4:45 PM To: Chris W. Parker Cc: php-general

RE: [PHP] Sanity checker?

2006-05-03 Thread Chris W. Parker
Ezra Nugroho mailto:[EMAIL PROTECTED] on Wednesday, May 03, 2006 10:51 AM said: Well, Reservoir, I envision a tool that would audit your php code, and tell you if your code is good or not, if it has scaling issues, etc, etc. Basically it tells if your php code is sane or not. Is this

RE: [PHP] Creating an OO Shopping Cart

2006-05-03 Thread Chris W. Parker
Steve mailto:[EMAIL PROTECTED] on Friday, April 21, 2006 5:58 PM said: So everyone's aware, I have NO intention of storing credit card #'s. I don't see why anyone needs to.. especially after reading Richard's past posts in the archive. Perhaps if you don't use a merchant account and

RE: [PHP] Creating an OO Shopping Cart

2006-05-03 Thread Chris W. Parker
Edward Vermillion mailto:[EMAIL PROTECTED] on Wednesday, May 03, 2006 4:15 PM said: Ahh!! *thud* Count me in the heart attack group. So would it be a reasonable risk if it was *your* cc # that was stolen? And do your customers *know* that you're handling their sensitive info in

RE: [PHP] Creating an OO Shopping Cart

2006-05-04 Thread Chris W. Parker
Richard Lynch mailto:[EMAIL PROTECTED] on Thursday, May 04, 2006 2:06 AM said: Contact the bank with which you already HAVE a merchant account for your point-of-sale credit card swiper thingies. Already have the info in front of me. :) If you're re-doing it anyway, you might as well do

RE: [PHP] Maximum URL length (Pretty much 0T)

2006-05-04 Thread Chris W. Parker
Ryan A mailto:[EMAIL PROTECTED] on Thursday, May 04, 2006 10:38 AM said: - Anything else you wish to add pertaining to the above. You could try sending an insanely long value to a script on your page and see how much of the actual data it received before being truncated or causing an

RE: [PHP] Maximum URL length (Pretty much 0T)

2006-05-04 Thread Chris W. Parker
Jay Blanchard mailto:[EMAIL PROTECTED] on Thursday, May 04, 2006 10:42 AM said: [snip] - Anything else you wish to add pertaining to the above. [/snip] People who use GET requests are lazy. What does... a href=edit_user.php?uid=241241Edit User #241241/a ...have to do with being

RE: [PHP] Maximum URL length (Pretty much 0T)

2006-05-04 Thread Chris W. Parker
Ryan A mailto:[EMAIL PROTECTED] on Thursday, May 04, 2006 1:18 PM said: Thanks for replying, thats an idea, but was hoping people from this list could reply with their experiences because my local server might be different from production servers that you guys access everyday (as the

RE: [PHP] Test URL length please (Pretty much 0T)

2006-05-04 Thread Chris W. Parker
Ryan A mailto:[EMAIL PROTECTED] on Thursday, May 04, 2006 1:36 PM said: (Basically, I am checking to see how many characters we can have in a URL that the server will accept and process, the script checks 200-1000 chars.. add more if you want to) Without any tweaking of the server mine

RE: [PHP] Test URL length please (Pretty much 0T)

2006-05-04 Thread Chris W. Parker
Ryan A mailto:[EMAIL PROTECTED] on Thursday, May 04, 2006 4:08 PM said: Are you sure you searched on this subject? maximum url length in Google turns up a number of resources saying 2083 due to IE's limit. Yes, I mentioned that in my original post... Yes I know, that's why I said,

RE: [PHP] Another Shell Caught

2006-05-11 Thread Chris W. Parker
Wolf mailto:[EMAIL PROTECTED] on Thursday, May 11, 2006 8:01 AM said: If any of you guys want to know when I get another shell caught on my site, email me off-list and I'll set you up as a mailing list personally. This new one is the r57shell and is picked up by Symantec What is a

RE: [PHP] Paged Results Set in MySQL DB with one result

2006-05-12 Thread Chris W. Parker
tedd mailto:[EMAIL PROTECTED] on Friday, May 12, 2006 11:01 AM said: At 6:03 PM +0100 5/12/06, Porpoise wrote: tedd [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Try this: http://xn--ovg.com/ajax_page1 Eerrrm... Blank Page!?! It shouldn't be blank.

RE: [PHP] Paged Results Set in MySQL DB with one result

2006-05-15 Thread Chris W. Parker
tedd mailto:[EMAIL PROTECTED] on Friday, May 12, 2006 12:23 PM said: That's as it should be -- and technically, Next did appear so the page wasn't blank. Splitting hairs aside, a user, civilian or not, would not expect they need to click Next from a blank page to get to the content they

RE: [PHP] Better way of doing this? (menu and submenus)

2006-06-21 Thread Chris W. Parker
Ryan A mailto:[EMAIL PROTECTED] on Wednesday, June 21, 2006 10:51 AM said: @K. Bear - Thanks for the link, I'll check it out as soon as i get a little time. Read that article. I personally like the Nested Set (also called Modified Preorder Tree Traversal) method. It may at first be a

[PHP] Suggestions for class design

2005-09-19 Thread Chris W. Parker
Hello, Every time I write some classes I always come across the same fundamental problem that I haven't figured out how to solve/approach yet. I'm not exactly sure how to put it into words simply but here goes... Let's take for example a class called 'Customer' that (obviously) manipulates

  1   2   3   4   5   6   7   8   9   10   >