Re: [PHP] [News] Affordable Independent Web Developer - Search Engine Optimization Services - March 19th, 2009

2009-03-20 Thread Frank Stanovcak
"George Larson" wrote in message news:a623739c0903201141o3b430640haf91ea575f276...@mail.gmail.com... > houses ain't gunna cleen themselfs... > > On Fri, Mar 20, 2009 at 2:39 PM, Ginkga Studio, LLC > wrote: > >> LOL. >> >> :0) >> >> Ok. You guys are fun but I have to get to work. Hope all works o

Re: [PHP] Stopping bad entries in PHP form

2009-03-19 Thread Frank Stanovcak
"Ashley Sheridan" wrote in message news:1237498771.3562.22.ca...@localhost.localdomain... > On Thu, 2009-03-19 at 17:33 -0400, Marc Christopher Hall wrote: >> IP lookups are like Marxism, great idea in theory, terrible in reality. >> IP's >> can be spoofed. The best recommendation I can think o

Re: [PHP] Re: Problems with exec() on windows

2009-03-19 Thread Frank Stanovcak
"Kyohere Luke" wrote in message news:9bc423c50903191018k3c783213l4929cf2878e98...@mail.gmail.com... > Eventually settled for getting rid of the spaces in the path. That worked. > Thanks. > Luke > > On Thu, Mar 19, 2009 at 8:06 PM, Bastien Koert wrote: > >> >> >> On Thu, Mar 19, 2009 at 12:48 PM

Re: [PHP] How should I ....--its a date/timestamp issue

2009-03-02 Thread Frank Stanovcak
"Paul M Foster" wrote in message news:20090219022913.gl18...@quillandmouse.com... > On Wed, Feb 18, 2009 at 05:25:16PM -0600, Terion Miller wrote: > > > >> What about just accepting any date in to the system, and defaulting >> to >> the current date if any numptys/users try to set on

[PHP] Re: Stupid is as Stupid does

2009-02-28 Thread Frank Stanovcak
""Michael A. Peters"" wrote in message news:49a79416.6060...@mac.com... > As my web app is coming to completion, I added a means to search records > (different from site search). > > This involves reading post input and is many cases converting it to an > integer. > > Damn I feel dumb. > > The

Re: [PHP] Clarity needed OT

2009-02-06 Thread Frank Stanovcak
"Daniel Brown" wrote in message news:ab5568160902061416u10e761dal224ec7177d83e...@mail.gmail.com... > 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 ph

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

2009-02-06 Thread Frank Stanovcak
""Boyd, Todd M."" wrote in message news:33bde0b2c17eef46acbe00537cf2a19003d07...@exchcluster.ccis.edu... > -Original Message- > From: Daevid Vincent [mailto:dae...@daevid.com] > Sent: Friday, February 06, 2009 2:26 PM > To: php-general@lists.php.net > Subject: Re: [PHP] How can I use a f

Re: [PHP] long echo statement performance question

2009-02-06 Thread Frank Stanovcak
"Stuart" wrote in message news:a5f019de0902060932k1ccf2948ua42f3cfa33694...@mail.gmail.com... > 2009/2/6 Frank Stanovcak : >> >> "Richard Heyes" wrote in message >> news:af8726440902060918v6d2f1ee1ia3f839189874...@mail.gmail.com... >>>> W

Re: [PHP] Clarity needed OT

2009-02-06 Thread Frank Stanovcak
"Eric Butera" wrote in message news:6a8639eb0902061020v793d22b9x1430872c2170b...@mail.gmail.com... > On Fri, Feb 6, 2009 at 1:13 PM, tedd wrote: >> At 1:55 AM +0100 2/6/09, Jochem Maas wrote: >>> >>> that tedd's unlimited educational resources (tutors/courses) might >>> go someway to undoing al

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

2009-02-06 Thread Frank Stanovcak
"Terion Miller" wrote in message news:37405f850902060944y74a7a5e8ndce0c3456a32d...@mail.gmail.com... > Need eyes on this query, it is not inserting, I am going to highlight > what/where I thought the problem is (there is no " )but when I add the " > it > then changes the syntax coloring on the

Re: [PHP] long echo statement performance question

2009-02-06 Thread Frank Stanovcak
a elegant way. 2009/2/6 Frank Stanovcak : > I'm in the process of seperating logic from display in a section of code, > and wanted to make sure I wasn't treading on a performance landmine here, > so > I ask you wizened masters of the dark arts this... > > is there a ser

Re: [PHP] long echo statement performance question

2009-02-06 Thread Frank Stanovcak
"Richard Heyes" wrote in message news:af8726440902060918v6d2f1ee1ia3f839189874...@mail.gmail.com... >> Wouldn't have thought so. But for readability, you may find this a >> little easier instead: > > Slight correction: > > ?> > blah > > -- > Richard Heyes > > HTML5 Canvas graphing for Fir

[PHP] long echo statement performance question

2009-02-06 Thread Frank Stanovcak
I'm in the process of seperating logic from display in a section of code, and wanted to make sure I wasn't treading on a performance landmine here, so I ask you wizened masters of the dark arts this... is there a serious performance hit, or reason not to use long, ie more than 30 - 40 lines, co

Re: [PHP] Re: preg_match question...

2009-02-06 Thread Frank Stanovcak
"Shawn McKenzie" wrote in message news:e1.67.59347.e494c...@pb1.pair.com... > bruce wrote: >> hmmm... >> >> tried your preg__match/regex... >> >> i get: >> 0 - 1145 total >> 1 - 1145 >> 2 - l >> >> i would have thought that the 2nd array item should have had "total"... >> > > Probably want this:

[PHP] Re: preg_match question...

2009-02-06 Thread Frank Stanovcak
""bruce"" wrote in message news:234801c98863$88f27260$0301a...@tmesa.com... > hi... > > trying to figure out the best approach to using preg_match to extract the > number from the follwing type of line... > > " 131646 sometext follows.." > > basically, i want to extract the number, without the t

Re: [PHP] Garbage Collection

2009-02-06 Thread Frank Stanovcak
""Boyd, Todd M."" wrote in message news:33bde0b2c17eef46acbe00537cf2a19003cb4...@exchcluster.ccis.edu... > -Original Message- > From: tedd [mailto:t...@sperling.com] > Sent: Thursday, February 05, 2009 10:07 AM > To: php-general@lists.php.net > Subject: [PHP] Garbage Collection > > Hi ga

[PHP] Re: Blank page of hell..what to look for

2009-02-02 Thread Frank Stanovcak
"Terion Miller" wrote in message news:37405f850902020902j624356ccp4ea869bc45161...@mail.gmail.com... > Is there a certain thing that should be suspected and looked at first when > getting the php blank page of hell > I have errors on and nothing is being output anywhere to lead me in the > r

Re: [PHP] Re: Switch statement Question

2009-02-02 Thread Frank Stanovcak
"tedd" wrote in message news:p06240801c5aa0ed7d...@[192.168.1.101]... > At 4:16 PM +0100 1/30/09, Jochem Maas wrote: >>tedd schreef: >>> At 4:43 PM -0500 1/29/09, Frank Stanovcak wrote: >>>> >" >>>> >>>> yes...tha

[PHP] frameworks

2009-01-30 Thread Frank Stanovcak
Ok. I've done some reading on frameworks for PHP now, and have this question. What are some good resources for learning about the various frameworks available, and do you recomend one over another? If so why? I started using PHP before frameworks came into the picture, and then had to take m

[PHP] Re: Switch statement Question

2009-01-29 Thread Frank Stanovcak
>"Alice Wei" wrote in message >news:snt101-w587cd616331fc59b84834af0...@phx.gbl... > >Hi, > > I have a code snippet here as in the following: > >//Switch statements between the four options >switch($string) { >case "": >$string= "NOT book.author='All'"; >break; >default: >$string= $string . "AN

Re: [PHP] New to PHP question

2009-01-28 Thread Frank Stanovcak
"Don Collier" wrote in message news:4980c3d3.8040...@collierclan.com... > > > Paul M Foster wrote: >> See? This is what I'm talking about. >> >> *I* understand what you're saying, Don, and I agree. But this guy is >> just learning PHP from what is arguably not one of the best books on PHP >> (IM

[PHP] Re: New to PHP question

2009-01-28 Thread Frank Stanovcak
"Don Collier" wrote in message news:4980ac7e.2080...@collierclan.com... >I am just learning PHP from the O'Reilly "Learning PHP 5" book and I have a >question regarding the formatting of text. Actually it is a couple of >questions. > > First, when I use the \n and run the script from the comm

Re: [PHP] Re: validating directory and file name with preg_match

2009-01-28 Thread Frank Stanovcak
""Boyd, Todd M."" wrote in message news:33bde0b2c17eef46acbe00537cf2a19003bb9...@exchcluster.ccis.edu... > -Original Message- > From: Frank Stanovcak [mailto:blindspot...@comcast.net] > Sent: Wednesday, January 28, 2009 1:04 PM > To: php-general@l

[PHP] Re: validating directory and file name with preg_match

2009-01-28 Thread Frank Stanovcak
""Frank Stanovcak"" wrote in message news:a8.d6.08436.5cf80...@pb1.pair.com... > I'm limiting access to certain proceedures based on the file trying to use > them, and the directory they are located in on my server. Right now I am > using two preg_match

[PHP] validating directory and file name with preg_match

2009-01-28 Thread Frank Stanovcak
I'm limiting access to certain proceedures based on the file trying to use them, and the directory they are located in on my server. Right now I am using two preg_match statments as you will see. What I want to know is this. Is there a way to write a single regex for this that will supply the

Re: [PHP] Get Money Fast with the Government Grants

2009-01-27 Thread Frank Stanovcak
"Andrew Williams" wrote in message news:1adf0c280901270134o2f06d0f9kaf3fce2fb4b6c...@mail.gmail.com... > Hi, > Beware of he spam mailer so do not let them spam your money away. > > Andrew > > On Tue, Jan 27, 2009 at 9:18 AM, clive > wrote: > >> Dora Gaskins wrote: >> >>> If you have received th

Re: [PHP] Re: New PHP User with a simple question

2009-01-27 Thread Frank Stanovcak
"Paul M Foster" wrote in message news:20090126222404.gc18...@quillandmouse.com... > On Mon, Jan 19, 2009 at 04:45:08PM -0500, Christopher W wrote: > >> Dear responders, >> >> I was not sure which post was the best to respond to all of you so I >> chose >> the original. >> >> I wanted to thank y

Re: [PHP] Make New-Age Money Online with Google

2009-01-27 Thread Frank Stanovcak
""Martin ZvarĂ­k"" wrote in message news:66.93.12464.913ee...@pb1.pair.com... > Ashley Sheridan napsal(a): >> On Sat, 2009-01-24 at 10:14 +0200, Dora Elless wrote: >>> That's why I am sending this email only to people I know and care >>> about. >> And they send to a mailing list. Come again? >> >

Re: [PHP] Dirty Button

2009-01-26 Thread Frank Stanovcak
"tedd" wrote in message news:p06240802c5a28dd01...@[192.168.1.101]... > At 3:41 PM -0600 1/25/09, Micah Gersten wrote: >>tedd wrote: >>> At 7:02 PM + 1/25/09, Ashley Sheridan wrote: Tedd, what about having it reset if you then go back and select the original option without submi

Re: [PHP] can I do this without eval?[RESOLVED]

2009-01-22 Thread Frank Stanovcak
"Nathan Nobbe" wrote in message news:7dd2dc0b0901221048g2f089cf9s36ecb9a5b35ab...@mail.gmail.com... > > yeah, id try call_user_func_array(), > > omit the line to create a string out of the $params, then merge the later > arguments into an array w/ the first 2 args > > #$params = implode(", ", $p

Re: [PHP] can I do this without eval?

2009-01-22 Thread Frank Stanovcak
"Nathan Nobbe" wrote in message news:7dd2dc0b0901221048g2f089cf9s36ecb9a5b35ab...@mail.gmail.com... > On Thu, Jan 22, 2009 at 8:35 AM, Frank Stanovcak > wrote: > >> I'm trying to build a prepared statment and dynamically bind the >> variables >> to

Re: [PHP] Military <-> Standard times

2009-01-22 Thread Frank Stanovcak
"Richard Heyes" wrote in message news:af8726440901220050i71d99bf7m5425620f67350...@mail.gmail.com... >> PS - I think the best ever name for a Exception class is 'Tantrum': >> >>throw new Tantrum('Ra Ra Ra Aaaargh'); > > Lol. > > -- > Richard Heyes > > HTML5 Graphing for Firefox, Chrome,

[PHP] can I do this without eval?

2009-01-22 Thread Frank Stanovcak
I'm trying to build a prepared statment and dynamically bind the variables to it since I use this on severaly different pages I didn't want to build a huge bind statement hard coded on each page and then have to maintain it every time there was a change. I despise having to use eval() and was h

[PHP] Re: Client/Server Printing

2009-01-20 Thread Frank Stanovcak
"Paul M Foster" wrote in message news:20090120151606.gu18...@quillandmouse.com... > I'd like a side check on what I'm doing to print on our internal > network. > > We have an internal server/site which uses PHP code I've written to > "run" the business-- invoicing, A/P, inventory, etc. Some things

Re: [PHP] developers life

2009-01-20 Thread Frank Stanovcak
"Robert Cummings" wrote in message news:1232447313.30838.5.ca...@localhost... > On Mon, 2009-01-19 at 22:06 +, Nathan Rixham wrote: >> Robert Cummings wrote: >> > On Mon, 2009-01-19 at 21:53 +, Nathan Rixham wrote: >> > >> >> Robert Cummings wrote: >> >> >> >>> On Mon, 2009-01-19 at 21:2

[PHP] Re: developers life

2009-01-20 Thread Frank Stanovcak
"Nathan Rixham" wrote in message news:32.be.60519.170f4...@pb1.pair.com... > well just for the hell of it; and because I'm feeling worn.. > > anybody else find the following true when you're a developer? > > - frequent bursts of side-tracking onto more interesting subjects > - vast amount of inh

Re: [PHP] Security question

2009-01-15 Thread Frank Stanovcak
"VamVan" wrote in message news:12eb8b030901141421u6741b943q396bc784136b7...@mail.gmail.com... > On Wed, Jan 14, 2009 at 2:22 PM, Frank Stanovcak > wrote: > >> This is mostly to make sure I understand how sessions are handled >> correctly. >> As far as sessio

[PHP] Security question

2009-01-14 Thread Frank Stanovcak
This is mostly to make sure I understand how sessions are handled correctly. As far as sessions are concerned the variable data is stored on the server (be it in memory or temp files), and never transmitted accross the net unless output to the page? So this means I should be able to store the

Re: [PHP] Quotes in querys

2009-01-14 Thread Frank Stanovcak
"Ashley Sheridan" wrote in message news:1231962521.3613.13.ca...@localhost.localdomain... > On Wed, 2009-01-14 at 11:17 -0500, MikeP wrote: >> Hello, >> I am trying to get the following to work: >> "Select Netid from Users where Netid = '$_SESSION[phpCAS][user]'" >> Netid is a string type. >> No

[PHP] Re: php session GC error

2009-01-13 Thread Frank Stanovcak
So from everything I've read there is no real way to assure a session timeout with out timestamping it myself and dealing with it in code by doing a time compare. bummer. ""Frank Stanovcak"" wrote in message news:57.31.25553.de80d...@pb1.pair.com... > > &qu

[PHP] Re: php session GC error

2009-01-13 Thread Frank Stanovcak
"Shawn McKenzie" wrote in message news:e3.00.25553.8560d...@pb1.pair.com... > Frank Stanovcak wrote: >> "Nathan Rixham" wrote in message >> news:496d03d3.2060...@gmail.com... >>> Frank Stanovcak wrote: >>>> "Shawn McKenzie&q

[PHP] Re: php session GC error

2009-01-13 Thread Frank Stanovcak
"Nathan Rixham" wrote in message news:496d03d3.2060...@gmail.com... > Frank Stanovcak wrote: >> "Shawn McKenzie" wrote in message >> news:f8.ef.24097.e510d...@pb1.pair.com... >>> Frank Stanovcak wrote: >>>> I'm trying to make sure

[PHP] Re: php session GC error

2009-01-13 Thread Frank Stanovcak
"Shawn McKenzie" wrote in message news:f8.ef.24097.e510d...@pb1.pair.com... > Frank Stanovcak wrote: >> I'm trying to make sure that my sessions are timed out by my server. >> I'm running it on winxp, and my php.ini contains the following >> >> s

[PHP] php session GC error

2009-01-13 Thread Frank Stanovcak
I'm trying to make sure that my sessions are timed out by my server. I'm running it on winxp, and my php.ini contains the following session.gc_probability = 1 session.gc_divisor = 1 ; After this number of seconds, stored data will be seen as 'garbage' and ; cleaned up by the garbage collectio

Re: [PHP] variable probe revision

2009-01-12 Thread Frank Stanovcak
"Chris" wrote in message news:496bbd52.2080...@gmail.com... > Frank Stanovcak wrote: >> I posted this once before, and then tried to use it multiple times in a >> script. As you can guess I got a bunch of func already defined errors. >> >> Here is a revision

Re: [PHP] variable probe revision

2009-01-12 Thread Frank Stanovcak
"Ashley Sheridan" wrote in message news:1231796437.3558.62.ca...@localhost.localdomain... > On Mon, 2009-01-12 at 16:11 -0500, Frank Stanovcak wrote: >> I posted this once before, and then tried to use it multiple times in a >> script. As you can guess I got a bunc

[PHP] variable probe revision

2009-01-12 Thread Frank Stanovcak
I posted this once before, and then tried to use it multiple times in a script. As you can guess I got a bunch of func already defined errors. Here is a revision incase anyone decided to use it that will work multiple times in the same script for variable watching. ---Code follows--- k

Re: [PHP] switch vs elseif

2009-01-12 Thread Frank Stanovcak
""Eric Butera"" wrote in message news:6a8639eb0901121231r253eed48xe1974d8ef44ab...@mail.gmail.com... > On Mon, Jan 12, 2009 at 3:15 PM, Frank Stanovcak > wrote: >> I've googled, and found some confusing answers. >> I've tried searching the histo

Re: [PHP] switch vs elseif

2009-01-12 Thread Frank Stanovcak
"Ashley Sheridan" wrote in message news:1231793310.3558.55.ca...@localhost.localdomain... > On Mon, 2009-01-12 at 15:15 -0500, Frank Stanovcak wrote: >> I've googled, and found some confusing answers. >> I've tried searching the history of the news group, and

[PHP] switch vs elseif

2009-01-12 Thread Frank Stanovcak
I've googled, and found some confusing answers. I've tried searching the history of the news group, and only found info on switch or elseif seperately. :( Strictly from a performance stand point, not preference or anything else, is there a benefit of one over the other? for($i=0;$i<3;$i++){

[PHP] switch vs elseif

2009-01-12 Thread Frank Stanovcak
I've googled, and found some confusing answers. I've tried searching the history of the news group, and only found info on switch or elseif seperately. :( Strictly from a performance stand point, not preference or anything else, is there a benefit of one over the other? for($i=0;$i<3;$i++){

Re: [PHP] Couple of beginner questions

2009-01-12 Thread Frank Stanovcak
"Ashley Sheridan" <> wrote in message news:1231681793.3527.2.ca...@localhost.localdomain... > On Sun, 2009-01-11 at 08:08 -0500, tedd wrote: >> At 4:16 PM -0500 1/10/09, Paul M Foster wrote: >> >And let me present an alternative perspective. Never do something like: >> > >> > >> > >> >Let Apache

Re: [PHP] Couple of beginner questions

2009-01-09 Thread Frank Stanovcak
"VamVan" wrote in message news:12eb8b030901091135u4e17f1f3p24698dbc8f5a2...@mail.gmail.com... > -- Remember as you re still a beginner try to avoid using ?> at the end of > complete PHP code page. or else if you have empty lines at the end of the > file "then you wont see blank page of death in

Re: [PHP] First steps towards unix and php

2009-01-09 Thread Frank Stanovcak
*bangs head on wall* Great...just what I need. More acronyms. :P Frank "Paul Scott" wrote in message news:1231506224.7389.7.ca...@paul-laptop... > > On Fri, 2009-01-09 at 14:53 +0200, Paul Scott wrote: >> First choice is ./configure && make && make install, second choice is >> apt >> > > Eve

Re: [PHP] [SOLVED] Re: can a session be used in a query?

2009-01-08 Thread Frank Stanovcak
if you want to know what is happening...I just did the research...the while statment runs untill the condition is false. This means that, this your case, $row = false. We were getting results in the loop becuase that never happened while it was looping, but to end the loop it proccessed $row = f

[PHP] First steps towards unix and php

2009-01-08 Thread Frank Stanovcak
I've been a microshaft punk for some time now, and am just getting ready to try to step over to unix on one of my own boxes. Does anyone have any suggestions on which flavor would be a good idea to start with? I'm looking mostly for compatibility with php, mysql, and other web based programmin

Re: [PHP] Because you guys/gals/girls/women/insert pc term hereare a smart lot

2009-01-08 Thread Frank Stanovcak
And people tell me that I'm just wrong. "Nathan Rixham" wrote in message news:4965dffc.6020...@gmail.com... > Robert Cummings wrote: >> On Thu, 2009-01-08 at 10:51 +, Richard Heyes wrote: until you have to dump it, zip it, ssh it over to another box and then import it back in >>> T

Re: [PHP] Re: can a session be used in a query?

2009-01-07 Thread Frank Stanovcak
'GLOBALS'){ if(sizeof($value) > 0){ breakarray($value); echo ''; }else{ echo 'EMPTY '; }; }else{ echo '"' , $value , '"'; }; }; echo ''; ?> - Original Message - From: Ashley Sheridan

Re: [PHP] Re: can a session be used in a query?

2009-01-07 Thread Frank Stanovcak
here is a handy little snippet of code I use. Just include it where you want to get a snap shot of all the variables in an app. ta ta for today boys! - Original Message - From: "Chris" To: "Terion Miller" Cc: "Frank Stanovcak" ; Sent: Wednesday, Ja

Re: [PHP] Re: can a session be used in a query?

2009-01-07 Thread Frank Stanovcak
""Terion Miller"" wrote in message news:37405f850901071354p7abd0aa8i7c96cf69c81fa...@mail.gmail.com... >> >$result=mysql_query($query) or die('Queryproblem: ' . mysql_error() >> > . >> > 'Executedquery: ' . $query); >> > if (mysql_num_rows($result) >= '1'){ >> >

[PHP] Re: can a session be used in a query?

2009-01-07 Thread Frank Stanovcak
One other thought. If you are getting a blank page with no errors or out put at all, I've noticed that I somtimes have to get the page to load successfully before the web server will dish out the error. What I normally do is upload a blank php page with the same name as the one I am working o

[PHP] Re: can a session be used in a query?

2009-01-07 Thread Frank Stanovcak
I'm working in the same kind of environment. Make sure you are single quoting string data in MySQL as in $query = "SELECT * FROM admin WHERE UserName = '" . $_SESSION['user'] . "' "; Thats a single quote, double quote, dot, session var, dot, double quote, single quote I wrote that out becaus

[PHP] Logic puzzle. Not a question. Just for fun

2009-01-06 Thread Frank Stanovcak
This is verbatim from the manufacturer except I replaced the code info with vanilia filler to keep from getting in trouble with them. See how long it takes you to write the shortest SQL code that returns all State a and State f records. If this seems simple to you remember I have no formal trai

[PHP] Re: Import files from directory

2009-01-06 Thread Frank Stanovcak
I may be mistaken, but it seems to me you would be better served letting it be file uploaded via php and process it as it arrives. This would save the chron run every 5 min, and dir search headaches. Or is there an issue that requires you to use an ftp transport? "Merlin Morgenstern" wrote

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-06 Thread Frank Stanovcak
So what I'm taking away from this is that I can index a text column, but that is relatively new. Based on experience with technology I'm going to guess it's not a very efficient index or search function yet. CHAR seems to be well entrenched, and the favorite for any column I may need to search

Re: [PHP] Because you guys/gals/girls/women/insert pc term hereare a smart lot

2009-01-05 Thread Frank Stanovcak
This would be the winning answer. I've been using text up till now. I'll have to change that. Thank you! "Robert Cummings" wrote in message news:1231185251.4.2.ca...@localhost... > On Mon, 2009-01-05 at 19:15 +, Stuart wrote: >> 2009/1/5 Frank Stano

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-05 Thread Frank Stanovcak
;m old not addled damnit!" :) "Stuart" wrote in message news:a5f019de0901051115ree20159tbbcf5b3cb2633...@mail.gmail.com... > 2009/1/5 Frank Stanovcak : >> It's been a while since I've programed (VB was on version 4) I was >> wondering >> if any one c

[PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-05 Thread Frank Stanovcak
It's been a while since I've programed (VB was on version 4) I was wondering if any one could tell me what the diff is between char, varchar, and text in mysql. I know this isn't a mysql news group, but since I am using php for the interaction it seemed like the place to ask. Thanks in advance,

[PHP] Re: Question on if() priorities

2008-12-12 Thread Frank Stanovcak
Thanks. Don't know how I could have missed that. "Maciek Sokolewicz" wrote in message news:49428d51.3090...@php.net... > Frank Stanovcak wrote: >> I can't seem to find a reference to this in the manual, but is there an >> order of precedence for and or xo

Re: [PHP] Need a brain to bounce some Mysql/DB thoughts off of!!

2008-12-12 Thread Frank Stanovcak
"Robert Cummings" wrote in message news:1229096146.22284.27.ca...@localhost... > On Fri, 2008-12-12 at 06:34 -0600, Jay Blanchard wrote: >> [snip] >> It's Christmas... the season of giving and tolerance :| >> [/snip] >> >> We will return you to your regularly scheduled Robert Cummings Jan 2nd, >

[PHP] Question on if() priorities

2008-12-12 Thread Frank Stanovcak
I can't seem to find a reference to this in the manual, but is there an order of precedence for and or xor in an if statement? Kind of like PPMDAS or polish notation for math (PPMDAS = Powers. Parenthacies. Multiplication...) I ask because this seems to be working for me, but I want to make su

Re: [PHP] Re: PHP Dev Facts

2008-10-17 Thread Frank Stanovcak
""Daniel Brown"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Fri, Oct 17, 2008 at 12:11 PM, Jay Blanchard <[EMAIL PROTECTED]> > wrote: >> >> It's Friday night, shouldn't you be going to the pub instead? > >In another eight years he'll be glad to do that. Little-known >

[PHP] Re: MYSQL insert problems

2008-10-17 Thread Frank Stanovcak
Just incase the problem was refrencing an array in an SQL statement I tried this too with the same result. $value) { echo $key . ' : ' . $value . ''; }; echo ''; }; mysql_close($connection); include('..\VariableReveal.php'); ?> -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] MYSQL insert problems

2008-10-17 Thread Frank Stanovcak
I'm using the following code to try and do a simple insert query. However it won't insert the data into the table, and I get no error messages. What have I done wrong this time? $value) { echo $key . ' : ' . $value . ''; }; echo ''; }; mysql_close($connection); include('..\VariableReveal

[PHP] Re: Yeah I'm sortof a noob

2008-10-10 Thread Frank Stanovcak
TY. That should help greatly! "Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Frank Stanovcak wrote: >> I'm trying to follow the three precepts of accepting user entries... >> 1. never trust it. >> 2. never trust it. &

[PHP] Re: Yeah I'm sortof a noob

2008-10-09 Thread Frank Stanovcak
Please disregard It was a code fragment elsewhere that got put in when I went to save. Thank you for looking though! Frank Savant at Large ""Frank Stanovcak"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm trying to follow the three precept

[PHP] Yeah I'm sortof a noob

2008-10-09 Thread Frank Stanovcak
I'm trying to follow the three precepts of accepting user entries... 1. never trust it. 2. never trust it. 3. never trust it ever! I have one entry that may equal 0 on submission, and if it does is tripping a bool false result, so I came up with this work around. However when I put this in my c

Re: [PHP] Login

2008-10-09 Thread Frank Stanovcak
"Wolf" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > >> Redirects make sense IMO. IIRC the Yahoo guidelines say not to >> redirect after a form POST, but unless you have a ka-jillion page >> views a second (or, "a lot"), then I don't think it's a concern. > > Wait, Yahell has gui

Re: [PHP] Sterilizing regexp

2008-09-30 Thread Frank Stanovcak
news:[EMAIL PROTECTED] Frank Stanovcak wrote: > A while ago I asked a question and got a few answers, so I thought I > would toss this out there as a follow up. I'm going to be using this > to return filtered regexp values for a user interface. > > I haven't had a chanc

[PHP] Sterilizing regexp

2008-09-30 Thread Frank Stanovcak
A while ago I asked a question and got a few answers, so I thought I would toss this out there as a follow up. I'm going to be using this to return filtered regexp values for a user interface. I haven't had a chance to enter this into my code yet, so if anyone sees something wrong please hamme

[PHP] Re: Filters and sanitizing a regexp

2008-09-25 Thread Frank Stanovcak
by the by I'm using filter_var($string, FITER_VALIDATE_REGEXP, blah blah blah) ""Frank Stanovcak"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Is it possible to use the php filter function to sanitize a regular > expression such as to

[PHP] Filters and sanitizing a regexp

2008-09-25 Thread Frank Stanovcak
Is it possible to use the php filter function to sanitize a regular expression such as to return just the date part of a string that may be passed by an nonobservant user? "#\d\d/\d\d/\d\d\d\d#" input would be something like as02/05/2008df I want to use the filter to give me just the date shou

[PHP] Re: Function parameters and arrays

2008-09-18 Thread Frank Stanovcak
Actually Stut pointed out that I was calling both dimmensions when my sorry butt should only have been referencing the second one. I had everything over expanded so I could see where the code was breaking. Thank you everyone for the help! That was fantastic! Frank ""Frank Stanovcak

[PHP] Function parameters and arrays

2008-09-18 Thread Frank Stanovcak
I am trying to pass a multi dimmed array as a variable parameter to a custom function to build a query for me. Here is the basic code and what I am getting. $WhereList[0][0] = 'OESalesOrder.OrderNo'; $WhereList[0][1] = '='; $WhereList[0][2] = '2272'; $SQLString = SQLCall('OESalesOrder',$FieldLi