[PHP] VS.Php?

2011-07-03 Thread Murray By Moonlight
Hi All, Just wondering if anyone has any experience with VS.Php? I'm coming from C# job into a job where I will do mixed C# / PHP, and it would be good to be able to work in the IDE environment I'm already used to when working on PHP code. M is for Murray http://www.voodoologic.org

Re: [PHP] Re: How important is your Express or Web Edition database? Please weigh in--

2009-02-27 Thread Murray
Not sure he's from a company. His email address is in the berkeley.edudomain. I guess there's a chance he's involved in Berkeley DB, although I believe this is now owned by Oracle? I'd be curious to know if any Berkeley people are still involved in the development of the engi

Re: [PHP] Re: DB Comparisons

2009-02-06 Thread Murray
In fact, ASP.NET happily connects with other DBMSes. I have several C# ASP.NET web apps happily working with MySQL. M is for Murray On Fri, Feb 6, 2009 at 7:39 AM, Ashley Sheridan wrote: > although I think ASP can only connect to MSSQL and > ASP.Net connects only to MSSQL and Oracle (b

Re: [PHP] Code Not entering the value in the Database

2009-01-21 Thread Murray
You don't appear to be doing anything with this line of your code. You build a string variable, but you don't call anything like mysql_query($sql) to actually execute the INSERT statement. M is for Murray On Wed, Jan 21, 2009 at 12:34 AM, Chris Carter wrote: > $sql = "inser

Re: [PHP] Help me understand unit testing?

2009-01-21 Thread Murray
through the code with XDebug in Netbeans PHP (love this app!) to see what is taking place. Where would a unit test come into this process in a useful way? Is it because I can abstract the call to that function / class without having code that puts it to the page? Some other benefit? M is for Murray

[PHP] Help me understand unit testing?

2009-01-21 Thread Murray
ns designed in their own files, and then you build a series of unit testing classes / functions in their own sort of space, but do you build these in parallel to your application code, or during alpha / beta testing etc? Any practical or even theoretical advice welcome! Many thanks, M is for Murray

Re: [PHP] Zend Framework...where to start? -- don't.

2009-01-15 Thread Murray
not copy or distribute. # Copyright 2005-2008 Symcell Corporation. All rights reserved. # #--- Any chance you can resend this file without that warning included, if you have the authority to remove it? All the best, M is for Murray

Re: [PHP] Parsing HTML href-Attribute

2009-01-15 Thread Murray
ou can probably predictably how the substring starts, it would be more difficult to determine how it ends, unless you can provide a white list of file extensions for the regex (ie, if you know you only ever link to, for example, files with .php and or .html extensions). In that case, you probably could a

Re: [PHP] Referencing variable in calling class?

2009-01-11 Thread Murray
them from optionally included downstream code. This has worked well so far, at least in my early experimentation with a code layout. Thanks for your reply all the same! M is for Murray On Sun, Jan 11, 2009 at 4:39 PM, Paul M Foster wrote: > On Sun, Jan 11, 2009 at 10:33:30AM +1000, Murr

Re: [PHP] Editing in a text area field

2009-01-10 Thread Murray
me is true if I store the text and modify on the fly on the way to presentation, but the important difference is that my stored version has remained true to input, and if I correct whatever I might have done wrong during display processing, I have not permanently changed or damaged my stored data.

Re: [PHP] Editing in a text area field

2009-01-10 Thread Murray
accept 3gb of text from a POSTed form without truncating / modifying that text due to practical limitations of my application. (not suggesting this is a possible real-world example). But still, an interesting observation! M is for Murray On Sat, Jan 10, 2009 at 6:36 AM, Daniel Brown wrote: >

Re: [PHP] Editing in a text area field

2009-01-10 Thread Murray
e sense. Of course, maybe these are essentially synonymous, but 'language' has always implied to me a more active role, so that PHP would be a language, while HTML would be a syntax. Just thinking out loud. M is for Murray On Sun, Jan 11, 2009 at 2:04 AM, Nathan Rixham wrote: > HTML is

[PHP] Referencing variable in calling class?

2009-01-10 Thread Murray
t the function that displays the login / logout url is actually unaware of the existence of the front controller class at the point at which it is being called? M is for Murray

Re: [PHP] Apache File Quesiton

2009-01-10 Thread Murray
cuments\Sites\etc" is simply Dreamweaver's default preference. Once you've moved your files into \xampp\htdocs\nameofsite, try going to the following in your browser: http://localhost/nameofsite (or, as you pointed out, your files will be in \xampp\htdocs\barrister and you would then g

Re: [PHP] Using MDB2 outside the PEAR framework?

2009-01-10 Thread Murray
irectories themselves. M is for Murray On Sat, Jan 10, 2009 at 9:47 PM, Murray wrote: > Hi Richard, > > Where would I find that article, if you think it might help me get MDB2 > working properly? > > Many thanks in advance, > > M is for Murray > > > On Sat, Ja

Re: [PHP] Apache File Quesiton

2009-01-09 Thread Murray
http://yourapplicationname/index.php. M is for Murray On Sat, Jan 10, 2009 at 12:13 PM, Gary wrote: > Not sure how to word this, but I have just installed the XAMMP package with > Apache, PHP for the purpose of having a testing server. > > My confusion is the location of the f

Re: [PHP] Using MDB2 outside the PEAR framework?

2009-01-09 Thread Murray
k questions such as the above to people more actively involved with the MDB2 project? Unfortunately, this is driving me bonkers and means I'm not spending quality time on the actual development of the application I'm trying to build. M is for Murray On Sat, Dec 27, 2008 at 3:50 PM, Murray

Re: [PHP] Is MD5 still considered safe for storing application user passwords?

2008-12-31 Thread Murray
programatically generate a random string on first run of the application and store it in a background db or in your config file, so that you could be more certain that the salt value from implementation to implementation was different. M is for Murray On Thu, Jan 1, 2009 at 12:12 AM, Jason Pruim

[PHP] Is MD5 still considered safe for storing application user passwords?

2008-12-30 Thread Murray
is talking about a very different use of an attack on MD5, but I'm curious if other developers are still using MD5, or if another hashing algorithm is considered better? Many thanks for any advice, M is for Murray http://www.ulblog.org

Re: [PHP] Architecture patterns in PHP

2008-12-27 Thread Murray
(similar to Wordpress?) and dynamically presents *everything*based on querystring values.' M is for Murray On Sun, Dec 28, 2008 at 10:05 AM, Nathan Nobbe wrote: > > > Hey, >> >> How do you structure your web applications? I am thinking in terms of >> separating

Re: [PHP] Do defined variables exist at application scope, or session scope?

2008-12-26 Thread Murray
constants live for the life of the application per se (ie, presumably until the server is restarted etc), or will code in help.php be unable to access the values of defined constants for this particular user because they were not at index.php first? Many thanks for your reply, M is for Murray

[PHP] Do defined variables exist at application scope, or session scope?

2008-12-26 Thread Murray
tered at a different entry point than the 'normal' one? Note: I will probably do an explicit check anyway, since this seems more robust, but I ask to better understand how define works. Many thanks, M is for Murray

Re: [PHP] Using MDB2 outside the PEAR framework?

2008-12-26 Thread Murray
Thanks John and Mattias, It looks like your advice has helped me achieve my goal. Thanks again! M is for Murray On Sat, Dec 27, 2008 at 2:05 PM, Mattias Thorslund wrote: > As far as I recall, having done this, all that is required for a basic MDB2 > is the PEAR base class and the

Re: [PHP] Using MDB2 outside the PEAR framework?

2008-12-26 Thread Murray
since these can be (relatively) easily updated to latest releases, but I for one have previously helped out people who were hosted on sites that didn't allow users to maintain PEAR libraries, and I'd like to remove that sort of 'compatibility' issue for my own project. Thanks fo

[PHP] Using MDB2 outside the PEAR framework?

2008-12-26 Thread Murray
n servers where PEAR isn't and can't be installed. Any suggestions? Many thanks in advance, M is for Murray

Re: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Jason Murray
Body not found? Who do you think I am? Jesus? On Thu, Jun 26, 2008 at 3:01 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > On Thu, 2008-06-26 at 14:54 -0400, Jason Murray wrote: >> I'm thinking: >> >> > header("HTTP/1.1 410 Gone"); >> die(

Re: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Jason Murray
I'm thinking: Regards, Jason On Thu, Jun 26, 2008 at 1:54 PM, David Giragosian <[EMAIL PROTECTED]> wrote: > > My favorite vi command: > > e! Damn it. e! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] exec() Error

2008-06-26 Thread Jason Murray
Alice, If you are already set 755 on the CGI, it looks like it might be a webserver configuration issue. If you are using Apache (I'm assuming you are) you might want to take a look at http://httpd.apache.org/docs/2.0/howto/cgi.html#configuringapachetopermitcgi for some hints on how to make sur

Re: [PHP] changing order of items

2008-05-15 Thread Jason Murray
On Thu, May 15, 2008 at 2:09 PM, afan pasalic <[EMAIL PROTECTED]> wrote: > this one bugs me for a while. how to change order. > > I have a list of tasks. by status, task could be 1 (todo) or 0 (done) - > status value stored in mysql. I can list tasks per status or all. > order number is stored in

Re: [PHP] Two word array Value

2008-05-14 Thread Jason Murray
Try: echo "". $value.""; On Wed, May 14, 2008 at 4:02 PM, Mark Bomgardner <[EMAIL PROTECTED]> wrote: > I am trying to use array's to populate a group of check boxes for a form. > I > am getting the checkboxes to print OK, but when the form is posted I am > only > getting part of the array. >

Re: [PHP] Mysql Rows

2006-03-03 Thread Murray @ PlanetThoughtful
On 4/03/2006 5:36 PM, Anthony Ettinger wrote: Yep, that's one good reason among many for using unique ids. Thinking a little about the OP's question, I could understand row order being relevant in certain situations where you wanted to display something like, "You were the 4

Re: [PHP] Mysql Rows

2006-03-03 Thread Murray @ PlanetThoughtful
I have to agree with Anthony - why are you using row order to determine something relating to users? I couldn't follow your brief explanation above, and the fact that you're doing it sets off some soft alarm bells about the design of your application. Why is it important that there shouldn't be

Re: [PHP] Mysql Rows

2006-03-03 Thread Murray @ PlanetThoughtful
On 4/03/2006 2:49 PM, benifactor wrote: thank you. the table does have and id feild that auto increments, however if you delete a user there will be a gap between the users between which would not be what is not acurate enough. thank you for you help. simple fix. i should have caught it. - Or

Re: [PHP] Is it better to return a multi-array, or an array of objects?

2006-03-03 Thread Murray @ PlanetThoughtful
On 4/03/2006 3:10 PM, Daevid Vincent wrote: I'm building a fairly large project. I've been trying to follow best practices, but I'm a bit worried about performance. Using PHP 5.1 and mySQL 5.0. I have product and company classes. So when a user does a search of the database, is it better/faster

Re: [PHP] how to learn php

2006-02-10 Thread Murray @ PlanetThoughtful
the suggestions for solving them they have received. Much warmth, Murray --- "Lost in thought" http://www.planetthoughtful.org "Urban legends, superstitions, ghost stories and folklore" http://www.ulblog.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Redirect from /rss.xml to /rss/rss.xml

2006-02-09 Thread Murray @ PlanetThoughtful
ted! Much warmth, Murray --- "Lost in thought" http://www.planetthoughtful.org "Urban legends, superstitions, ghost stories and folklore" http://www.ulblog.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Preparing site content for RSS XML feed

2006-02-02 Thread Murray @ PlanetThoughtful
nyone know of a good guide on what steps need to be taken to create a valid RSS feed where the content contains HTML? Any help appreciated! Much warmth, Murray -- "Lost in thought" :- http://www.planetthoughtful.org "A blog devoted to urban legends, superstitions, ghos

[PHP] CR \ LFs being represented as ascii characters in output of mail()

2006-01-31 Thread Murray @ PlanetThoughtful
averse ( $arr[$key] ) : ( $arr[$key] = stripslashes ( $arr[$key] ) ); } Can anyone give me any thoughts on how to represent these CR \ LF characters properly in the email? Many thanks, Murray -- "Lost in thought" :- http://www.planetthoughtful.org --- "A blog devoted to ur

Re: [PHP] date("H", $datevalue) always adds an hour?

2006-01-20 Thread Murray @ PlanetThoughtful
On 20/01/2006 8:48 PM, David Grant wrote: Murray, As far as I know, Queensland is in EST (Eastern Standard Time), so that is the correct value. Are you using the same machine or is it remote? David Hi David, I'm currently working entirely on my local (Queensland) machine. The r

Re: [PHP] date("H", $datevalue) always adds an hour?

2006-01-20 Thread Murray @ PlanetThoughtful
On 20/01/2006 8:39 PM, David Grant wrote: Murray, What do you get if you print date("T")? David Hi David, I get "EST", which I assume is "Eastern Savings Time"? If that's the case, any idea where I change this value so that it only affects my lo

[PHP] date("H", $datevalue) always adds an hour?

2006-01-20 Thread Murray @ PlanetThoughtful
;" $rs = mysql_query($sql); $row = mysql_fetch_object($rs); echo date("H", $row->unx_date); If the above record contained the value '2006-01-10 19:00', the code would output "20" instead of "19". Can anyone help me figure out how to accommodate for this? Much warmth, Murray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Template engine that doesn't rely on PEAR?

2006-01-15 Thread Murray @ PlanetThoughtful
s that suit the above would be very welcome! Much warmth, Murray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What software do you use for writing PHP?

2005-12-07 Thread Murray @ PlanetThoughtful
Jim Moseby wrote: man you guys are wimps.. gvim on windows... :) Pt'Edit' in DOS. ;) (Pt * 2) 'edlin' in DOS. :) Infinitely recursive pfft A pencil and a piece of paper and ringing people to describe the cool web site you've just drawn, -- PHP Gener

Re: [PHP] No forums?

2005-11-08 Thread Murray @ PlanetThoughtful
hile using it. Any thoughts on a comparison between the 2? Much warmth, Murray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Line breaks in mail function?

2005-11-06 Thread Murray @ PlanetThoughtful
Jasper Bryant-Greene wrote: On Mon, 2005-11-07 at 12:20 +1000, Murray @ PlanetThoughtful wrote: Example code: $body = 'From: ' . $name . '\r\n\r\n'; $body .= 'Email:' . $email . '\r\n\r\n'; $body .= 'IP Address: ' . $_SERVER['

[PHP] Line breaks in mail function?

2005-11-06 Thread Murray @ PlanetThoughtful
ck; mail("[EMAIL PROTECTED]", "Feedback", $body, "From: $email\r\nReply-To: $email\r\nX-Mailer: PHP/" . phpversion()); As I said above, I've also tried using "\n\n" instead of "\r\n\r\n". Can anyone give me some advive on how to get the linebreak characters interpreted as linebreaks? Many thanks and much warmth, Murray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Unsubscribing from several PHP lists

2005-11-04 Thread Murray @ PlanetThoughtful
son why I can't reply to confirm the unsubscription from the 'broken' account. Any help appreciated. Much warmth, Murray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Handling competing edits in a wiki engine?

2005-10-03 Thread Murray @ PlanetThoughtful
Terence wrote: Murray @ PlanetThoughtful wrote: Hi All, I've recently been working on building my own wiki engine for my blog site. While the majority of the engine is complete, a remaining concern I have is how to handle competing edits (ie when two or more people are editing the

[PHP] Handling competing edits in a wiki engine?

2005-10-03 Thread Murray @ PlanetThoughtful
Hi All, I've recently been working on building my own wiki engine for my blog site. While the majority of the engine is complete, a remaining concern I have is how to handle competing edits (ie when two or more people are editing the same wiki page simultaneously). I'm wondering if anyone else o

RE: [PHP] Regex Help

2005-09-28 Thread Murray @ PlanetThoughtful
rn modifier in your preg_match_all()? The "s" modifier forces your regular expression to match new lines with the "." metacharacter. Try: preg_match_all("/(.*?)/s", $str, $out); http://php.planetmirror.com/manual/en/reference.pcre.pattern.modifiers.php Hope

RE: [PHP] Optimal Regex?

2005-09-26 Thread Murray @ PlanetThoughtful
This should now work pretty much as you expect it to. My version adds the ability to match both positive and negative numbers with decimals. It also uses the shorthand character class for numeric digits ("\d"). Hope this is of some help. Much warmth, Murray --- "Lost in thought..." http://www.planetthoughtful.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Optimal Regex?

2005-09-26 Thread Murray @ PlanetThoughtful
atch. This will remove all spaces from the string, making it fit a more predictable pattern (one that your current regex matches). If, however, there are other possible anomalous characters you need to take into account, it would be much more helpful if you could supply examples of them. Much w

RE: [PHP] serialize

2005-09-26 Thread Murray @ PlanetThoughtful
s storing XML recordsets as XML documents in database fields. So, full marks for fully exploiting the potential of objects, but you'll have to excuse me while I go make a coffee and maybe go for a brisk walk to get over the case of heebie-jeebies this suggestion gave me. ;-) Much warmth, Murray --- "Lost in thought..." http://www.planetthoughtful.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PCRE false match with preg_match?

2005-09-26 Thread Murray @ PlanetThoughtful
ot; to a "+" (at least one or more occurrences) could 'fix' that pattern (ie so that it doesn't match your string), depending on any other values being tested by it. Much warmth, Murray --- "Lost in thought..." http://www.planetthoughtful.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] serialize

2005-09-26 Thread Murray @ PlanetThoughtful
> murray... > > it may have been helpful to the guy to also give him an idea of your tbl > structure. i think you're talking about something like: > tbl schema > > EvalTBL >-id >-UserID >-ScoreTypeID > > ScoreTBL >-id >-Sco

RE: [PHP] serialize

2005-09-24 Thread Murray @ PlanetThoughtful
; while ($row = mysql_fetch_object($rs)){ $scores[$row->scoretype] = $row->score; } mysql_free_result($rs); print_r($scores); It might be helpful to you to Google on the topic of database normalization. Here's a link from the MySQL site that gives a brief introduction to

RE: [PHP] basic user/input form questions... more validation!

2005-09-22 Thread Murray @ PlanetThoughtful
with mysql?? The important thing here is that escaping with a \ is MySQL's standard for escaping, so should be used when using MySQL as your storage backend. Much warmth, Murray --- "Lost in thought..." http://www.planetthoughtful.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: email validation (no regex)

2005-09-21 Thread Murray @ PlanetThoughtful
nt and receive acknowledgement that it's working by having the user > click on a validation link. After all, for all the regex / interrogation you perform, you still can't be certain that the user entered an account *they own*. See? Sending a validation email is *also* A Good Thing! Much warmth, Murray --- "Lost in thought..." http://www.planetthoughtful.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: email validation (no regex)

2005-09-21 Thread Murray @ PlanetThoughtful
plicity, if nothing else. I agree, so basic validation is A Good Thing. However, the most desirable form of validation would have to be, can I send a legitimate email to that account and receive acknowledgement that it's working by having the user click on a validation link. Much warmth, Murra

RE: [PHP] Re: email validation (no regex)

2005-09-21 Thread Murray @ PlanetThoughtful
ount, requiring the person to click on a validation link? Easy, simple, works better than either method currently being discussed, purely for its simplicity, if nothing else. Much warmth, Murray --- "Lost in thought..." http://www.planetthoughtful.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Suggestions for class design

2005-09-20 Thread Murray @ PlanetThoughtful
s a fundamental step a programmer should take in learning OO programming. And it's also worth mentioning at this point that it might present more of a challenge to the original poster to implement and make use of a complex data abstraction package [1] than to learn a solution that not only addre

RE: [PHP] Re: Suggestions for class design

2005-09-20 Thread Murray @ PlanetThoughtful
- He received some helpful suggestions from the list about how to approach that task - None of which would have meant he was 'trying to retrieve objects into memory before they exist.' I don't know about anyone else, but what that comment implied to me was that the original poster

RE: [PHP] Tidying code for PHP5.0.5/PHP4.4.0

2005-09-20 Thread Murray @ PlanetThoughtful
de one mistake today, you weren't looking hard enough"? Oh, that's right, it was me. ;) Off to make more mistakes... Much warmth, Murray --- "Lost in thought..." http://www.planetthoughtful.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Suggestions for class design

2005-09-20 Thread Murray @ PlanetThoughtful
class that abstracts a single customer, and is asking the list for suggestions in how to best approach a need to be able to abstract collections of customers. This is a normal application development issue, and for the life of me I can't grasp how your comment relates. Much warmth, Murr

RE: [PHP] html forms in php

2005-09-15 Thread Murray @ PlanetThoughtful
submits. This approach would mean assuming that your users have JavaScript enabled. A second approach would be to have an intermediary page between the page with the button, and the page that performs the actual delete. The intermediary page would be little more than another form with the yes/

RE: [PHP] error message while mysqling on php

2005-09-13 Thread Murray @ PlanetThoughtful
L statement in one of them directly, to see if they return a valid resultset. Much warmth, Murray --- "Lost in thought..." http://www.planetthoughtful.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Modifying data in forms with values

2005-09-13 Thread Murray @ PlanetThoughtful
include " SELECTED" in the select HTML you are building. One if statement should handle the situation nicely. Much warmth, Murray @ PlanetThoughtful --- "Lost in thought..." http://www.planetthoughtful.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Opinion Request - No PHP content - Versioning Systems

2005-09-12 Thread Murray @ PlanetThoughtful
John, I only have experience with CVS and Subversion, but of the two, I *much* prefer Subversion. Could be a purely subjective thing, but it's worth looking into all the same. http://subversion.tigris.org/ Much warmth, Murray --- "Lost in thought..." http://www.planetthoug

RE: [PHP] setting 'expiry date'

2005-09-12 Thread Murray @ PlanetThoughtful
ot faced with the frustration of, 'I need a copy of that article from 12 months ago!' Much warmth, Murray --- "Lost in thought..." http://www.planetthoughtful.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] searching through a mysql db/tbl

2005-09-10 Thread Murray @ PlanetThoughtful
o pass some variables from one search result page to the next, particularly the variable that indicates where the 'next' results should begin, allowing you to factor that in when building the LIMIT clause of the query string for the search results that should be displayed on that page. A

RE: [PHP] RE: PHP wiki recommendations

2005-09-09 Thread Murray @ PlanetThoughtful
of templates that can > be applied globally or by each user (these may be the CSS bit, again, I > just haven't played). > > User logins can be pre-assigned or user driven so you can control who > does what. > > I think you can turn on/off the CamelCase feature. >

RE: [PHP] Cleaning a resultset

2005-09-08 Thread Murray @ PlanetThoughtful
ery for each row within your while loop that you want to be inserted into your other table. Hope this helps. Much warmth, Murray --- "Lost in thought..." http://www.planetthoughtful.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP wiki recommendations

2005-09-07 Thread Murray @ PlanetThoughtful
ki app is a Perl-based one, I'm sure I can muddle thru implementing it If anyone has any recommendations for other wiki applications I should look at before making a decision, I'd love to hear from you! Much warmth, Murray --- "Lost in thought..." http://www.planetthoughtful.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] regular expression for integer range

2005-09-07 Thread Murray @ PlanetThoughtful
ment time and frustration. This doesn't mean there isn't a benefit to finding the perfect regular expression for your needs, just that it can often be difficult to guarantee your code won't be plagued by false matches or false exclusions as your expression becomes more and more complex. H

Re: [PHP] php/mysql web question

2005-09-06 Thread Murray @ PlanetThoughtful
y free recordsets either at the bottom of the page, or at a point in your code where you know they are no longer needed. Hope this helps a little. Much warmth, Murray --- "Lost in thought..." http://www.planetthoughtful.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] conditional statement inside while loop?

2005-09-01 Thread Murray @ PlanetThoughtful
ode becomes 'broken' code. Most of the time when you debug in this way it becomes obvious why the code isn't behaving the way you expect it to. If there's still any confusion at that point, at least you will be in a better position to supply actual code to the list, so we can w

RE: [PHP] Saturdays and Sundays

2005-09-01 Thread Murray @ PlanetThoughtful
lendar table in application data tables instead of the actual date, allowing you to perform very flexible queries where you might be interested in sales results for all the Thursdays in every September for the last 5 years, etc. Regards, Murray --- "Lost in thought..." http://www

RE: [PHP] (Yet another) I'm blind ... post

2005-08-31 Thread Murray @ PlanetThoughtful
being sent by the form to the page being used to process that form. Hope this helps. Much warmth, Murray --- "Lost in thought..." http://www.planetthoughtful.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] divide-column?

2005-08-30 Thread Murray @ PlanetThoughtful
> Murray @ PlanetThoughtful wrote: > >>Hi there! > >> > >>How do I do a sort in PHP where a column in a db must be two other > columns > >>divided...`? > > > > > > > > > > Hi Gustav, > > > > You should

RE: [PHP] divide-column?

2005-08-30 Thread Murray @ PlanetThoughtful
> Hi there! > > How do I do a sort in PHP where a column in a db must be two other columns > divided...`? Hi Gustav, You should be able to use the divide operation in your query's ORDER BY clause. Eg SELECT * FROM mytable ORDER BY (field1 / field2) Regards, Murray ---

RE: [PHP] How can I format text in textarea?

2005-08-30 Thread Murray @ PlanetThoughtful
splay newline / carriage returns when a page is rendered in a browser -- you have to specifically indicate where paragraph breaks should take place using HTML tags. Eg: echo nl2br($data_from_db_entered_via_textarea); See: http://au2.php.net/nl2br Regards, Murray --- http://www.planetthoughtful

RE: [PHP] Problem With Inner Loop

2005-08-30 Thread Murray @ PlanetThoughtful
onship between the two resultsets. As another thought, have you run the inner select statement against your db (ie using PHPMyAdmin / MySQL Query Browser / etc) to confirm that under normal circumstances that query actually returns more than one record? Regards, Murray --- "Lost in thought..." http://www.planetthoughtful.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Subscribing with GMail accounts

2005-08-29 Thread Stuart Murray-Smith
Hi list I've googled... how is it that no PHP list-server email goes to any of my gmail accounts? This email is in itself a test ;-) so I might not even get your reply(ies). TiA smee -- /bin/tar --done-dat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php

[PHP] Resizing thumbnails to the browser

2005-08-21 Thread Murray @ PlanetThoughtful
n point me at some code that would achieve this? All of the thumbnails are in jpg format. So, essentially, I'm trying to resize the thumbnails down to 140px wide while maintaining the aspect ratio of the image's height. I have GD enabled. Any help appreciated! Much warmth,

[PHP] Class for creating RSS 2 feed?

2005-07-26 Thread Murray @ PlanetThoughtful
Hi All, Just curious if anyone knows of an existing class that will take MySQL records containing HTML and create a valid RSS 2.0 newsfeed from them? Much warmth, Murray --- http://www.planetthoughtful.org "Building a thoughtful planet, one quirky comment at a time." -- PHP Gener

[PHP] Translating english into amglish

2005-07-19 Thread Murray @ PlanetThoughtful
many of the transformation rules myself, and implement them via regular expressions, but why reinvent the wheel if someone has already done so? Much warmth, Murray --- http://www.planetthoughtful.org "Building a thoughtful planet, one quirky comment at a time."

[PHP] Re: Ouput HTML w/PHP

2005-06-30 Thread Murray @ PlanetThoughtful
he post to be possible. This is a great way for developers to validate the output of their code while it still resides on their local machines, prior to actually uploading the code to a public (and therefore "visible") site. Regards, Murray -- PHP General Mailing List (http://w

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

2005-06-22 Thread Murray @ PlanetThoughtful
/ code injection? Check. Backup strategy? Daily dump of all records using PHPMyAdmin. From a directory where SSL was not being enforced. All that customer data. All that effort to protect it from being exposed to hostile eyes. From a directory where SSL was not being enforced. Makes you want to weep. Regards, Murray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2005-06-20 Thread Murray @ PlanetThoughtful
using a service such as DoxDesk (http://www.doxdesk.com/parasite/). I believe this site uses an activex control to specifically check details in IE. I have no idea how accurate it is. Alternatively, you could encourage them to use an application such as Ad-Aware (http://www.lavasoft.de/) etc to

RE: [PHP] Re: Retrievable weather service info?

2005-06-14 Thread Murray @ PlanetThoughtful
t a city from around the world and present it's current time and weather information. Thanks for the suggestion, though. Regards, Murray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Retrievable weather service info?

2005-06-14 Thread Murray @ PlanetThoughtful
t that I'm comfortable with. However and again, thank you for the suggestion! Regards, Murray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Retrievable weather service info?

2005-06-14 Thread Murray @ PlanetThoughtful
Hi All, Just wondering if anyone knows of a free weather service that can be interrogated by PHP for information such as current temperature for a range of cities around the world? Regards, Murray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

RE: [PHP] formatting paragraphs in to strings

2005-06-13 Thread Murray @ PlanetThoughtful
iv tag, as the original poster mentioned was his intention. Regards, Murray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] formatting paragraphs in to strings

2005-06-13 Thread Murray @ PlanetThoughtful
ot; ", otherwise you will end up with sentences that have no space break between them. Ie: This is the first sentence. This is the second sentence. ...would become: This is the first sentence.This is the second sentence. Regards, Murray -- PHP General Mailing List (http://www

RE: [PHP] Re: reverse MD5 ???

2005-06-13 Thread Murray @ PlanetThoughtful
simple and effective method under most circumstances that even beginner to intermediate developers can employ. In other words, It Is A Very Good Thing. ;-) Regards, Murray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: reverse MD5 ???

2005-06-13 Thread Murray @ PlanetThoughtful
ffortlessly retrieve the plaintext PIN values from their table. Imagine their surprise. And if *I* could do it... Md5 is a very handy way of 'securing' [1] password information, but only when the plaintext value offers enough possible variation in length and / or value to make buildin

RE: [PHP] Frames or iframes? (Basically "The devil or deap sea" or "A rock and a hard place" etc) - - - -> (0T)

2005-06-04 Thread Murray @ PlanetThoughtful
ation has played out) of your flash file, if you want to carry it over for a consistent look / feel. Regards, Murray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] ampersands in href's

2005-06-04 Thread Murray @ PlanetThoughtful
HTML, you need to replace "&"s with "&"s. So the following link: Something ...should be changed to: Something Regards, Murray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Best way to use other objects within classes?

2005-06-03 Thread Murray @ PlanetThoughtful
e instead of by > reference and you don't end up deploying to production server with some > really hard-to-find dereferencing problems. Hi Jason, Not a bad tip, thank you! However, I've been, to the best of my knowledge, explicit in passing by reference in my code wherever I've

Re: [PHP] Best way to use other objects within classes?

2005-06-02 Thread Murray @ PlanetThoughtful
Greg Donald wrote: On 6/2/05, Murray @ PlanetThoughtful <[EMAIL PROTECTED]> wrote: private $db; PHP4 doesn't have member visibility. Hi Greg, Thanks for this tip! Regards, Murray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://

  1   2   3   4   5   6   >