Re: [PHP] Swiftlet is quite possibly the smallest MVC framework you'll ever use.

2012-02-12 Thread Benjamin Hawkes-Lewis
m better handled by a tool than switching away from autoloaders. Exuberant Ctags is your friend. -- Benjamin Hawkes-Lewis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [php] static html search engine for php static html site

2011-12-26 Thread Benjamin Hawkes-Lewis
ss you could generate its indexes as part of a static build process. Solr and Sphinx would be examples of FOSS search engines you could use: http://lucene.apache.org/solr/ http://sphinxsearch.com/ -- Benjamin Hawkes-Lewis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Alternative session control system

2011-12-26 Thread Benjamin Hawkes-Lewis
sts going to your server; if that's not the case, then I think we need a much clear description of your setup. -- Benjamin Hawkes-Lewis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP page source charset

2011-12-19 Thread Benjamin Hawkes-Lewis
y ideas? If you're looking up line references from a W3C validator in your PHP code, then you're doing something very wrong and are perhaps fundamentally confused. You need to distinguish between the PHP code itself and the HTML that it generates and dispatches over the wire to

Re: [PHP] Issues with simplexml_load_string()

2011-10-06 Thread Benjamin Hawkes-Lewis
''; > > yields the following output : > > Array > ( >   [message] => lkjlkjklj >   [buttons] => Array >       ( >           [button] => This is my free form text >       ) > ) > > So I get the CDATA but I don't get the "name" attri

Re: [PHP] Installing extensions

2011-09-18 Thread Benjamin Hawkes-Lewis
namically loaded. It does not dictate which extensions it loads at startup - that's "extension". http://php.net/manual/en/ini.core.php http://www.php.net/manual/en/install.pecl.intro.php -- Benjamin Hawkes-Lewis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HTML id attribute and arrays

2010-12-19 Thread Benjamin Hawkes-Lewis
on a form field ("input", "textarea", "select", etc) is different to the "name" attribute on a "a" or "form" element, so this rule does not apply to it. -- Benjamin Hawkes-Lewis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HTML id attribute and arrays

2010-12-17 Thread Benjamin Hawkes-Lewis
id" attributes do not have to be the same. -- Benjamin Hawkes-Lewis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Auto-generating HTML

2010-09-21 Thread Benjamin Hawkes-Lewis
On 20 Sep 2010, at 22:02, Bastien Koert wrote: > The standard suggests that double quotes are to be used for HTML > attributes. Where? -- Benjamin Hawkes-Lewis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] XML DOM

2010-07-21 Thread Benjamin Hawkes-Lewis
(x[i].getElementsByTagName("street2")[0].childNodes.length > 0) ... 2. Use the "textContent" and "innerText" properties to get the text of all/any child nodes. -- Benjamin Hawkes-Lewis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Malformed UTF-8 Data in JSON [SOLVED]

2010-07-14 Thread Benjamin Hawkes-Lewis
re > what's going on there, so obviously more experimentation is needed. Presumably, thanks to your PHP settings, you need stripslashes() on all $_GET, $_POST, and $_COOKIE input. http://www.php.net/manual/en/info.configuration.php#ini.magic-quotes-gpc This does not apply to input from

Re: [PHP] urgent CSS question

2009-05-22 Thread Benjamin Hawkes-Lewis
. 2) Whether you've made any errors when modifying your HTML, which I can't see either. If you provided test cases, I could see these things and answer your questions. Trying to describe the problem rather than /showing/ the problem is very inefficient. -- Benjamin Hawkes-Lewis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] urgent CSS question

2009-05-22 Thread Benjamin Hawkes-Lewis
is the logic here? Without seeing some clear test case links that reproduces the problem for us, I really can't comment about that. It seems to me that what I am trying to do is logically and intuitively clear > and simple. What you're trying to do really isn't clear to

Re: [PHP] urgent CSS question

2009-05-22 Thread Benjamin Hawkes-Lewis
n that HTML/XML "id" attributes may not /begin/ with a number. -- Benjamin Hawkes-Lewis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] urgent CSS question

2009-05-22 Thread Benjamin Hawkes-Lewis
On 22/5/09 12:49, PJ wrote: Sorry, but no one suggested a mailing list for CSS and the W3 Schools Forum has problems. Actually, I did: http://www.css-discuss.org/ Why do I get completely different formatting with two identical classes? I want to change part of the formatting on just one page

Re: [PHP] Re: -less layouts; Ideas welcome

2009-05-21 Thread Benjamin Hawkes-Lewis
ntational table markup for grid layout. Fast forward a decade, and authors are getting another tool in our toolbox, not a million miles away from your 'class="layout"'. I don't think it's very well specified yet, but: http://www.w3.org/TR/wai-aria/#presentation -- Benjamin Hawkes-Lewis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] -less layouts; Ideas welcome

2009-05-21 Thread Benjamin Hawkes-Lewis
ct users to parse linearized "div" elements. Some useful discussion at: http://www.joedolson.com/articles/2006/10/describing-a-semantic-calendar/ http://diveintoaccessibility.org/day_19_using_real_table_headers.html http://georgiatechcatea.wordpress.com/2007/01/16/accessible-calen

Re: [PHP] CSS & tables

2009-05-18 Thread Benjamin Hawkes-Lewis
gn link above. Again, I hope that helps. -- Benjamin Hawkes-Lewis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: CSS & tables

2009-05-18 Thread Benjamin Hawkes-Lewis
r example, from the table: CountryPopulation France65 million United Kingdom61 million A user agent can extract the population of France. -- Benjamin Hawkes-Lewis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] CSS & tables

2009-05-18 Thread Benjamin Hawkes-Lewis
or better than for HTML 4.01. Also, the fact that CSS2.1 implementation is not complete has not dissuaded browser vendors from experimenting with implementations of CSS3 drafts (e.g. "border-radius", "text-overflow"). -- Benjamin Hawkes-Lewis -- PHP General Mailing List (ht

Re: [PHP] CSS & tables

2009-05-17 Thread Benjamin Hawkes-Lewis
On 17/5/09 22:43, Paul M Foster wrote: *Except* in IE6, which is what probably most of the world is using. Probably "a lot" rather than "most". http://www.upsdell.com/BrowserNews/stat.htm --- Benjamin Hawkes-Lewis -- PHP General Mailing List (http://www.php.net/) To unsu

Re: [PHP] CSS & tables

2009-05-17 Thread Benjamin Hawkes-Lewis
ou mention, you've "managed to do some pages with CSS" - maybe you just need pointing in the right direction. :) It's worth raising your question even if you won't have time to apply the answer to this particular project. Before consulting such a forum, I'd r

Re: [PHP] How about a saveXHTML for the DOM?

2009-04-09 Thread Benjamin Hawkes-Lewis
s compatible with HTML 4.01 and which may also be labeled as text/html." http://www.ietf.org/rfc/rfc2854.txt (I'm not saying it's a good idea, mark you! http://hixie.ch/advocacy/xhtml ) -- Benjamin Hawkes-Lewis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Parsing HTML href-Attribute

2009-01-18 Thread Benjamin Hawkes-Lewis
d other illegal characters) in HREF values. The HTML5 draft proposes an algorithm for parsing and resolving HREF values that includes such error handling: http://www.whatwg.org/specs/web-apps/current-work/#parsing-urls http://www.whatwg.org/specs/web-apps/current-work/#resolving-urls -- Be

Re: [PHP] PHP, Smarty, and Text

2009-01-14 Thread Benjamin Hawkes-Lewis
e semantic meaning _is_ intended by bold or italic but that meaning is _not_ stress, it's best to use relevant specific elements ("code", "var", "cite", "q", "kbd", "samp", etc.?) or failing that class names that express meaning not

Re: [PHP] What does

2008-12-28 Thread Benjamin Hawkes-Lewis
On 28/12/08 16:47, Jim Lucas wrote: short tags are enabled. Disable them in your php.ini file and you will be good. Alternately: '; ?> -- Benjamin Hawkes-Lewis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] table mixing PHP, javascript, ajax and CSS

2008-12-28 Thread Benjamin Hawkes-Lewis
the table it self (in terms of columns amount, of presented data record,...) the user will have only to run a js function which will include the frame.php file into his own webpage with the template given as parameter. The use of JS as an include mechanism is largely pernicious. Couldn't t

Re: [PHP] Curl with asp pages....

2008-12-17 Thread Benjamin Hawkes-Lewis
n Rails: http://dev.rubyonrails.org/ticket/6645 IIRC there's nothing in the URI, HTML, or CGI specs that enforces how these should be interpreted. -- Benjamin Hawkes-Lewis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] IE8 and HTML5

2008-12-04 Thread Benjamin Hawkes-Lewis
in beta when Chrome was released, standard support in IE8 is mostly a product of decisions taken before that time. -- Benjamin Hawkes-Lewis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Javascript mailing list

2008-08-30 Thread Benjamin Hawkes-Lewis
Richard Heyes wrote: Can anyone recommend a good Javascript related mailing list? http://lists.evolt.org/mailman/listinfo/javascript perhaps. -- Benjamin Hawkes-Lewis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Returning response includes HTML form data

2008-08-02 Thread Benjamin Hawkes-Lewis
at text happens to be a form. -- Benjamin Hawkes-Lewis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] remembering where the user is on the page??

2008-08-02 Thread Benjamin Hawkes-Lewis
soup), XHTML 1.0 has no advantages when served as tag soup, and XHTML 1.1 must not be served as text/html. ;) -- Benjamin Hawkes-Lewis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] anyone have HTML snippet example of HTTP method = put?

2008-08-02 Thread Benjamin Hawkes-Lewis
sers can speak or braille "File: " when the focus enters the control. For a detailed explanation, see: http://reference.sitepoint.com/html/label http://www.w3.org/TR/WCAG20-TECHS/H44.html http://green-beast.com/blog/?p=254 http://www.w3.org/TR/html401/interact/forms.html#h-17.9 Hope that helps

Re: [PHP] Retrive a ID or Class value from a form input field

2008-06-09 Thread Benjamin Hawkes-Lewis
ically insecure. -- Benjamin Hawkes-Lewis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php