Re: [PHP] whoami explanation

2009-03-04 Thread Daniel Brown
[Inhales] On Wed, Mar 4, 2009 at 01:01, PJ wrote: > Ok. You asked for it... I have to rant a bit get this off my chest as it > has been bugging me for a while and this is not directed at anyone in > particular. I'm noting "for a while here" > I do not appreciate it when there is

Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 18:56, PJ wrote: > > But I'm sorry I missed the fun earlier about the American foibles... > unfortunately that should go on some other list and I wish I knew which > one - one that had some smarts to it (like this one) and I'd like to > really hear what people think about "u

Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 12:37, Robert Cummings wrote: > > You have an extraneous "sometimes" in the above sentence! Yeah, I was waiting for that ;-P -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ 50% Off All Shared Hosting Plans at

Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 12:13, PJ wrote: >> > Let's not get too personnal here... it was meant to blow a kiss of > appreciation to all... ;-) > I may not be gay, but I love my gay friends... and I do  not mean in the > way Jimmy Carter's translators goofed when he went to Poland and > announced tha

Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 11:59, PJ wrote: >> > :-* Umm thanks? (You do know that's the emoticon to symbolize kissing, right?) -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ 50% Off All Shared Hosting Plans at PilotPig: Use Coupo

Re: [PHP] Re: whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 11:48, PJ wrote: >> [snip!] > Now I'm trying to modify my daughter's ptahhotep.com to use MySql. It's > a learning experience. Through the years I've probably sounded like a broken record or like I'm paid to endorse them or something, but I'd recommend checking out PHPB

Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 11:41, PJ wrote: > > I appreciate the input and I take the chastizing with a ton of salt. It's all in good fun and being the new guy, it's at your expense. ;-P Having thick skin means you'll stick around and probably learn a lot from the folks on this list. S

Re: [PHP] Re: whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 11:27, PJ wrote: >> > What is not clear to me is why would I need to use a shell? What kind of > situations call for it's use? On what kind of programming did you spend those years? -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://w

Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 11:22, PJ wrote: >> > Ok, but how does this relate to a command passed from a php Web page? > I don't understand the processus. > I use bash on my FreeBSD and have not needed a back quote yet that I can > recall... and on WinXP? As in the email I just sent, remember to

Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 11:16, PJ wrote: >> > I don't think it's necessary to be sarcastic... That's okay, I'll allow it anyway. > Hate to disappoint you, but on my computer (FreeBSD 7.0) on Firefox > Google does not go directly to the php manual... it goes to some nitwit > site thinkexist.co

Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 11:03, PJ wrote: >> > ok, ok, I found it but you guys are assuming that this is something > everybody should know... hell, I've been tinkering with programming and > unix etc. for many, many years and this is the first time I ran into > back quotes. > SORRY! You're assu

Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 10:57, PJ wrote: >> > forgot to add: > What's the difference between back ticks or quotes and regular single > quotes? > How does one enter back quotes from the keyboard? Welcome to the Internet! The first place you should look when you have a question is on Google

Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 10:42, PJ wrote: > This really needs some explanation > I found this on the web: > > with it there was the comment "the direction of those single-quotes matters" > (WHY ?) Those are called "backtick operators." Like in BASh and most other *NIX shells, that instructs t

Re: [PHP] Just a test

2009-03-02 Thread Daniel Brown
On Mon, Mar 2, 2009 at 09:17, Richard Heyes wrote: > > I see. You won't be wanting any of billion dollar empire when I make > it then. Ho hum. No, but coincidentally, the month that happens, your hosting goes up to $46.2M US per month, and you're locked into a contract for a minimum of three

Re: [PHP] Just a test

2009-03-02 Thread Daniel Brown
On Mon, Mar 2, 2009 at 05:55, Richard Heyes wrote: > > This is just a test to see who here still thinks I'm a dork. > > -- > Richard Heyes > > HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: > http://www.rgraph.org (Updated February 28th) I still do, Richy. -- daniel.br...@par

Re: [PHP] A puzzler (well, for me at least)

2009-02-28 Thread Daniel Brown
On Thu, Feb 26, 2009 at 09:50, Ondrej Kulaty wrote: > Your answer is neither relevant nor funny. :-| And your response wasn't welcome. So there, everyone's even. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ Unadvertised dedicated se

Re: [PHP] omg help...insane simple query won't work I must be blind

2009-02-24 Thread Daniel Brown
On Tue, Feb 24, 2009 at 14:55, Terion Miller wrote: > > And yes yes I know escape my strings ...I'll go back and do that when the > stupid insert is actually working... I'd suggest that it's probably the reason your insert isn't working. Add your mysql_real_escape_string() stuff there, and t

Re: [PHP] Re: Secure File Paths, File System - (simplified question)

2009-02-20 Thread Daniel Kolbo
Shawn McKenzie wrote: Daniel Kolbo wrote: Shawn McKenzie wrote: Daniel Kolbo wrote: Hello PHPers, I am quite ignorant about file system security. I was hoping you all could help me understand things. How does one restrict php script from going (reading, writing) files in

Re: [PHP] Re: Secure File Paths, File System - (simplified question)

2009-02-19 Thread Daniel Kolbo
Shawn McKenzie wrote: Daniel Kolbo wrote: Hello PHPers, I am quite ignorant about file system security. I was hoping you all could help me understand things. How does one restrict php script from going (reading, writing) files in the file system? As I see it, a php programmer could

[PHP] Secure File Paths, File System

2009-02-18 Thread Daniel Kolbo
Hello PHPers, I am quite ignorant about file system security. I was hoping you all could help me understand things. How does one restrict php script from going (reading, writing) files in the file system? As I see it, a php programmer could change the include_path, with ini_set(), use "../

Re: [PHP] Happy 1234567890 day!

2009-02-13 Thread Daniel Brown
2009/2/13 Lists : > :-) > Donovan To you, as well! I think it's really neat. For us in the EST time zone, with time adjustments and such, it'll be 6:31:30p tonight. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ Unadvertised dedicat

Re: [PHP] Seeking PHP Work in Chicago or Telecommute

2009-02-11 Thread Daniel Brown
On Sat, Feb 7, 2009 at 23:37, Richard Lynch wrote: > I figure if job postings are okay, then so are job requests, right? :-) > > I'm looking for PHP work in Chicago or telecommuting. > > My resume is here: > http://l-i-e.com/resume.htm I will certainly vouch for Richard's experience to perspe

Re: [PHP] PHP usage stats

2009-02-09 Thread Daniel Brown
On Mon, Feb 9, 2009 at 15:41, Stuart wrote: > > Indeed, but I find coding without QA requirements is a great way to relax. It's what I do to take a break from coding for The Job[tm]. I suppose that makes us seem a little ill, eh? -- daniel.br...@parasane.net || danbr...@php.net http://www

Re: [PHP] PHP usage stats

2009-02-09 Thread Daniel Brown
On Mon, Feb 9, 2009 at 15:21, Stuart wrote: > > I would advise you against wasting your time because there is no > reliable way to tell what systems a server is actually using to serve > pages. Nearly all sites I work on these days use techniques to remove > extensions from URLs, and a fair few hi

Re: [PHP] PHP usage stats

2009-02-09 Thread Daniel Brown
On Mon, Feb 9, 2009 at 14:58, Shawn McKenzie wrote: >> > And HTM shows 701M, so it is now beating out ASP :-) Another bone of contention is the masking --- I mentioned it briefly in my original remarks in this thread, but on further investigation, it may actually have a substantial impact on

Re: [PHP] PHP usage stats

2009-02-09 Thread Daniel Brown
On Mon, Feb 9, 2009 at 14:39, Andrew Ballard wrote: > > For what it's worth, you missed .do, .dll, .exe, and I'm sure others > (yes, I've seen web sites running what I assume to be compiled web > applications with all of these extensions) as well as anything using > URL rewriting such as Zend Fram

Re: [PHP] PHP usage stats

2009-02-09 Thread Daniel Brown
On Sun, Feb 8, 2009 at 09:35, Richard Heyes wrote: > Hi, > > Can anyone point out some general statistics on PHP usage compared to > other server languages? I've tried Netcraft, but they only appear (or > I've only found) to have statistics on the httpd server used. All @php.net addresses rej

Re: [PHP] Clarity needed OT

2009-02-06 Thread Daniel Brown
On Fri, Feb 6, 2009 at 19:36, Shawn McKenzie wrote: >> > What happened to your tin foil hat? Who needs that when your fillings pick up the live and encrypted radio broadcast of the CIA cafeteria lunch schedule? -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || ht

Re: [PHP] Clarity needed OT

2009-02-06 Thread Daniel Brown
On Fri, Feb 6, 2009 at 17:26, Frank Stanovcak wrote: > > since when have the words 'sanity', and 'programmer' ever been used together > outside of the setup for a joke? > > Frank...still faithfully taking his pills. This guy fits in well 'round there here parts. ;-P -- daniel.br...@parasa

Re: [PHP] Clarity needed OT

2009-02-06 Thread Daniel Brown
On Fri, Feb 6, 2009 at 13:46, Frank Stanovcak wrote: > > Ok...I'm sure that somewhere in here has to be reference to the original > topic, and php...right? > > Frank...there is isn't there? *sigh* Stick around you'll see this happens frequently. It's considered a Good Thing[tm]. It main

Re: [PHP] going blind for looking...need eyes

2009-02-06 Thread Daniel Brown
On Fri, Feb 6, 2009 at 13:03, Jochem Maas wrote: > > there are a zillion variations on this theme (e.g. using HEREDOC syntax > and/or putting each field & value That's right, when reading the OP's email, there was meant to be a #4 as well. 4.) Use HEREDOC syntax: -- daniel.br...@pa

Re: [PHP] going blind for looking...need eyes

2009-02-06 Thread Daniel Brown
On Fri, Feb 6, 2009 at 12:44, Terion Miller wrote: > > - > $sql = "INSERT INTO admin (UserName, Password, Name, Email, Property, > Department, AddWorkOrder, "; >$sql .= "ViewAllWorkOrders, ViewNewOrders, ViewNewArt, > ViewPendingWorkOrders, ViewPendingArtwork, ViewCompl

Re: [PHP] How can I use a function's default arguments but change one of the end ones in the list?

2009-02-05 Thread Daniel Brown
On Thu, Feb 5, 2009 at 20:10, German Geek wrote: > I've thought about this problem before but couldn't think of a solution > either. How does func_get_args() solve this? You could make a wrapper > function without that. It's all in how it's used. Ironically, I don't remember saying that you

Re: [PHP] How can I use a function's default arguments but change one of the end ones in the list?

2009-02-05 Thread Daniel Brown
On Thu, Feb 5, 2009 at 18:50, Daevid Vincent wrote: > Is there a way to use the default values of a function without > specifying every single one until the parameter you want to modify in > PHP5 ? Daevid, Check out func_get_args(): http://php.net/func_get_args Then you can rename y

Re: [PHP] Clarity needed

2009-02-05 Thread Daniel Brown
On Thu, Feb 5, 2009 at 07:56, Jochem Maas wrote: > > and the answer to you Q, like everyone else said: yup :-) > > PS - given you unlimited resources you might consider doing a > charitable donation to FoxNews aficionados :-) Or reminding you how to speak English, Jochem. What the hell are y

Re: [PHP] Clarity needed

2009-02-04 Thread Daniel Brown
On Wed, Feb 4, 2009 at 17:24, tedd wrote: [snip!] > > I understand that I can have one record set up for each tutor, and another > record set up for each course, and then tie the two together by another > record like an assignment. That way I can have as many assignments as I want > tying courses

Re: [PHP] php rpm

2009-02-04 Thread Daniel Brown
On Wed, Feb 4, 2009 at 16:56, Kyle Terry wrote: > > I might be wrong, but I think the packages have the php version > appended to the it. so php5-soap, for example. Some do, some don't. > At least it's like that in Fedora. Depends on the RPM packager and the repo, among other things.

Re: [PHP] php rpm

2009-02-04 Thread Daniel Brown
On Wed, Feb 4, 2009 at 16:55, Thodoris Goltsios wrote: > > This probably more then one rpm :-) . You're correct. ;-P I meant to lead-off the last email by saying that there is no single official RHEL RPM that includes those modules/extensions by default. -- daniel.br...@parasane.net

Re: [PHP] php rpm

2009-02-04 Thread Daniel Brown
On Wed, Feb 4, 2009 at 09:46, wrote: > Okay here is my question. > Does anyone know of an RPM of php that is pre-compiled with all the extras > like soap, mssql, freetds, etc... Afternoon, Rich, et al; On an RHEL 5.3 system, you should already have 'yum' installed with the repos ready

[PHP] Re: [PHP-QA] problem code

2009-02-01 Thread Daniel Brown
Top-posting. Chris, you're on the wrong list. Please send messages like this to php-general@lists.php.net, and subscribe[1] to that list to follow along. This QA list is for the PHP Quality-Assurance Team. 1: http://php.net/mailinglists - or - php-general-subscr...@lists.php.net

Re: [PHP] Payment question in Canada

2009-01-31 Thread Daniel Brown
On Sat, Jan 31, 2009 at 13:44, Ernie Kemp wrote: > Thanks for your replies. > > Very useful... > /Ernie Please don't top-post. This question doesn't have a direct answer. Three major things come into play: first, the type and scope of work involved; second, your level of skill and w

Re: [PHP] help with require/includes pathing frustration [SOLVED]

2009-01-28 Thread Daniel Brown
On Wed, Jan 28, 2009 at 22:23, Daevid Vincent wrote: > > What a newb mistake!!! UGH. Sorry for wasting everyone's bandwidth. > Is there a way to have this email deleted from the archives -- I am > embarrassed by it! HAHAH! You wish. Just be glad the PostTrack isn't running right now. I'd cou

Re: [PHP] help with require/includes pathing frustration

2009-01-28 Thread Daniel Brown
On Wed, Jan 28, 2009 at 22:15, Daevid Vincent wrote: > At the very top of my login.php page I have this: > > require_once('./includes/gui/gui_setup.inc.php'); > ... > ?> > > (I've tried with and without the "./" prefix as if that might make a > difference) Not that it will make a difference

Re: [PHP] Mailing list rules?

2009-01-28 Thread Daniel Brown
On Wed, Jan 28, 2009 at 17:52, Daniel Kolbo wrote: > Hello, > > Is it okay for me to post a message looking for programmers willing to help > out with a php project? Absolutely, Dan, go right ahead. As long as you don't "bump" the thread or post strictly to adver

[PHP] Mailing list rules?

2009-01-28 Thread Daniel Kolbo
Hello, Is it okay for me to post a message looking for programmers willing to help out with a php project? Thanks, dK

Re: [PHP] Empty $_REQUEST

2009-01-27 Thread Daniel Brown
On Tue, Jan 27, 2009 at 13:12, Robert Paulsen wrote: > > When I run the app I find that $_REQUEST is almost empty. it contains > PHPSESSID but none of the data submitted through an html form. Bring on the code, Rob. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/

Re: [PHP] Coding for email response forms

2009-01-26 Thread Daniel Brown
On Mon, Jan 26, 2009 at 16:34, Tom wrote: > > Shawn, > So would that look something like this: > if ($_SERVER['REQUEST_METHOD'] == "POST") { > > // Just to be safe, I strip out HTML tags > $realname = strip_tags($realname); > $email = strip_tags($email); > $feedback = strip_tags($feedback); > > /

Re: [PHP] Coding for email response forms

2009-01-26 Thread Daniel Brown
On Mon, Jan 26, 2009 at 15:57, Tom wrote: > I am a new user of PHP, and am using Dreamweaver CS3 for the webpages. The > following page has my form but the submit button is not working properly. > http://www.richlandmtg.com/contacts.html > What code is needed and where does it get placed in the pa

Re: [PHP] PHP webhosting - USA

2009-01-24 Thread Daniel Brown
On Sat, Jan 24, 2009 at 10:03, Martin Zvarík wrote: > Hi, > > I currently host my site by Powweb, and I am WANT to change it - can you > guys recommend me something good? > > Powweb's website looks awesome and it's the best marketing I think I had > saw! After a minute it makes you think there is

Re: [PHP] distinguish between null variable and unset variable

2009-01-22 Thread Daniel Brown
On Thu, Jan 22, 2009 at 15:12, Daniel Brown wrote: > >Unfortunately, neither solution would work. isset() will return > FALSE even for an instantiated and explicitly-defined NULL variable. Forgot to mention that, in addition, is_null() will return TRUE for both explicitly

Re: [PHP] distinguish between null variable and unset variable

2009-01-22 Thread Daniel Brown
On Thu, Jan 22, 2009 at 15:11, Shawn McKenzie wrote: > > Or something like this (dunno, just brainstorming): > > function setornull(&$var) > { >if (!isset($var)) { >return false; >} >elseif (is_null($var)) { >return null; >} >

Re: [PHP] developers life

2009-01-22 Thread Daniel Brown
On Thu, Jan 22, 2009 at 06:46, derby wrote: > > http://www.talkderby2me.com Heh. I like the domain name, Derby. Welcome to the list. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ Unadvertised dedicated server deals, too low to print

Re: [PHP] distinguish between null variable and unset variable

2009-01-21 Thread Daniel Brown
On Wed, Jan 21, 2009 at 20:27, Jack Bates wrote: > How can I tell the difference between a variable whose value is null and > a variable which is not set? Unfortunately, in PHP - like other languages - you can't. A variable is considered to be null if: * it has been assigned the

Re: [PHP] maybe we could all?

2009-01-20 Thread Daniel Brown
On Mon, Jan 19, 2009 at 22:59, Kyle Terry wrote: >> > I demand Dan and Nathan to go to bed now. I consider Nathan a friend and talented programmer, but nothing could make me interested in that way, Kyle. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://ww

Re: [PHP] maybe we could all?

2009-01-19 Thread Daniel Brown
On Mon, Jan 19, 2009 at 22:46, Paul M Foster wrote: > > Incidentally, I'm relatively new to the list, but I see a lot of CCs > along with posts to the list. The CCs are only useful if non-subscribers > can post to the list. Is that the case? Yes, sir. It's also part of the rules and guidelin

Re: [PHP] maybe we could all?

2009-01-19 Thread Daniel Brown
On Mon, Jan 19, 2009 at 21:31, Nathan Rixham wrote: > > dan - great offer, I'd like to take you up on it [could we install any extra > needed software, such as a wiki / list or something that allows discussion > and document storage made website available] > svn - a must imho Nothing against

Re: [PHP] maybe we could all?

2009-01-19 Thread Daniel Brown
On Mon, Jan 19, 2009 at 20:12, Nathan Rixham wrote: > > lol and sourceforge [doh]; that way if anything takes off natural user base > and integrated promotion "most active" - possibly with aid of tony :D There's also Google Code, or - if you guys want to be less-restricted - you can use my 4L

Re: [PHP] maybe we could all?

2009-01-19 Thread Daniel Brown
On Mon, Jan 19, 2009 at 19:58, Edmund Hertle wrote: > > Well, I think we should not go to fast... maybe we are setting up SVN, > webspace, domain, mailing-list and in the end this is only used by 4-5 > people. Because than this can be discussed on this mailinglist. But if there > are quite enough

[PHP] Re: [PHP-DEV] maybe we could all?

2009-01-19 Thread Daniel Brown
On Mon, Jan 19, 2009 at 19:38, Nathan Rixham wrote: > Daniel Brown wrote: >> >>A good place to start is by showing how this would benefit from >> things like PEAR and PECL. > > care to contrib that info / thoughts dan? :-) good idea. No, I'm just typin

Re: [PHP] Re: developers life

2009-01-19 Thread Daniel Brown
On Mon, Jan 19, 2009 at 18:33, Kyle Terry wrote: > > "Hey Mr. Bossman, I'm a software veloper. Here is my resume." Well, if we're dropping the de- as a prefix, and dis- and de- are veritably synonymous, and the opposite of dis- is en-, you may as well start calling yourself an enveloper.

[PHP] Re: [PHP-DEV] maybe we could all?

2009-01-19 Thread Daniel Brown
On Mon, Jan 19, 2009 at 19:28, Daniel Brown wrote: > >Maybe you could call it PEAR. ;-P (Sent too quickly. Meant to include this, too:) A good place to start is by showing how this would benefit from things like PEAR and PECL. Also note that phpclasses.org isn't an

[PHP] Re: [PHP-DEV] maybe we could all?

2009-01-19 Thread Daniel Brown
On Mon, Jan 19, 2009 at 18:57, Nathan Rixham wrote: [snip!] > > the idea wouldn't be a framework or another php classes, more of a repo full > of common classes to save us all some time [snip!] Maybe you could call it PEAR. ;-P -- daniel.br...@parasane.net || danbr...@php.net http://w

Re: [PHP] Need List Advice

2009-01-19 Thread Daniel Brown
On Mon, Jan 19, 2009 at 17:08, Shawn McKenzie wrote: > > Somebody used to post a weekly summary that tallied our brownie points. ;-) I'm working on it! ;-P -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ Unadvertised dedicated server d

Re: [PHP] 64bit vs. 32bit

2009-01-19 Thread Daniel Brown
On Mon, Jan 19, 2009 at 15:56, dbrooke wrote: > Hello, > I am interested in hearing opinions about if there > are reasons to stay with a 32bit php/apache if there > is 64bit options available. What are the pros/cons > in running in the different architectures? Like running PHP/64 on CentOS5/3

Re: [PHP] Undefined index error

2009-01-19 Thread Daniel Brown
On Mon, Jan 19, 2009 at 15:39, Jason Pruim wrote: > > Only when you log into certain accounts and view the file after I had made > changes :P I figured you had already changed it, but when you're root, you don't have to log in to other accounts. ;-P > What I'm really going for is given this

Re: [PHP] Seg Faulting PHP

2009-01-19 Thread Daniel Brown
On Mon, Jan 19, 2009 at 15:12, Ian wrote: > Hi all, > > Appologies if this is the wrong list - please direct me in the right > direction should this be the case. > > I am running PHP 5.2.8 on freebsd 7.0 and am getting a Seg fault when > running one of my new programs. We run a couple of other sit

Re: [PHP] Re: Opinions / Votes Needed

2009-01-19 Thread Daniel Brown
On Mon, Jan 19, 2009 at 15:08, Kyle Terry wrote: > On Mon, Jan 19, 2009 at 12:05 PM, VamVan wrote: >> I believe in Community building. My only concern was the kind of language >> used is very intimidating , that's all. > > Are you referring to bad language? An unintended pun. Nice. ;-P --

Re: [PHP] Need List Advice

2009-01-19 Thread Daniel Brown
On Mon, Jan 19, 2009 at 15:19, wrote: > > I think it means Rob has to bake us all some brownies and ship 'em out to > us... > :-) Except that it also means we know by pattern that we can't count on him to break away from the computer long enough to do that. ;-P -- daniel.br...@parasane.

Re: [PHP] Undefined index error

2009-01-19 Thread Daniel Brown
On Mon, Jan 19, 2009 at 14:32, Richard Heyes wrote: >> Notice: Undefined index: 2 in /home/raosetc/public_html/purl/p.php on line >> 19 >> >> and here is Line 19: >> >> $data = explode("/", $_SERVER['REQUEST_URI']); When I view that file, on line 19, I see: echo << Are you sure it's an array

Re: [PHP] Re: Opinions / Votes Needed

2009-01-19 Thread Daniel Brown
On Mon, Jan 19, 2009 at 14:37, VamVan wrote: > Why are you guys Burning your egos here? Its not the right place. It's a PHP-related general discussion, Vam. Perhaps not entirely in good manners, but it's 100% relevant. Indeed, this is the right place. That aside, as intelligent folks,

Re: [PHP] Re: Opinions / Votes Needed

2009-01-19 Thread Daniel Brown
On Mon, Jan 19, 2009 at 13:22, Kyle Terry wrote: >> > Aside from a few perl scripts, I have rewritten all my bash scripts in PHP. > It's just easier to manage for me. /me nods. In 2001, I started rewriting a library of Perl scripts I'd been building since 1995 (5.0.0.1), which meant rewr

Re: [PHP] Need List Advice

2009-01-19 Thread Daniel Brown
On Mon, Jan 19, 2009 at 13:15, Jim Lucas wrote: > > Hey, are those Brownie Points calculated by "your" software? Isn't that a > little weighted to your favor? It's not what I initially intended when I first posted that message, but once I read Rob's reply, I knew it was going to come up eve

Re: [PHP] Re: Opinions / Votes Needed

2009-01-19 Thread Daniel Brown
On Mon, Jan 19, 2009 at 12:13, Per Jessen wrote: > > Yes, I am serious, and no, I don't write php extensions etc. I don't > write many web apps anyway. I do use PHP quite a bit for command line > stuff, in fact for >95% of my scripts. Same her, Per. I actually use PHP for more command-line

Re: [PHP] Re: Opinions / Votes Needed

2009-01-19 Thread Daniel Brown
On Sun, Jan 18, 2009 at 12:36, Tony Marston wrote: > > Really? In 2007 I single-handedly designed and built an ERP system with 130 > database tables, 230 relationships and 1000 screens, all with PHP and > without an ORM and static typing. This took me 6 months. If you can't equal > that then eithe

Re: [PHP] Need List Advice

2009-01-19 Thread Daniel Brown
On Mon, Jan 19, 2009 at 11:33, wrote: > I have been looking but can't find which PHP list is best to post info > regarding a new PHP tool. I have seen new product/service announcements on > this list, but thought there might be a better list. Any suggestions? As long as it's an announcement

Re: [PHP] Re: Opinions / Votes Needed

2009-01-17 Thread Daniel Brown
Well, since Nathan asked especially for the opinions of those who would disagree with him, I thought all was well On Sat, Jan 17, 2009 at 13:33, Tony Marston wrote: > > If your feeble brain can't handle the differences > then I suggest you stick with your previous language and LEAVE PHP A

[PHP] Re: To check for existing user in database

2009-01-16 Thread Daniel Brown
On Fri, Jan 16, 2009 at 13:35, wrote: > Hi Daniel, > > Thanks for your help, I appreciate it. My pleasure, Chris. Please keep all replies on-list, though, so that others from the list - and, for the future, in the archives - can benefit from the discussion. > I went throug

Re: [PHP] I can't get help from the binary administrator

2009-01-15 Thread Daniel Brown
On Thu, Jan 15, 2009 at 16:35, Eduardo Varela wrote: > > Does anyone know > address > subject > text > for getting a digest instead of the individual mails? You will have to first unsubscribe from the list, then subscribe to digest format at http://php.net/mailinglists If you

Re: [PHP] To check for existing user in database

2009-01-15 Thread Daniel Brown
Welcome to the list, Chris. Your code is going to require some rewriting to save you a lot of headaches and serious security issues down the road. So here we go: On Thu, Jan 15, 2009 at 12:46, Chris Carter wrote: */ if($_POST['submit']) { // Check to see if the user already exist

Re: [PHP] Finger

2009-01-15 Thread Daniel Brown
On Thu, Jan 15, 2009 at 06:30, Sándor Tamás (HostWare Kft. ) wrote: > Hi, > > My problem is that how I can know that a valid e-mail address is exists on > the mail server? > Is there some PHP function, or protocol, or something? The quick and simple answer is no. Imagine if it was that easy

Re: [PHP] PHP, Smarty, and Text

2009-01-14 Thread Daniel Kolbo
Robert Cummings wrote: On Tue, 2009-01-13 at 18:18 -1000, Daniel Kolbo wrote: Phpster wrote: What about stripping out all the 'nuances' and just reducing it to just the text where you then control the display and using your templates and css? Bastien Sent from my iPod

Re: [PHP] PHP, Smarty, and Text

2009-01-13 Thread Daniel Kolbo
Phpster wrote: What about stripping out all the 'nuances' and just reducing it to just the text where you then control the display and using your templates and css? Bastien Sent from my iPod On Jan 13, 2009, at 9:49 PM, Daniel Kolbo wrote: Hello, I've been using PHP

[PHP] PHP, Smarty, and Text

2009-01-13 Thread Daniel Kolbo
Hello, I've been using PHP and Smarty for several years now and I am happy with this "division" of data from presentation. With this philosophy in mind, i am a bit perplexed as to how to handle the text on my sites. That is, the text is data, so i am motivated to store the text in a databas

Re: [PHP] Holy crap

2009-01-13 Thread Daniel Brown
On Tue, Jan 13, 2009 at 20:54, Kyle Terry wrote: > > Every time I try I get this error: > > " > HTTP Error 500.22 - Internal Server Error > An ASP.NET setting has been detected that does not apply in Integrated > managed pipeline mode. > Please install .NET 5000 wrapped in SilverLight 15 wrapping

Re: [PHP] Holy crap

2009-01-13 Thread Daniel Brown
On Tue, Jan 13, 2009 at 20:34, Kyle Terry wrote: > > www.idonttrustmicrosoftwithmywebsite.com/ps/i/hate/them/ Couldn't reach the site. Try restarting IIS. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ Unadvertised dedicated server de

Re: [PHP] Holy crap

2009-01-13 Thread Daniel Brown
On Mon, Jan 12, 2009 at 14:30, Robert Cummings wrote: > > 2.0 is the new beta... what did you think Web 2.0 was all about? In Q3 2009, Microsoft is "improving" on that with Web 2.11 for Workgroups. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilo

Re: [PHP] is_readable(http://.... text file) says not, but I can in browser

2009-01-11 Thread Daniel Brown
On Sun, Jan 11, 2009 at 13:42, Nathan Rixham wrote: > > pedantic: really you'd want to check the http status header returned and > take the appropriate action depending on what header was returned. > > I'm sure there's a way to get the headers from a file_get_contents using one > of the stream_get

Re: [PHP] is_readable(http://.... text file) says not, but I can in browser

2009-01-11 Thread Daniel Brown
On Sun, Jan 11, 2009 at 13:10, John Allsopp wrote: > > So far I'm getting a lot of *Warning*: curl_setopt(): supplied argument is > not a valid cURL handle resource in */home/myAcc/public_html/test.php* on > line *58 > * > I searched phpinfo for 'curl' and it came up nothing, so I'm just checking

Re: [PHP] is_readable(http://.... text file) says not, but I can in browser

2009-01-11 Thread Daniel Brown
On Sun, Jan 11, 2009 at 13:07, John Allsopp wrote: > > Thanks, that worked a treat except I was getting warnings on 404. I looked > around for solutions to that and it appears curl might handle that better, > so I'm currently working on that. Many thanks tho .. let me know if you know > how to sto

Re: [PHP] Re: hello

2009-01-10 Thread Daniel Brown
On Sat, Jan 10, 2009 at 16:21, Nathan Rixham wrote: > > are you three flirting? Are you jealous? -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ Unadvertised dedicated server deals, too low to print - email me to find out! -- PHP Gene

Re: [PHP] Re: hello

2009-01-10 Thread Daniel Brown
On Sat, Jan 10, 2009 at 16:06, Robert Cummings wrote: > > Snowball hits sandcastle... promptly melts... washes sandcastle away. > > *throws another snowball at you* > > I've got LOTS more where they came from. *danbrown casts Spell of Awe and attains Level 63 Wizard. *danbrown turns you into a f

Re: [PHP] Re: hello

2009-01-10 Thread Daniel Brown
On Sat, Jan 10, 2009 at 01:57, Robert Cummings wrote: > > Grumble, grumble... did I mention freshwater falls from the sky and > forms vertical piles outside my home? You have a camera for a reason, Rob. Snap a few shots and we'll help pick out the next Interjinn logo. ;-P -- daniel.br...

Re: [PHP] Been staring at the code for too long...

2009-01-09 Thread Daniel Brown
On Fri, Jan 9, 2009 at 13:38, Jason Pruim wrote: > Okay... So I know this is a stupid question... It sure is. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ Unadvertised dedicated server deals, too low to print - email me to find out!

Re: [PHP] Re: hello

2009-01-09 Thread Daniel Brown
On Fri, Jan 9, 2009 at 16:16, Robert Cummings wrote: > > We're at -13C right now without windchill and this is in Ottawa which is > a lot further south than I've lived in the past (Timmins, Sudbury). Yeah, no offense, my friend, but you can keep it. We're a balmy 22F (-5C) right now in Scran

Re: [PHP] Couple of beginner questions

2009-01-09 Thread Daniel Brown
On Fri, Jan 9, 2009 at 15:36, Eric Butera wrote: > > I was just talking myself. I use objects and such so I'm really not > as worried about performance either. But it was a "downside" that I > knew about from some css/js stuff I'd done a while ago. I still had 2 > files on my box from some fram

Re: [PHP] Re: hello

2009-01-09 Thread Daniel Brown
On Fri, Jan 9, 2009 at 15:31, Robert Cummings wrote: > > I lived in Scotland for many years... Scottish winters pale in > comparison to northern Canadian winters, and these in turn pale in > comparison to Siberian winters. Yeah, and from the sounds of it, Rob, you guys are about to have a hel

Re: [PHP] Editing in a text area field

2009-01-09 Thread Daniel Brown
On Fri, Jan 9, 2009 at 14:43, VamVan wrote: > > 100% I agree. Thats called the act of defensive programming. We have no > right over altering user input but yes we have right to display what we want > user see on the site. Well, of course you have the _right_ to do it --- as long as it's lega

Re: [PHP] First steps towards unix and php

2009-01-09 Thread Daniel Brown
On Fri, Jan 9, 2009 at 10:59, Frank Stanovcak wrote: > *bangs head on wall* > > Great...just what I need. More acronyms. :P Acronyms? You mean the package managers we were discussing? yum Yellowdog Updater Modified - an automated RPM management utility (works on all RH-based

Re: [PHP] Re: Create image from HTML

2009-01-09 Thread Daniel Brown
On Fri, Jan 9, 2009 at 11:51, Nathan Rixham wrote: > > only way would be if you had php running on a server with a GUI, a program > for grabbing screenshots, and some form of API to control from php (and > recieve output) That's not entirely correct (though it's the most widely-accepted solut

Re: [PHP] Re: hello

2009-01-09 Thread Daniel Brown
On Fri, Jan 9, 2009 at 12:43, Nathan Rixham wrote: > > actually i ran it in a debugger, in an ide, in a virtual machine :p in Siberia. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ Unadvertised dedicated server deals, too low to

<    7   8   9   10   11   12   13   14   15   16   >