php-general@lists.php.net

2005-04-19 Thread David Dorward
iven this, why is the default value of arg_separator.output '&' and not '&'? -- David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/> Home is where the ~/.bashrc is -- PHP General Mailing List (http://www.php.net

php-general@lists.php.net

2005-04-20 Thread David Dorward
TML specification even goes so far as to explicitly recommend it. -- David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/> Home is where the ~/.bashrc is -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-general@lists.php.net

2005-04-20 Thread David Dorward
ttribute". Browsers convert & in HTML documents (including in href attributes) to & before they think about them being part of URLs. Can you name any browser that gets it wrong? I stress that typing http://www.example.com/?foo=bar&baz=baa into the address bar is not ho

php-general@lists.php.net

2005-04-20 Thread David Dorward
e fixed by changing the arg_separator.output ini directive. I'm just trying to work out if the default value for that directive is & (rather then & or ;) due to a bug or if there is a good reason for it. -- David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>

[PHP] Re: browser detect and redirect

2005-05-08 Thread David Dorward
c browser. Its very rare that something really needs IE (At least I assume that "+" means "higher" rather that "better"). -- David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/> Home is where the ~/.bashrc i

Re: [PHP] Newbie Form Question

2006-08-07 Thread David Dorward
uot;Status Change Sent"; > else echo "Unable to send Status Change"; > } > ?> What if someone submitted: action = [EMAIL PROTECTED] email = [EMAIL PROTECTED] long winded evil spam message here ? -- David Dorward <http://blog.dorward.me.uk/> <http

[PHP] Re: What am I missing?

2006-03-07 Thread David Dorward
p was not found > on this server. > Why is there TWO admins? Why isn't the path like this...? Presumably because the resource with that form on it is found at the URL /mobilkamera/admin/SOMETHING and your URL is relative to that. http://www.iusmentis.com/technology/www/relative

[PHP] Re: Hidding HTML Input Elements values approach

2006-03-13 Thread David Dorward
ntry name ... which is transmitted in clear text right next to it? If you want encryption, why not just use SSL? -- David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/> Home is where the ~/.bashrc is -- PHP General Mailing List (ht

RE: [PHP] Hidding HTML Input Elements values approach

2006-03-14 Thread David Dorward
: > Preferences > Change Password > Change E-mail Why? > for this you need htaccess on apache -I think- No. .htaccess files just allow you to reconfigure Apache on a per directory basis without restarting the server. -- David Dorward <http://blog.dorward.me.uk/> <http://

[PHP] Re: PHP, SQL, AJAX, JS and populating a SelectBox?

2006-03-18 Thread David Dorward
http://www.google.com/search?q=JavaScript+dynamically+populate+select And the first hit is: http://www.petenelson.com/aspwatch/ASPWatch%20%20Using%20Javascript%20to%20Dynamically%20Populate%20Select%20Lists.htm Which tells you how to do it (ignore the ASP mention, the article is all JavaScript).

[PHP] Re: problem with greek language

2006-04-04 Thread David Dorward
resent those characters as \u (where is the Unicode character specified by four hexadecimal digits), or \XXX (three octal digits representing the Latin-1 character), or \xXX (two hexadecimal digits representing the Latin-1 character). -- David Dorward <http://blog.dorward.me.uk/&g

[PHP] Re: METHOD=POST not worikng

2006-05-14 Thread David Dorward
However, if I use METHOD=POST in the form, I > don't get the data back to the script. The most likely explanation is that there is something wrong with your script or with your form. It would help if you showed the code (a minimal test case by preference) you are trying to use. --

[PHP] Re: Simulating a POST

2006-06-14 Thread David Dorward
, and since you haven't shown us the script, that's all that can really be said). -- David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/> Home is where the ~/.bashrc is -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: How do I create an Outlook calendar entry?

2005-06-24 Thread David Dorward
find a way to generate iCal files. -- David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/> Home is where the ~/.bashrc is -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: css/html expertise??

2005-06-26 Thread David Dorward
bruce wrote: > i'm playing around with css (classes/ids/etc...) does anybody here have > any experience with this or could answer a few questions?? http://www.css-discuss.org/ http://groups-beta.google.com/group/comp.infosystems.www.authoring.stylesheets -- David Dorward

[PHP] Re: input type=file problem (Maybe 0T)

2005-07-31 Thread David Dorward
e image over and over until they fill in the rest of the form correctly. -- David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/> Home is where the ~/.bashrc is -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: wrapping text

2005-08-14 Thread David Dorward
econds of searching). http://search.cpan.org/~muir/Text-Tabs+Wrap-2001.0929/lib/Text/Wrap.pm -- David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/> Home is where the ~/.bashrc is -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: howto send a whole smarty page to a printer

2005-09-05 Thread David Dorward
ders and footers should be added to the page. Look in your browser's preferences. -- David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/> Home is where the ~/.bashrc is -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Javscript embedding problem

2005-09-19 Thread David Dorward
Iggep wrote: > countdown.js looks like this: >

[PHP] Re: how to pass an array to Java script

2005-12-10 Thread David Dorward
ow you want to display it (and if you just want to display it, why aren't you rendering HTML with the PHP in the first place?). -- David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/> Home is where the ~/.bashrc is -- PHP Gen

[PHP] Re: array of checkbox values

2006-01-11 Thread David Dorward
Then you can loop through and see which values were submitted. -- David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/> Home is where the ~/.bashrc is -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Perl script passing variables to a PHP script

2006-01-15 Thread David Dorward
John Meyer wrote: > Hi, If I have a perl script to rip off the mp3 tag information, can I > have that script then pass them into the PHP file? PHP::Interpreter looks like it will do the job. http://www.annocpan.org/~GSCHLOSS/PHP-Interpreter-1.0.1/lib/PHP/Interpreter.pm -- David D

[PHP] Re: Email Form

2006-01-19 Thread David Dorward
tp://uk.php.net/manual/en/function.mail.php Note "additional_headers" in the Parameters section. -- David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/> Home is where the ~/.bashrc is -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: reading variables?

2006-01-20 Thread David Dorward
robably be better off just doing something like this: Delete And then accessing the $_POST['del'][] array that PHP will represent that as. -- David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/> Home is where the ~/.bashrc is -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Hide email addresses from spam bots

2006-02-01 Thread David Dorward
isplay an email address to a human but not to a spambot. > I direct you to "PHP Cookbook" O'Reilly by Sklar page 188. I'm not going to buy a book so I can explain why the technique won't work. -- David Dorward <http://blog.dorward.me.uk/> &l

[PHP] Re: Help retrieving an HTML array

2006-02-01 Thread David Dorward
suit its requirements. The other option is to bypass PHP's query string / post data parser and write your own (you can get access to the raw query string / post data). -- David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/> Home is where

Re: [PHP] Help retrieving an HTML array

2006-02-01 Thread David Dorward
digits (0-9), hyphens (ASCII decimal 45), periods (ASCII decimal 46), underscores (ASCII decimal 95), and colons (ASCII decimal 58). -- http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.2 -- David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>

Re: [PHP] Help retrieving an HTML array

2006-02-01 Thread David Dorward
that ignores that suggestion "slop". -- David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/> Home is where the ~/.bashrc is -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Hide email addresses from spam bots

2006-02-02 Thread David Dorward
played to anybody who can find their view menu. >>I'm not going to buy a book so I can explain why the technique won't work. > Your choice OR you could visit a book store. Assuming they have it in stock, I'm sure the staff would be more than happy for me to stand then with merchandise open jotting down notes. -- David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/> Home is where the ~/.bashrc is -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Missing characters

2006-02-06 Thread David Dorward
though. $html_name_pro = htmlentities($name_pro); print << $html_name_pro HERE; > echo $value ; //Prints out VC V2.4 and I need VC++ V2.4 You need to run this through htmlentities too, otherwise its very likely (I can't see your code so I can't say for cert

[PHP] Re: image location hiding techniques

2006-02-08 Thread David Dorward
s Problems like what? -- David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/> Home is where the ~/.bashrc is -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Page validation: Un-wanted PHP session ID added to links????

2006-02-20 Thread David Dorward
D is getting added to the > end of all my menu links: > > /start.php?page=home&PHPSESSID=45142bb20b8b2e800be5359b667237 http://www.w3.org/QA/2005/04/php-session details how to fix the problem (without breaking the session tracking for users without cookies supported and enabled). --

Re: [PHP] php+ ajax

2006-02-20 Thread David Dorward
; You have to escape the brackets with backslashes, so that the JS > really interprets it as an element ID Element ids may not contain square brackets in HTML documents. -- David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/> Home is where

Re: [PHP] php+ ajax

2006-02-21 Thread David Dorward
--- Kim Christensen <[EMAIL PROTECTED]> wrote: > On 2/21/06, Jochem Maas <[EMAIL PROTECTED]> > wrote: >> Kim do the escaped sqaure brackets work in >> all majors browsers as far as you know? > "Major browsers" as in Firefox and IE for PC/Mac > works great, yes - Many browsers are amazing at bei

Re: [PHP] Problem with Square Brackets [was: php+ ajax]

2006-02-21 Thread David Dorward
of form controls MAY contain square brackets, it is the ids that may not (and the name and id attributes do NOT need to have the same value). -- David Dorward http://dorward.me.uk/ __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best

Re: [PHP] php+ ajax

2006-02-21 Thread David Dorward
s and then deal with more bugs in browsers PLUS browsers rejecting the code on the basis of it not meeting the standard. :) -- David Dorward <http://dorward.me.uk/> __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection aro