Re: [PHP] Connection Handling - unreliable at best?

2011-02-20 Thread James Green
rote: > On Fri, Feb 18, 2011 at 10:21, James Green wrote: >> Been reading through >> http://uk.php.net/manual/en/features.connection-handling.php and >> trying to implement a solution using it. So far the documented >> behaviour rarely occurs. >> >> This cod

[PHP] Connection Handling - unreliable at best?

2011-02-18 Thread James Green
Been reading through http://uk.php.net/manual/en/features.connection-handling.php and trying to implement a solution using it. So far the documented behaviour rarely occurs. This code is a minimal test case: http://codepad.org/GqNlcWiM I run this behind Apache 2.2 with PHP 5.3 on Linux. The in-li

Re: [PHP] Protocol on handling empty checkbox values

2002-08-16 Thread James Green
do a for loop, and perform an if (isset($_POST["checkbox_number_$loop"])) then you know if it's set or not. I think that just about covers it. Apologies if I have misread/misinterpreted what you have asked. James Green -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: controls "list menu"

2002-08-13 Thread James Green
On Tue, 2002-08-13 at 11:35, Peter Bottenberg wrote: > Hy, > > Save this script as select.php > > $action = $_POST["action"]; > if (!isset($action)) > { > $action = "select"; > } [ snip rest ] Sorry, but the PHP irc channel is full of people asking why form variables can't be seen by PHP f

Re: [PHP] N6: PHP files can't "show source"

2002-08-13 Thread James Green
On Tue, 2002-08-13 at 05:04, Jean-Christian Imbeault wrote: > I'm using Netscape 6.2 and whenever I load one of my .php files I can't > get Netscape to "show source". I don't have that problem with IE. > > Can anyone tell me how to configure Netscape so that I can view the HTML > output of my P

Re: [PHP] include & require directive

2002-08-13 Thread James Green
On Tue, 2002-08-13 at 02:55, Huy wrote: > But I do... > > If I left out the require statement all is well.. or I copy the whole > content of the included file.. it works fine. The problem is the require > statement. Check the file for whitespace, anything outside ?>..http://www.php.net/) To

RE: [PHP] HTML issue... spaces in between images

2002-08-13 Thread James Green
On Tue, 2002-08-13 at 02:29, Matt Babineau wrote: > > > > > > > > Which leads to other "mysterious" gaps (that are again part of the HTML spec), the fix is provided here: http://developer.netscape.com/evangelism/docs/articles/img-table/ James -- PHP General Mail

Re: [PHP] Evaluating server date ranges?

2002-08-12 Thread James Green
On Mon, 2002-08-12 at 10:41, Joe in Minneapolis wrote: > What's the best way to evaluate the server date to see if it's within a > specified date range? Hm I'd [gm]mktime() both boundary dates, then turn all three dates into unix timestamps and check the server date is within the two integer bou

Re: [PHP] include & require directive

2002-08-12 Thread James Green
On Mon, 2002-08-12 at 22:14, Huy wrote: > If I use either the include or require statement, PHP will generate some > lines in the browser. For example, I want the first line is Hello There.. > echo ("Hello There"); but the line happens to be the third line after some > blank lines. So how do I tur

Re: [PHP] Strip PHP tags

2002-08-12 Thread James Green
On Mon, 2002-08-12 at 18:35, Remy Dufour wrote: > Hi all, > > Is there an easy way to remove tag from a string ? > Ive got this script and i want it to output only html... > I know i can do this with regular expression but i wonder if there are some > native function to do the job. http://uk.ph

[PHP] Multiple layout strategy, advice saught!

2002-03-14 Thread James Green
proceed to build urls from there. Thoughts gratefully appreciated. Help! :) -- James Green Developer Stealthnet.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] configure problem: --with-mysql=/what exactly?

2001-11-19 Thread James Green
up the currect socket path. Many thanks, James Green -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Multiviews and GET requests no longer working?

2001-11-17 Thread James Green
On Fri, 2001-11-16 at 17:49, James Green wrote: > If I call foo?id=1, not only is the id variable not set, > _SERVER[QUERY_STRING] isn't either. Cookies and session variables work > fine, it's just variables passed via GET. If I turn off Multiviews, the > variables come thro

Re: [PHP] Multiviews and GET requests no longer working?

2001-11-17 Thread James Green
On Fri, 2001-11-16 at 17:49, James Green wrote: > If I call foo?id=1, not only is the id variable not set, > _SERVER[QUERY_STRING] isn't either. Cookies and session variables work > fine, it's just variables passed via GET. If I turn off Multiviews, the > variables come thro

Re: [PHP] quick friday query

2001-11-16 Thread James Green
On Fri, 2001-11-16 at 17:49, Caspar Kennerdale wrote: > I am writing files to my server using > > $fp = fopen("myfile.txt", "w"); > > this all works. However in the php manual it says that by using the "w" > switch that php will create the file if it doesn exist > > However this does not seem t

[PHP] Multiviews and GET requests no longer working?

2001-11-16 Thread James Green
.ini file, nothing in the php.ini or httpd.conf files appears to have changed. I'm at a loss. Please help! Thanks, James Green -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list