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
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
.
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
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
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;
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
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 ...
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.
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
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
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
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
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
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
, 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
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
, 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
, 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
* 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.
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,
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.
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
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
manage
it?
Cheers, Nick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
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
hello everybody here is my array(s)
$us_census = array('NY' = array('New York' = 8008278),
'CA' = array('Los Angeles' = 3694820,
'San Diego' =
1223400),
'IL' =
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...
this.
Cheers, Nick
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
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
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
');
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
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
using google.
Thanks in advance for any suggestions.
Regards Nick
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
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
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
$_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
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
?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
?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
.
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
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
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
, 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
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
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
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
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
.
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
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
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
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
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
, 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
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
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
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
,
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
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
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
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
, 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
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
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
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
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
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
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
--
==
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
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
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
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
)) {
$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
.
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
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
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
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
(), 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-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
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
,
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
;
}
}
$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
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
?
-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
.
--
==
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
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
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
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
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
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
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 =
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
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
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
,
--
Nick
__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__
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
/)
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 - 100 of 743 matches
Mail list logo