On Tuesday 30 October 2007, Per Jessen wrote:
> Larry Garfield wrote:
> > Here's a bigger question: When will people stop using mysql_ as their
> > example API, when PDO is more standard in PHP 5 and more secure, and
> > mysqli is available as well?
>
> As always, t
how to turn serialization off without dabbling with the
> configuration file?
>
> Chrs,
> Dav
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
"If nature has made any one thing less susceptible than all others of
exclusive property, it
u don't want to be working in HTML.
> I want to remote debug like Zend Studio.
That is easily my #1 favorite feature. :-) The only worthwhile
context-sensitive code-assistance I've yet to find would be a close second.
But I highly doubt you'll find a first-class PHP code IDE
t all nicely yet, since I have to manually do it
> inside of the WP editor. I thought about pulling it into a separate
> page, or even making an interactive page where people can submit their
> findings and code and vote based on their own knowledge or experience.
--
Larry Garfield
the choice I made 4 years ago is still the right one. A
> > well-maintained list of free and commercial PHP IDE's on the php.net site
> > would be a great idea, especially if it also had links to reviews, and
> > also included the mix-n-match IDE's I see s
ith SimpleXML or the DOM API functions just as you would any
other XML file. It's been a while since I worked with SVG, but I believe you
can resize an image just by changing an attribute or two. There's no need
for SVG support per se, as SimpleXML provides all you need anyway. That
On Wednesday 21 November 2007, Dave M G wrote:
> Larry,
>
> Thank you for responding.
>
> > I think you missed the point. SVG is just text. ... There's no need
> > for SVG support per se, as SimpleXML provides all you need anyway.
>
> I did miss the poi
understand, but will not
balloon the memory usage the way the former code will. In practice, though,
a modular, pluggable system (most of what I use) is going to end up having
conditional includes no matter what you do so I generally don't pay much
attention to that type of optim
$allowed[]='form';
> $allowed[]='R_a';
> $allowed[]='R_b';
>
> $sent = $array_keys($_POST);
> if($allowed == $sent) {
> ... do some checking ...
> } else {
> echo "Expected input fields do not match!";
> }
>
want and only pick hosts that will support you.
Even better, if you are able to do so, write your own thin abstraction layer
that uses PDO or mysqli internally. Then you can switch from one to the
other more easily if you find you need to, and you can also add whatever
syntactic conven
like it's going
to change, and you have to edit that file anyway to install the app. It's
part of the database configuration. Most of the open source systems I've
seen do that in some form or another. And if you don't know what driver you
have on your system, it's n
thin wrapper API and then use mysqli
or PDO under the hood. Then if necessary you can switch from one to another
with only minimal impact on your application code.
Whether the API is OO or function-oriented doesn't make a huge difference.
Prepared statements do.
--Larry Garfield
On Su
ecific encoding. otherwise
> i seem forced to do something like this in the beginning of my php
> script:
>
> if(ereg("utf-8", $_SERVER["CONTENT_TYPE"])) {
> foreach($_POST as $key => $value)
> $_POST["key"] = convert_utf8_to_iso8859($value);
>
t: String, Numeric, Array, etc
>
> and call it Java ;)
More like C#. :-) Java still has primitives.
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
"If nature has made any one thing less susceptible than all others of
exclusive property, it i
ray($result, MYSQL_ASSOC);
>
>
> // Just for testing
> print mysql_num_rows($result);
>
>
>
> Thanks,
> Dan
>
>
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
--
Lar
.
> If you want something that esoteric, go use Lisp. :-)
You are aware that of the "modern" web languages (PHP, Javascript, Python,
Ruby, etc.) PHP is the only one that doesn't have at least partial closures
and dynamic functions, right?
--
Larry Garfield AIM
user_func_array(), however, lets you pass in
an arbitrary number of parameters while the other two do not.
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
"If nature has made any one thing less susceptible than all others of
exclusive property,
but default" extension that only a suicidal web host
would disable.)
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
"If nature has made any one thing less susceptible than all others of
exclusive property, it is the action of the thinking pow
n point a domain name (www.example1.org) to the server where
> www.example.org hosted,
> and when user visit www.example1.org, it execute the same scripts as
> www.example.org with
> with different themes and website configuration.
>
> anyone have the idea?
>
> thanks
--
If you're using an object-centric view
of the world that may just happen to tie to an SQL database for its data
store, then it's an ORM.
Both are useful in different circumstances, but whether or not there is code
generation has nothing to do with whether it's AR or ORM.
--
La
um_rows($this->link);
> }
>
> // MySQL Affected Rows
> public function select_id() {
> return mysql_insert_id($this->link);
> }
>
> // Disconnect from MySQL Server
> public function disconnect() {
> mysql_close
On Thursday 14 February 2008, Richard Lynch wrote:
> On Sun, February 10, 2008 9:31 am, Jochem Maas wrote:
> > Larry Garfield schreef:
> >> http://www.php.net/pdo
> >>
> >> All the cool kids are doing it.
> >
> > not true - some of them use firebird
ion foo() {
return array(1, 2);
}
list($a, $b) = foo();
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
"If nature has made any one thing less susceptible than all others of
exclusive property, it is the action of the thinking power called an
sers() would return a Group object...
>
> Not rocket science ;)
I wouldn't consider an array of user objects to be "multiple things". I
consider it a single aggregate thing, and return arrays all the time. That's
conceptually different from wanting two separate return v
>
> Those, Christoph, are some of the things incompetent sysops do
> and on a surprisingly frequent basis.
I see, so because I have garfieldtech.com and www.garfieldtech.com pointing to
two entirely different servers in different states because I want them to do
different th
Larry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
It is not that I want to generate the document in UTF-8. I just need to
specify the correct encoding. My assumption that it was UTF-8 based on
what my command line settings are is obviously incorrect. How can I
tell what php is encoding in by default?
Larry
On Fri, 2008-02-22 at 17:20 +0100
d the same, and if
> there was any success or stumbling blocks.
>
> Thanks.
>
> --
>
>
> Daniel P. Brown
> Senior Unix Geek
>
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
"If nature has made any one thing less
database behind it choose to use closed source?
>
> If you've got a competitive edge, you don't want to hand it to your
> competition free of charge. It's as easy as that.
>
>
> /Per Jessen, Zürich
My competitive edge is my own skill and knowledge a
ize a give problem as being similar
to another, so the solution is probably similar. It also can alert you to
common pitfalls and common ways around them.
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
"If nature has made any one thing less sus
bring the whole server to its knees.)
--Larry Garfield
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Monday 25 February 2008, Daniel Brown wrote:
> On Mon, Feb 25, 2008 at 3:07 PM, Larry Garfield <[EMAIL PROTECTED]>
wrote:
> > Hi folks. I've an odd issue.
>
> Only fair. You're an odd bird, and we're an odd bunch. ;-P
>
> > If I connect to
2-13-1901: -2147529600
> 12-14-1901: -2147443200
>
> output of code on new box:
>
> 12-13-1901:
> 12-14-1901: -2147443200
> 1-18-2038: 2147414400
> 1-19-2038:
> 12-13-1901:
> 12-14-1901: -2147443200
>
> thanks much ...
>
>
again the data isn't there. Does apache/php place the xml in
some other location for me to access?
Larry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
#x27;' in
the $data output. I do get the hello so I know I am hitting the server
and when it is set to $_SERVER as listed above I get the expected array
but $_POST is empty.
Larry
On Sat, 2008-03-01 at 16:59 -0500, Nathan Nobbe wrote:
> On Sat, Mar 1, 2008 at 4:12 PM, Larry Brown <
ed looking at the
nusoap code to determine this to no avail.
Larry
On Sat, 2008-03-01 at 18:08 -0500, Nathan Nobbe wrote:
> hmm, it looks to me like you want to post a bunch of raw data to the
> server. im not sure exactly how to do that w/ the php curl functions...
> every
The incoming message to the server is:
POST /vendorXML.html HTTP/1.0
MIME-Version: 1.0
Content-type: text/html
Content-length: 114
Content-transfer-encoding: text
Request-number: 1
Document-type: Request
Interface-Version: Test 1.4
Connection: close
vendorCompanyID
Larry
On Sat, 2008-03-01 at
the raw data coming in and it
looks like this was it. I really do appreciate the help...
Larry
On Sat, 2008-03-01 at 22:06 -0500, Andrés Robinet wrote:
> You can get what you post either with:
>
> $postText = trim(file_get_contents('php://input');
>
> Or with:
>
Does anyone know if there is a builtin function for checking the
formatting of an incoming date to verify it is /MM/DD. I know how
to convert between formats but want a quick way to check an incoming
variable to ensure it will be handled properly by mysqld.
Larry
--
PHP General Mailing
Its been a long week already... -MM-DD.
On Tue, 2008-03-04 at 20:16 -0500, Larry Brown wrote:
> Does anyone know if there is a builtin function for checking the
> formatting of an incoming date to verify it is /MM/DD. I know how
> to convert between formats but want a quick way
eople have to verify correct format
of the date when working with mysql that there might be some built in
that is faster etc.
Thanks though...
On Wed, 2008-03-05 at 14:34 +1100, Chris wrote:
> Larry Brown wrote:
> > Its been a long week already... -MM-DD.
> >
> > On
$month, $day, $year);
> list($y, $m, $d) = date('Y-m-d', $unix);
> if ($year != $y || $month != $m || $day != $d){
> //handle invalid date input here
> }
>
> If you do all of that (which is really 5 lines of code) you should be
> pretty sure it's a correct/valid
> Is this truly considered a bug ? If so has it been resolved in the current
> releases of PHP ?
>
> If not does anyone have a simple solution ? I can figure out a way to code
> the XML myself and send it but honestly was hoping for a simplier solution
> that didn't envolv
ed, that is, right before the Epoc. That happens when you feed
strtotime a string it can't parse, for instance. Looking at the string you
list, the year is listed twice. I very much doubt strtotime can grok that.
You'll need to do at least some manual parsing of the date string.
o an SQL db and then just grab what I need
> > from there? I'm starting to think it would make a lot of sense. What do
> > you guys think?
> >
> > Thanks,
> > Dan
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
"If
g to pay for quality service (so
I don't need a cheapo $5/month site).
--Larry Garfield
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
trace and debug that workflow is overshadow any advantage it could otherwise
offer. (IMO, YMMV, etc.)
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
"If nature has made any one thing less susceptible than all others of
exclusive property, it
gator that
merges all queued CSS files into one and caches it, then sends just the one
file. Just switching that aggregator on, I can easily cut page load time in
half.
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
"If nature has made any one thin
legal. Whether or not it is polite or acting with the "spirit" of the
community, etc. is a question of community ethics, not law, and something
you'll have to decide for yourself.
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
"
On Wednesday 19 March 2008, jeffry s wrote:
> what is the difference between gpl, gplv2 and gplv3 ?
http://www.fsf.org/licensing/licenses/quick-guide-gplv3.html
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
"If nature has made any one th
On Thursday 20 March 2008, Colin Guthrie wrote:
> Larry Garfield wrote:
> > On Wednesday 19 March 2008, Colin Guthrie wrote:
> >> Also as it's GPL and as you are "supplying" the modifications you make
> >> to your client, you are obliged to release the
On Saturday 22 March 2008, Nilesh Govindrajan wrote:
> Larry, read the GPL license. It has can be used, distributed, modified
> under GPL only.
And where have I said otherwise?
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
"If natu
ill handle all the timezone, daylight savings, leap year, and similar
weirdness for you. It also supports 64-bit dates internally so you can cover
the entire span of human history and then some.
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
&q
uld hope to be able to say "me!" once I am able to upgrade my work to 5.3,
but the debate over the separator character is one of those guaranteed to
start a flame war so I've just resigned myself to probably not being able to
use namespaces in most places.
--
Larry Ga
On Thursday 03 April 2008, Colin Guthrie wrote:
> Larry Garfield wrote:
> > I believe the decision from -internals was "seriously, who uses static
> > methods and functions in the same code base that would use namespaces?"
> > Of course, I would hope to be able
chever makes sense for your use case. In a language like PHP that has
strong support for both, both the "everything is an object" and "never use
objects" viewpoints are, well, ignorant. :-)
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817
I have run tests on
> Arrays and PHP5's SPL ArrayObject, as well as loops and some networking
> functions.
>
>
> Here is a link to the code used for the benchmarks.
> http://www.synthable.com/benchmarks/
>
> Thanks,
> Jason <http://www.synthable.com/>
--
L
ces where having a formal interface just
makes things a lot easier; like, say, when you're reading someone else's code
and trying to make sense of what it's supposed to do and what assumptions are
being made. Having that built right into the syntax can be quite useful,
even in a
On Wednesday 16 April 2008, Daevid Vincent wrote:
> > -Original Message-
> > From: Larry Garfield [mailto:[EMAIL PROTECTED]
> >
> > If your code doesn't have an API and clear separation of
> > parts, then neither
> > abstract classes nor interf
otally sure how to ask it right yet :)
PDO syntax:
$result = $db->query("SELECT * FROM mytable ORDER BY ". $order_field);
$result->setFetchMode(PDO::FETCH_ASSOC);
foreach ($result as $record) {
print "OMG, I have an associative array!";
}
http://us3.php.net/manual/e
counts the operations. (An over-simplification, but that's the
general idea.) In practice, each operation does not have equal cost, and the
cost of different primitive operations varies widely between languages and
even versions of languages.
--
Larry Garfield AIM: LOLG42
[EM
haven't found anything -
> possibly I am searching on the wrong terms.
>
> Your help will be much appreciated.
Why not just have the cron task itself run every 5 minutes? Every 5 minutes,
hit a PHP script that will pull the next 50 messages to send and send them,
then exit. In 5
:
> $theNotDefinedValue;
> break;
> }
> return $theValue;
> }
> }
>
> $colname_get_Recordset1 = "-1";
> if (isset($_SESSION['mem_id'])) {
> $colname_get_Recordset1 = $_SESSION['mem_id'];
> }
> mysql_select_db($database_webl
silver bullet, but I would highly recommend looking at
nusoap if only as a test.
Larry
On Wed, 2008-04-30 at 08:21 -0400, Eric Butera wrote:
> On Wed, Apr 30, 2008 at 7:35 AM, Eric Butera <[EMAIL PROTECTED]> wrote:
> > On Tue, Apr 29, 2008 at 5:07 PM, Nathan Nobbe <[EMAIL PRO
Having too many indexes rarely if ever costs on read (as far as I am aware),
but it does cost on write to update the index. How much that matters is
use-case specific.
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
"If nature has made any one thing les
t...
>
> Thanks in advance!
> R
>
> --
> - The faulty interface lies between the chair and the keyboard.
> - Creativity is great, but plagiarism is faster!
> - Smile, everyone loves a moron. :-)
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED]
the application.
>
> This is especially an issue for me when it comes to maintaining things
> like persistent connections to SQL servers.
>
> Thanks!
>
> James
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
"If nature has made any o
ooking for full time on-site programmers, but are open to summer
interns as well. If you have questions, contact me off-list. To apply, see
the link above.
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
"If nature has made any one thing less su
hing locally (disk, local MySQL
DB, etc.) can help a great deal, depending on your data.
So the answer is "you've not given enough information to make an intelligent
recommendation". :-)
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
On Saturday 24 May 2008, Feris wrote:
> Hi Larry,
>
> On Sat, May 24, 2008 at 10:52 AM, Larry Garfield <[EMAIL PROTECTED]>
>
> wrote:
> > For what definition of "third party"? The cost of connecting to a MySQL
> > database on the same network segment as th
rent_id, name FROM menu_items ORDER
BY name");
foreach ($result as $record) {
$items[$record->parent_id][$record->menu_id] = $record;
}
$output = _print_menu($items, 0);
return $output;
}
function _print_menu($items, $parent_id) {
$output = '';
if (!empty($items[$pa
ou can read
> > the manuals of any good PHP framework also like Joomla, CakePHP
> > These frameworks are also follow MVC design pattern.
> >
> > ---
> > Nirmalya Lahiri
> > [+91-9433113536]
> >
> >
> >
> >
> > --
> > PHP Genera
n't know if there's a technical reason
for that or if just no one implemented it, but the short answer is "The
language doesn't do that."
(What may be confusing you is __toString(), which only works for *reading* if
you *already have an object* and then use it in a strin
e
namespaces as implemented in PHP 5.3, but that's not out yet. Many systems
emulate packages with verbose class naming (eg, Database_Connection,
Database_Query, Database_Transaction, Database_Query_Select, etc.), but I
personally find that ugly. :-)
--
Larry Garfield AI
majority of web apps
frameworks out there in any language. The web just doesn't lend itself to
MVC. Sun just likes to get their terminology wrong and confuse everyone for
the next decade.
http://www.garfieldtech.com/blog/mvc-vs-pac
--
Larry Garfield AIM: LOLG42
[EMAIL
D Street Ext
> Petaluma, CA 94952
> (707) 773-4523
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
"If nature has made any one thing less susceptible than all others of
exclusive property, it is the action of the thinking power called an idea
}
> }
>
>
> (2) two query method:
> SELECT * from collection WHERE set_type_id=22;
> ...do query...
> while( $row = $this->db->fetch_array_row() ){
> $array_a[] = $row;
> }
>
> SELECT * from collection WHERE set_type_id=21;
> ...do
mping ship because of their old PHP version (latest
PHP 4, but still PHP 4). If they're going to be upgrading to a real PHP
platform, that would kick ass.
Now, if I could get APC without a dedicated box... :-)
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ:
ything useful with these goofy tags...
>
> But the Designers seem to luv them...
>
> If you really want scrolling, you'd better put them in a DIV or
> IFRAME, I think.
>
> --
> Some people have a "gift" link here.
> Know what I want?
> I want you to bu
ead-up on the MIT license after I get some zzZZzz's!
> >
> > Don't forget the MIT license allows people to incorporate your code into
> > commercial products and sell for profit without having to give anything
> > back (money/improved code/etc).
> >
> >
. etc
>
> any experience on how to do this ?
This is really an SQL question, but it's quite easy. Assuming MySQL:
$result = mysql_query("SELECT * FROM foo WHERE bar='baz' ORDER BY RAND()");
// Do stuff here.
--
Larry Garfield AIM: LOLG42
[EMAIL PROT
private (and in this case which users can access)
> > - use AJAX (not mandatory) but since some access to the page will come
> > from dial-up to reduce the need to transfer entire html just to update
> > a search or list contents..
> >
> > thanks
--
Larry Garfield
> > Do you guys think that a php build webserver would be able to scale and
> > perform well enough for serving millions of adimpressions daily?
> >
> > Thank you for any advice,
> >
> > Merlin
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED
as phparch asserted?
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
"If nature has made any one thing less susceptible than all others of
exclusive property, it is the action of the thinking power called an idea,
which an individual may exc
-:
> :
> | An application and templating framework for PHP. Boasting |
> | a powerful, scalable system for accessing system services |
> | such as forms, properties, sessions, and caches. InterJinn |
> | also provides an extremely flexible architecture for
On Sunday 20 May 2007, Robert Cummings wrote:
> On Sun, 2007-05-20 at 23:11 -0500, Larry Garfield wrote:
> > A well-optimized and load balanced database-based setup will beat a badly
> > configured file system setup, sure. But will it beat a well-optimized
> > and load balan
sing, so performance isn't a huge issue.
Thanks.
[1] http://www.docbook.org/tdg/en/html/docbook.html
[2] http://www.sagehill.net/docbookxsl/
[3] http://xml.apache.org/
[4] http://us.php.net/manual/en/ref.xsl.php
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ:
l my scripts work in PHP 4
> ? or should I re-write all of them? or will it affect the speed of queries?
>
> Thank you
>
>
> -
> Be a better Globetrotter. Get better travel answers from someone who knows.
> Yahoo! Answers - Check it out.
--
L
is pretty darn good.
>
> If you're in PHP 4, forget it...
> There's like 3 different XML libraries, all with warts, and I'm pretty
> sure none of them support the fancy stuff you need.
>
> On Thu, June 7, 2007 1:02 am, Larry Garfield wrote:
> > Hi all. I have a
On Saturday 09 June 2007, Robert Cummings wrote:
> On Sat, 2007-06-09 at 19:18 -0500, Larry Garfield wrote:
> > You should get a new server that supports PHP 5.2.1. PHP 4 is dead.
>
> Must be a zombie then because I see it running almost EVERYWHERE.
Yep, it is. PHP 4 is try
On Sunday 10 June 2007, tedd wrote:
> At 10:05 PM -0400 6/9/07, Robert Cummings wrote:
> >On Sat, 2007-06-09 at 19:18 -0500, Larry Garfield wrote:
> >> You should get a new server that supports PHP 5.2.1. PHP 4 is dead.
> >
> >Must be a zombie then because I se
ended ASCII into space and
> move on with life... But that is not what I would like to end up with
> in the long run.
>
> And why is MySQL not just taking these extended ASCII chars in the
> first place? Seems to me that UTF-8 encoding should accept them, no?
>
> Disc
ear of 2007.
>
> For example ($month -7) would be December 2006,
> and ($month +7) would be January 2006.
>
> Please help... Thank you.
>
> Keith
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
"If nature has made any one thin
ou're already skilled and have experience with other similar systems. If
you have no prior experience with other systems (Drupal, Cake, Symfony,
Propel, ezComponents, Zend Framework, whatever) then you're going to be
coding yourself into oblivion and get nothing done.
I speak from ex
that`s
> not safe. however i do want to store it inside a variable and than run the
> database query.
>
> any idea`s on this?
>
> Thanx alot in favor,
> Mark
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
"If nature has
version? CVS? Is there a
> point in using some linux script versus a "proper" program?
>
> Would really appreciate some input on this. On everything works, etc.
> Thanks.
>
>
> Miguel Vaz
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED]
you
> didn't set it up properly in the first place (which I never thought I'd
> have to do for a version control system).
>
> Anyway thanks for the tip ;)
SVN's architecture for branching and tagging is a lot nicer. CVS's UI
primitives for branching and tagging ar
n in the code above won't play because it's got a
> totally useless array key passed to it.
>
> I need a way to turn the string:
>
> "test['sam'][]"
>
> into something I can look into $_POST for.
>
> Any ideas? The coffee boost is wearing off
tion for
> more information.
Just be meta about it.
strtotime('+7 days', strtotime($expiry_date));
Ta da! :-)
(Note: strtotime() is probably not the fastest to execute way of doing it, but
it's the fastest to write. Choose wisely.)
--
Larry Garfield AIM:
nd suggestions welcomed.
>
> Cheers,
>
> tedd
>
>
> --
> ---
> http://sperling.com http://ancientstones.com http://earthstones.com
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
"If nature has made any one thing less su
401 - 500 of 822 matches
Mail list logo