, $pass)))
{
$refresh_message = This page has not been refreshed
since: . date(h:i);
echo $refresh_message;
$have_license = false;
}
}
Thanks in advance
Richard Sharp
Database Administrator
PH
sure they would have done the same
for the chd ... and here it is
http://code.google.com/apis/chart/docs/data_formats.html
So. Easy peasy.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net
and push it to the server to use.
Do you want to do all the work on server and not in the browser? Then
you have to learn the params. That way, you won't need a client to
grab the URL first.
It really isn't very difficult.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html
the old
version to the new one.
Also, any plugins/extensions/mods that may have been applied may also
need to be upgraded accordingly.
Regards,
Richard.
P.S. The PHP mailing lists is probably not the best place to come for
support on Typo3. I've never used Typo3 or installed it. But, in this
instance
On 16 February 2011 11:25, Andre Polykanine an...@oire.org wrote:
Hello Fotoo,
?
error_reporting(0);
Really?
You consider shoving your head in the sand a REALISTIC option?
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General
On 16 February 2011 14:34, Daniel P. Brown daniel.br...@parasane.net wrote:
On Wed, Feb 16, 2011 at 07:15, Richard Quadling rquadl...@gmail.com wrote:
On 16 February 2011 11:25, Andre Polykanine an...@oire.org wrote:
Hello Fotoo,
?
error_reporting(0);
Really?
You consider
and
understanding what they need (not just what they say they want as
quite often, they don't know). Understanding the requirements of the
business. Basically, the programming is often the easy part.
Richard.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
On 15 February 2011 21:08, Steve Staples sstap...@mnsi.net wrote:
Your bracing style is WRONG. Whitesmiths Style sucks... and Allman
Style is the best way to do it.
It's not Friday.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General
the declared ones.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://articles.sitepoint.com/article/php-command-line-1 seems like a
good place to start.
There may be some issue with the line. The install may be in a
different location or have a different name (#!/usr/local/bin/php-cgi
for example).
Richard.
--
Richard Quadling
Twitter : EE : Zend
=centertd', $d, 'bra href=', $d, 'img
src=/Categories/', $d, '/thumb.png border=5/abr';
include($d./desc.txt);
echo '/td/tr';
};
};
echo '/table';
maybe?
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net
['cc_number']). Considering a credit card
number is purely numeric, the addslashes would seem to be redundant as
you don't need to escape numbers. And you can run a Luhn10 check
against the card number to make sure it is valid before storing it.
Richard.
--
Richard Quadling
Twitter : EE : Zend
List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What data IS getting through?
print_r(func_get_args());
will show this.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net
. All fairly simple stuff.
Regards,
Richard.
[1] http://www.fpdf.org/
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 6 February 2011 15:57, Florin Jurcovici florin.jurcov...@gmail.com wrote:
said it, Bush junior proved it
Is this actually part of the output?
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net
clues as to the sort of app you are building? The
sort of data you are working on? Are you running your own servers?
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
On 1 February 2011 16:39, Jon Hood squink...@gmail.com wrote:
(comments in-line)
On Tue, Feb 1, 2011 at 10:34 AM, Richard Quadling rquadl...@gmail.com
wrote:
I use a data warehouse (a semi denormalized db) to hold data from
around 200 different data sources (DB, Excel spreadsheets, Web, etc
function
5 public abstract function
2 public final function
11956 public function
701 public static function
1 static function
1 static private function
10 static protected function
60 static public function
So, as mixed up as my own.
Richard.
--
Richard
--
Regards,
Shreyas Agasthya
I got 1 bounce for this message.
http://news.php.net/php.general/310871
Dan's feeding someone who is already overstuffed.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net
_RAQ_TAG_1_ or _RAQ_TAG_2_ then you
will have to use more appropriate tags.
Richard.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 20 January 2011 19:20, Dotan Cohen dotanco...@gmail.com wrote:
On Thu, Jan 20, 2011 at 19:21, Richard Quadling rquadl...@gmail.com wrote:
That is terrific, at least the first half. The second half, with the
Venn diagrams, is awkward!
When you get heavily nested data, the adjacent list
On 21 January 2011 05:34, Paul M Foster pa...@quillandmouse.com wrote:
On Thu, Jan 20, 2011 at 12:05:53PM -0800, David Harkness wrote:
On Thu, Jan 20, 2011 at 7:00 AM, Richard Quadling rquadl...@gmail.comwrote:
I'd recommend using a nested set approach for the tags
(http://dev.mysql.com
0x7f (127 decimal) «\x0e-\x7f»
Match the character “]” literally «\]»
But really?
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
with Apache 2 on a Linux server.
--
Sláinte,
Richard S. Crawford (rich...@underpope.com)
http://www.underpope.com
Ah, sorry. It's a browser-based script.
On Fri, Jan 21, 2011 at 1:28 PM, Jim Lucas li...@cmsws.com wrote:
On 1/21/2011 12:37 PM, Richard S. Crawford wrote:
I've got a massive PHP script which takes nearly an hour to run.
Sometimes,
when it comes close to the end, it mysterious restarts
.
Richard.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
using a nested set approach for the tags
(http://dev.mysql.com/tech-resources/articles/hierarchical-data.html
gives a good explanation on the issues and methodology of nested
sets).
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing
On 20 January 2011 16:20, Dotan Cohen dotanco...@gmail.com wrote:
On Thu, Jan 20, 2011 at 17:00, Richard Quadling rquadl...@gmail.com wrote:
I'd have my items table, my tags table and a join table for the two.
My join table is really simple. UniqueID, ItemID, TagID.
Yes, that is the first
it.
Pretty much exactly what you need.
Richard.
[1] http://pecl.php.net/package/inclued
[2] http://docs.php.net/manual/en/book.inclued.php
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
sort of
renaming? PHP isn't actually involved in the extraction process in
this instance.
You may be better off using the ZIP extension in PHP to extract the
data and write it to your own files.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP
On 19 January 2011 16:23, la...@garfieldtech.com la...@garfieldtech.com wrote:
On 1/19/11 10:09 AM, Adam Richardson wrote:
On Wed, Jan 19, 2011 at 8:21 AM, Richard
Quadlingrquadl...@gmail.comwrote:
On 19 January 2011 07:46, Adam Richardsonsimples...@gmail.com wrote:
On Wed, Jan 19, 2011
LOL, so true
-Original Message-
From: Adam Richardson [mailto:simples...@gmail.com]
Sent: Wednesday, January 19, 2011 12:28 PM
To: PHP-General
Subject: Re: [PHP] switch case madness
On Wed, Jan 19, 2011 at 12:44 PM, Micky Hulse
mickyhulse.li...@gmail.comwrote:
On Wed, Jan 19, 2011 at
.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
:\] [\\richardquadling\scratch$ ] php -r
echo microtime(true);
1295263156.1895
Oh yeah!
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
mine.
If I had one.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-production which is the recommend settings for running PHP in
a live environment.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Services, multi-threaded with inter-thread communication.
If you feel mad enough.
Regards,
Richard.
[1] http://msdn.microsoft.com/en-us/library/d5fk67ky(v=vs.85).aspx
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http
in general.
Regards,
Richard.
[1] http://en.wikipedia.org/wiki/Hungarian_notation
[2] http://en.wikipedia.org/wiki/Hungarian_notation#Relation_to_sigils
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net
, I think for large strings, using commas should be more efficient.
Richard.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
are
all PHP scripts which acccept command line parameters as well as use
stdin to read data in realtime. Just like | more would.
Richard.
[1] http://pear.php.net/package/Console_CommandLine
[2] http://docs.php.net/manual/en/install.windows.commandline.php
[3] http://adoxa.110mb.com/ansicon
On 11 January 2011 16:43, Robert Cummings rob...@interjinn.com wrote:
On 11-01-11 11:27 AM, Richard Quadling wrote:
As PHP on windows requires an [ENTER] key to be pressed to pass the
typed string to the code (even for fgetc(STDIN) ), then this may not
be what you want.
Have you tried
On 11 January 2011 16:43, Robert Cummings rob...@interjinn.com wrote:
On 11-01-11 11:27 AM, Richard Quadling wrote:
As PHP on windows requires an [ENTER] key to be pressed to pass the
typed string to the code (even for fgetc(STDIN) ), then this may not
be what you want.
Have you tried
(deleted) something useful for me. Thanks!
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
internally, so I decided to give those a try as well.)
and
$content = str_replace(array('\n','\r','\r\n'),$content)
all to no avail; these all leave the line break intact, which means my
preg_replace('/p.*/','p',$content) line still breaks.
Anyone have any ideas?
--
Sláinte,
Richard S. Crawford
; that was indeed a typo when I was copying the code
over into my email.
Ashley, I've already been using strip_tags to eliminate all but p, ol,
ul, and li tags.
On Tue, Jan 11, 2011 at 11:24 AM, David Harkness
davi...@highgearmedia.comwrote:
On Tue, Jan 11, 2011 at 11:13 AM, Richard S. Crawford
rich
page request). http://www.quate.net/newsnet/read/48
and http://www.websiteoptimization.com/speed/tweak/combine/
So, that deals with a lot of request issues that the server is no
longer needing to deal with on every single page.
The server side includes for the semi-static text.
--
Richard
On 29 December 2010 16:34, Richard Quadling rquadl...@gmail.com wrote:
On 28 December 2010 17:18, k...@bitflop.com wrote:
Hi.
I am currently looking into improving a system that (like many systems)
generate static content at runtime.
I have always been against generating static content
of the printer would help.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 21 December 2010 19:12, Carlos Medina i...@simply-networks.de wrote:
Am 21.12.2010 17:36, schrieb Richard Quadling:
Hi.
If I have an abstract class of Task and I want all subclasses of Task
to have a private method _runTask, is there a way to enforce this?
Currently an abstract private
the data and determines what alert needs to be played.
Was first running on IE6.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/unsub.php
And have you seen all the sad faces ...
: {
on http://docs.php.net/manual/en/control-structures.goto.php#92763
Can't be good for them.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net
the rows to supply to the sorter.
If you like it and find any issues with it, or enhancements, then I'd
be grateful if you could pass them back to me.
Richard.
[1] http://www.php.net/manual/en/function.array-multisort.php#68452
[2] http://pastebin.com/8JsMX7yS
--
Richard Quadling
Twitter : EE : Zend
On 14 December 2010 10:50, Richard Quadling rquadl...@gmail.com wrote:
On 13 December 2010 19:59, George Langley george.lang...@shaw.ca wrote:
Hi all. Can use natsort($array1) to sort a single array of filenames into a
natural alphanumeric order - 1.php, 2.php, 5.php, 10.php, 20.php, etc
functions
to issue queries and fetch data. PDO does not provide a database
abstraction; it doesn't rewrite SQL or emulate missing features. You
should use a full-blown abstraction layer if you need that facility.
Richard.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html
that.
If you can recycle others code into new and interesting ways, then go for it.
Richard.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 10 December 2010 12:07, Tommy Pham tommy...@gmail.com wrote:
Ironically, both projects are started by the same person.
So that old adage of there being at least 2 PHP frameworks per PHP
developer still holds true!
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html
a warning so
I'll leave it alone until I've tidied up all the other issues.
Regards,
Tom
I'd go with ...
function _getTable($cached=true) {
return new TableClass($this-_getTableName());
}
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General
/install.windows.commandline.php contain
all the details I've ever needed for a manual installation of PHP.
Using the same rules for Python would allow you to simply run the .py
script or the .pyc script just as easily as you can run PHP or a
.BAT/.CMD script.
--
Richard Quadling
Twitter : EE : Zend
file.
Write out the HTML using img src=./badges/{$md5BadgeData}.png /
If a user's stats change, they'll have a new badge. Sure, there will
be orphaned badges, but they are tiny little things and I don't have
gazillion users.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814
(assuming it is coming from a DB).
If not, you could use a simple file_put_contents($filename, date('r')
. $text . PHP_EOL, FILE_APPEND);
That would append 1 line of text at a time to the file. Using tail on
that file would show you the last work done (and when it was done).
--
Richard Quadling
).
It supports COM so, you can do this on windows easily enough. If you
aren't using windows (why not? Its the best OS around you know ... oh.
sorry. It's not Friday ...)
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net
/function.include.php
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 3 December 2010 11:13, Da Rock php-l...@herveybayaustralia.com.au wrote:
On 12/03/10 16:33, Tamara Temple wrote:
On Dec 2, 2010, at 11:33 PM, Da Rock wrote:
On 11/29/10 09:10, Richard Quadling wrote:
On 27 November 2010 04:45, Da Rockphp-l...@herveybayaustralia.com.au
wrote:
On 11/27
On 3 December 2010 11:13, Da Rock php-l...@herveybayaustralia.com.au wrote:
On 12/03/10 16:33, Tamara Temple wrote:
On Dec 2, 2010, at 11:33 PM, Da Rock wrote:
On 11/29/10 09:10, Richard Quadling wrote:
On 27 November 2010 04:45, Da Rockphp-l...@herveybayaustralia.com.au
wrote:
On 11/27
place that can describe the SPL in a different way.
I know it's probably just me, but it really seems like I'm only just
scratching the surface. And not really getting anywhere.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing
On 3 December 2010 16:56, Nathan Nobbe quickshif...@gmail.com wrote:
On Fri, Dec 3, 2010 at 6:09 AM, Richard Quadling rquadl...@gmail.com
wrote:
Hi.
OK. I'm stuck. I just can't work this out.
I like SPL. I like the re-usability. It seems right. But I just can't
work it out.
I want
the data for
POST-ing and your script would receive these correctly.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
://www.site.com/script.php?var1=val1var2=val2
then $_GET will contain the result.
The same $_GET would hold the values from a form method=get
$_POST is for POST-d data (either via form method=post or cURL/Streams).
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly
start reading http://docs.php.net/manual/en/reserved.variables.php
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
anything too special
outside of the closing tag.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 27 November 2010 04:45, Da Rock php-l...@herveybayaustralia.com.au wrote:
On 11/27/10 13:51, Tamara Temple wrote:
On Nov 26, 2010, at 7:28 PM, Da Rock wrote:
On 11/27/10 00:57, Richard Quadling wrote:
On 26 November 2010 00:07, Da Rockphp-l...@herveybayaustralia.com.au
wrote
can't match the
string, so nothing is returned.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
First let me say thanks to everyone who replied!
Ashley, I got it fixed but I have not a clue what did it :)
RD
On Nov 27, 2010, at 6:49 AM, Ashley Sheridan wrote:
On Fri, 2010-11-26 at 22:29 -0800, Tommy Pham wrote:
-Original Message-
From: Richard West [mailto:p...@cbnisp.com
PS: PEBKAC I figure :)
On Nov 27, 2010, at 6:49 AM, Ashley Sheridan wrote:
On Fri, 2010-11-26 at 22:29 -0800, Tommy Pham wrote:
-Original Message-
From: Richard West [mailto:p...@cbnisp.com]
Sent: Friday, November 26, 2010 9:40 PM
To: Peter Lind
Cc: Tommy Pham; Tamara Temple
Please don't top post.
On 25 November 2010 15:38, Ron Piggott ron.pigg...@actsministries.org wrote:
Is User Agent suppose to have a hyphen - ? Ron
The Verse of the Day
“Encouragement from God’s Word”
http://www.TheVerseOfTheDay.info
-Original Message- From: Richard Quadling
User-Agent = User-Agent : 1*( product | comment )
Example:
User-Agent: CERN-LineMode/2.15 libwww/2.17b3
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
, the sendmail_path used is /usr/sbin/sendmail -t -i,
which is a regular Postfix sendmail.
[1] http://stackoverflow.com/questions/1906403
--
Kind regards,
Tom Hendrikx
Are you logging your emails via the ini setting mail.log? Maybe this
is the issue.
--
Richard Quadling
Twitter : EE : Zend
.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 26 November 2010 15:12, Tom Hendrikx t...@whyscream.net wrote:
On 26/11/10 15:54, Richard Quadling wrote:
On 25 November 2010 21:30, Tom Hendrikx tom+php@whyscream.net wrote:
Hi,
I noticed that the mail() function in php 5.3.3 on gentoo linux triggers
a warning when used. A simple
Hey guys,
I've never run into this before.
I have a field in mysql for page views.
So I pull out value and do +1 to new value - after UPDATE SET it has
incremented by 2?
$val = $row['a_downloads'] ;
$new_val = $val+1;
mysql_query(UPDATE cbn_articles SET a_downloads='$new_val' WHERE a_id =
No
On Nov 26, 2010, at 10:53 PM, Tamara Temple wrote:
On Nov 26, 2010, at 8:36 PM, Richard West wrote:
Hey guys,
I've never run into this before.
I have a field in mysql for page views.
So I pull out value and do +1 to new value - after UPDATE SET it has
incremented by 2?
$val
, 2010 7:54 PM
To: Richard West
Cc: PHP General Mailing List
Subject: Re: [PHP] PHP Add +1 mysql updates by 2?
On Nov 26, 2010, at 8:36 PM, Richard West wrote:
Hey guys,
I've never run into this before.
I have a field in mysql for page views.
So I pull out value and do +1 to new value
I took that into consideration so I added the update at the very end of
document...
Still the same,
RD
On Nov 27, 2010, at 12:31 AM, Peter Lind wrote:
On Saturday, November 27, 2010, Richard West p...@cbnisp.com wrote:
Hey Tommy,
I get the same when seting it to a_downloads=a_downloads
snip
so how are we to know?); (h) some other PEBKAC issue;
snip
It's been almost a decade since I've seen 'PEBKAC' used :)
I prefer PICNIC.
So you can now have a Senior Picnic or a Kiddies Picnic and it all
sounds quite pleasant.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com
an NTLM authentication proxy server because PHP doesn't deal
with NTLM authentication.
See my user notes on
http://docs.php.net/manual/en/function.stream-context-get-default.php.
Don't bother with the link at the bottom of the user note- it's not
live.
Richard.
--
Richard Quadling
Twitter : EE
? Aren't namespaces handled by
the autoloader? If not autoload(), how about spl_autoloading?
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm going to jump in and throw in my 2 cents...
Have you used dreamweaver?
I would suggest Dreamweaver to any new programmer beginning php/mysql.
It helped me out tremendously in the beginning. I'm not an advanced programmer
with hand coding classes yet, but I can get any job completed for
FastCGI and then PHP (I'd also add WinCache
and RewriteURL).
Richard.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
different to just editing a plain text config file, but IIS does use
an XML file for its config, so, once you know the xsd, you can do that
by hand also. Full docs on the xsd are available online, so really,
I'd guess in terms of ability, IIS and Apache are on-par.
Richard.
--
Richard Quadling
instructions.
http://docs.php.net/manual/en/install.windows.manual.php : General
instructions for installing PHP manually.
http://docs.php.net/manual/en/install.windows.commandline.php :
Additional instructions for better integration of PHP into the
commandline.
--
Richard Quadling
Twitter : EE
On 16 November 2010 13:21, Jay Blanchard jblanch...@pocket.com wrote:
[snip]
Hi Folks, is it possible to install PHP on IIS? If yes, can someone
please guide me on how to go about doing it? Thanks
[/snip]
http://www.wampserver.com/en/
Jay, if that had been wimpserver ...
--
Richard
that is used by the typical PHP developer?
It depends what you want to use.
I use PEAR's Console_CommandLine_Parser and Zend Framework's
autoloader, config and SOAP/WSDL classes.
Mix'n'match is the name of the game.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html
Hello Guys, Gals,
I've been working on a project of mine creating a custom little cms. I've
managed to go by tutorials and reference material from the php site to get as
far as I have. I've got search engine friendly links working with mod rewrite
using mysql entry of page alias and my code is
use ...
string_parse_tool($string_source, $string_to_parse,
$string_to_display, $continue_parsing);
Depending upon your code, you could drop the first parameter
completely, but that would always overwrite the supplied value with
the return value.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling
.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/isapi and fast-cgi.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
it is. Using the right tool for the job, AND
getting the balance right is what being an experienced developer is
all about. Start with what you can understand. Ask questions. Learn.
Refactor. Improve.
Richard.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
with
Is this not the same on unix?
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 5 November 2010 16:43, Richard Quadling rquadl...@gmail.com wrote:
On 5 November 2010 16:30, Nathan Nobbe quickshif...@gmail.com wrote:
On Fri, Nov 5, 2010 at 10:18 AM, Steve Staples sstap...@mnsi.net wrote:
On Fri, 2010-11-05 at 10:06 -0600, Nathan Nobbe wrote:
On Fri, Nov 5, 2010 at 9
)
}
intval() operates as standard on base 10, so no need to worry about
leading zeros' being thought of as base8/octal.
What is your code? Can you reduce it to something as small like the
above to see if you can repeat the issue?
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com
301 - 400 of 11108 matches
Mail list logo