[PHP] suhosin and 5.4 onwards

2013-08-03 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

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

Re: [PHP] Random

2013-05-24 Thread Nick Pratley
. 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] 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

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;

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

[PHP] Introduction ... !

2013-03-01 Thread Nick Whiting
Hello PHP'ers! Just thought I would introduce myself to the mailing list since I've worked with PHP for almost 10 years now and yet haven't really been community active ... I've developed quite a few open-source projects over the years that I hope someone here will find as useful as I have ...

Re: [PHP] Holding datetimes in a DB.

2013-03-01 Thread Nick Whiting
On Fri, Mar 1, 2013 at 7:04 PM, Sebastian Krebs krebs@gmail.com wrote: 2013/3/2 tamouse mailing lists tamouse.li...@gmail.com On Fri, Mar 1, 2013 at 11:53 AM, Matijn Woudt tijn...@gmail.com wrote: On Fri, Mar 1, 2013 at 11:49 AM, Richard Quadling rquadl...@gmail.com wrote: Hi.

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 danbr...@php.net wrote: On Fri, Mar 1, 2013 at 12:54 PM, Jim Giner jim.gi...@albanyhandball.com wrote: What gives you such optimism? I recently saw a list

Re: [PHP] database hell

2012-07-15 Thread Nick Edwards
On 7/12/12, Ashley Sheridan a...@ashleysheridan.co.uk wrote: ma...@behnke.biz ma...@behnke.biz wrote: Nick Edwards nick.z.edwa...@gmail.com hat am 12. Juli 2012 um 14:00 geschrieben: On 7/12/12, Gibbs li...@danielgibbs.net wrote: mysql_query(DELETE from userprefs where clientr='$User

[PHP] database hell

2012-07-12 Thread Nick Edwards
Hi We have a program that manages users, throughout all database calls created as: $connect = mysql_connect($db_host--other variables); mysql_query(Delete from clients where id=$User); All this works good, but, we need, in the delete function to delete from another database

Re: [PHP] database hell

2012-07-12 Thread Nick Edwards
On 7/12/12, Gibbs li...@danielgibbs.net wrote: On 12/07/12 12:29, Nick Edwards wrote: Hi We have a program that manages users, throughout all database calls created as: $connect = mysql_connect($db_host--other variables); mysql_query(Delete from clients where id=$User); All this works

Re: [PHP] database hell

2012-07-12 Thread Nick Edwards
On 7/12/12, Adam Nicholls adam.nicho...@hl.co.uk wrote: -Original Message- From: Nick Edwards [mailto:nick.z.edwa...@gmail.com] Sent: 12 July 2012 12:30 To: php-general@lists.php.net Subject: [PHP] database hell Hi We have a program that manages users, throughout all database

Re: [PHP] database hell

2012-07-12 Thread Nick Edwards
On 7/12/12, Gibbs li...@danielgibbs.net wrote: $connmy=mysql_connect(host,user,pass, TRUE); http://php.net/manual/en/function.mysql-connect.php Thanks, will give that a shot I forgot to add your queries will need the new link too. So mysql_query(DELETE from userprefs where

Re: [PHP] Destructor not called when extending SimpleXMLElement

2012-07-03 Thread Nick Chalk
, and it looks like a workable solution. Thanks for your help! Nick. -- Nick Chalk. Loadbalancer.org Ltd. Phone: +44 (0)870 443 8779 http://www.loadbalancer.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Destructor not called when extending SimpleXMLElement

2012-07-02 Thread Nick Chalk
destructor is not called. The XMLConfig2 class, which does not use inheritance, does have its destructor called. The test platform is CentOS 6.2, with PHP version 5.3.3. What am I missing? Thanks for your help. Nick. -- Nick Chalk. Loadbalancer.org Ltd. Phone: +44 (0)870 443 8779 http

[PHP] Compile PHP with MySQL support

2011-10-13 Thread Nick Khamis
, 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
, 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] 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

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 stu...@3ft9.com wrote: On Thursday, 17 March 2011 at 15:15, Nathan Nobbe wrote: On Wed, Mar

[PHP] Joomla FrameWork ::

2010-05-02 Thread Nick Balestra
manage it? Cheers, Nick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Joomla FrameWork ::

2010-05-02 Thread Nick Balestra
I think si related to class and methods, JRequest Class have a method called setVar, right? if this is correct sorry for posting the question, i just haven't started yet classes and methods...;-) On May 2, 2010, at 4:41 PM, Nick Balestra wrote: I am trying to understand how the joomla

Re: [PHP] Joomla FrameWork ::

2010-05-02 Thread Nick Balestra
Thank a lot for pointing me to this, as you wrote u are right, haven't started yet with oo so of course i wasn't able to understand what was this all about. thanks again Nick On May 2, 2010, at 4:52 PM, viraj wrote: hi nick, :: is what we call 'scope resolution operator', $this is your

Re: [PHP] multi dimensional array question

2010-05-01 Thread Nick Balestra
Thanks! I'll agree with you abotu ur points, i just started php few days ago..so i am in the first phase of learnign it...and this list is so gr8! thanks evrybody cheers, Nick On May 1, 2010, at 6:11 PM, Programming Guides wrote: On Fri, Apr 30, 2010 at 7:33 PM, Nick Balestra n

[PHP] multi dimensional array question

2010-04-30 Thread Nick Balestra
hello everybody here is my array(s) $us_census = array('NY' = array('New York' = 8008278), 'CA' = array('Los Angeles' = 3694820, 'San Diego' = 1223400), 'IL' =

Re: [PHP] multi dimensional array question

2010-04-30 Thread Nick Balestra
thanks Piero! i was trying to solve an excercise on learning php5 (O'reilyl) book. I am happy abotut his solution with the array_sum funtion you suggested, and my multidimensional array make much more sense to mee then they suggested solution that also much more line of code comapred...

[PHP] escape \n

2010-04-23 Thread Nick Balestra
this. Cheers, Nick

Re: [PHP] escape \n

2010-04-23 Thread Nick Balestra
Thanks everybody! On Apr 23, 2010, at 10:05 AM, Ashley Sheridan wrote: On Fri, 2010-04-23 at 09:51 +0200, Nick Balestra wrote: Hello guys i am trying to figure out what is worng with thoose special escaped character, like \n \t \r ... As i cannot make them working. The browser doesn't

Re: [PHP] replying to list

2010-04-21 Thread Nick Balestra
and replace to with the cc. I think the best practice is to take this 5 second to take care of this in order to avoid duplicate message to others. cheers Nick On Apr 21, 2010, at 12:45 PM, Karl DeSaulniers wrote: Exactly. :) Karl On Apr 21, 2010, at 5:38 AM, David McGlone wrote: Maybe it's

[PHP] Hello everybody - php newbie from switzerland

2010-04-20 Thread Nick Balestra
Hello everybody, I am NIck, from Locarno (southern switzerland) i am getting into php development for my own start-up company, maybe there are other people near me that would be nice to know for networking and alike. I will post here all my questions if i don't find any answer already

RE: [PHP] Header function

2010-02-27 Thread Nick allan
'); header(Content-Disposition: attachment; filename=PurchaseReq.doc); -Original Message- From: Richard Quadling [mailto:rquadl...@googlemail.com] Sent: Saturday, 27 February 2010 8:45 PM To: Nick allan Cc: php-general@lists.php.net Subject: Re: [PHP] Header function On 27 February 2010 04:32

[PHP] Header function

2010-02-26 Thread Nick allan
Preq.php is the calling php file. It has worked before so I'm not sure what I've changed to have it stop working. Thanks in advance for any suggestions. Regards Nick

[PHP] header function query

2010-02-25 Thread Nick allan
using google. Thanks in advance for any suggestions. Regards Nick

[PHP] PHP String convention

2009-10-28 Thread Nick Cooper
engine but not sure what the first method is called so don't know where to begin my search. Thanks for any help. Nick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP String convention

2009-10-28 Thread Nick Cooper
2009/10/28 Jim Lucas: Nick Cooper wrote: Hi, I was just wondering what the difference/advantage of these two methods of writing a string are: 1) $string = foo{$bar}; 2) $string = 'foo'.$bar; I always use method 2 but have been noticing method 1 more and more in source code

Re: [PHP] Re: PHP 5.3.0 Released!

2009-07-02 Thread Nick Cooper
Does anyone have any further information on the PECL Binaries for 5.3, will they be released? 2009/6/30 pan p...@syix.com Lukas Kahwe Smith wrote: Hello! The PHP Development Team would like to announce the immediate release of PHP 5.3.0. This release is a major improvement in the 5.X

Re: [PHP] $_GET verses $_POST

2009-04-14 Thread Nick Cooper
$_REQUEST is not any less secure then $_POST/$_GET/$_COOKIE, they all contain raw user data. The way $_REQUEST is being used in this example is not less secure then using $_GET. It does open up an exploit but this is not because $_REQUEST is less secure. The same exploit exists with $_GET, I

Re: [PHP] PHP bandwidth control

2009-04-07 Thread Nick Cooper
Sorry to side track the issue, but when did this happen to you on GoDaddy? I have never experienced this problem. I have been using them for two years and I often leave domains in the checkout and come back sometimes days later and they're still $7.95. 2009/4/7 Michael Kubler mdk...@gmail.com

Re: [PHP] Tripple The Fun

2009-03-24 Thread Nick Cooper
?php echo 'won\'t it just end up as lots of echos and prints?'; ? 2009/3/24 abdulazeez alugo defati...@hotmail.com Hello guys, The list seems boring to me today so I've come up with an idea (you can call it a challenge). What if we all wrote to this thread in PHP codes. on't get the gist

Re: [PHP] Tripple The Fun

2009-03-24 Thread Nick Cooper
?php $var1 = 'defghi/ghijkl/qurstu/efghij/opqurs/stuvwx/defghi/tuvwxy/abcd/opqurs/abcde/stuvwx';$e = explode('/',$var1);for($i=0;$icount($e);$i++) {if ($i%2) {echo $e[$i]{0};} else {echo $e[$i]{(strlen($e[$i])-1)};}if (in_array($i,array(0,5,7))) {echo ' ';}} ? 2009/3/24 Marc li...@bithub.net

Re: [PHP] A couple of questions

2009-03-16 Thread Nick Cooper
. Check for short_open_tag and turn it On: short_open_tag = On Or go through your code and replace ? with ?php The second option is best. Nick

[PHP] spl_object_hash not hashing unqiue objects BUG

2009-02-12 Thread Nick Cooper
I am having a problem with spl_object_hash() creating non unique hashes. I understand with MD5 it is possible to have the same hash for different strings but this doesn't seem like that problem. I have created a simple test below, should I report this as a bug or am I doing something wrong. PHP

Re: [PHP] Re: spl_object_hash not hashing unqiue objects BUG

2009-02-12 Thread Nick Cooper
Maas joc...@iamjochem.com: Colin Guthrie schreef: 'Twas brillig, and Jochem Maas at 12/02/09 12:47 did gyre and gimble: Colin Guthrie schreef: 'Twas brillig, and Nick Cooper at 12/02/09 11:38 did gyre and gimble: Outputs: a1: 09d264fcececf51c822c9382b40e3edf a2

[PHP] Senior Software Engineer / PHP Developer Job opportunity in Boulder, CO

2009-01-14 Thread Nick Gasparro
, Prototype, Scriptaculous, Moo * Previous experience with version control systems, esp. SVN * Building distributed systems and/or large scale database applications. If you are interested please send resume to: n...@remycorp.com Nick Gasparro Managing Partner, REMY Corp. Denver, CO 80202 303-539-0448

[PHP] Job opportunity in Denver, CO - Jr. PHP developer needed

2008-12-05 Thread Nick Gasparro
to multi-task and project manage well -- Nick Gasparro Managing Partner, REMY Corp. Denver, CO 80202 303-539-0448 Direct 303-547-7469 Cell [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] www.remycorp.comhttp://www.remycorp.com/ Click herehttp://www.linkedin.com/inviteFromProfile?firstName=Nickfrom

Re: [PHP] Launching multiple PHP threads via Scheduled Tasks

2008-10-27 Thread Nick Stinemates
On Mon, Oct 27, 2008 at 11:44:50AM -0700, Brian Dunning wrote: I've got a script that downloads files queued from a server, and it's launched by a Windows Scheduled Task that launches every minute. My understanding of the default behavior is that if the task is still running a minute

Re: [PHP] Interactive canvas example

2008-10-26 Thread Nick Stinemates
On Sun, Oct 26, 2008 at 10:57:19AM +, Richard Heyes wrote: Hi, Had to show this off - I'm so proud. READ: full of myself... I've tried it in Firefox 3, Opera 9.6, Chrome and Safari, all on Windows. http://dev.rgraph.org/examples/interactive.html -- Richard Heyes HTML5 Graphing

[PHP] Job Opportunity - User Experience Designer / Boulder, CO

2008-08-05 Thread Nick Gasparro
tool * Advanced to Expert Photoshop / Illustrator CS3 skills * Extremely comfortable in a mixed computing environments (Mac, Windows, Linux) Please reply back with your resume and contact information if you are interested in the opportunity. Best, Nick Gasparro Managing Partner, REMY Corp. Denver

[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

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

2008-04-25 Thread Nick Stinemates
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

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

2008-04-25 Thread Nick Stinemates
on this functionality always being there rather than the internals of your app changing and creating nightmares. That is a beatiful example of the observer pattern. -- Nick Stinemates ([EMAIL PROTECTED]) http://nick.stinemates.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe

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

2008-04-25 Thread Nick Stinemates
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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 Mailing

[PHP] Denver PHP opportunity - Senior Software Engineers

2008-04-21 Thread Nick Gasparro
, 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. Denver, CO 80202

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] PHP console script vs C/C++/C#

2008-04-18 Thread Nick Stinemates
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, meaning that

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

2008-04-18 Thread Nick Stinemates
, Dan K -- 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] need pop-up in progress alert

2008-04-18 Thread Nick Stinemates
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: ?php while (true) { print x; } ? -- Nick Stinemates ([EMAIL PROTECTED]) http://nick.stinemates.org -- PHP General

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 that PHP gets more and more object oriented, which is good. I

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 improvements in performance? If so, how much

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

2008-04-18 Thread Nick Stinemates
, that talked/polled the server to determine the overall status of the action as it's being performed. what did a google search on php/ajax progress bar return? peace Or the name of the file, kind of like a log. -- Nick Stinemates ([EMAIL PROTECTED]) http://nick.stinemates.org -- PHP

Re: [PHP] PHP5 and the DOM model

2008-04-18 Thread Nick Stinemates
example of exactly what I meant, followed by a great article which furthered my point. The general rule of encapsulation is: Don't ask an object for data, ask the object to work with the data. -- Nick Stinemates ([EMAIL PROTECTED]) http://nick.stinemates.org -- PHP General Mailing List (http

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

2008-02-28 Thread Nick Gasparro
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] 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 some sort of ActiveRecord finder that does exactly

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: I have found, however, that if I ever need to return /multiple/ values, it's usually because

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 found, however, that if I ever need to return /multiple

Re: [PHP] Sending SMS via PHP

2008-02-20 Thread Nick Stinemates
and MBlox. These cost a pretty penny, though, and may not be what you're after. The services give you a private 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

Re: [PHP] System errno in PHP

2008-02-19 Thread Nick Stinemates
-- == 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-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/ values, it's usually because of bad design and/or the lack of proper

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, that's probably why most popular scripting languages

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 presume to have better design habits than the many language designers who implemented

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

2008-02-19 Thread Nick Stinemates
)) { $buff .= fgets($fp, 128); //read the response } fclose($fp); //close the socket if (strstr($buff, 404)) { //analyze. echo no alerts; } else { echo alerts; } ? -- == Nick Stinemates ([EMAIL PROTECTED]) http://nick.stinemates.org AIM: Nick

Re: [PHP] xpath question

2008-02-19 Thread Nick Stinemates
. In the case of your example, I believe it should be the following: $result = $xml-xpath('Folder/Placemark/LineString/coordinates'); _or_ $result = $xml-xpath('Document/Folder/Placemark/LineString/coordinates'); I can never remember. One of those 2 will work. -- == Nick Stinemates

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 poor design. Cheers, Rob. I already did... I

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 of objects was usually an indication of poor design

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 commands because they are disabled for security precautions. So, Do you have any other ideas

Re: [PHP] Protected ZIP file with password

2008-02-18 Thread Nick Stinemates
(), this is the route I would go. - Use some form of file/directory montoring + zip. - Pass the request on to an environment that has zip() -- == Nick Stinemates ([EMAIL PROTECTED]) http://nick.stinemates.org AIM: Nick Stinemates MSN: [EMAIL PROTECTED] Yahoo: [EMAIL PROTECTED

Re: [PHP] Check time in between times

2008-02-18 Thread Nick Stinemates
re-inventing the wheel and re-writing a billion lines of code that the database geeks already wrote, tested, and QA-ed. Once you fix this, your question becomes a non-question... I am going to reinvent the wheel to a square, just in case they got it wrong. [= -- == Nick

Re: [PHP] separating strings from extensions

2008-02-18 Thread Nick Stinemates
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 PROTECTED] Yahoo: [EMAIL PROTECTED] == -- PHP General Mailing List (http://www.php.net

Re: [PHP] Protected ZIP file with password

2008-02-18 Thread Nick Stinemates
, Petrus Bastos. On Feb 18, 2008 2:37 PM, Nick Stinemates [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Petrus Bastos wrote: Richard, Unfortunately, I can't get out of the zip password rut because the destination system read only this file format. I can't

Re: [PHP] classes

2008-02-18 Thread Nick Stinemates
; } } $a = new a(); ? html body testing... br ?php $a-test(); ? /body /html Definitely works. -- == Nick Stinemates ([EMAIL PROTECTED]) http://nick.stinemates.org AIM: Nick Stinemates MSN: [EMAIL PROTECTED] Yahoo: [EMAIL PROTECTED] == -- PHP General Mailing List

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: Hey folks, I got access to exec method for test

Re: [PHP] classes

2008-02-18 Thread Nick Stinemates
? -Shawn What part of my example was unclear? -- == 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

Re: [PHP] classes

2008-02-18 Thread Nick Stinemates
. -- == 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
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. -- == Nick Stinemates ([EMAIL PROTECTED]) http://nick.stinemates.org AIM: Nick Stinemates MSN

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: ?php $in = 4; calcpows($in, $pow2, $pow4); echo in = $in pow2=$pow2 pow4=$pow4; // define return fields as $... function calcpows($in, $pow2, $pow4) { $pow2

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

Re: [PHP] Protected ZIP file with password

2008-02-17 Thread Nick Stinemates
the zip tool provided by (almost every) Linux distribution. ?php function zip($directory, $password, $saveAs) { return exec(zip -r $saveAs -P $password $directory; } print zip(/home/nick, mypass, /tmp/homebackup.zip); ? Please note: the -P flag can be monitored on the local system so

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 Bastos. On Feb 17, 2008 5:15 AM

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: $extension =

Re: [PHP] Protected ZIP file with password

2008-02-17 Thread Nick Stinemates
to accomplish. From there, since it's obvious that PHP does not have built in password functions, and that exec() is out of the question; maybe we can figure out how to move onward. -- == Nick Stinemates ([EMAIL PROTECTED]) http://nick.stinemates.org AIM: Nick Stinemates MSN: [EMAIL

Re: [PHP] Fwrite Function

2008-02-16 Thread Nick Stinemates
of, if you're trying to color the text on output, I would do it like this: ___ ?php $name = nick; //added for testing $talk = a message; //added for testing $NAMEFORMAT = 'font color=red'; $MESSAGEFORMAT = 'font color=blue'; $boardFile

[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

[PHP] What does mean?

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

Re: [PHP] Script to generate a site thumbnails

2007-01-21 Thread Nick Stinemates
An example: ?php $imageMagick = convert; //name of the application using to convert the files $opts = -thumbnail 800x600 ; $fileName = my.jpg; exec($imageMagick $opts $fileName thumb.$fileName); ? Hope it helps! -- == Nick Stinemates ([EMAIL PROTECTED

Re: [PHP] Month display calendar

2007-01-19 Thread Nick Stinemates
/) To unsubscribe, visit: http://www.php.net/unsub.php -- You can take a look at: http://projects.stinemates.org/ And click on the 'View Source' link. == Nick Stinemates ([EMAIL PROTECTED]) http://nick.stinemates.org AIM: Nick Stinemates MSN: [EMAIL PROTECTED] Yahoo: [EMAIL PROTECTED

  1   2   3   4   5   6   7   8   >