Re: [PHP] Holding "datetimes" in a DB.

2013-03-01 Thread Nick Whiting
On Fri, Mar 1, 2013 at 7:04 PM, Sebastian Krebs wrote: > 2013/3/2 tamouse mailing lists > > > On Fri, Mar 1, 2013 at 11:53 AM, Matijn Woudt wrote: > > > On Fri, Mar 1, 2013 at 11:49 AM, Richard Quadling > >wrote: > > > > > >> Hi. > > >> > > >> My heads trying to remember something I may or may

Re: [PHP] Introduction ... !

2013-03-01 Thread Nick Whiting
On Fri, Mar 1, 2013 at 6:32 PM, tamouse mailing lists < tamouse.li...@gmail.com> wrote: > On Fri, Mar 1, 2013 at 11:56 AM, Daniel Brown wrote: > > On Fri, Mar 1, 2013 at 12:54 PM, Jim Giner > wrote: > >> > >> What gives you such optimism? I recently saw a list of languages in > use and > >> PHP

Re: [PHP] Having a problem with clone.

2013-05-10 Thread Nick Whiting
Do you have a backtace for this? What is the gender class doing? Have u done a global search for keyword "clone"? On Friday, May 10, 2013, Richard Quadling wrote: > Hi. > > I'm having an issue where I get ... > > Fatal error: Trying to clone an uncloneable object of class Smarty_Variable > in

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-16 Thread Nick Khamis
OO comes from the heart. You know you have it when everything you look at turn into objects, attributes, accessors, mutators, and constructors. When IBM transitioned from functional to OO level programming, they had their top level engineers walk into a room and tell their employees that 80% of th

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-16 Thread Nick Khamis
interface Shape { public double getArea(); } class Circle implements Shape { double radius; public Circle(int double radius) { this.radius = radius; } public double getArea() { return (radius * radius * 3.1415); } } class Square implements Shape { double side; public

Re: [PHP] Random

2013-05-24 Thread Nick Pratley
number 1-30 for my site. > >>> > >>> function rand_from_1_to_30() { > >>> return 4; > >>> } > >>> > >> > > Did you actually try that? > > Thanks, > Ash > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- - Nick

Re: [PHP] Binding object instances to static closures

2013-05-31 Thread Nick Whiting
This will not work. As stated in the PHP documentation "Static closures cannot have any bound object " A static Closure has no context of "this" just as with any other static object. A workaround is to pass in the Closure as a parameter to achieve a similar result. class TestClass { public

[PHP] suhosin and 5.4 onwards

2013-08-02 Thread Nick Edwards
Ok, so I know this might start flame wars, but... here goes ;) It seems suhosin is dead as far as 5.4 goes, now, some make allegations that it is no longer needed since php has allegedly incorporated much of its safe guards, but these claims are from self proclaimed experts (a term i use very loo

Re: [PHP] PHP session replication

2011-03-17 Thread Nick Williams
I have successfully and efficiently used MySQL-based database session storage for years, even on a website with 5,000 (very) active simultaneous users. I would highly recommend it. N On Mar 17, 2011, at 9:44 AM, Dan Joseph wrote: > On Thu, Mar 17, 2011 at 12:06 AM, Alessandro Ferrucci < > ales

Re: [PHP] PHP session replication

2011-03-17 Thread Nick Williams
Interesting. When I went to it I got no such 404 error. Came right up. Thought-provoking article, too. N On Mar 17, 2011, at 10:22 AM, Richard Quadling wrote: > On 17 March 2011 15:18, Stuart Dallas wrote: >> On Thursday, 17 March 2011 at 15:15, Nathan Nobbe wrote: >> On Wed, Mar 16, 2011 at 1

[PHP] Compile PHP with MySQL support

2011-10-13 Thread Nick Khamis
ql support, but actually mysql is installed on a different server? Can I download a precompile mysqli anywhere? The PHP version is 5.1.49 as noted earlier. Thanks in Advance, Nick

[PHP] Compile PHP with MySQLi (With MySQL on a remote server)

2011-10-13 Thread Nick Khamis
ql support, but actually mysql is installed on a different server? Can I download a precompile mysqli anywhere? The PHP version is 5.1.49 as noted earlier. Thanks in Advance, Nick

[PHP] Stuck on undefined function mysql_connect()

2011-10-13 Thread Nick Khamis
* mysqli.max_linksUnlimitedUnlimited mysqli.max_persistentUnlimited Unlimited mysqli.reconnectOffOff However, there is no mysqli.so or mysql.so found anywhere? Please help, I have fallen behind because of this. Nick.

Re: [PHP] Stuck on undefined function mysql_connect()

2011-10-13 Thread Nick Khamis
I was just going to try recompilign with mysql instead of mysqli... I hope this fixes it. In terms of mysql being compiled into the core, does this mean I do not have to add extension=mysqli.so extension_dir=/usr/local/php/ include/php/ext/ Thanks in Advance,

Re: [PHP] Stuck on undefined function mysql_connect()

2011-10-13 Thread Nick Khamis
Correct. Extensions, such as those found in the PECL repository, are added in that manner. Things compiled into the core, such as what you're doing with MySQLi, are automatically loaded regardless, because they're statically-built into the PHP binary itself.

Re: [PHP] Re: Capturing user's IP Address

2005-02-24 Thread Nick Talbott
-Deepak ..But be careful! -If the user is going via a proxy to access your server that will be the IP address of the cache server, not the originating client. - Nick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Undefined Variable Problems...

2005-03-06 Thread Nick Zukin
urned on. Should I worry about any of this? The pages seem to be working fine? Is this going to slow things down? Should I just turn off the logging of such errors, if I can? Thanks for any help. My log files are in the gigabytes with 90% of that over the last month. Nick -- PHP G

RE: [PHP] Re: Undefined Variable Problems...

2005-03-06 Thread Nick Zukin
Sorry, as I said, I just joined and I didn't notice that it's set to reply-to the original sender rather than the list. A bit annoying. Thanks again. Nick -Original Message- From: Jason Barnett [mailto:[EMAIL PROTECTED] Sent: Sunday, March 06, 2005 1:10 PM To: p

[PHP] Searching Multiple Columns, Multiple Tables in MySQL...

2005-03-11 Thread Nick Zukin
Sorry if this is too DB oriented. PHP 4.3, MySQL 3.23 I've got a somewhat complex search of a MySQL database I'm trying to make. (At least it's complex to me.) And I'm wondering if it's better to try to handle it in MySQL or to split it up into multiple processes using PHP. Essentially, I have

RE: [PHP] PHP-NUKE

2005-03-21 Thread Nick Zukin
There is a lot of information like this at nukecops.com, too, btw. You'll want to start here: http://nukecops.com/forum2.html Nick -Original Message- From: Armando Afa [mailto:[EMAIL PROTECTED] Sent: Monday, March 21, 2005 12:19 PM To: php-general@lists.php.net Subject: [PHP] PHP

[PHP] Filemaker Checkbox Data Problem...

2005-03-31 Thread Nick Zukin
Plus I can't discern what they are and in trying to parse them with str_replace I've had no luck searching for \r \n \r\n or anything else. Anyone else had this misfortune? TIA, Nick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Filemaker Checkbox Data Problem...

2005-03-31 Thread Nick Zukin
Just tried a str_replace using chr(29) and it didn't work. Thanks for trying so quickly, though. Nick -Original Message- From: John Nichel [mailto:[EMAIL PROTECTED] Sent: Thursday, March 31, 2005 12:43 PM To: php-general@lists.php.net Subject: Re: [PHP] Filemaker Checkbox Data Pr

RE: [PHP] Filemaker Checkbox Data Problem...

2005-03-31 Thread Nick Zukin
$mystring = str_replace(" ", ", ", $mystring); It breaks the line up, apparently creating a carriage return. Ugh. I'd sure like to find a less hacky way to do it. I've done a lot of googling and haven't found anything yet. Nick -Original Message- Fro

[PHP] Search Agents...

2005-04-28 Thread Nick Zukin
ed ands and ors out the wazoo. Is there something I'm not seeing? Is there a better way? If not, which of these seems like less of a strain on the server? TIA. Hopefully I'm not just being an idiot here. Nick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP and Caching and IMS Headers

2004-05-18 Thread Nick Wilson
thx! -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Simple MySQL/PHP Query

2004-05-20 Thread Nick Wilson
to the very end of each html page, one short peice of text.. not a footer, just an adition to every page. How do I do that? - Do I need to select the body, then add the text to it, then UPDATE it, or can i just appened somthing to what's already there? Many thx! -- Nick W -- PHP Gen

Re: [PHP] Simple MySQL/PHP Query

2004-05-20 Thread Nick Wilson
* and then Stuart declared > Nick Wilson wrote: > >I have a DB that has a field called 'body' -> it holds the body of html > >pages of course... What I need to do, is add to the very end of each > >html page, one short peice of text.. not a footer

Re: [PHP] Simple MySQL/PHP Query

2004-05-20 Thread Nick Wilson
* and then Matt Matijevich declared > [snip] > Do I need to select the body, then add the text to > it, then UPDATE it > [/snip] > > that is what you want to do That's what I figured 2, but check the post above ;-) thanks mate.. -- Nick W -- PHP Gen

Re: [PHP] Simple MySQL/PHP Query

2004-05-20 Thread Nick Wilson
* and then Nick Wilson declared > > >pages of course... What I need to do, is add to the very end of each > > >html page, one short peice of text.. not a footer, just an adition to > > >every page. > > > > UPDATE table SET body = body + "text to

Re: [PHP] Simple MySQL/PHP Query

2004-05-20 Thread Nick Wilson
* and then Nick Wilson declared > > * and then Matt Matijevich declared > > [snip] > > Do I need to select the body, then add the text to > > it, then UPDATE it > > [/snip] > > > > that is what you want to do > > > That's wha

Re: [PHP] Simple MySQL/PHP Query

2004-05-20 Thread Nick Wilson
* and then Tim Traver declared > If you know exactly what you need to append, then you can just do the > update query directly. > > UPDATE tablename > SET body=concat(body,'string to add') Awesome, that did it. Thanks for taking the time to show me dude ;-) --

[PHP] Call JS Function with PHP Header()?

2004-06-03 Thread Nick Wilson
Hi everyone, I am trying to work within someone elses modular system so my flexibility is rather limited. I'm trying to do this: header("Location: javascript:this.print()"); Which of course does not work. Anyone know how I might do it? Many thanks... -- Nick W -- PHP Gener

Re: [PHP] Re: Call JS Function with PHP Header()?

2004-06-03 Thread Nick Wilson
Thanks Torsten, I have managed to do that, but it's in the like this: Right in the middle of the body. It doesnt work LoL! - Seems to me that it should do...? -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Call JS Function with PHP Header()?

2004-06-03 Thread Nick Wilson
* and then Nick Wilson declared > > > Right in the middle of the body. It doesnt work LoL! - Seems to me that > it should do...? Ah... XHTML Strict - Gotta remove the comment tags ;-) Thanks mate.. -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubs

Re: [PHP] Re: Call JS Function with PHP Header()?

2004-06-03 Thread Nick Wilson
> I don't believe you need a semi-colon after this.print within the > javascript script. Cool, thanks Dennis that's great ;-) -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Debugger 4 Linux?

2004-06-03 Thread Nick Wilson
Hi everyone, Can anyone recommend a good debugger for *nix? Many thx! -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Prevent IE6 from blocking cookies

2004-06-05 Thread Nick Wilson
ies enabled: Use JS, if (cookies are enabled) { set the damn coookie } else { use sessions... } -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] UPLOAD scripts refuse to function

2004-06-19 Thread Nick W
On June 18, 2004 10:26 pm, cory wrote: > ok, someone please lend me some advice here. I am trying create a upload > form for my site. > > Sure that sounds easy right? well I have tried at least 10 different php > scripts as well as a handful of cgi. Same resuls with everyone of > them...nothing

Re: [PHP] sceen grab

2004-06-28 Thread Nick W
On June 24, 2004 10:36 am, Matthew Holmen wrote: > I am looking for a way to retrieve data from another website, parse > through it and then display it as I would like to. Basically a screen > grab from say espn.com, then I take the data that is there and form it > to fit on my site. > > The catch

[PHP] [php] error in manual?

2004-07-20 Thread Nick W
On the page http://www.php.net/manual/en/language.oop5.visibility.php the first part reads: The visibility of a member or method can be defined by prefixing the declaration with the keywords: public, protected or private. Public declared items can be allow access to any caller. Protected limit

[PHP] Sr. Software Engineer / PHP developer -Denver opportunities

2008-02-11 Thread Nick Gasparro
regards, Nick Gasparro Managing Partner, REMY Corp. 1637 Wazee Street Denver, CO 80202 303-539-0448 Direct 303-547-7469 Cell <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] <http://www.remycorp.com> www.remycorp.com

Re: [PHP] Fwrite Function

2008-02-16 Thread Nick Stinemates
$NAMEFORMAT . $data[0] . ""; // print the name echo $MESSAGEFORMAT . $data[1]; // print the text } fclose($boardFileHandle); ?> If you have any questions regarding the implementation I suggest the following reading material: http://us3.php.net/manual/en/function.f

Re: [PHP] Session destruction problem

2008-02-17 Thread Nick Stinemates
Adil Drissi wrote: > Hi everybody, > > I need help with sessions. > I have a simple authentification relying only on > sessions (i don't use cookies). After the user submits > his username and password, the script checks if that > corresponds to a record in a mysql table. If this is > the case "$_S

Re: [PHP] Protected ZIP file with password

2008-02-17 Thread Nick Stinemates
the relatively weak encryption provided by standard zipfile utilities.) == Nick Stinemates ([EMAIL PROTECTED]) http://nick.stinemates.org AIM: Nick Stinemates MSN: [EMAIL PROTECTED] Yahoo: [EMAIL PROTECTED] == -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Protected ZIP file with password

2008-02-17 Thread Nick Stinemates
Petrus Bastos wrote: > Hi Nick, > > Sorry, but I forgot to tell you that I can't use this exec neither > system commands because they are disabled for security precautions. So, Do > you have any other ideas on how can I do that? > > Thanks for your help, > Petrus

Re: [PHP] separating strings from extensions

2008-02-17 Thread Nick Stinemates
John Meyer wrote: > Børge Holen wrote: >> On Monday 18 February 2008 00:10:30 John Meyer wrote: >> >>> Daniel Brown wrote: >>> On Feb 17, 2008 5:37 PM, nihilism machine <[EMAIL PROTECTED]> >> wrote: >> > i am using this code to get the extension of a filename: > >>>

Re: [PHP] Protected ZIP file with password

2008-02-17 Thread Nick Stinemates
ge/File_Archive >> >> -- >> Postgresql & php tutorials >> http://www.designmagick.com/ >> >> > > I'm sure you know what you're doing, but maybe you'd be better off letting us know the task / process to better understand wh

Re: [PHP] Protected ZIP file with password

2008-02-18 Thread Nick Stinemates
Richard Lynch wrote: > On Sun, February 17, 2008 1:57 pm, Nick Stinemates wrote: > >> Petrus Bastos wrote: >> >>> Hi Nick, >>> >>> Sorry, but I forgot to tell you that I can't use this exec >>> neither >>> system com

Re: [PHP] Protected ZIP file with password

2008-02-18 Thread Nick Stinemates
o get creative, Petros. You're in a bind, and I assume you need to get this done, so you have the following options (in the order I would do it in..) -> Turn on exec() -> You can use/modify an app I wrote (in python) which accepts UDP packets and executed commands based off of it.

Re: [PHP] Check time in between times

2008-02-18 Thread Nick Stinemates
invent the wheel to a square, just in case they got it wrong. [= -- == Nick Stinemates ([EMAIL PROTECTED]) http://nick.stinemates.org AIM: Nick Stinemates MSN: [EMAIL PROTECTED] Yahoo: [EMAIL PROTECTED] == -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] separating strings from extensions

2008-02-18 Thread Nick Stinemates
orking/looking for the exact type, it's time to use MIME as it is more reliable than something like a filename. http://us2.php.net/manual/en/ref.mime-magic.php Good luck. ====== Nick Stinemates ([EMAIL PROTECTED]) http://nick.stinemates.org AIM: Nick Stinemates MSN: [EMAIL P

Re: [PHP] Protected ZIP file with password

2008-02-18 Thread Nick Stinemates
> > Thanks again and sorry for the inconvenience, > Petrus Bastos. > > On Feb 18, 2008 2:37 PM, Nick Stinemates <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Petrus Bastos wrote: > > Richard, > > > > Unfortunately, I can

Re: [PHP] classes

2008-02-18 Thread Nick Stinemates
e testing... test(); ?> Definitely works. -- == Nick Stinemates ([EMAIL PROTECTED]) http://nick.stinemates.org AIM: Nick Stinemates MSN: [EMAIL PROTECTED] Yahoo: [EMAIL PROTECTED] == -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Protected ZIP file with password

2008-02-18 Thread Nick Stinemates
Petrus Bastos wrote: > I'm testing on FreeBSD. I can use any command through system(), but the zip > command doesn't works! I don't know why. > > > On Feb 18, 2008 4:06 PM, Nick Stinemates <[EMAIL PROTECTED]> wrote: > > >> Petrus Bastos wrote: &

Re: [PHP] classes

2008-02-18 Thread Nick Stinemates
t;; > } > } > ?> > > Outputs the expected. Must be an error, maybe fatal or parse before the > method call or maybe your method does execute you just are expecting > something different? > > -Shawn > > What part of my example was unclear? -- ==

Re: [PHP] classes

2008-02-18 Thread Nick Stinemates
thunderbird for looking like you responded to me. -- == Nick Stinemates ([EMAIL PROTECTED]) http://nick.stinemates.org AIM: Nick Stinemates MSN: [EMAIL PROTECTED] Yahoo: [EMAIL PROTECTED] == -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] More than one values returned?

2008-02-18 Thread Nick Stinemates
> > > HTH > Thats a good example, and a good reason for passing values by Reference instead of by Value. I have found, however, that if I ever need to return /multiple/ values, it's usually because of bad design and/or the lack of proper encapsulation. -- == N

Re: [PHP] More than one values returned?

2008-02-18 Thread Nick Stinemates
Robert Cummings wrote: > On Mon, 2008-02-18 at 18:06 -0800, Nick Stinemates wrote: > >> C.R.Vegelin wrote: >> >>> >> $in = 4; >>> calcpows($in, $pow2, $pow4); >>> echo "in = $in pow2=$pow2 pow4=$pow4"; >>> >>

Re: [PHP] System errno in PHP

2008-02-19 Thread Nick Stinemates
al page for that function - it will tell you how to detect >> errors. >> >> -Stut >> >> -- >> http://stut.net/ >> >> > > http://php.net/fopen -- == Nick Stinemates ([EMAIL PROTECTED]) http://nick.stinemates.org AIM: Nick Stinemat

Re: [PHP] More than one values returned?

2008-02-19 Thread Nick Stinemates
Nathan Rixham wrote: > Robert Cummings wrote: >> On Mon, 2008-02-18 at 21:09 -0600, Larry Garfield wrote: >>> On Monday 18 February 2008, Nick Stinemates wrote: >>> >>>>>> I have found, however, that if I ever need to return /multiple/ >>>>

Re: [PHP] More than one values returned?

2008-02-19 Thread Nick Stinemates
Greg Donald wrote: > On 2/18/08, Nick Stinemates <[EMAIL PROTECTED]> wrote: > >> I have found, however, that if I ever need to return /multiple/ values, >> it's usually because of bad design and/or the lack of proper encapsulation. >> > > Yeah, t

Re: [PHP] More than one values returned?

2008-02-19 Thread Nick Stinemates
Nathan Nobbe wrote: > On Feb 19, 2008 11:52 PM, Greg Donald <[EMAIL PROTECTED]> wrote: > > >> On Feb 19, 2008 9:27 PM, Nick Stinemates <[EMAIL PROTECTED]> wrote: >> >>> Support != good design habits. >>> >> So you pr

Re: [PHP] unsure how to do this any help appreciated

2008-02-19 Thread Nick Stinemates
ille fwrite($fp, $out); //send the headers while (!feof($fp)) { $buff .= fgets($fp, 128); //read the response } fclose($fp); //close the socket if (strstr($buff, "404")) { //analyze. echo "no alerts"; } else { echo "alerts"; } ?&g

Re: [PHP] xpath question

2008-02-19 Thread Nick Stinemates
n use: $result = $xml->xpath('//coordinates'); I have a feeling you'll want to do more parsing than that, thought. In the case of your example, I believe it should be the following: $result = $xml->xpath('Folder/Placemark/LineString/coordinates'); _or_ $

Re: [PHP] More than one values returned?

2008-02-19 Thread Nick Stinemates
Robert Cummings wrote: > On Tue, 2008-02-19 at 21:24 -0800, Nick Stinemates wrote: > >> I said, simply, returning an array of objects was usually an indication >> of poor design. >> > > Please elaborate as to the "why" of it being an indication of

Re: [PHP] More than one values returned?

2008-02-19 Thread Nick Stinemates
Robert Cummings wrote: > On Tue, 2008-02-19 at 21:51 -0800, Nick Stinemates wrote: > >> Robert Cummings wrote: >> >>> On Tue, 2008-02-19 at 21:24 -0800, Nick Stinemates wrote: >>> >>> >>>> I said, simply, returning an array

Re: [PHP] More than one values returned?

2008-02-20 Thread Nick Stinemates
Jim Lucas wrote: > Nick Stinemates wrote: >> Nathan Rixham wrote: >>> Robert Cummings wrote: >>>> On Mon, 2008-02-18 at 21:09 -0600, Larry Garfield wrote: >>>>> On Monday 18 February 2008, Nick Stinemates wrote: >>>>> >>>

Re: [PHP] More than one values returned?

2008-02-20 Thread Nick Stinemates
Nathan Nobbe wrote: > On Mon, Feb 18, 2008 at 9:06 PM, Nick Stinemates <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Thats a good example, and a good reason for passing values by > Reference > instead of by Value. > > I have fo

Re: [PHP] Sending SMS via PHP

2008-02-20 Thread Nick Stinemates
channel for your users to interact with you, and for you to (potentially) respond to them. You're looking for SMPP packages. -- == Nick Stinemates ([EMAIL PROTECTED]) http://nick.stinemates.org AIM: Nick Stinemates MSN: [EMAIL PROTECTED] Yahoo: [EMAIL PROTECTED] == -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] More than one values returned?

2008-02-21 Thread Nick Stinemates
Greg Donald wrote: > On 2/19/08, Nick Stinemates <[EMAIL PROTECTED]> wrote: > >> I said, simply, returning an array of objects was usually an indication >> of poor design. >> > > No it's not. Nearly every MVC framework in existence implements som

[PHP] Hot job opportunity - Sr. Software Developer/Architect

2008-02-28 Thread Nick Gasparro
at if you are interested. Nick Gasparro Managing Partner, REMY Corp. 1637 Wazee Street Denver, CO 80202 303-539-0448 Direct 303-547-7469 Cell [EMAIL PROTECTED] www.remycorp.com

Re: [PHP] PHP console script vs C/C++/C#

2008-04-18 Thread Nick Stinemates
e would you > recommend? Depends on the task, but based on this e-mail I have a feeling you'll encounter the same problem. -- Nick Stinemates ([EMAIL PROTECTED]) http://nick.stinemates.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP5 and the DOM model

2008-04-18 Thread Nick Stinemates
On Thu, Apr 17, 2008 at 10:05:11AM +0200, Michael Preminger wrote: > Hello! > > Seems that PHP gets more and more object oriented, which is good. > > I am now running a course in PHP, using PHP 5, where we are going to > use the *DOM* interface. I am trying to teach them good OO practices, > meanin

Re: [PHP] PHP console script vs C/C++/C#

2008-04-18 Thread Nick Stinemates
anks for the consideration and > looking into those. > > At this point some of you may encourage me to go to C++ so i stop with this > question...but I'd like to hear if you all agree that perhaps it is time to > pull out the 50 lbp lump hammer? Still disagree. I have

Re: [PHP] need "pop-up" in progress alert

2008-04-18 Thread Nick Stinemates
quite a few questions my self.. You can't do a > progress bar in PHP since by the time it gets to the browser, PHP is done > doing what it does. This is actually false, at least on my system(s). Try this out: -- Nick Stinemates ([EMAIL PROTECTED]) http://nick.stinemates.org --

Re: [PHP] PHP5 and the DOM model

2008-04-18 Thread Nick Stinemates
On Fri, Apr 18, 2008 at 10:25:29AM -0600, Nathan Nobbe wrote: > On Thu, Apr 17, 2008 at 5:43 PM, Nick Stinemates <[EMAIL PROTECTED]> > wrote: > > > On Thu, Apr 17, 2008 at 10:05:11AM +0200, Michael Preminger wrote: > > > Hello! > > > > > > Seems th

Re: [PHP] PHP console script vs C/C++/C#

2008-04-18 Thread Nick Stinemates
On Fri, Apr 18, 2008 at 09:58:14AM -0600, Nathan Nobbe wrote: > On Thu, Apr 17, 2008 at 5:46 PM, Nick Stinemates <[EMAIL PROTECTED]> > wrote: > > > > If I wrote the console application in a c language (and compiled) would > > one > > > expect to see any i

Re: [PHP] need "pop-up" in progress alert

2008-04-18 Thread Nick Stinemates
h the event processing > end loop > } > > the other, probably better option would be to have a progress area, that > was/is a jscript/ajax based, that talked/polled the server to determine the > overall status of the "action" as it's being performed. > > w

Re: [PHP] PHP5 and the DOM model

2008-04-18 Thread Nick Stinemates
s/method, > what data is actually allowed to be injected into that variable. Whereas > the second example would allow you to stuff any type of data into that > class variable. That might not be a good thing. > That's a relatively narrow minded response to my point, since I gave

[PHP] Denver PHP opportunity - Senior Software Engineers

2008-04-21 Thread Nick Gasparro
otype, Scriptaculous, Moo * OOP, SQL, Linux, HTML Nick Gasparro Managing Partner, REMY Corp. 1637 Wazee Street Denver, CO 80202 303-539-0448 Direct 303-547-7469 Cell [EMAIL PROTECTED] www.remycorp.com <http://www.remycorp.com/> Nick Gasparro Managing Partner, REMY Corp. Denve

RE: [PHP] Denver PHP opportunity - Senior Software Engineers

2008-04-21 Thread Nick Gasparro
have some interest and I would be happy to set up a time to talk. Best, Nick Gasparro Managing Partner, REMY Corp. Denver, CO 80202 303-539-0448 Direct 303-547-7469 Cell [EMAIL PROTECTED] www.remycorp.com   Come visit our booth!!! Web 2.0 Expo San Francisco 2008 http://www.web2expo.com/sf San

Re: [PHP] Re: php framework vs just php?

2008-04-25 Thread Nick Stinemates
'Can you just add XXX' :( > > So they actually ask for a porn site? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > :D lol -- Nick Stinemates ([EMAIL PROTECTED]) http://nick.stinemates.org -- PH

Re: [PHP] the most amazing php code i have ever seen so far

2008-04-25 Thread Nick Stinemates
ething else! > } > } > } > > > Why is this useful? Because you can add functionality to your save > page without touching it. This is very powerful when you have a > shared code base and need to add some parts to it without breaking > other sites. Since it is ex

Re: [PHP] Class Static variables in double quoted string or heredoc

2008-04-25 Thread Nick Stinemates
#x27;t imagine working with someones code where they liberally use these types of lazy things. I like structured, ordered code, and, somehow, using something like this technique doesn't seem structured or ordered. -- Nick Stinemates ([EMAIL PROTECTED]) http://nick.stinemates.org -

Re: [PHP] Class Static variables in double quoted string or heredoc

2008-04-25 Thread Nick Stinemates
On Fri, Apr 25, 2008 at 11:29:05AM -0600, Nathan Nobbe wrote: > here we are back at the classic syntactic sugar argument. at least weve > moved past abstract classes and interfaces ! for now :) -- Nick Stinemates ([EMAIL PROTECTED]) http://nick.stinemates.org -- PHP General M

[PHP] Sr. PHP Engineer job opportunity / Denver

2008-06-05 Thread Nick Gasparro
. Software Development Experience with the Following: * Linux, Apache, PHP 4, PHP 5, MySQL * Object-oriented design and distributed systems * Open source development tools, languages and application servers. * Competent with JavaScript, Prototype, Scriptaculous, Moo Best, Nick

[PHP] What does "<<<" mean?

2007-04-30 Thread Nick Gorbikoff
lt;<< Regards, -- Nick __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __

[PHP] mhash() without mhash library?

2006-06-28 Thread Nick Wilson
_encode ( $hmac ); return urlencode ( $encoded_hmac ); } any thoughts? -- Nick Wilson http://performancing.com/user/1 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mhash() without mhash library?

2006-06-28 Thread Nick Wilson
* and then Jochem Maas declared > Nick Wilson wrote: > > hi all, > > > > can anyone tell me if it might be possible to do an mhash() without > > actually having the mhash library installed? for various reasons it's > > very impracticle to have a

[PHP] When is a global not a global?

2006-07-12 Thread Nick Wilson
ion foobar() { global $foo; print(" -- " . $foo); exit; } foobar(); It prints *nothing*. Does anyone have an idea as to what might stop this from functioning as expected? -- Nick Wilson http://performancing.com/user/1 -- PHP General Mailing List (htt

Re: [PHP] When is a global not a global?

2006-07-13 Thread Nick Wilson
* and then Robert Cummings declared > On Wed, 2006-07-12 at 18:52, Nick Wilson wrote: > > hi all, > > > > After upgrading a CMS, im having a problem with global variables not > > showing up anymore -- configs and things could have changed, but search > > as

[PHP] moving file from one server to another

2006-09-30 Thread Nick Wilson
kind of cgi capability). I was considering using exec() and scp to do this, but thought i'd ask and see if anyone had any better suggestions? many thanks -- Nick Wilson http://performancing.com/user/1 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph

Re: [PHP] moving file from one server to another

2006-09-30 Thread Nick Wilson
* and then Google Kreme declared > On 30 Sep 2006, at 03:29 , Nick Wilson wrote: > >I need to let users upload to the regular LAMP box, but then copy the > >image over to the custom image server (which does not have php or any > >kind of cgi capability). > > >

[PHP] exec returns no output?

2006-09-30 Thread Nick Wilson
r/', $argh); print_r($argh); I can only surmise there is some setting todo with ssh/scp that im unaware of? any ideas welcomed, thanks! -- Nick Wilson http://performancing.com/user/1 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] moving file from one server to another

2006-09-30 Thread Nick Wilson
ure on it is all, whereas simply scp/sftp'ing files into the image server dir is about as simple as it gets right? -- Nick Wilson http://performancing.com/user/1 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] exec returns no output?

2006-09-30 Thread Nick Wilson
* and then Ray Hauge declared > On Saturday 30 September 2006 7:22 am, Nick Wilson wrote: > > hi all, > > > > i've searched and racked my brains, checked config files and all sorts > > but cannot work out why the following command would give me an empty >

Re: [PHP] Re: exec returns no output?

2006-09-30 Thread Nick Wilson
* and then Colin Guthrie declared > Nick Wilson wrote: > >> Do you use generated keys without a password for logging in? Otherwise > >> exec() > >> is just going to sit there while the scp command waits for a password. > > > > Tha'ts exact

Re: [PHP] Re: exec returns no output?

2006-09-30 Thread Nick Wilson
* and then Colin Guthrie declared > Nick Wilson wrote: > > Right, im with you. The keyfile is mine though, and i know i can ssh > > from this box to that without any problem. > > > > I've made a test script for htis and it's returning some very we

Re: [PHP] Re: exec returns no output?

2006-09-30 Thread Nick Wilson
* and then Colin Guthrie declared > Nick Wilson wrote: > > I think you're on the right track Col. I did a whole bunch more > > searching and the one thing I kept hearing was that no matter what you > > try, you just cant get the webserver to exec the script as anot

Re: [PHP] Re: exec returns no output?

2006-09-30 Thread Nick Wilson
* and then Colin Guthrie declared > /usr/bin/transfer_image.sh: > #!/bin/bash > > if [ -z "$1" ]; then > echo "No input file." > exit 1 > fi > scp "$1" [EMAIL PROTECTED]:/var/www/images/ > > > And then in apache: > exec

<    2   3   4   5   6   7   8   >