RE: [PHP] This is getting ridiculous

2003-08-20 Thread Chris W. Parker
Dan Anderson on Wednesday, August 20, 2003 12:37 PM said: >> Blocking the users is not solving the issue... > > Don't just block random users. Create a rule something like: First of all he didn't mean any random user as if someone would just willy-nilly block so

RE: [PHP] This is getting ridiculous

2003-08-20 Thread Chris W. Parker
Dan Anderson on Wednesday, August 20, 2003 1:06 PM said: > Sure, I absolutely agree with you. But there are a lot of lists /not/ > doing anything about it. So whatever. Don't spend a half hour > bitching about the spam -- spend 5 minutes blocking it and be done >

RE: [PHP] Re: rich text editing

2003-08-20 Thread Chris W. Parker
DvDmanDT on Wednesday, August 20, 2003 1:32 PM said: > Look into activeX stuff... That's how they do it... Umm.. that's how they do what? Oh I see what happened... you forgot to include the text you were replying to in your email so that anyone reading your respons

[PHP] functions/methods and what they should return

2003-08-20 Thread Chris W. Parker
Hi people. I'm working on a large application right now (complete ecom store) and I'd like to get some feedback on something. Each product that is in the database can have at least one attribute to it (i.e. color, size, etc.). Right now I've got a method in my Products class called ShowAttributes

RE: [PHP] functions/methods and what they should return

2003-08-20 Thread Chris W. Parker
Dan Anderson on Wednesday, August 20, 2003 3:04 PM said: > You want to break off things into as many functions and components as > possible. Hmm.. Ok. So right now I've got this (psuedo code): function displayAttributes($id) { // query db // store r

RE: [PHP] functions/methods and what they should return

2003-08-20 Thread Chris W. Parker
Dan and Ray, Thanks for your help. This helps clear some things up for me! Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] virus on the list

2003-08-21 Thread Chris W. Parker
electroteque on Thursday, August 21, 2003 2:34 AM said: > i am aware of this, is there any way to filter it? i'll shut up now ;\ Yes. But this depends on how your setup is. You could try filtering by filetype. Don't accept files with a .pif extension. You could filt

RE: [PHP] Capturing script output

2003-08-21 Thread Chris W. Parker
Joel Konkle-Parker on Thursday, August 21, 2003 9:17 AM said: > Can anyone offer some advice as to what I should do here? 1. Remove the buffering calls that are within the script your trying to buffer. 2. Have the child script write it's output to a file on the serv

RE: [PHP] Mailing List Weirdness

2003-08-21 Thread Chris W. Parker
Curt Zirzow on Thursday, August 21, 2003 1:09 PM said: > The issue has been resolved, I am currently getting these > autoresponders off the list. Hurray! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Date Validation, Kinda'

2003-08-21 Thread Chris W. Parker
Jay Blanchard on Thursday, August 21, 2003 12:30 PM said: > Has anyone written any date validation function or sequence. Now that I'm thinking about it, what is your goal with this? Is it to make sure the date entered is within a certain range when compared to anoth

RE: [PHP] Any similiar function to number_format????

2003-08-21 Thread Chris W. Parker
And now to send my response to the entire list. -- Scott Fletcher on Thursday, August 21, 2003 1:12 PM said: > Wondering if there is any similiar function to a php > number_format(). This time, without a period. For example, if I get > a '1', I would like to f

RE: [PHP] Date Validation, Kinda'

2003-08-21 Thread Chris W. Parker
Jay Blanchard on Thursday, August 21, 2003 1:24 PM said: > It is to make sure that the user has entered a valid future date in > the MMDD format into the form. (You may very well already know of these two functions and already thought of what I'm going to tell y

RE: [PHP] File upload and deletion

2003-08-21 Thread Chris W. Parker
Steven Murphy on Thursday, August 21, 2003 1:40 PM said: > http://www.pfohlsolutions.com/projects/mailer/mailer.zip. I'm having Are you wanting me to download this file, unzip it, stick it on my server, run/test it, and then report back to you with where you've made

RE: [PHP] google style paginating

2003-08-21 Thread Chris W. Parker
Ted Conn on Thursday, August 21, 2003 2:01 PM said: > Hi I am new to this newsgroup and I plan on replying to all the posts > I can for now... Hopefully those replies will be useful. ;) > I'll show you the code I am using > now for next and back buttons... Hmm...

RE: [PHP] Re: google style paginating

2003-08-21 Thread Chris W. Parker
Robert Cummings on Thursday, August 21, 2003 4:46 PM said: > Don't retrieve ALL the queries then > only display a subset. Otherwise what's the point of using the LIMIT > clause for conservation of resources? The "SELECT COUNT( * ) FROM > foo" query is usually optimi

RE: [PHP] Window.status message

2003-08-25 Thread Chris W. Parker
murugesan on Monday, August 25, 2003 1:51 AM said: > echo "Click here "; Google* is your friend http://hotwired.lycos.com/webmonkey/96/40/index3a.html?tw=programming Chris. * search terms used were "window.status" -- PHP General Mailing List (http://www.ph

RE: [PHP] [Newbie Guide] For the benefit of new members

2003-08-25 Thread Chris W. Parker
[EMAIL PROTECTED] on Monday, August 25, 2003 5:11 AM said: > 5. Provide a clear descriptive subject line. Avoid general subjects > like "Help!!", "A Question" etc. Change to: 5. Provide a clear descriptive subject line. Avoid general subjects like "Help!!", "A Ques

[PHP] verifying sql INSERTs

2003-08-25 Thread Chris W. Parker
Hi! (MySQL) What's the best way to determine a sql INSERT statement has executed successfully? What I've got is a function whose sole purpose is to add new staff members to an app. I've written. There's a basic form that the user fills out (first name, last name, email address) and submits. Only

RE: [PHP] Displaying Multidimensional Arrays

2003-08-25 Thread Chris W. Parker
Jason Williard on Monday, August 25, 2003 2:00 PM said: > Would anyone be able to offer some assistance on this front? Sure... if you give us more info. (i.e. maybe the array layout?) c. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: ht

RE: [PHP] verifying sql INSERTs

2003-08-26 Thread Chris W. Parker
John W. Holmes on Monday, August 25, 2003 5:37 PM said: > You should use mysql_error() to ensure your query did not fail for any > reason. Assuming the query was successful, you can use > mysql_affected_rows() to see if it actually had any impact on the > database, i

RE: [PHP] verifying sql INSERTs

2003-08-26 Thread Chris W. Parker
Marek Kilimajer on Tuesday, August 26, 2003 3:59 AM said: > mysql_query() will return true for queries that don't return rows and > were executed without error, so you can use > return mysql_query(); > You should also make a UNIQUE index on email column, then you ca

RE: [PHP] Website templating schemes

2003-08-26 Thread Chris W. Parker
Joel Konkle-Parker on Tuesday, August 26, 2003 9:26 AM said: > I'm currently using the second method, but I've only seen the first > used elsewhere. Is there a reason that #1 is better than #2 (or is > anything else even better than that?)? Thought about using Smart

RE: [PHP] Need help - past deadline

2003-08-26 Thread Chris W. Parker
Jay Fitzgerald on Tuesday, August 26, 2003 10:40 AM said: > can someone please look at my code below and tell me why it is only > working half-way? It is only displaying radio buttons and seats for > numbers 71, 73, 75, 77, 79, 81, 83, and 85.and it is printing >

RE: [PHP] Website templating schemes

2003-08-26 Thread Chris W. Parker
Russell P Jones on Tuesday, August 26, 2003 10:44 AM said: > Agreed with John W. Homes regarding his method of website templating. > It is used in that fashion for all sites run by demcampaigns.com and > www.collegedems.com In that case it CAN'T be a good idea! HAR

RE: [PHP] Need help - past deadline

2003-08-26 Thread Chris W. Parker
Jay Fitzgerald on Tuesday, August 26, 2003 10:40 AM said: Whoops! Sent that first one prematurely. heh... > can someone please look at my code below and tell me why it is only > working half-way? What does print_r($row) show you? Chris. -- PHP General Mailing L

RE: [PHP] verifying sql INSERTs

2003-08-26 Thread Chris W. Parker
Curt Zirzow on Tuesday, August 26, 2003 11:26 AM said: > Like what happens if for some reason the constraint gets dropped? > having your progam rely on the constraint will cause all data > integrity to go to hell. In that case I hope you're also incrementing your ow

RE: [PHP] Website templating schemes

2003-08-27 Thread Chris W. Parker
Joel Konkle-Parker on Tuesday, August 26, 2003 1:51 PM said: > Does that make any sense? Yes, and that's what I kind of thought you meant but just couldn't envision it completely. Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

RE: Re[2]: [PHP] PHP Interview questions

2003-08-27 Thread Chris W. Parker
Jay Blanchard on Wednesday, August 27, 2003 9:13 AM said: > You are taking a fruit from the crate labeled "apples and oranges", > right? If so, you would be correct. Well done! I hate not being able to figure these things out. :( ME SAD! c. -- PHP General Maili

[PHP] php equivalent to asp's instr()

2003-08-27 Thread Chris W. Parker
Hi. I don't know why but I've had the darndest time trying to find an easy equivalent of asp's InStr() function in PHP. I know there is preg_match(), strpos(), and strstr(), but none of them work like I want them to. In fact, except for maybe preg_match(), I can't get any of them to work right.

RE: [PHP] IS THIS A BUG?

2003-08-27 Thread Chris W. Parker
Steve Todd on Wednesday, August 27, 2003 1:28 PM said: > Is this a bug or can we legally use it. It's legal. And here is an article that explains it: http://www.phphideout.com/articleview.php/5 (read near the bottom) Chris. -- PHP General Mailing List (http://w

RE: [PHP] SMTP server response: 550 5.7.1 Unable to relay for

2003-08-27 Thread Chris W. Parker
Àlex Camps on Wednesday, August 27, 2003 12:04 PM said: > i have windows xp with apache,php and argomail > but i cant send emails from php why? According to your subject it looks like the computer you are trying to use to send the email does not allow relaying. >

[PHP] list so slow... Sobig?

2003-08-28 Thread Chris W. Parker
Just wanted to get the consesus of the other list members... Is it SoBig that is making the list so slow? It's taking about hour an or more for my messages to come back to me. Chris. p.s. Probably a good idea to send responses off list if it's just to say "Yeah that's happening to me too!" -- P

RE: [PHP] String substiion for flash text

2003-08-29 Thread Chris W. Parker
Luis Lebron on Friday, August 29, 2003 12:41 PM said: > Is there a way I can change something like > My Link to My > Link Yes. Probably best to use regular expressions. Read up on www.php.net/preg_replace as a starting point. If you don't know how to use regular e

RE: [PHP] Gripe

2003-08-29 Thread Chris W. Parker
Chris Shiflett on Friday, August 29, 2003 2:16 PM said: > if ($foo) { if ($bar) echo 'blah'; else { echo 'else'; } > ^ > Where is the missing brace? :-) |

RE: [PHP] Gripe

2003-08-29 Thread Chris W. Parker
Chris W. Parker <> on Friday, August 29, 2003 2:23 PM said: > I'm pretty sure I've seen an error message from something (maybe, > asp.net, or classic asp) that shows a line like i've drawn and points > to where it thinks the problem is. (And no it wasn'

RE: [PHP] creating a development log

2003-08-29 Thread Chris W. Parker
Merlin on Friday, August 29, 2003 3:03 PM said: > Unfortuantelley this looks way more complicated than I thought. How to > group by date and still get the entry, and how can I arange it, that > it outputs only the one for the date and then closes the list`? To displ

RE: [PHP] Gripe

2003-08-29 Thread Chris W. Parker
Curt Zirzow on Friday, August 29, 2003 3:12 PM said: >> Here +--+-/ >| | > Or Here -+--/ >| > Or Here -/ Oh yeah of course. But I tho

RE: [PHP] Approaches to Logging In

2003-08-29 Thread Chris W. Parker
Seth Willits on Friday, August 29, 2003 3:24 PM said: > Are sessions the way to go? Well you could use cookies also but those can be tampered with. Sessions aren't hard to work with really. All you need to do is start the session, write a variable to $_SESSION if t

RE: [PHP] password systems

2003-09-02 Thread Chris W. Parker
Dennis Gearon on Sunday, August 31, 2003 12:36 AM said: > Anyone have any sources of noun/verb/adjective lists for password > generation? Sorry I don't have a resource for you, but passwords shouldn't use dictionary words in the first place. Have you considered crea

RE: [PHP] Gripe^2 [was Gripe]

2003-09-02 Thread Chris W. Parker
Curt Zirzow on Friday, August 29, 2003 7:54 PM said: > Why do people insist on using their work address so we are plagued > with privacy notices and autorespond's letting us know that he will > be gone one extra day over the weekend Well fortunately for me I don

RE: [PHP] Re: Website templating schemes

2003-09-02 Thread Chris W. Parker
Duncan Hill on Tuesday, September 02, 2003 8:07 AM said: >> Search google for Smarty (I believe it's www.smarty.php) It's a >> great way of separating output from the logic using templates. > > That'd be smarty.php.net ... didn't know .php was a tld :) And how abou

RE: [PHP] evaluating dynamic variable

2003-09-02 Thread Chris W. Parker
Steve Goodman on Tuesday, September 02, 2003 12:54 PM said: > Can someone > recommend a way to reliably evaluate this variable? 1. (not positive on this point so correct me if I'm wrong) you shouldn't compare with !==. Instead us !=. 2. What does the following do?

RE: [PHP] evaluating dynamic variable

2003-09-02 Thread Chris W. Parker
Chris W. Parker <> on Tuesday, September 02, 2003 1:29 PM said: > 1. (not positive on this point so correct me if I'm wrong) you > shouldn't compare with !==. Instead us !=. Ok, turns out I'm wrong on that. I guess I should go look it up!! -- PHP General Maili

RE: [PHP] how to include() N lines?

2003-09-02 Thread Chris W. Parker
[EMAIL PROTECTED] on Tuesday, September 02, 2003 3:04 PM said: > i need to include() only a given amount of lines (the first 10 for > example) instead of a whole file. > > does someone know how this has to be done? Yes. Remove those first ten lines (assuming they a

RE: [PHP] how to include() N lines?

2003-09-02 Thread Chris W. Parker
[EMAIL PROTECTED] on Tuesday, September 02, 2003 4:28 PM said: > instead of including the whole database.php i need to include only a > given number of lines, always starting with the first one. I don't think you're going to be able to do this in the way that you wa

RE: [PHP] Get the lowest value out of different fields

2003-09-03 Thread Chris W. Parker
Frank Keessen on Wednesday, September 03, 2003 12:14 PM said: > I hope you can help me with this: I hope so too! > TEST > > fieldnameValue's > > testid 1 > testf1 3 > testf2 4 > testf3 0 > testf4 2 > testf5

RE: [PHP] Too Advanced? Re: Cookies & Hidden Image

2003-09-03 Thread Chris W. Parker
Nicole on Wednesday, September 03, 2003 2:56 PM said: > But the script just gets a blank cookie when accessed this way(via > hidden image); However, if the script was accessed directly, or the > thankyou page resided on the same domain as the tracking script > (which

RE: [PHP] Thanks Richard Schwartz

2003-09-04 Thread Chris W. Parker
Curt Zirzow on Thursday, September 04, 2003 10:58 AM said: > You should be more careful at whom your including these replies to :) But public floggings are good every once in a while. :) c. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Am I dreaming or what :)

2003-09-04 Thread Chris W. Parker
John Taylor-Johnston on Thursday, September 04, 2003 4:57 PM said: > But how do i get $files ? What do you mean "get $files"? This line right here: >> $files = split("\n",`ls *gif`); "get"'s $files. Try print_r($files); and see what happens. Chris. > th

RE: [PHP] Re: URGENT: how to make a global "server temporarily down" page?

2003-09-05 Thread Chris W. Parker
David Robley on Friday, September 05, 2003 5:59 AM said: > Well, no - I am sure you can do it with an entry in .htaccess in the > server root. Yeah, like a rewrite rule. RewriteRule ^*$ down.html Chris. -- PHP General Mailing List (http://www.php.net/) To unsub

RE: [PHP] countries,states and cities

2003-09-09 Thread Chris W. Parker
Augusto Cesar Castoldi on Monday, September 08, 2003 4:16 PM said: > where can I download a database with all countries and > states and cities? I don't know but I would also be interested in this!! > like: > http://www.datingplace.com/servlet/NewRegistration What

RE: [PHP] Looking for a real good editor with some specific featrues ...

2003-09-10 Thread Chris W. Parker
Daniel Szasz on Sunday, September 07, 2003 6:43 AM said: > I'm working in programming for many years and I'm looking now for an > editor for php good like the borland editor in Delphi/CBuilder.. > Also I will be glad to b something with the same shortcuts like there

RE: [PHP] Escaping the " ' " character

2003-09-11 Thread Chris W. Parker
Dan Anderson on Wednesday, September 10, 2003 5:17 PM said: > If you don't like somebodys post just ignore it. I'd bet your 2 cents > that you don't find every post to this list interesting. Do you reply > to those people and ask them to not post stuff that doesn't

RE: [PHP] loading classes and efficiency

2003-09-11 Thread Chris W. Parker
Dan Anderson on Wednesday, September 10, 2003 5:44 PM said: > require_once() or include_once() > > The files containing the class files before you need them. They will > only be loaded when needed that way. Not true. www.php.net/require_once The way I understand

RE: [PHP] Japanese on a page

2003-09-12 Thread Chris W. Parker
(now to the entire list) Mark McCulligh on Friday, September 12, 2003 11:48 AM said: > I am trying to create both an English and Japanese version of a site. > The English done and I have the Japanese translation in a word doc. > Can someone point me in the right di

RE: [PHP] SNMP mib resoultion

2003-09-12 Thread Chris W. Parker
Guy Fraser on Friday, September 12, 2003 1:53 PM said: > This is my third attempt to send this message and I havn't seen one > show up yet. :{ > > I hope this gets through. I got it!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://

RE: [PHP] Is this inefficient?

2003-09-16 Thread Chris W. Parker
Todd Cary on Sunday, September 14, 2003 9:34 AM said: > I may have two buttons on the form and the Form Action has the same > value as the current form, then at the top of my php script, I may > have I've never done this but can you give the two buttons the same na

RE: [PHP] For Loops and Variables??

2003-09-16 Thread Chris W. Parker
John Ryan on Saturday, September 13, 2003 9:26 AM said: > When I use for loops, at the start of each iteration, the variables > hold the values from the last loop. You're doing it wrong then (I think). 1. You should always initialize your loop counters. i.e. $x =

RE: [PHP] For Loops and Variables??

2003-09-16 Thread Chris W. Parker
Chris W. Parker <> on Tuesday, September 16, 2003 4:07 PM said: > This Is Good(tm): > > for($x=0;$x<100;$x++) > { > for($x=0;$x<100;$x++) > { > echo "Me happy now!!"; > } > } Hehe... whoops! Should be: f

RE: [PHP] Whats wrong with my code?

2003-09-16 Thread Chris W. Parker
Stevie D Peele on Tuesday, September 16, 2003 4:08 PM said: > Okay, I took all the extra spaces out of my code, So it is now 151 > lines. > > I have attached that code, instead of posting it in my mail. It says Attachments are even worse. I'll never open an attach

RE: [PHP] Control Structure problem

2003-09-16 Thread Chris W. Parker
Dan J. Rychlik on Tuesday, September 16, 2003 5:12 PM said: > Thank you guys. I truly know the level of expertise on this mailing > list, and I know that it proves invaluable. If by "I truly know the level of expertise on this mailing list" you meant "I truly don'

RE: [PHP] Japanese on a page

2003-09-17 Thread Chris W. Parker
- Edwin - on Tuesday, September 16, 2003 5:53 PM said: This japanese page thing was a project I started at home so now that I'm at work I'll do my best to respond using my memory (good luck, me!). > Did you check if the Japanese characters are readable inside > html

RE: [PHP] Help!!!

2003-09-18 Thread Chris W. Parker
#meen shari-ah# on Thursday, September 18, 2003 1:05 AM said: Please do not post messages with "Help!!!" as the title. Everyone who posts to this list needs help in some way. It's much better if you give a short description of your problem. For example, "can't connec

[PHP] autocomplete not working all of a sudden

2003-09-18 Thread Chris W. Parker
Hi everyone. Pardon the crosspost but I figure if I'm going to post the same question to two lists anyway, why not get it over with in one shot? Ok so in an attempt to lessen Windows2k pro memory footprint I just turned off three services. (1) TCP/IP NetBIOS Helper Service, (2) IPSEC Policy Agen

RE: [PHP] update password cookie

2003-09-18 Thread Chris W. Parker
John Kaspar on Thursday, September 18, 2003 4:05 PM said: > Yahoo makes you reenter your password every time you reopen your > browser. I'll check other sites though. Thanks for the advice. As it should. You don't want to store password information in a cookie, th

RE: [PHP] update password cookie

2003-09-18 Thread Chris W. Parker
John Kaspar on Thursday, September 18, 2003 4:05 PM said: > I'm just storing its hash. Then comparing it to the database hash. > Is that bad? Is there a good write-up somewhere discussing > authentication techniques that you could recommend? Oh I should respond to

RE: [PHP] um...

2003-09-19 Thread Chris W. Parker
Ryan A on Friday, September 19, 2003 2:36 PM said: > Hey comon nowwith a cute name like Raquel let the lady do > whatever she wants Raquel eh? Reminds me of Raquel Welch, and as I recall Seinfeld made it pretty clear that Raquel Welch is very mean. I'd be ca

RE: [PHP] Shopping Cart Solutions

2003-09-22 Thread Chris W. Parker
Henrik Hudson on Monday, September 22, 2003 3:09 PM said: > My 2 cents. OSCommerce is great if you want to use it out of the box, > but we tried to extend it and alter some of it's functions and the > code is very obtuse and making changes in one spot can lead to > p

RE: [PHP] PHP Editor - which to use?

2003-09-22 Thread Chris W. Parker
Binay on Monday, September 22, 2003 1:58 AM said: > Please suggest me a good PHP editor like ( Microsoft's Interdev for > ASP) to write my php programs/scripts and get a visual feel. Doesn't fit in the "visual feel" category but I really like HTML-Kit available at

[PHP] speaking of php editors

2003-09-22 Thread Chris W. Parker
Hey everyone. I am looking for an editor that will highlight the string "{$array['index']['index']}" within a string. For example: +- gray + | | | +-- red ---+ | | | |

RE: [PHP] Subcategories in php

2003-09-22 Thread Chris W. Parker
phpu on Saturday, September 20, 2003 7:41 AM said: > I have been trying to do this for weeks but i just cant figure this > out. I have categories that have subcategories and i want to insert > them into database. If you need more than two levels of classification I

RE: RE: [PHP] PHP Editor - which to use?

2003-09-23 Thread Chris W. Parker
Jim Lucas on Tuesday, September 23, 2003 9:56 AM said: > Plus, one added feature is, is that it will allow you to do internal > scripting. What are you able to do with "internal scripting"? chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] PHP Editor - which to use?

2003-09-23 Thread Chris W. Parker
Ryan A on Tuesday, September 23, 2003 11:10 AM said: > O holy genius coder, we bow to you, forgive uswhy did we take the > straight and easy path instead of the rough and true path... Because we are not ereet. -- PHP General Mailing List (http://www.php.net

[PHP] help with arrays

2003-09-23 Thread Chris W. Parker
Hey people. I've got an array like this: [0] => Array ( [0] => j [fname] => j [1] => j [lname] => j [2] => jj [state] => jj [3] => [EMAIL PROTECTED] [email] => [EMAIL PROTECTED]

RE: [PHP] help with arrays

2003-09-23 Thread Chris W. Parker
Chris W. Parker <> on Tuesday, September 23, 2003 1:38 PM said: > Someone have a clue? Hmm... maybe www.php.net/array_keys will help me out here. chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] help with arrays

2003-09-23 Thread Chris W. Parker
Robert Cummings on Tuesday, September 23, 2003 1:43 PM said: > It doesn't get much simpler :) Doh!! > foreach( $data as $key => $value ) I don't use that syntax much so I'm not familiar with it. Maybe I should start eh? Thanks, Chris. -- PHP General Mailing Lis

RE: [PHP] SQL statement

2003-09-23 Thread Chris W. Parker
Dan J. Rychlik on Tuesday, September 23, 2003 4:58 PM said: > I know its failing because php doesnt like the quotation before the > format parameters. Ive tried to fix this without any luck. Any > Ideas ? It's failing because the ' before the %d is closing the s

RE: RE: [PHP] PHP Editor - which to use?

2003-09-25 Thread Chris W. Parker
Jim Lucas on Thursday, September 25, 2003 11:52 AM said: > I already answered that question two days ago. I didn't ask you to answer it twice so I don't what you're talking about. c, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:/

RE: [PHP] PHP coders spare time [OT}

2003-09-29 Thread Chris W. Parker
Curt Zirzow on Sunday, September 28, 2003 6:50 PM said: > And what they do with it... > > http://zirzow.dyndns.org/html/mlists/php_general/ Two comments: 1. Top 10! w00t! w00t! 2. Good job Curt. Chris. -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] captcha WAS Please visit my php program

2003-09-29 Thread Chris W. Parker
Ryan A on Saturday, September 27, 2003 12:22 PM said: > Please visit my captcha program here and tell me if its good or if > you think i need to make some changes in text,color or anything. Exactly what is the purpose of this? Let me clarify. I know that it's suppos

RE: [PHP] captcha WAS Please visit my php program

2003-09-29 Thread Chris W. Parker
Chris Shiflett on Monday, September 29, 2003 10:34 AM said: > You end up with so many chargebacks that you lose your merchant > account, and your company loses so much money that you lose your job. > > How's that? :-) Sounds fine to me thanks! Chris. -- PHP Gen

RE: [PHP] arrays and php

2003-09-30 Thread Chris W. Parker
Angelo Zanetti on Tuesday, September 30, 2003 5:43 AM said: > hi I have a table with rows and each row contains a checkbox ( array) > and a record. TD of the checkbox: > echo(" value=". $chkSessionF[$i] .">"); Firstly you should be putting double quotes around every

[PHP] storing japanese in mysql (or pgsql)

2003-09-30 Thread Chris W. Parker
(I posted this to another list yesterday without response, so if it looks familiar, that's why.) Hi. I'm working on a small study aid for myself (and anyone else that wants to use it) and I could really use the ability to store Japanese characters in a MySQL or pgsql db. Right now I've created a

RE: [PHP] arrays and php

2003-09-30 Thread Chris W. Parker
Jason Wong on Tuesday, September 30, 2003 11:06 AM said: >> echo "".print_r($chk).""; >> >> It will not work. > > You can do this though: > > echo "", print_r($chk), ""; Well heck, that makes things easier! What's the difference between using , or . for concat

RE: [PHP] arrays and php

2003-09-30 Thread Chris W. Parker
Jason Wong on Tuesday, September 30, 2003 11:27 AM said: echo "".print_r($chk).""; It will not work. > > Actually, the above *does* work! Not for me. (Although we may be testing different things.) ".print_r($pageTitle).""; ?> Gives me: Checkout S

RE: [PHP] arrays and php

2003-09-30 Thread Chris W. Parker
CPT John W. Holmes on Tuesday, September 30, 2003 11:32 AM said: > Note that print_r() will (by default) return a 1 (TRUE) upon success, > so you end up with a "1" being printed at the end of your data. [snip] That answers it! c. -- PHP General Mailing List (h

RE: [PHP] arrays and php

2003-09-30 Thread Chris W. Parker
Chris Shiflett on Tuesday, September 30, 2003 11:39 AM said: > The comma isn't concatenation; echo can take multiple arguments. Oh ok, I get it. > I've heard statements about passing multiple arguments to echo being > faster than using concatenation, but every benc

RE: [PHP] arrays and php

2003-09-30 Thread Chris W. Parker
Eugene Lee on Tuesday, September 30, 2003 2:12 PM said: > A heredoc is more readable: > > echo << value="{$chkSessionF[$i]}"> > HTMLTAG; Yeah, but I don't like those. :P chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

RE: [PHP] storing japanese in mysql (or pgsql)

2003-10-01 Thread Chris W. Parker
- Edwin - on Tuesday, September 30, 2003 7:00 PM said: > What exactly do you mean by "extended characters"? And, do you mean > all *other* characters are inserted properly? Anyway,... I just mean the characters that you can't type unless you do something like alt-2

RE: [PHP] documentation on "<<<"

2003-10-01 Thread Chris W. Parker
Rich Fox on Wednesday, October 01, 2003 10:08 AM said: > Can someone point me to documentation on the <<< operator? I am > wondering if there are some quirks I don't know about. Yet I can't > find it documented on the php website. I don't know the answer to your que

RE: [PHP] regex drive me crazy

2003-10-01 Thread Chris W. Parker
[EMAIL PROTECTED] on Wednesday, October 01, 2003 1:02 PM said: > Does this make ANY sense? Seeing as how you haven't had a response yet, I'll ask this: what exactly is your question? I'm not sure as to what it is that you want. c. -- PHP General Mailing List (ht

[PHP] your method for validating forms

2003-10-01 Thread Chris W. Parker
Hey people. I'm trying to come up with an easy way to validate forms. I've got an idea and I'd like your feedback as well as suggestions and/or your own methods. My idea is to have a multi-dimensional array with fields: data and type. Let's say you have a form with three fields. First Name (fnam

RE: [PHP] Re: your method for validating forms

2003-10-02 Thread Chris W. Parker
Chris Shiflett on Wednesday, October 01, 2003 11:18 PM said: > There are definitely benefits to saving the extra request and response > necessary to properly display errors, but I'm not so sure I would > count usability as one of them. In addition, the user's percept

RE: [PHP] PHP Editor

2003-10-02 Thread Chris W. Parker
Nico Berg on Thursday, October 02, 2003 5:09 AM said: > I am pretty new in PHP coding. So for starters i want to know what is > a good php-editor? > I like them freeware for windows. HTML-Kit www.chami.com c. -- PHP General Mailing List (http://www.php.net/)

RE: [PHP] include() problems

2003-10-02 Thread Chris W. Parker
Gustave Bernier on Thursday, October 02, 2003 6:20 AM said: > The address is: http://mydomain.com/forums/ssi.php?a=active > > The code I'm trying now is: > $_GET['a'] = 'active'; > include('forums/ssi.php'); You're including the parent file in itself. This could be

RE: [PHP] Re: your method for validating forms

2003-10-02 Thread Chris W. Parker
Robert Cummings on Thursday, October 02, 2003 12:15 PM said: > Heeey, a great little response like this to see an alternative > to a popup and no link for us to check it out *pffft* Where'd > you learn your posting manners? Were you brought up in a we

RE: [PHP] PHP coders spare time [OT}

2003-10-03 Thread Chris W. Parker
Curt Zirzow on Friday, October 03, 2003 8:26 AM said: > Something like this: > http://zirzow.dyndns.org/html/mlists/php_general/ Cool page! But if you would do us all a favor and give your pages some useful 's, because you know, EVERY PAGE IS CALLED "PHP DEVELOP

RE: [PHP] PHP Editor

2003-10-03 Thread Chris W. Parker
Nico Berg on Friday, October 03, 2003 12:38 AM said: > Hi, I have found the solution to my problem, I share it > http://phpeditors.linuxbackup.co.uk/ OOH! OOH! OOH! This should be added to the weekly PHP Newbie post!!! chris. -- PHP General Mailing L

RE: [PHP] Tracking IP Addresses

2003-10-03 Thread Chris W. Parker
Stephen Craton on Friday, October 03, 2003 1:19 PM said: > I'm wanting to track IP addresses by pinpointing their geological > location (country and whatever) but I have no idea how to go about > doing this. I've been searching on the net and PHP websites all day > b

[PHP] method to prevent multiple logons of same account

2003-10-03 Thread Chris W. Parker
Hi. Ok I've got the logging in of customer accounts settled but what I need to work into the system is that of preventing more than one instance of the same account. If I logon right now as testuser1 on ComputerA and then go to ComputerB and login as testuser1 it'll work just fine. What I want to

<    1   2   3   4   5   6   7   8   9   10   >