Re: [PHP] Persistent flag in memory

2010-02-11 Thread Jochem Maas
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 have hosting that

Re: [PHP] Owner or other; permissions for webpage users

2010-02-11 Thread Ashley Sheridan
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, clanc...@cybec.com.au wrote: I'm basically familiar with the UNIX permissions - 'owner', 'group', or

Re: [PHP] HTML5 aside description

2010-02-11 Thread Ashley Sheridan
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 represents a section of

Re: [PHP] PHP Manual problems

2010-02-11 Thread Ashley Sheridan
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

Re: [PHP] problems with permissions or getting access to a file

2010-02-11 Thread Richard Quadling
On 11 February 2010 09:31, Pat patrick.j.r...@gmail.com wrote: Richard Quadling wrote: On 10 February 2010 16:31, Pat patrick.j.r...@gmail.com 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

Re: [PHP] HTML5 aside description

2010-02-11 Thread Michael A. Peters
If aside is not proper to use for this purpose, what would be? sidebar suggests a particular type of layout. section suggests content. nav is appropriate for some items in a side bar, but not all, and is often a child of how aside is being used. div give no semantics. I would like to see a

Re: [PHP] Persistent flag in memory

2010-02-11 Thread Teus Benschop
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

Re: [PHP] HTML5 aside description

2010-02-11 Thread Michael A. Peters
Michael A. Peters wrote: If aside is not proper to use for this purpose, what would be? How about margin ?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HTML5 aside description

2010-02-11 Thread Ashley Sheridan
On Thu, 2010-02-11 at 05:59 -0800, Michael A. Peters wrote: Michael A. Peters wrote: If aside is not proper to use for this purpose, what would be? How about margin ?? 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

Re: [PHP] Persistent flag in memory

2010-02-11 Thread Bastien Koert
On Thu, Feb 11, 2010 at 8:47 AM, Teus Benschop teusjanne...@gmail.com 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

Re: [PHP] HTML5 aside description

2010-02-11 Thread Robert Cummings
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

Re: [PHP] HTML5 aside description

2010-02-11 Thread Robert Cummings
Michael A. Peters wrote: If aside is not proper to use for this purpose, what would be? sidebar suggests a particular type of layout. section suggests content. nav is appropriate for some items in a side bar, but not all, and is often a child of how aside is being used. div give no semantics.

Re: [PHP] HTML5 aside description

2010-02-11 Thread Robert Cummings
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

Re: [PHP] HTML5 aside description

2010-02-11 Thread Ashley Sheridan
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 9:08 PM, Robert

Re: [PHP] HTML5 aside description

2010-02-11 Thread Michael A. Peters
Robert Cummings wrote: Michael A. Peters wrote: If aside is not proper to use for this purpose, what would be? sidebar suggests a particular type of layout. section suggests content. nav is appropriate for some items in a side bar, but not all, and is often a child of how aside is being used.

Re: [PHP] HTML5 aside description

2010-02-11 Thread Ashley Sheridan
On Thu, 2010-02-11 at 07:02 -0800, Michael A. Peters wrote: Robert Cummings wrote: Michael A. Peters wrote: If aside is not proper to use for this purpose, what would be? sidebar suggests a particular type of layout. section suggests content. nav is appropriate for some items in a

Re: [PHP] HTML5 aside description

2010-02-11 Thread Robert Cummings
Michael A. Peters wrote: Robert Cummings wrote: Michael A. Peters wrote: If aside is not proper to use for this purpose, what would be? sidebar suggests a particular type of layout. section suggests content. nav is appropriate for some items in a side bar, but not all, and is often a child

Re: [PHP] HTML5 aside description

2010-02-11 Thread tedd
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

Re: [PHP] HTML5 aside description

2010-02-11 Thread Robert Cummings
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

Re: [PHP] Persistent flag in memory

2010-02-11 Thread Teus Benschop
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

RE: [PHP] RE: SOAP connect error

2010-02-11 Thread Eric Lommatsch
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 :

[PHP] PHP will NOT display this on my dev machine: Warning: session_start()...

2010-02-11 Thread John Black
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()

Re: [PHP] PHP will NOT display this on my dev machine: Warning: session_start()...

2010-02-11 Thread Adam Richardson
Do you have output buffering turned on? On Thu, Feb 11, 2010 at 1:19 PM, John Black s...@network-technologies.orgwrote: 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

Re: [PHP] PHP will NOT display this on my dev machine: Warning: session_start()...

2010-02-11 Thread Ashley Sheridan
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 the

Re: [PHP] Persistent flag in memory

2010-02-11 Thread Jochem Maas
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 a

Re: [PHP] PHP will NOT display this on my dev machine: Warning: session_start()...

2010-02-11 Thread John Black
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,

[PHP] Mysql statement works in phpmyadmin but not in php page

2010-02-11 Thread james stojan
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

Re: [PHP] Mysql statement works in phpmyadmin but not in php page

2010-02-11 Thread Joseph Thayne
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

Re: [PHP] Mysql statement works in phpmyadmin but not in php page

2010-02-11 Thread Kim Madsen
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

Re: [PHP] Mysql statement works in phpmyadmin but not in php page

2010-02-11 Thread Mari Masuda
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:

Re: [PHP] Mysql statement works in phpmyadmin but not in php page

2010-02-11 Thread james stojan
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

Re: [PHP] Mysql statement works in phpmyadmin but not in php page

2010-02-11 Thread Joseph Thayne
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:

Re: [PHP] Mysql statement works in phpmyadmin but not in php page

2010-02-11 Thread James McLean
On Fri, Feb 12, 2010 at 8:27 AM, Joseph Thayne webad...@thaynefam.org 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

Re: [PHP] Mysql statement works in phpmyadmin but not in php page

2010-02-11 Thread Joseph Thayne
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

Re: [PHP] Mysql statement works in phpmyadmin but not in php page

2010-02-11 Thread Jochem Maas
Op 2/11/10 10:51 PM, James McLean schreef: On Fri, Feb 12, 2010 at 8:27 AM, Joseph Thayne webad...@thaynefam.org 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

Re: [PHP] Mysql statement works in phpmyadmin but not in php page

2010-02-11 Thread James McLean
On Fri, Feb 12, 2010 at 9:31 AM, Jochem Maas joc...@iamjochem.com 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

Re: [PHP] Mysql statement works in phpmyadmin but not in php page

2010-02-11 Thread James McLean
On Fri, Feb 12, 2010 at 9:31 AM, Joseph Thayne webad...@thaynefam.org 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

Re: [PHP] Mysql statement works in phpmyadmin but not in php page

2010-02-11 Thread Joseph Thayne
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 webad...@thaynefam.org wrote: As for the backticks, they are required because of MySQL, not because of phpMyAdmin. The issue

Re: [PHP] PHP Manual problems

2010-02-11 Thread clancy_1
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

[PHP] the limitation of upload_max_filesize, post_max_size

2010-02-11 Thread pinate
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

Re: [PHP] Mysql statement works in phpmyadmin but not in php page

2010-02-11 Thread Paul M Foster
On Fri, Feb 12, 2010 at 09:44:47AM +1030, James McLean wrote: On Fri, Feb 12, 2010 at 9:31 AM, Joseph Thayne webad...@thaynefam.org 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

Re: [PHP] PHP Manual problems

2010-02-11 Thread Paul M Foster
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 difficulties

RE: [PHP] Mysql statement works in phpmyadmin but not in php page

2010-02-11 Thread Joseph Thayne
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

[PHP] Checking correct usage of fopen(), stream_set_timeout() and fread() [newbie]

2010-02-11 Thread Mark White
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

Re: [PHP] Mysql statement works in phpmyadmin but not in php page

2010-02-11 Thread Paul M Foster
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