On Thu, Feb 11, 2010 at 09:49:02PM -0600, Joseph Thayne wrote:
> I was going to write an example as to what should happen instead of what
> actually does when id dawned on me why MySQL works the way it does. One of
> the biggest complaints people have with MySQL is in speed.
The much-vaunted s
Hi,
I have some code to download large files as part of a larger class. I've
been in a discussion with the developer of a library that I'm using who has
told me clearly that my code will not work at all, even though it does. He
is suggesting my problems are due to my not understanding the nature o
I was going to write an example as to what should happen instead of what
actually does when id dawned on me why MySQL works the way it does. One of
the biggest complaints people have with MySQL is in speed. To demonstrate
what I just realized, take the following statement that will select the hou
On Fri, Feb 12, 2010 at 12:13:11PM +1100, clanc...@cybec.com.au wrote:
> On Thu, 11 Feb 2010 10:18:18 +, a...@ashleysheridan.co.uk (Ashley
> Sheridan) wrote:
>
> >On Thu, 2010-02-11 at 10:16 +1100, Ross McKay wrote:
> >
> ...
> >
> >There's a good reason for OpenOffice having some dif
On Fri, Feb 12, 2010 at 09:44:47AM +1030, James McLean wrote:
> On Fri, Feb 12, 2010 at 9:31 AM, Joseph Thayne wrote:
> > As for the backticks, they are required because of MySQL, not because of
> > phpMyAdmin. The issue was not that phpMyAdmin uses backticks, it is that
> > MySQL pretty much re
Hi,
I know that we can limit the size of upload file by specify
upload_max_filesize, post_max_size and even memory_limit parameters.
Though we can change these parameters, can someone please let me know what
the maximum value of these parameters can be? What is the factors we need to
take into ac
On Thu, 11 Feb 2010 10:18:18 +, a...@ashleysheridan.co.uk (Ashley Sheridan)
wrote:
>On Thu, 2010-02-11 at 10:16 +1100, Ross McKay wrote:
>
...
>
>There's a good reason for OpenOffice having some difficulties with MS
>Office documents. Back when MS rushed through getting their document
Yeah, I am a lot more descriptive now. I ran into it quite a bit when I
was first starting out.
James McLean wrote:
On Fri, Feb 12, 2010 at 9:31 AM, Joseph Thayne wrote:
As for the backticks, they are required because of MySQL, not because of
phpMyAdmin. The issue was not that phpMyAdmin
On Fri, Feb 12, 2010 at 9:31 AM, Joseph Thayne wrote:
> As for the backticks, they are required because of MySQL, not because of
> phpMyAdmin. The issue was not that phpMyAdmin uses backticks, it is that
> MySQL pretty much requires them when naming a field the same as an internal
> function to m
On Fri, Feb 12, 2010 at 9:31 AM, Jochem Maas wrote:
> Op 2/11/10 10:51 PM, James McLean schreef:
>> My personal preference these days is to use Curly braces around
>> variables in strings such as this, I always find excessive string
>> concatenation such as is often used when building SQL queries
Op 2/11/10 10:51 PM, James McLean schreef:
> On Fri, Feb 12, 2010 at 8:27 AM, Joseph Thayne wrote:
>>
>> Actually, the syntax is just fine. I personally would prefer it the way you
>> mention, but there actually is nothing wrong with the syntax.
>>
>>> The ,'$date1'"." is not correct syntax, chan
That is a good idea to use the curly braces. I consistently forget
about them, and fell like an idiot every time I am reminded of them.
As for the backticks, they are required because of MySQL, not because of
phpMyAdmin. The issue was not that phpMyAdmin uses backticks, it is
that MySQL pret
On Fri, Feb 12, 2010 at 8:27 AM, Joseph Thayne wrote:
>
> Actually, the syntax is just fine. I personally would prefer it the way you
> mention, but there actually is nothing wrong with the syntax.
>
>> The ,'$date1'"." is not correct syntax, change it to ,'".$date."'
My personal preference thes
Actually, the syntax is just fine. I personally would prefer it the way
you mention, but there actually is nothing wrong with the syntax.
The ,'$date1'"." is not correct syntax, change it to ,'".$date."'
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.ph
Thank you.
You were right on the money, "hour" was the problem and the tick marks
solved it. I spent 3 hours trying to figure out why I never got an error but
there was no insert and php myadmin does add the tick marks automatically.
Probably a good habit to always use the tick marks.
Learn some
Also, in PHP you should NOT put the last semi-colon at the end of your SQL
statement. http://www.php.net/manual/en/function.mysql-query.php
On Feb 11, 2010, at 1:26 PM, Joseph Thayne wrote:
> Try putting tick marks (`) around the field and table names. So your SQL
> query would then look like
james stojan wrote on 11/02/2010 22:21:
$query="INSERT INTO upload_history (v_id,hour,visits,date) VALUES
(".$v_id.",".$hour.",".$visits.",'$date1'".");";
The ,'$date1'"." is not correct syntax, change it to ,'".$date."'
--
Kind regards
Kim Emax - masterminds.dk
--
PHP General Mailing List
Try putting tick marks (`) around the field and table names. So your
SQL query would then look like:
INSERT INTO `history` (`v_id`, `hour`, `visits`, `date`) VALUES (45, 0,
59, '2010 01 27');
This is a good practice to get into. The problem is that MySQL allows
you to create tables and fie
I'm at my wits end trying to make this mysql statement insert work in
PHP. I'm not getting any errors from PHP or mysql but the insert fails
(nothing is inserted) error reporting is on and is reporting other
errors. When I echo out the query and manually paste it into PHP
myAdmin the query inserts
Adam Richardson wrote:
Do you have output buffering turned on?
THANK YOU!
That was it, for some reason ARCH has a "tweaked" php.ini in their main
repo, that sucks.
Thank you, I have been looking all over to fix this!
--
John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Op 2/11/10 3:48 PM, Teus Benschop schreef:
>> On Thu, 2010-02-11 at 09:27 -0500, Bastien Koert wrote:
>> Could the app be converted to an Adobe AIR app or use PHPdock (
>> http://www.nusphere.com/products/phpdock.htm ) to run local? There are
>> a number of security issues that surround installing
On Thu, 2010-02-11 at 19:19 +0100, John Black wrote:
> I am running into a strange problem and I hope someone might have an
> idea why this is happening.
>
> My installation of PHP will *NOT* display the warning message below on
> my development machine where it should display it (sample code at
Do you have output buffering turned on?
On Thu, Feb 11, 2010 at 1:19 PM, John Black
wrote:
> I am running into a strange problem and I hope someone might have an
> idea why this is happening.
>
> My installation of PHP will *NOT* display the warning message below on my
> development machine where
I am running into a strange problem and I hope someone might have an
idea why this is happening.
My installation of PHP will *NOT* display the warning message below on
my development machine where it should display it (sample code at the
bottom).
Warning: session_start() [function.session-star
>Are you using wsdl? If so, does the WSDL file contain the information that
the port to use for the requests is on port 8080?
>
>--
>-
>Richard Quadling
>"Standing on the shoulders of some very clever giants!"
>EE : http://www.experts-exchange.com/M_248814.html
>EE4Free : http://www.experts-ex
> On Thu, 2010-02-11 at 09:27 -0500, Bastien Koert wrote:
> Could the app be converted to an Adobe AIR app or use PHPdock (
> http://www.nusphere.com/products/phpdock.htm ) to run local? There are
> a number of security issues that surround installing a webserver and a
> database locally on a users
tedd wrote:
At 5:08 AM + 2/11/10, Jochem Maas wrote:
rgds,
Jochem
PS. from a semantics POV, Robert Cummings is, IMHO, spot on in his
assessment - I do enjoy
his posts, he's a sharp cookie with plenty to offer and I always
enjoy reading his
argumentation and opinion!
With the danger
At 5:08 AM + 2/11/10, Jochem Maas wrote:
rgds,
Jochem
PS. from a semantics POV, Robert Cummings is, IMHO, spot on in his
assessment - I do enjoy
his posts, he's a sharp cookie with plenty to offer and I always
enjoy reading his
argumentation and opinion!
With the danger of Rob becoming
Michael A. Peters wrote:
Robert Cummings wrote:
Michael A. Peters wrote:
If is not proper to use for this purpose, what would be?
suggests a particular type of layout.
suggests content.
is appropriate for some items in a side bar, but not all, and is
often a child of how is being used.
On Thu, 2010-02-11 at 07:02 -0800, Michael A. Peters wrote:
> Robert Cummings wrote:
> > Michael A. Peters wrote:
> >> If is not proper to use for this purpose, what would be?
> >>
> >> suggests a particular type of layout.
> >> suggests content.
> >> is appropriate for some items in a side ba
Robert Cummings wrote:
Michael A. Peters wrote:
If is not proper to use for this purpose, what would be?
suggests a particular type of layout.
suggests content.
is appropriate for some items in a side bar, but not all, and is
often a child of how is being used.
give no semantics.
I wou
On Thu, 2010-02-11 at 09:39 -0500, Robert Cummings wrote:
> Ashley Sheridan wrote:
> > On Thu, 2010-02-11 at 01:44 -0500, Robert Cummings wrote:
> >> *haha* I've removed w3.org from the recipients list... so onwards to the
> >> content below...
> >>
> >>
> >> Jochem Maas wrote:
> >> > Op 2/10/10
Robert Cummings wrote:
I don't know about where you are, but Canadian government has very
specific guidelines on how content should be marked up... and semantic
use of tags is a clear part of that:
"The institution respects the universal accessibility
guidelines developed by the Wor
Michael A. Peters wrote:
If is not proper to use for this purpose, what would be?
suggests a particular type of layout.
suggests content.
is appropriate for some items in a side bar, but not all, and is
often a child of how is being used.
give no semantics.
I would like to see a tag fo
Ashley Sheridan wrote:
On Thu, 2010-02-11 at 01:44 -0500, Robert Cummings wrote:
*haha* I've removed w3.org from the recipients list... so onwards to the
content below...
Jochem Maas wrote:
> Op 2/10/10 9:08 PM, Robert Cummings schreef:
>> From the editor's draft:
>>
>> "
>> The aside element
On Thu, Feb 11, 2010 at 8:47 AM, Teus Benschop wrote:
> On Thu, 2010-02-11 at 08:26 +, Jochem Maas wrote:
>> if you're doing all this already in order to facilitate a multi-platform
>> install ... why not go the extra yard and have the install process setup
>> a cronjob (or scheduled task, lau
On Thu, 2010-02-11 at 05:59 -0800, Michael A. Peters wrote:
> Michael A. Peters wrote:
> > If is not proper to use for this purpose, what would be?
>
> How about ??
>
To me margin says an area of space around the content. That's not to say
that content can't be put in a margin, but I just do
Michael A. Peters wrote:
If is not proper to use for this purpose, what would be?
How about ??
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 2010-02-11 at 08:26 +, Jochem Maas wrote:
> if you're doing all this already in order to facilitate a multi-platform
> install ... why not go the extra yard and have the install process setup
> a cronjob (or scheduled task, launchd entry, etc, depending on platform)?
The reason is that
If is not proper to use for this purpose, what would be?
suggests a particular type of layout.
suggests content.
is appropriate for some items in a side bar, but not all, and is
often a child of how is being used.
give no semantics.
I would like to see a tag for nav that serves as a tab
On 11 February 2010 09:31, Pat wrote:
> Richard Quadling wrote:
>>
>> On 10 February 2010 16:31, Pat wrote:
>>
>>>
>>> hi all
>>> having trouble here with a site that I am hosting on go-daddy
>>>
>>> I want to keep my php and my images apart
>>>
>>> so to do this I have the base directory which c
On Thu, 2010-02-11 at 10:16 +1100, Ross McKay wrote:
> On Wed, 10 Feb 2010 10:12:01 -0500, Robert Cummings wrote:
>
> >I'm doing quite a bit more work in public sector these days. Recently ne
> >department finally did away with IE6 and moved to IE7. Here's what I had
> >to do to accomodate this
On Thu, 2010-02-11 at 01:44 -0500, Robert Cummings wrote:
> *haha* I've removed w3.org from the recipients list... so onwards to the
> content below...
>
>
> Jochem Maas wrote:
> > Op 2/10/10 9:08 PM, Robert Cummings schreef:
> >> From the editor's draft:
> >>
> >> "
> >> The aside element repr
On Thu, 2010-02-11 at 17:01 +1100, clanc...@cybec.com.au wrote:
> On Wed, 10 Feb 2010 16:08:42 +1030, james.mcl...@gmail.com (James McLean)
> wrote:
>
> >On Wed, Feb 10, 2010 at 2:51 PM, wrote:
> >> I'm basically familiar with the UNIX permissions - 'owner', 'group', or
> >> 'other', but I
>
Op 2/11/10 7:25 AM, Teus Benschop schreef:
> On Thu, 2010-02-11 at 06:46 +, Jochem Maas wrote:
>> Op 2/11/10 6:34 AM, Teus Benschop schreef:
>>> On Thu, 2010-02-11 at 05:53 +, Jochem Maas wrote:
whatever it is that your trying to do, it sounds like one of two things:
1. you h
45 matches
Mail list logo