Re: [PHP] A universal Database Class
What you want is a database abstraction layer. search the archives for pear or metabase. Another option is use the lousy ODBC At 03:21 PM 5/17/01, Brandon Orther wrote: Hello, I am making a suite of online tools. Right Now I am connecting to a MS SQL 2000 database. Is there any class out there that will let you send a query to more than just one type of databases? Like someone could run it off a MSSQL server and another could run it off a MySQL database. thanks Brandon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/, http://www.phpmailer.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] scheduler
check out www.ileaguemanager.com At 12:12 PM 4/2/01 -0500, Michael Roark wrote: Does anyone have any code which creates schedules? Like to create a works schedule or a league schedule (baseball, softball that sort of thing) -Micahel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] php jobs?
try monster.com, do a search for it jobs, send your resume to head hunters. buy big city news papers.\ At 11:04 PM 4/1/01 -0500, you wrote: What is a good place to find PHP jobs? J Say I'm Hot! - Post Your Picture! http://www.sayimhot.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/, http://www.phpmailer.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] This PHP list
that is not true... I for one would hang out on more than one list. And IF no one did answer the question, what do newbies do they get the answer themselves. they spend energy on solving the problem and they learn how to learn. We can exhaust this topic to death. I just created [EMAIL PROTECTED] if you want to join use [EMAIL PROTECTED] newbies are encouraged to observe and learn but please aim entry level questions here. Rick At 04:45 PM 3/29/01 +1000, Gfunk wrote: Just my .02c... I really hate these sorts of questions... As the previous poster said, if there was a newbie only list, it'd be full of newbies, and you'd never get anything answered cause there'd be only newbies, and newbies would all come to the advance list to ask their questions. I'd bet my arm that all the best php programmers of the world, hang out on this list. I've read heaps of replies by people who _write_ php (shout out rasmus), and I myself read posts when I can, and without sounding like a tool, I'm a very experienced PHP developer... But sometimes I have questions that could be construed as "newbie" because they relate to something I've never used before, or any reason... Plus, I like helping the newbies.. I remember the first time I used php, and I had some learnin' to do back then :-) Gfunk - [EMAIL PROTECTED] - http://www.gfunk007.com/ - Original Message - From: "Jason Murray" [EMAIL PROTECTED] To: "'Ian Harris'" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, March 29, 2001 4:42 PM Subject: RE: [PHP] This PHP list I was hoping that this PHP list would be of people developing with PHP, who have reached some level of familiarity with the product and when they have had a fair go at solving a problem, they then posted it to the list. For example, we have a problem in our code where the last object in an array of objects sometimes vanishes into thin air depending on whether you comment-out a block of unrelated code further up the script. Sounds like an interesting problem, but related specifically to your code. Post it and see..? Unfortunately, this list is full of people with questions like "I want to access a database with PHP. Can someone please send me the source code". Does anyone know of any other PHP lists that are more suited to non-trivial, expert-related discussions? Well, remember it's called PHP General not PHP Advanced Techy Wizardry. :) The reason it's general and not advanced is that if they made an advanced list as you suggest, the newbies would all go there and ask their questions. There are quite a few experienced, knowledgeable and advanced users around here. It also helps if you actually ask your questions sometimes too you know 8) If there aren't any around, I'll start one on Yahoogroups or some other similar service. Feel free to do it, and best of luck. :) Jason -- Jason Murray [EMAIL PROTECTED] Web Design Team, Melbourne IT Fetch the comfy chair! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ###### # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Editors Inquiry.
Enter your vote today! A new poll has been created for the group: Which editor do you prefer?? o Ultra Edit o Home Site o Edit Plus o Php Editor o Text Pad o Other http://groups.yahoo.com/group/php-adv/polls Note: Please do not reply to this message. Poll votes are not collected via email. To vote, you must go to the web site listed above. Thanks! ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Form help
not all browsers support the referrer or some people use software to block that, so that method is unreliable... the only way to do this is with a token. that is time sensitive from the database, even then there is no method that is hackproof. Rick At 03:41 PM 3/22/01 +, Jon Haworth wrote: You could have a check for the HTTP_REFERER variable, if it doesn't contain "application.php", chances are they didn't come from that page. it's not a good idea to rely on $HTTP_REFERER for anything, and especially for this. a referer is only reported when the user follows a hyperlink, so in the hypothetical case given there would be no referer. Isn't that the point? If there's no referer, they didn't come from the first page, so you send them back there. I could be completely wrong here - is HTTP_REFERER empty following a form submission, even if it's to a different page? what you need to do is combine your two scripts, which is really a neater way handling forms anyway. point your form action to the same page ($PHP_SELF works really well for this, since you can rename the file and it will still run properly), and then add the following code to the top of your application.php file if($GLOBALS["REQUEST_METHOD"] == "POST") { include("process_application.php"); exit; } This is how I would handle it personally, but then he'd mentioned having two pages, so.. Cheers Jon ** 'The information included in this Email is of a confidential nature and is intended only for the addressee. If you are not the intended addressee, any disclosure, copying or distribution by you is prohibited and may be unlawful. Disclosure to any party other than the addressee, whether inadvertent or otherwise is not intended to waive privilege or confidentiality' ** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ###### # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Finding every even 100
$i % 100 = 0 At 10:37 AM 3/21/01 +0100, Nicklas af Ekenstam wrote: Hi Propably a really simple question, but my math skills are not up to speed anymore: How do I find out if an int is an even 100? I.e. 100, 200, 1200, 9900 etc. I could always divide by 100 and have a look at the result and se if it has any decimals but I'm guessing this could be done prettier using modulus. Right? - Nille -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] IBill - Can you recommend a script?
We have dealt a lot with iBill. They are great. The best interface to them that I know of is the opayc solution from Inline. The advantage is you will be able to do charge backs and the solution can be ported to any platform. php, CF, vb. Also opayc will handle the updates to the api, if it changes. You just download the new dll. At 07:17 PM 3/21/01 -0800, you wrote: I have a client who wants to set up iBill. Has anyone had any good experiences with any of the commercially avaliable or open source iBill administration scripts out there? Good Bad or Otherwise, please let me know. Many thanks for any light you can shed on this topic. Matt Friedman -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] What does a ? do
http://www.php.net/manual/it/html/language.operators.comparison.html#AEN3156 called a trinary operator At 12:08 PM 3/20/01 -0800, Brandon Orther wrote: heloo, Could someone plese explain this line if code??? What does the "?" do? $r = ($r 1) ? $config['maxResults'] : $r; Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] how do i get a variable type? - not that simple
I would right a function that would return a result and try an match within the different types. if (isdate($a)) { Dtype = date; } if (isdigit($a)) { Dtype = int; } return (Dtype); etc.. At 01:44 PM 3/18/01 -0500, phpman wrote: No guys. that doesn't work. Take this code for example... $a="3"; echo(gettype($a)); this returns string i need to find it as an integer or real or float for the sql. which by the way is MySQL. thank you for responding, but I already know that gettype and all the other is_* don't work for this. ""phpman"" [EMAIL PROTECTED] wrote in message 99132e$ol8$[EMAIL PROTECTED]">news:99132e$ol8$[EMAIL PROTECTED]... hello all, let's say i have this: $a="varone=hello world|vartwo=2.44|varthree=100|"; now i do this: $b=explode('|',$a); $z=count($b); for ($x=0;$x$z;$x++) { $tmp=explode('=',$b[$x]); and i want to find out if $tmp[1] is a string or an integer (that's really all I need to determine so i can put together an SQL statement that puts single quotes around strings and none around integers). Obviously i won't know at design time all of the variables and their values. Thank you. -dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ###### # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] XML Newbie.!
Make sure you read the whole message before you comment. There was a relative question at the bottom. Rick At 12:59 AM 3/17/01 +0100, Nik Gare wrote: In article [EMAIL PROTECTED], Diego Fulgueira [EMAIL PROTECTED] wrote: Hi! Ok, this is not a question about PHP, but since this is such a great discussion forum, I am certain it is a good place to get started with a new technology. snip Oh, but it is a PHP mail list/newsgroup. This question does not belong here. Nik ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] XML Newbie.!
If it was a question about tables and how you can use them with PHP then yes. Take this off-list if you have something important to say please. At 07:39 AM 3/17/01 +0100, Nik Gare wrote: In article [EMAIL PROTECTED], Rick St Jean [EMAIL PROTECTED] wrote: Make sure you read the whole message before you comment. There was a relative question at the bottom. I have a question concerning table tags. I also have a question concerning PHP. Should I ask both questions here, or just the PHP related question? Nik btw, the references, ie who you are replying to, in your mail is incorrect. ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] FAQ
It is there a list of most frequently asked questions? It seems that people ask the same questions, again and again, they do not READ THE MANUAL. Yes I have asked 2 stupid questions, but I really did search and I am reading my manuals, the PHP and the book that I bought. Also I would like to know if there would be a demand for an experienced mailing list? I am just frustrated by the same 3 questions that pop up about once a day. The rest of the posts are great. Rick ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] FAQ
Cool idea, I am going to add that to the spec for the mailing list program we are working on. it is relatively simple if you put it there when you are planning the app. At 09:17 AM 3/15/01 -0800, RBL wrote: on 3/15/01 9:04 AM, Rick St Jean at [EMAIL PROTECTED] wrote: Also I would like to know if there would be a demand for an experienced mailing list? I am just frustrated by the same 3 questions that pop up about once a day. The rest of the posts are great. Rick I once thought a great product for mail lists (would require an admin interface, PHP?) would be a way to put into the list mail signature a random FAQ link. Fill that particular FAQ with commonly asked questions and have the FAQ sent out each month to all subscribers. A decent threaded mail reader would make this reasonably easy (notice I did not say *simple*) to administer. Example -- Need a PHP editor? (http://php.net/common_questions.html?Q=phpeditors) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] Example -- Trouble compiling GD? (http://php.net/common_questions.html?Q=gdrequirements) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Dave Goodrich Director of Interface Development Reality Based Learning Company 9521 NE Willows Road, Suite 100 Redmond, WA 98052 Toll Free 1-877-869-6603 ext. 237 Fax (425) 558-5655 [EMAIL PROTECTED] http://www.rblc.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] FAQ Ignor if you are tired of this.
This was sent off-list. I respect that. And it voices some opinions. I am not flaming newbie questions. I am a newbie myself. I do have a problem with the same questions coming up 3 times in a row. With developers asking people to do simple logic. And people not looking for answers before they ask. All I am asking is if you do not have an understanding of programming.. do some tutorials. I am talking about questions like... how can I make the page print "1 2 3 4 5" style of questions that come up because php is the first thing that they looked at. This means the person hasn't even looked for a basic tutorial. I love the idea that the list is helpful, I love to answer all the questions that I can, but some people want you to hold their hand. the "help-Your-friends-forum" is "hold-your-hand-forum" or "spoon-feed-me-forum" occassionaly. the manual is http://www.php.net/manual/en/ do a simple search. These guys did a pretty good job here. I spent $80 on a book so I can step though the different functions and keep most of my questions off the list. If you spent time looking say so, I can respect not being able to find something even if it is obvious.. I have done it myself. I asked about contatination. I was looking for a strcat function. Maybe I should invest some time into an site called phpstarter.com and buy the domain name. I get quite a bit of help from people from this list on and off mailing. I am not flaming anyone in particular, I am just tired of people not bothering to spend any energy because it is easier to get someone else to give you the answer. That is what bugs me. I'm a newbee too, have search for hours in the online-manual to find certain answers. Also looked through the FAQ's, searched on PHPbuilder , Devshead and other sites, but didn't find a clue on my problem. It's frustrating spending hours one something a Pro would do in 5 secs!!! If the mailinglists wasn't ment to be a "help-Your-friends-forum" what are they then? The problem with the manual is, that it is VERY hard to understand correct for a newbee. For a little experienced developer it's no problem. But the rest of us?? - Original Message - From: "Rick St Jean" [EMAIL PROTECTED] Newsgroups: php.general Sent: Thursday, March 15, 2001 7:28 PM Subject: Re: [PHP] FAQ The problem is that people are lazy or just to stupid to look for stuff. Sometimes yes, we just miss something small or it is under another section. I have done it as recently as tuesday with implode. But this is getting nuts. I guess I am frustrated because all the lists I am on are filled with lazy people who whine and want someone else to do all their work for them. PHP is not low level if you need something simple use iHTML. It is the simplest scripting language out there. I propose that the first few sentances of the signup message should be... READ THE MANUAL BEFORE POSTING!! READ THE MANUAL BEFORE POSTING!! READ THE MANUAL BEFORE POSTING!! if you are confused about this... READ THE MANUAL BEFORE POSTING!! SEARCH THE ARCHIVES / FAQ BEFORE POSTING! SEARCH THE ARCHIVES / FAQ BEFORE POSTING! SEARCH THE ARCHIVES / FAQ BEFORE POSTING! if you doing understand then SEARCH THE ARCHIVES / FAQ BEFORE POSTING! Rick At 10:22 AM 3/15/01 -0600, Chris Lee wrote: people wouldnt use an FAQ, when you see three people ask the exact same question on one single day, you know they dont read the other post, or care. if they wont read the posts on the same day they wont read an FAQ, they keep posting. -- Chris Lee [EMAIL PROTECTED] ""Mal McKay"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I'd just like to offset my other email by saying that a faq is often no substitute for the knowledge and experience of this list's members. In a strange way, the 'dumb' question this list gets proves the a faq can not be expected to know the right way to answer a query. A list member out there just might know _exactly_ what you need to solve your problem. mal -Original Message----- From: RBL [mailto:[EMAIL PROTECTED]] Sent: 15 March 2001 17:17 To: Rick St Jean; [EMAIL PROTECTED] Subject: Re: [PHP] FAQ on 3/15/01 9:04 AM, Rick St Jean at [EMAIL PROTECTED] wrote: Also I would like to know if there would be a demand for an experienced mailing list? I am just frustrated by the same 3 questions that pop up about once a day. The rest of the posts are great. Rick I once thought a great product for mail lists (would require an admin interface, PHP?) would be a way to put into the list mail signature a random FAQ link. Fill that particular FAQ with commonly asked questions and have the FAQ sent out each month to all subscribers. A dec
Re: [PHP] TXT files
include() require() readfile or fopen the file and use fgets to read. Rick At 07:41 AM 3/13/01 -0300, Bruno Freire wrote: Hey Everybody! Its me...Bruno From Brazil. Look, How can i read txt files with php Thanks See ya! ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Payflow Pro
apparently opayc has Payflow as one of the processors. Both the cheque and the card service. If it changes then you get a new driver. Comes with source code I am sure. Rick At 03:40 PM 3/13/01 -0700, Dan Harrington wrote: Is anyone on this list using the PayFlow Pro extensions for PHP? If so, I would like to know what version of the SDK you are using, and if you have knowledge of anyone at Verisign who deals with PHP. So far, I have only found out that they don't support PHP. Thanks Dan Harrington -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] need some help..
Do you have a friend with FTP and DSL??... pull out your drive an go to their place. Rick At 06:31 PM 3/13/01 -0500, [EMAIL PROTECTED] wrote: Im moving servers within the week.. and I got about 600mbs worth of stuff on there, and me being on 56K its nearly an impossible tasks. I thought up of a solution, but need to get it implemented. Have a script open a directory and fopen all the files from the remote server and transfer it to my new one. Anyone ever done something similar to this? is it possible? - Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] tutorials on good database design
One of my co-worker has a phenominal book on sql. You will want something that covers the different type of joins... when to use them, as well as database normalization, reinforcing data integrity with foreign and primary keys. You will also want some transact sql in there and some indexing. There are many tutorials in stuff like phpbuilder.com. It is a good starting place. Rick At 12:37 PM 3/14/01 +1100, Justin French wrote: hi, i'm looking for some good tutorials / articles / books on database design, no, i'm not talking about the classic employee contact database that nearly every site has lingering somewhere... i'm after the good stuff: smart data design smart data planning unique keys taking advantage of relational databases etc etc Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] RE:PHP | MySQL Search
If the fields are all integers then it is: SELECT HouseID FROM Search WHERE CountryID=2 AND PriceID=3 AND (FacilityID=5) Rick At 07:12 PM 3/13/01 -0800, Dennis Gearon wrote: I never have luck putting single quotes around anything but strings, or column names when called for. You might try your SELECT statement without 's Query 1 : (I only want result on houses which are in country 2 and in price 3 and facility 1 must be included on the spot) I've used : SELECT HouseID FROM Search WHERE CountryID='2' AND PriceID='3' AND (FacilityID='5') -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Multi-Step Script
Use switch with includes for each step. switch() { case 1: include(filestep1.php) break; case 2: include(filestep2.php) break; default: include(form.php) } but this way you can have a hierarchy and possibly run form one section into the next.. switch($step) { case 1: include(filestep1.php) //list products case 2: include(filestep2.php) //list categories break; default: include(form.php) //show list of options. } At 09:59 PM 3/13/01 -0700, you wrote: Is it possible to use different parts of one php script for multiple html forms? I am not seeing how people create multiple pages of html forms with each form importing information from the previous form. Right now, for each html form page I have, I create one php script to handle it but it would be nice to have just one php script in which only certain parts execute depending on have variables have assignments. One way I was thinking of doing this is to have the html forms just keep posting the information to itself whenever the submit button is hit and then using a series of if else statements to evaluate where the program is in relationship to the forms, would this type of system work? What do you guys do? -Andrew V. Romero To reply personally, remove all numbers from address. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] includes
How embarassing... I read about that and forgot about it. It is a matter a getting aquainted with new syntax. Thanks. Rick At 01:52 PM 3/13/01 +1030, David Robley wrote: On Tue, 13 Mar 2001 13:45, Rick St Jean wrote: I am looking for a simple way to include a file and not have it parsed. But I also do no want to strip out the html and php. Is there a way to do a nice and simple include and set parsing to false? Right now I use a fopen and fgets to read from the file. include() will parse it and execute it. All I want to do is include it raw... any ideas? Rick Readfile() might do what you want. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] includes
actually what I am doing is creating an area where users can manipulate data on a page without having harmful code executed. It is faster to use a flat text file than a database. I will have these files named something else that will not be able to be executed either. I don't want it executed ever... but I do want html to work normally.. When they want to change the contents of the file they use another page to write it. It frees up more time for me to work on other projects rather than small edits. Rick At 02:39 PM 3/13/01 +1030, David Robley wrote: On Tue, 13 Mar 2001 13:54, Chris Cocuzzo wrote: I'm slightly confused as to why you would not want it parsed and executed...or I should say...what would be the differences in using the include function vs. reading it in like a file?? Chris -Original Message- From: Rick St Jean [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 10:15 PM To: [EMAIL PROTECTED] Subject: [PHP] includes I am looking for a simple way to include a file and not have it parsed. But I also do no want to strip out the html and php. Is there a way to do a nice and simple include and set parsing to false? Right now I use a fopen and fgets to read from the file. include() will parse it and execute it. All I want to do is include it raw... any ideas? Well, if one wanted to show the actual content of the file, for whatever reason. Say one were building a routine to do a showsource, for instance. That's not what you are doing, is it Rick? -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] MySQL problem - stumped
At 01:58 PM 3/10/01 -0500, John Vanderbeck wrote: You are using in your statement ... should be "AND" . The following code is giving an me problems, I can't figure it out to save my soul. The last line gives: Here is the code: $link = db_connect(); $query = "UPDATE Users SET firstname='$firstname', lastname='$lastname' WHERE username='$user' password='$password'"; $result = mysql_query($query, $link); $err = mysql_error(); echo "Errors:".$err; $rows = mysql_affected_rows($result); And here is the output: Errors: Warning: Supplied argument is not a valid MySQL-Link resource in //*//**..***/db.php on line 147 Line 147, is the last line in the above snippet. I cleared out the path name for security, no offense intended :) Now, I KNOW that the db_connect() function is not the problem, as I use it in many other places in this script with no errors. What am I missing? - John Vanderbeck - Admin, GameDesign -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ###### # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] PHP/MySQL Question
That is database specific no standard SQL. To make it non specific. you can put it in a for loop. remember to check for eof. Rick At 06:01 PM 3/10/01 -0600, you wrote: Select * from table limit 5; http://www.calevans.com -Original Message- From: Kath [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 10, 2001 6:01 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP/MySQL Question Having some problems with syntax. If I wanted to SELECT only 5 instances of something from a database and order it by datetime, how would I do that? - Kath -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Developer certifications
Developer Certifications only mean something if you are trying to get a government job. I have only been asked for sites that I have done and been asked once for a sample of code. I would go to another recruiter if I were you. Every place I have applied looked at urls and code functionality. I would never ever hire someone who had an MCSE. I look at skills that someone has, and coding style. I know high school students who program better than people in our nation's top computer courses. IMHO certifications are garbage. I would rather hire someone who can learn then someone who was spoon fed and just managed to take a stupid course that doesn't teach you what you need to know. BTW the microsoft certifications are worth nothing now, even to microsoft. Rick At 02:58 PM 3/8/01 -0500, Krznaric Michael wrote: OK now I'm pissed. I consider myself to be an above average programmer with extensive skill in PHP (amongst other things). NOW... I am not going to go jumping through hoops just because some ignorant/illiterate HR Recruiter/IS Head thinks that if you're not PHP certified by some company (eg. brainbench) you're not worth consideration. I REFUSE to do it. I WOULD NOT on my life take the MCSE of MCwhatever, however I may take the Cisco or the Oracle test. Things that require and properly compensate specialization I am open to. But things that test how well you can interact with a GUI (Windows) are bullshit. With respect to PHP there are other methods of determining ones competency with a particular language. What should be judged is a persons overall programming competency, or how well they can adapt to a new language, as oppose to specialization in PHP or PERL or . If you specialize in PHP, what are you going to do when there is no more PHP. (Not that we are expecting that). To summarize, judging a proficiency as it relates to a particular language shows the inexperience and ignorance of your future management. The bottom line is that "YOU DO NOT WANT TO WORK FOR PEOPLE LIKE THAT". I'm sure some experienced programmers around here know what I'm talking about. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 1:33 PM To: [EMAIL PROTECTED] Subject: [PHP] Developer certifications Does anyone know of a company which is offering or planning to offer PHP developer certifications? Arguments against certification programs aside[1], there are a lot of companies which prefer certified developers, even to the point of assuming a project done in ASP will be better than the same thing done in PHP simply because the ASP developers are Microsoft certified. While this seems like an interesting sideline for a company like Zend, I'm also somewhat curious about whether an "Open Source" test could be developed. It'd certainly have to be quite different from normal tests and that move away from easily memorized answers would probably be a very good thing. [1] We've all heard them before. I'm personally in favor only of certifications like certain devilishly hard Cisco exams which measure more than multiple-choice memory. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ###### # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] PHP ide features...
I use a fantastic program called Textpad. I love ultraedit also but what it lacks is a clip or snippets library. The functions work well... as well as the macros. The thing that the snippets or clip library needs is the ability to have a hotkey tied to each one... the drawback of a macro is you have to retype them.,,, the big thing why I dropped ultraedit is that the line numbers do not read the end of a line if a line goes past the edge of a page and the word wrap is on the rest of that line gets a new number that throws everything else off. Ability to use unix regular expressions for searching. Ability to reassign hotkeys is important... everyone wants to customize their keys. Something that I have also never seen and would like is to have a central repository for code snippets within a company. I think that something like this would be very unique and useful. Everyone has a shared drive and it load the definitions from there. If it gets updated then everyone's would update. At 01:04 PM 3/9/01 -0600, Chris Lee wrote: I use ultraedit love it. - ftp open - line numbers and ruler - search and replace by file, highlightd text, dir - auto indent, highlight a group of text and indent or de-dent. - file::open::default dir depends on the current file open - htmltidy built in - spell check text not code. - macros - syntax highlighting - linking to php.net/manual/ functions. - new files open inside main windows (file tabs) not in new windows (like IE) there are lots -- Chris Lee Mediawaveonline.com ph. 250.377.1095 ph. 250.376.2690 fx. 250.554.1120 [EMAIL PROTECTED] "Dan Cleveland" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, I am currently working on finishing up version 2.0 of PHP Studio. It's release date is March 15. It is a completely free source/ware. I was hoping to get a list of features that PHP developers would want to see. I will make an attempt to have all of these features included in the March 15 version. Thank you very much for your time. Dan +---+ | | | If Yoda so strong in force is, | | why words in proper order he cannot put? | | | +---+ | | +---+ | Daniel J. Cleveland | | e-mail: [EMAIL PROTECTED] | +---+ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ###### # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Advanced PHP
Does anyone know of any other lists that are a little more advanced, And has a little less traffic? I am not the end all be all by any means of programming or PHP. I just want to know where the big boys hang out and learn some secrets that require some understanding. Rick ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] payment
How to people typically integrate payment processors with PHP? And what processors are used most often? I know that a number of people are scrambling after cybercash died. There is a site out there www.opay.com that says it supports payment processors on any platform, anyone ever use it? Rick ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] payment
It says it is not a gateway but a method between code and the processor. One piece of code is supposed to work for 150 payment processors. If you need a new processor then you buy some driver from them. At 02:28 PM 3/9/01 -0800, Aaron Tuller wrote: I use Virisign PayFlow Pro and it's so easy. ust the built in functions or just call parse_str() on the output and you're set. -aaron At 5:27 PM -0500 3/9/01, Rick St Jean wrote: How to people typically integrate payment processors with PHP? And what processors are used most often? I know that a number of people are scrambling after cybercash died. There is a site out there www.opay.com that says it supports payment processors on any platform, anyone ever use it? Rick ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] payment
They were supposed to merge with Network 1, but they could not come up with the money. I read something that said they filed for chapter 11. But this means that he smaller company Network 1 will absorb them or buy what is left. Those are the rumours I heard Rick At 03:38 PM 3/9/01 -0700, Nathan Cook wrote: I haven't used opay.com. However I was looking at using cybercash for up and coming software I am writing. Their website talks extensively about a merger with a 'Network 1' company and now a buyout and a chapter 11 filing. The buyout, or "merger" press release says: "CyberCash Internet Payment Processing Service to Continue without Interruption." Is this incorrect? When you say that it 'died', what are you referring to? .:: Nathan Cook [ [EMAIL PROTECTED] ] ::. PCS Edventures.com Systems Network Administrator :: Programmer [ phone - 208.343.3110 ][ pager - 208.387.9983 ] - Original Message - From: "Rick St Jean" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 09, 2001 3:27 PM Subject: [PHP] payment How to people typically integrate payment processors with PHP? And what processors are used most often? I know that a number of people are scrambling after cybercash died. There is a site out there www.opay.com that says it supports payment processors on any platform, anyone ever use it? Rick ###### # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ###### # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] payment
confirmed on Fu**edcompany.com At 05:54 PM 3/9/01 -0500, you wrote: They were supposed to merge with Network 1, but they could not come up with the money. I read something that said they filed for chapter 11. But this means that he smaller company Network 1 will absorb them or buy what is left. Those are the rumours I heard Rick At 03:38 PM 3/9/01 -0700, Nathan Cook wrote: I haven't used opay.com. However I was looking at using cybercash for up and coming software I am writing. Their website talks extensively about a merger with a 'Network 1' company and now a buyout and a chapter 11 filing. The buyout, or "merger" press release says: "CyberCash Internet Payment Processing Service to Continue without Interruption." Is this incorrect? When you say that it 'died', what are you referring to? .:: Nathan Cook [ [EMAIL PROTECTED] ] ::. PCS Edventures.com Systems Network Administrator :: Programmer [ phone - 208.343.3110 ][ pager - 208.387.9983 ] - Original Message - From: "Rick St Jean" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 09, 2001 3:27 PM Subject: [PHP] payment How to people typically integrate payment processors with PHP? And what processors are used most often? I know that a number of people are scrambling after cybercash died. There is a site out there www.opay.com that says it supports payment processors on any platform, anyone ever use it? Rick ###### # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ###### # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ###### # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-I18N] Re: Weekly Update
Haha never trust a company that hosts its website on geocities and has free web based email. Rick At 02:31 PM 3/9/01 -1000, [EMAIL PROTECTED] wrote: -WEEKLY UPDATES- BREAKING NEWS... RECORDS WERE BROKEN... AND MILLIONAIRRES WILL BE MADE!! THE ADVANTAGES OF BEING ON OUR TEAM ARE: -YOU WILL GET PAYED NEXT WEEK! -WE WILL BUILD ONE SIDE OF YOUR BUSINESS FOR YOU! -WE WILL PROVIDE YOU WITH FREE NETWORKER LEADS SPECIFIC TO THIS OPPORTUNITY -WE WILL TRAIN YOU, DO CALLS FOR YOU, AND PLUG YOU INTO OUR PROVEN SYSTEM -YOU CANNOT FAIL CHECK US OUT ON THE WEB AT http://www.geocities.com/success352003/ *** THIS EMAIL COMPLIES WITH ALL REGULATIONS AND IS NOT SPAM. TO PERMANENTLY REMOVE YOURSELF FROM THE LIST SIMPLY EMAIL [EMAIL PROTECTED] WITH "REMOVE" AS THE SUBJECT LINE. *** -- PHP Internationalization Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP Internationalization Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] How to protect my scripts ???
include them from a directory outside of their access. If they are creative they can use the fp tags to make copies, if you do not lock down your server rights. Rick. At 08:51 PM 3/9/01 -0300, Marco Aurlio wrote: Hello! My case: My users have ftp access to their directories, then if I put my scripts inside it, they will br able to stole! Is possible to use directory alias and forcetype on Apache to protect my scripts or which's the better solution for it, any ideas ??? Regards, marcoBR -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Advanced PHP
Of course... where did you think they came from... monkeys? At 04:01 PM 3/9/01 -0800, Keith Vance wrote: Where did the chicken come from, God? Keith On Fri, 9 Mar 2001, Jerry Lake wrote: The chicken did. as the Chicken is an actual chicken and the egg is a potential chicken. Actuality precedes potentiality Jerry Lake- [EMAIL PROTECTED] Web Designer Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -Original Message- From: Keith Vance [mailto:[EMAIL PROTECTED]] Sent: Friday, March 09, 2001 3:14 PM To: Kath Cc: Krznaric Michael; 'Rick St Jean'; [EMAIL PROTECTED] Subject: Re: [PHP] Advanced PHP What came first the chicken or the egg? Keith On Fri, 9 Mar 2001, Kath wrote: Yeah. I even see some PHP book authors, like Julie Meloni here on this list. There is never a question, no matter how retarded, that this list or #php on irc.openprojects.net has never been able to answer. - Kath - Original Message - From: "Krznaric Michael" [EMAIL PROTECTED] To: "'Rick St Jean'" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, March 09, 2001 5:11 PM Subject: RE: [PHP] Advanced PHP If I'm not mistaken, the big boys keep an eye out over here. Mike -Original Message----- From: Rick St Jean [mailto:[EMAIL PROTECTED]] Sent: Friday, March 09, 2001 4:54 PM To: [EMAIL PROTECTED] Subject: [PHP] Advanced PHP Does anyone know of any other lists that are a little more advanced, And has a little less traffic? I am not the end all be all by any means of programming or PHP. I just want to know where the big boys hang out and learn some secrets that require some understanding. Rick ###### # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ###### # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Advanced PHP
if (you want to debate) { print ("email me.\n [EMAIL PROTECTED]") ; } else { print ("Break thread"); }; That is whole other debate that I feel very strongly about. I am a born again Christian and not going to waver. If you want to debate this, I would welcome it, but I think that the thread should go to sleep, if you interested make a poll. Rick At 04:18 PM 3/9/01 -0800, Keith Vance wrote: You don't think all living creatures could evolved on this planet, simply because the Earth has water and oxygen and sunlight to support life? I beleive in God, but let's be realistic here. Do you really think God just waved his hand and there appeared a chicken? Open your mind to other possibilities. Keith On Fri, 9 Mar 2001, Rick St Jean wrote: Of course... where did you think they came from... monkeys? At 04:01 PM 3/9/01 -0800, Keith Vance wrote: Where did the chicken come from, God? Keith On Fri, 9 Mar 2001, Jerry Lake wrote: The chicken did. as the Chicken is an actual chicken and the egg is a potential chicken. Actuality precedes potentiality Jerry Lake- [EMAIL PROTECTED] Web Designer Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -Original Message- From: Keith Vance [mailto:[EMAIL PROTECTED]] Sent: Friday, March 09, 2001 3:14 PM To: Kath Cc: Krznaric Michael; 'Rick St Jean'; [EMAIL PROTECTED] Subject: Re: [PHP] Advanced PHP What came first the chicken or the egg? Keith On Fri, 9 Mar 2001, Kath wrote: Yeah. I even see some PHP book authors, like Julie Meloni here on this list. There is never a question, no matter how retarded, that this list or #php on irc.openprojects.net has never been able to answer. - Kath - Original Message - From: "Krznaric Michael" [EMAIL PROTECTED] To: "'Rick St Jean'" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, March 09, 2001 5:11 PM Subject: RE: [PHP] Advanced PHP If I'm not mistaken, the big boys keep an eye out over here. Mike -----Original Message- From: Rick St Jean [mailto:[EMAIL PROTECTED]] Sent: Friday, March 09, 2001 4:54 PM To: [EMAIL PROTECTED] Subject: [PHP] Advanced PHP Does anyone know of any other lists that are a little more advanced, And has a little less traffic? I am not the end all be all by any means of programming or PHP. I just want to know where the big boys hang out and learn some secrets that require some understanding. Rick ###### # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ###### # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list
Re: [PHP] bug tracking software
Many people recommend bugzilla from netscape. Rick At 10:49 AM 3/6/01 +, Peter Van Dijck wrote: I've looked into bug tracking software at hotscripts: mantis http://mantisbt.sourceforge.net/mantis/main_page.php3 is promising but has too many bugs itself still (I fixed three in the past 20 minutes of playing with it, it's still in beta, but I can't afford the estimated x days of debugging it right now). I need something stable to start working with straight away. And preferably something easy to use. Which one should I use? Peter ~~ http://liga1.com: building multiple language/culture websites -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] dymanic forms
Use a for loop with ? for ($i=1; $i = $fields ;$i++) { print("input type=text name=test"); } ? Or you can use a while loop with a counter... same thing. At 12:17 PM 3/6/01 +, you wrote: I am trying to build a form which can be geberated dynamically by the user selecting the number of fields up to a max of 10. just now i am using if ($fields ==1){ echo "input type=text name=test"; } elseif ($fields ==2){ echo "input type=text name=test"; echo "input type=text name=test"; } elseif ($fields ==3){ echo "input type=text name=testbr"; echo "input type=text name=testbr"; echo "input type=text name=testbr"; } there must be a better way to do this TIA george -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Rounding to strange results
You can write a function that get the %(mod) of 1000 then subtracts it from the number. Rick At 08:43 AM 3/6/01 -0700, Johnson, Kirk wrote: Is there a comma in one thousand, e.g., 1,000.00? round() will truncate everything to the right of a comma. Kirk -Original Message- From: Martin E. Koss [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 06, 2001 7:45 AM To: [EMAIL PROTECTED] Subject: [PHP] Rounding to strange results Hi, I use a product database for 2 sites, one of which adds sales tax and rounds to the nearest .10 and on the other site there is no tax and also no rounding. I am unable to figure out why a price of 1000.00 is being displayed as 1.00 and any price over 1000 does the same thing. 100.00 works fine, as does all other prices, this is the same with and without rounding. Anything I should look for to solve this problem? Martin. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] How to tell if client has cookies turned off?
Something else to consider is that if someone is kinda smart they can place the variable into the url. So, if it is important you may want to put a checksum or token in there. Rick At 08:52 AM 3/6/01 -0800, you wrote: On 6 Mar 2001 07:53:46 -0800, kevin1 [EMAIL PROTECTED] wrote: How can I tell reliably if someone has cookies turned off? Set a cookie on your site (perhaps the homepage?) and use code like this: if (!empty($UserHasCookies)) { echo 'Whew - you do have cookies'; } The idea is to set your code to assume that cookie support is disabled unless it finds a cookie saying otherwise. That way it'll fail safely if someone either doesn't have a cookie or their browser discards the cookie halfway through. This may seem silly, but some people get *really* paranoid about cookies. Combined with the increasingly good cookie management in modern browsers and just about anything is possible - this is in fact the major shortcoming to code like the above - it's possible for someone to accept one cookie and deny another, so just being able to set a cookie once does not mean that you will be able to set another. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] How to tell if client has cookies turned off?
you can check the HTTP_COOKIE_VARS array after setting a cookie to see if anything is placed in there. Rick At 08:52 AM 3/6/01 -0800, Chris Adams wrote: On 6 Mar 2001 07:53:46 -0800, kevin1 [EMAIL PROTECTED] wrote: How can I tell reliably if someone has cookies turned off? Set a cookie on your site (perhaps the homepage?) and use code like this: if (!empty($UserHasCookies)) { echo 'Whew - you do have cookies'; } The idea is to set your code to assume that cookie support is disabled unless it finds a cookie saying otherwise. That way it'll fail safely if someone either doesn't have a cookie or their browser discards the cookie halfway through. This may seem silly, but some people get *really* paranoid about cookies. Combined with the increasingly good cookie management in modern browsers and just about anything is possible - this is in fact the major shortcoming to code like the above - it's possible for someone to accept one cookie and deny another, so just being able to set a cookie once does not mean that you will be able to set another. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] removing and item out of a string
I really suck with Regular expression but what if you did a replacement on 1, and replaced it with 1 2, and replaced it with 2 3, and replaced it with 3 Kind of a cheap workaround. ?? Rick At 01:07 PM 3/6/01 -0500, Brian C. Doyle wrote: Hello all, I need to remove a comma from inside of 2 quotes ie "1,234.56" I need to change that to "1234.56" Unfortunatly I can not do reg_replace(",","","1,234.56"); This is inside a csv file. Brian C. Doyle Coach Team Force Earthlink Technical Support [EMAIL PROTECTED] ###### # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Please Help!!!! - Really BASIC stuff!
This will allow you to have more control over what pages get edited... but you can use something a little easier like... ? $filename= $page . ".php" include ("$filename"); ? At 09:02 PM 3/6/01 +, you wrote: Hi Martin, It's important to know that "Stuff" in the Url like this are just variables. For example : foo.php?fruit=applesdog=snoopyothers=huhmore=yep Now with foo.php we can do this (a few exceptions) : echo "$dog would like to each some $fruit"; And in your case, you have $page so let's compare your $page variable and include files accordingly. We'll be using an if statement which can be read about here : http://www.php.net/manual/en/control-structures.php This will do the job : ?php if ($page == 'visual') { echo 'h3Visual Stuff is Good!/h3'; include 'visual.txt'; } elseif ($page == 'audio') { echo 'h3Welcome to Musical Section!/h3'; include 'audio.inc'; } else { echo 'h3Welcome to my site!/h3'; include 'default.php'; } ? Yes there are other ways but this is the simplest and you should (and will!) learn to use if/elseif/else which will be useful in the future. Regards, Philip Olson http://www.cornado.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ###### # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] mailing list.
Does this mailing list run off PHP? Does anyone find it a pain to have to cut and paste the url of the list into the to bar again and again? I am using Eudora, and I am just wondering if it is me. What mail server are they using? qmail or sendmail? Rick ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] passing a variable
George you are doing this backwards. Someone posted the code to do this the right way last night. I would use the concatination of a third variable. $field = "blah"; $loops = 10; for ($i=0; $i $loops; $i++) { $displayField = $field . $i; echo "trtdinput type=text name=\"$field\" value=\"$displayField\"\n"; } Rick At 11:31 PM 3/6/01 +, george wrote: I am trying to build a dynamic form, and I am using the code below to let the user ,name the fields that are generated,but i want to give the user the option of changing individual field sizes but I cant get it to work. TIA george for ($i=0; $i $fields; $i++) { $fieldName = "field$i"; echo "trtdinput type=text name=\"$fieldName\" value=\"${$fieldName}\"\n"; } echo "input type=hidden name=\"fields\" value=\"$fields\"\n/td/tr"; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Almost working Regex
Did you try escaping it with the \? At 04:51 PM 3/6/01 +1000, Murray Shields wrote: For data validation, I am using the following regex: $Status = (ereg("^(^[A-Za-z0-9` !@#$%()=:;\"\'.?/^|{}-]*)(.*)$", $String, $List)); This works perfectly for the moment. However, I need to add both square brackets [] to the list of allowed characters above. But when I add the closinjg bracket ], the regex stops working. There are no errors, but it accepts any and all characters as valid. How can I add these additional characters to the regex and avoid this problem? Thanks. == Murray Shields Email: [EMAIL PROTECTED] MU Systems Pty Ltd Phone: +61 7 3351 6677 Global Catalogs Pty Ltd Phone: +61 7 3351 4777 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ########## # Rick St Jean, # [EMAIL PROTECTED] # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ## -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]