[PHP] include

2011-11-19 Thread Tim Streater
refore take it that there is none? Failing that, is there a good way to dynamically replace parts of a PHP program, possibly using runkit? -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] Sniping on the List

2011-11-18 Thread Tim Streater
ientific creationism". > Thus before the big bang > is perfectly valid whether we could perceive it or not. Not really. It's as meaningless as asking what's north of the North Pole. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] socket_recv

2011-11-17 Thread Tim Streater
omplete, I wouldn't expect there to be any data if the client hasn't sent any. Is there a way to wait with timeout on data showing up at a socket? -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] Think I found a PHP bug

2011-11-17 Thread Tim Streater
On 16 Nov 2011 at 16:30, Geoff Shang wrote: > On Wed, 15 Nov 2011, Tim Streater wrote: > >> I find I need to do this: >> >> date_default_timezone_set (@date_default_timezone_get ()); >> >> in all my scripts since 5.x.x to avoid rude messages. > > Apart

Re: Re: [PHP] {} forms

2011-11-16 Thread Tim Streater
> Oh. I've fixed the layout bug for > http://docs.php.net/manual/en/language.types.string.php#example-70. Ah *that's* where it was hiding. Thanks - got it now. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] {} forms

2011-11-16 Thread Tim Streater
there any particular benefit to using that form? Or if not, what do they mean? (I've read up about variable variables). Thanks, -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: RE: RE: [PHP] Safari and PDF

2011-11-16 Thread Tim Streater
you to download this PDF and "needs Acrobat Reader" which is complete cock. > Anyway, I realize this topic is now slightly off list. True but I think you needed a rant :-) -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: RE: [PHP] Safari and PDF

2011-11-16 Thread Tim Streater
es when I can't be bothered to fire up Elements. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Think I found a PHP bug

2011-11-15 Thread Tim Streater
I find I need to do this: date_default_timezone_set (@date_default_timezone_get ()); in all my scripts since 5.x.x to avoid rude messages. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] Safari and PDF

2011-11-15 Thread Tim Streater
ally, which it does but not always (sometimes goes straight to disk). But if it shows in the browser window then there are buttons to save or open in Preview. I've not needed Acrobat on a Mac for years. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

Re: [PHP] What is an information_id in directory

2011-10-29 Thread Tim Streater
email with images to this list. That is a waste of time (images are stripped). You'll need to send another email formatted as text-only. As it stands your mail made no sense at all. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] Execute permission question

2011-10-28 Thread Tim Streater
following: #!/usr/bin/php then you can run it at the command line by typing its name at the prompt - but wiggy will need to have execute permission set. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] Geo IP Location help needed...

2011-10-25 Thread Tim Streater
on B (shows full details). Then click on Search, and scroll down to look at the results. You need to look at the inetnum object that contains the IP address of interest, then see Country. Be aware that what this tells you is where an IP block is registered. Nothing to stop the entity using

Re: Re: [PHP] Friday Distraction

2011-10-21 Thread Tim Streater
has a royalty-free non-exclusive licence to all your data anyway. Once you put it up there, they can use it any way they like. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Friday Distraction

2011-10-21 Thread Tim Streater
On 21 Oct 2011 at 17:27, Daniel Brown wrote: > I'll get this week's Friday distraction kicked off here with > something shared with me by a Facebook friend. If you're on Facebook, > try this. Well, I'm not. I took one look at their Ts&Cs and thought "S

Re: Re: [PHP] junk from my forms output

2011-10-19 Thread Tim Streater
text file. Resave it as > a plain text file. Sounds like you should also use a text editor rather that Word or similar for editing your program files. Use Notepad or whatever they have or Windows machines. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP 5.2 and Apache 2.2 are really compatible?

2011-10-19 Thread Tim Thorburn
Could also try running a Linux distro in a VM on your computer - many will come pre-configured with Apache and PHP, or provide an easy installer/command line to get you up and running. Ubuntu is very beginner friendly. HTH, -Tim

Re: Re: [PHP] Local variable protection

2011-10-14 Thread Tim Streater
On 14 Oct 2011 at 16:46, Tedd Sperling wrote: > On Oct 13, 2011, at 11:37 AM, Tim Streater wrote: >> On 13 Oct 2011 at 16:25, Tedd Sperling wrote: >>> So, if you want a main script variable (i.e., $myVar) to be accessed by a >>> function, you can do it by

Re: Re: [PHP] Local variable protection

2011-10-13 Thread Tim Streater
Var; > // and then using $myVar > } > > or > > myFunction > { > $myVar = $GLOBAL['myVar'] > // and then using $myVar > } But presumably these are not *quite* equivalent, as modifying $myVar will change the global in the first but not in the second. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: Re: Re: [PHP] Multiple SQLite statements

2011-10-11 Thread Tim Streater
On 11 Oct 2011 at 11:25, David Robley wrote: > Tim Streater wrote: >> On 11 Oct 2011 at 10:47, David Robley wrote: >>> Tim Streater wrote: >>>> On 11 Oct 2011 at 03:03, Paul M Foster wrote: >>>>> On Mon, Oct 10, 2011 at 04:14:00PM +0100, Tim St

Re: Re: Re: [PHP] Multiple SQLite statements

2011-10-11 Thread Tim Streater
On 11 Oct 2011 at 10:47, David Robley wrote: > Tim Streater wrote: > >> On 11 Oct 2011 at 03:03, Paul M Foster wrote: >> >>> On Mon, Oct 10, 2011 at 04:14:00PM +0100, Tim Streater wrote: >>> >>>> I would like to use the SQLite3 (not PDO) interfac

Re: Re: [PHP] Multiple SQLite statements

2011-10-11 Thread Tim Streater
On 11 Oct 2011 at 03:03, Paul M Foster wrote: > On Mon, Oct 10, 2011 at 04:14:00PM +0100, Tim Streater wrote: > >> I would like to use the SQLite3 (not PDO) interface to SQLite, and I >> would like to be able to supply a string containing several SQL >> statements an

Re: Re: [PHP] Re: Oi , Portas/ Hello, Ports

2011-10-10 Thread Tim Streater
inspect, then as Jim mentioned, PHP is > not for you and something like java may be better suited, although I'm not > sure how much power an applet has in this area. Nothing wrong with using PHP client-side, I run plenty of PHP scripts that way. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Multiple SQLite statements

2011-10-10 Thread Tim Streater
could confirm that. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Variable question

2011-10-01 Thread Tim Streater
er_$correct_answer; > > $trivia_answer_1 = “1,000”; > $trivia_answer_2 = “1,250”; > $trivia_answer_3 = “2,500”; > $trivia_answer_4 = “5,000”; Not completely obvious to me what you're trying to do but I assume its: echo '\$trivia_answer_' . $correct_answer . " = \&

Re: [PHP] Input variable from form help request

2011-09-29 Thread Tim Streater
a big mess of single and double quotes to me. Why don't you go through it very carefully? I'd be inclined to make a small test program separate from the web page stuff and do things like: http://mydomain.com/files/".$_POST['trakname']."','/".$_POST['dirname']."/".$_POST['trakname']."'; echo $myvar; ?> and fiddle until that works. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Question about losing port number

2011-09-26 Thread Tim Streater
n my local; however, what i really want is > https://127.0.0.1:9090/login, it is missing ":9090". I also have tried to > use $_SERVER['SERVER_PORT'], but $_SERVER['SERVER_PORT'] doesn't give me > 9090, it gives me 80. Where does the 9090 come from? -- Che

Re: [PHP] PHP installations, usage, and popularity

2011-09-20 Thread Tim Thorburn
On 9/19/2011 5:08 PM, Tedd Sperling wrote: As such, I need information regarding how wide-spread PHP is (i.e., number of installations), who's using it (i.e., companies, organizations), and how it compares with other Web Languages (i.e., ASP, Ruby, etc.). Since it's a school, you might also wan

[PHP] Search for string followed by whitespace

2011-09-18 Thread Tim Streater
At the moment, I'm doing this: $start = stripos ($body, "-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Fwd: [PHP] Bug?

2011-09-15 Thread Tim Streater
has been known ever since the first such hardware in the mid-1950's, in fact. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: Re: [PHP] What would you like to see in most in a text editor?

2011-09-14 Thread Tim Streater
among foreign machines and networks Yes, this is entirely valid IMO. I still have my ultrix vi summary card for such occasions. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] What would you like to see in most in a text editor?

2011-09-14 Thread Tim Streater
me 5 minutes to find out how to use it. I didn't need teaching about it or to have a manual. So IMO, emacs, vi, and all their ilk belong in the dustbin of history. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Opening Multiple Files

2011-09-07 Thread Tim Streater
> $myFile = "B01C001.htm"; > $lines = file($myFile); > foreach ($lines as $line_num => $theData) { > > Is there a way PHP will open each file in the directory ending in “.htm”, > one file at a time, without me specifying the file name? You can use opendir() and readdir

Re: Re: [PHP] Code should be selv-maintaining!

2011-09-01 Thread Tim Streater
... Whitesmith's is -GLEE! ;) >> >> Beauty is in the eye of the beholder. > > So I think we've all established that Whitesmith's is the way to go, I've been using the Whitesmith's style since I started coding in BCPL in the mid-70s. Having the

Re: Re: [PHP] Re: Code should be selv-maintaining!

2011-08-29 Thread Tim Streater
/printing. > And, I already add a comment to confirm the end brace: > > } // end if($myVar) > > to clarify any long nests. The fact that you feel the need to do that is a giveaway. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to catch an irregular end of an application?

2011-08-26 Thread Tim Streater
ere some way to let an javascript event trigger some ajax to store > an exit time into my DB or make it mandatory to at least visit the > logout.php before someone can surf away? Use the onbeforeunload event. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To uns

Re: Re: [PHP] Login with Remember me Feature

2011-08-14 Thread Tim Streater
d what happens if your "if" doesn't evaluate to true? What do you return then? > * * > * > *if (loggedin==true)* > *{* Should this be: if ($loggedin==true) ... -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with inserting numbers...

2011-08-11 Thread Tim Streater
ound the inner loop 5 times. What is the value of $num when you then exit the inner loop in order to do the test against 1 in the outer loop? You need to rework that logic. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] text insertion

2011-08-10 Thread Tim Streater
On 10 Aug 2011 at 22:07, Chris Stinemetz wrote: >> >>    Use HTML 'pre' tags: >> >>         >> > > I just tried that and that puts all the text on a single line. You could write the string into another textarea, which you could make readonly

Re: Re: [PHP] text insertion

2011-08-10 Thread Tim Streater
eed what you want. But can you put a inside a table cell? (I don't know that you can't, but it seems an odd thing to do). -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Using function prototypes in code

2011-08-10 Thread Tim Streater
classes can. I have successfully used the technique to > catch run-time errors of wrong object types when testing, but am > surprised that I can't use it to trap unexpected basic types - or at > least to document what is expected. This is PHP, not FORTRAN IV. Personally I see it as

Re: Re: [PHP] pass text variables to next page

2011-08-09 Thread Tim Streater
to do that. 2) Having created $sql, echo it out. That way you could see whether it's correct or not. Doing (1) and (2) will make it a damn sight easier to see what you are *actually* creating. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] Re: testing

2011-08-04 Thread Tim Streater
On 04 Aug 2011 at 15:48, Jim Giner wrote: > Sounds like time for me to move on. > Thanks for the info Dan. Say Jim, Why don't you pick it up as mail like the rest of us? -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: RE: Re: [PHP] pathinfo function

2011-07-27 Thread Tim Streater
On 27 Jul 2011 at 11:09, Mike Ford wrote: >> -Original Message- >> From: Tim Streater [mailto:t...@clothears.org.uk] >> Seems to me that's the case. However the doc is ambiguous, >> especially as I *asked* for that key to be returned. IMO it should >&g

Re: Re: [PHP] pathinfo function

2011-07-27 Thread Tim Streater
On 26 Jul 2011 at 23:55, Micky Hulse wrote: > On Tue, Jul 26, 2011 at 3:47 PM, Tim Streater wrote: >> that I will get an error if I try to reference $info["extension"] ?? > > From what I can tell via reading the docs: > > "The following associative

[PHP] pathinfo function

2011-07-26 Thread Tim Streater
Is it to be expected that, if a file has no extension, and I do this: $info = pathinfo ($myfile); that I will get an error if I try to reference $info["extension"] ?? -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: RE: RE: [PHP] Use of preg_replace

2011-07-24 Thread Tim Streater
tarts at the start of the line. So, I experimented a bit and the following works: $onemore = preg_replace ('/^(>*From )/', '>$1', $line); $oneless = preg_replace ('/^>(>*From )/', '$1', $line); Thanks for the help. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: RE: RE: [PHP] Use of preg_replace

2011-07-24 Thread Tim Streater
','>$1', $line) > > Removing one '>': > > preg_replace('/(^>([>]+From )/','$1', $line) Thanks, I'll try that. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: RE: [PHP] Use of preg_replace

2011-07-24 Thread Tim Streater
On 24 Jul 2011 at 19:35, Dajka Tamás wrote: > I lost trail, what do you want to do? > > You want to convert > >>>> From > > to this: > >>> From The number of > in front of "From " is not known. I want to be able to add or remove one.

[PHP] Use of preg_replace

2011-07-24 Thread Tim Streater
So, if my text string is in $line, I ought to be able to do something like: $line = preg_replace ($pattern, $replacement, $line); But, since all regexps are to me, like TECO commands, no better than line-noise, how do I make up $pattern and $replacement from the proffered regexps? Thanks

Re: [PHP] Fwd: ezmlm warning

2011-07-20 Thread Tim Thorburn
On 7/20/2011 6:19 AM, Ashley Sheridan wrote: Louis Huppenbauer wrote: got the same problem today mayhabs gmail had a small problem... who knows ;) 2011/7/20 Lester Caine Tamara Temple wrote: Um... what's going on here? Why would google mail be bouncing?? Happens quite often ... just me

Re: [PHP] How to sum monetary variables

2011-07-18 Thread Tim Streater
nvert to £xxx.xx for external display. Then just use integer arithmetic for the calculations. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] Your language sucks because...

2011-07-14 Thread Tim Streater
of the content > will > be deleted? A number of the -ve's I'd personally flag as +ve's and complain if > anybody changed them ... > Generally I'd say the whole page simply sucks :) Particularly as it's written by a fathead who thinks that "lose"

Re: Re: [PHP] What is a label?

2011-07-13 Thread Tim Streater
ssed thus: '[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*' Except that variables are case-sensitive whereas function names are not. And if there's going to be a formal or "programmatic" definition, then I think I'd prefer BNF to a regexp. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] What is a label?

2011-07-13 Thread Tim Streater
Looking over the definition of a function today I see: Function names follow the same rules as other labels in PHP. but I can't find the definition of a label anywhere. I can't see it listed in the contents - have I overlooked it? If not, how can I request the the doccy be upd

Re: Re: [PHP] Re: Re: Top Posting

2011-07-06 Thread Tim Streater
aware that is listed but cannot get to the bottom of why it is flagged. Frankly, I don't know why you are getting mail from me - I'm not sending you any. As for your solution to spam. What is Postfix? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph

Re: Re: [PHP] Re: Re: Top Posting

2011-07-06 Thread Tim Streater
esian filter for my e-mail app. Let the spammer, by sending you the mail, indicate what is spam and what is not. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Top Posting

2011-07-05 Thread Tim Streater
ll down to the bottom of the email and it considers that to be > an adjustment to the original email, plus I have to manually write my > signature block. What is meant by "an adjustment to the original mail"? You could try switching to another email client. -- Cheers -- Ti

Re: [PHP] PHP EOL

2011-07-04 Thread Tim Streater
FC is an internal link which makes finding things in the RFC rather easier. The following list of RFCs is the set I consulted when writing my own email client: a) RFC 5034 POP3 b) RFC 2821 SMTP c) RFC 5322 Internet Message Format d) RFC 2045, 2046, 2047, 2048, 2049, (MIME), and 2183 --

Re: Re: [PHP] Time zones are spinning my brain

2011-06-29 Thread Tim Streater
On 29 Jun 2011 at 17:25, Richard Quadling wrote: > And UTC is not the same as GMT. Ish. Yes it is. > GMT is only valid for 6 months of the year. Then, due to DST, it becomes BST. No, the UK is on GMT for 5 months a year and then on BST (GMT+1) for 7 months. -- Cheers -- Tim -

Re: [PHP] PHP 5.4.0alpha1 released

2011-06-28 Thread Tim Streater
On 28 Jun 2011 at 22:39, David Soria Parra wrote: > You can read more information about this release here: > http://www.php.net/archive/2011.php#id2011-06-28-1 Not quite yet, perhaps? -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: Re: [PHP] Re: [PHP-DB] Re: radio form submission

2011-06-27 Thread Tim Streater
ion :) >> >> > Tamara, kind of like this one? > > http://ca3.php.net/manual/en/control-structures.goto.php I haven't used a goto since I stopped writing FORTRAN in 1978. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Php filter validate url

2011-06-27 Thread Tim Streater
. And why does it matter, anyway? -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] jQuery to PHP

2011-06-23 Thread Tim Streater
27;s id into the form, seems to me. Why use >> ajax for that? > Please tell me how to do that [write cell's id into form]. Something like (e.g.): Move From: and then in your onclick handler: document.getElementById("xyz").textContent = this.id; I'd say also that you ne

Re: Re: Re: [PHP] jQuery to PHP

2011-06-22 Thread Tim Streater
cell, the onclick handler can write the cell's id into the form, seems to me. Why use ajax for that? BTW, I'm replying via the list (even though so far this has minimal PHP content) because my mail host at clothears appears to be on earthlink's shitlist. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] jQuery to PHP

2011-06-22 Thread Tim Streater
On 22 Jun 2011 at 20:56, Jim Lucas wrote: > On 22/6/2011 12:43 PM, Tim Streater wrote: >> On 22 Jun 2011 at 19:44, Ethan Rosenberg wrote: >> >>> I have a PHP program which will generate a chess board with a form in >>> the program. I wish to fill the form by cl

Re: [PHP] jQuery to PHP

2011-06-22 Thread Tim Streater
rks, but the value never gets into the form. So where is jq_test.php? And why do you seem to be referring to it both in what looks like an ajax request (I've never ever looked at jquery, so I'm guessing here) and also as the action of a form? -- Cheers -- Tim -- PHP General Mailing Li

Re: [PHP] PHP and Windows 7 g6-bit

2011-06-15 Thread Tim Thorburn
On 6/15/2011 11:37 AM, Byron Como wrote: Does the precompiled windows binary work on win 7 64? It does, however if you're using Apache as your webserver, for PHP 5.3+ you won't be able to use the binaries from apache.org for Windows. There is a link to Apache Lounge found here: http://window

Re: [PHP] What do you get for ...

2011-06-07 Thread Tim Streater
On 07 Jun 2011 at 11:35, Richard Quadling wrote: > What do you get for ... > > php -r "var_dump(realpath(null));" OS X: string(10) "/Users/tim" -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] Re: phpsadness - P.C. shmee seee.

2011-06-05 Thread Tim Streater
n on another computer, another word processor, or another network. -- Tim Berners-Lee -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] Re: phpsadness - P.C. shmee seee.

2011-06-05 Thread Tim Streater
ng really old [1], but Safari 5.0.5? I find that to be a damn cheek. I expect sites to be standards-based. [1] Don't ask me what that means. I've not kept up with what new stuff is around now that wasn't, ten years ago. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] phpsadness - P.C. shmee seee.

2011-06-05 Thread Tim Streater
; features this site requires. > Please use Internet Explorer or Firefox." > ROFL. Good one. Anyone whose site says that sort of crap needs a good smack. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Announcing New PHP Extension: System Detonation Library (was: phpsadness)

2011-06-04 Thread Tim Streater
his morning to build and release a new PHP extension, > which provides a single function: detonate(). No Manfred Mann though. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] iPhone sadness

2011-05-30 Thread Tim Thorburn
Is there any way that we could simply ban these ridiculous top-posting vs bottom-posting threads that seem to come along every few weeks? I frankly don't care where a person writes a reply - I'm quite able to scan through an email message to find the relevant points regardless. Maybe we could

Re: Re: [PHP] iPhone sadness

2011-05-30 Thread Tim Streater
ause there are some * who never learnt to snip. So I have to scroll down two pages just to see their one-liner. Sometimes that's a problem here, too. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] how to use echo checkboxes in php when i don't have access to $_POST

2011-05-28 Thread Tim Streater
orrect this?* For one thing you need to have the PHP code inside the . Second you don't need to echo the , just write that straight into the HTML. And you need to use the isset() function so you don't try to echo $_POST['negin'] unless it it is set. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] A Review Request

2011-05-20 Thread Tim Streater
areas that deliberately haven't been addressed in the example provided, then that should suffice. The difficulty IME is finding more advanced examples, which would help the transition from learning mode to preparing for a production environment. tim -- PHP General Mailing List (http:/

Re: Re: [PHP] A Review Request

2011-05-20 Thread Tim Streater
;error_log("Fetch Data: ".$memory); > } Not to me it doesn't. I find such usage incomprehensible. tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] Warning: session_start()

2011-05-19 Thread Tim Streater
t; not limited to, comments, whitespace, HTML code, etc. > 2 - Remove all white space. Personally, this is the route I would use. For the sake of completeness, that is whitespace *outside* the tags. tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] A Review Request

2011-05-18 Thread Tim Streater
y. I hope you see the difference. Not obvious. If I have copy/pasted code and it hasn't worked, that's been no-one's fault but mine, and I've then gone back and looked at it more carefully. Any example given on the web, seems to me, is likely to be copy/pasted unless you

Re: Re: [PHP] A Review Request

2011-05-18 Thread Tim Streater
me combination of PHP, ajax, javaScript, CSS, and/or HTML, so good for you is what I say. Tedd: you have written "who's" instead of "whose" on your √ website. tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Error recovery - fatal errors

2011-05-16 Thread Tim Streater
er for it to display, and in one case it does it right, in another the browser converts it to something else. I'm trying to duplicate this in a testbed with no success so far. Still, it keeps me off the streets :-) Cheers -- tim -- PHP General Mailing List (http://www.php.net

Re: Re: [PHP] Error recovery - fatal errors

2011-05-16 Thread Tim Streater
On 14 May 2011 at 15:05, Peter Lind wrote: > On 14 May 2011 12:33, Tim Streater wrote: >> I would like, in my app, to recover from as many run-time errors as possible, >> so that I can tidy up. And unsolicited output generated by the standard error >> system is really un

[PHP] Error recovery - fatal errors

2011-05-14 Thread Tim Streater
n library packages seems somewhat arbitrary - e.g. opendir may give an E_WARNING, but closedir, readdir don't. tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] mysql problems

2011-05-12 Thread Tim Streater
On 11 May 2011 at 19:25, Curtis Maurand wrote: > $_cartTotal="$0.00"; Surely that should be: $_cartTotal = "0.00"; tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Bold links

2011-05-07 Thread Tim Streater
On 07 May 2011 at 18:42, Michael Simiyu wrote: > hey, straw. > some php 101 here guys :) > > i want to bold the first name and last name in the code below... It's not PHP 101, it's HTML 101. tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vis

Re: Re: [PHP] passing control to a separate script

2011-05-02 Thread Tim Streater
personal > lives a bit much -- but I guess that's your point. I'd say he was expressing annoyance at these mails saying "sent from my raspberry", as if somehow anyone gives a monkey's. tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: postgresql database access failure

2011-05-02 Thread Tim Streater
On 02 May 2011 at 11:05, e-letter wrote: >> >> Here's the URL of the relevant manual page: >> http://www.php.net/manual/en/function.pg-fetch-result.php >> > > The manual page did not explain the purpose of the text 'die', so was > ignored (;)). What, you mean this? $db = pg_connect("dbnam

Re: Re: [PHP] Spaces in filename or path

2011-04-30 Thread Tim Streater
On 30 Apr 2011 at 22:33, Richard Quadling wrote: > On 30 April 2011 22:07, Tim Streater wrote: >> Does it matter to PHP filesystem functions if a path/to/file/name contains >> spaces? IOW, is this handled OK by design or should I replaces such spaces by >> backslash-spac

[PHP] Spaces in filename or path

2011-04-30 Thread Tim Streater
Does it matter to PHP filesystem functions if a path/to/file/name contains spaces? IOW, is this handled OK by design or should I replaces such spaces by backslash-space or would doing that present problems? Thanks -- tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Newbie Question

2011-01-03 Thread Tim Thorburn
On 1/2/2011 5:56 PM, Adolfo Olivera wrote: Thanks for the replies. I'll just put a php on all my html containing php. A little of topic. Wich IDE are you guys using. I'm sort of in a catch twenty two here. I been alternating vim and dreamweaver. I'm trying to go 100% open source, but I really fin

[PHP] Re: [!! SPAM] Re: [PHP] 1984 (Big Brother)

2010-09-13 Thread Tim Thorburn
ing. Having everything require a usb stick to launch sounds secure, until he loses the stick or forgets it at home one day. For fun I'd suggest tagging him with a microchip which your application will constantly scan for and only activate when he's within a certain radius of his desk. Retna scans shouldn't be overlooked either. May the force be with you on this one. -Tim

[PHP] Re: Web application architecture (subdomain vs. sub directory)

2010-08-26 Thread Tim Martens
e here and elsewhere, I think we're tending toward a an "no framework" MVC approach and sub-directory model to get started. As Per so elegantly stated "The subdirectory approach is easily rewritten to an internal subdomain structure." So if we need to pivot to a subdomain model we can do so. Tim

Re: [PHP] Web application architecture (subdomain vs. sub directory)

2010-08-25 Thread Tim Martens
nt. I can see the logic of setting up subdomain for things like a universal login and, say, metrics for example. Is javascripting more difficult across subdomains? Is one approach beter in terms of security? Essentially the entire app will be running on https. Thanks again! Tim On Wed, Aug 25, 20

[PHP] Web application architecture (subdomain vs. sub directory)

2010-08-25 Thread Tim Martens
ons as to the pros and cons of each approach. As an aside, does anyone have some advice about rapid PHP deployment, i.e., pushing new features to production daily in micro iterations vs the typical milestone approach? Are there any good tools for this? What about hosts? Thanks all, Tim

RE: [PHP] Question about SQL and Graph nodel trees

2010-07-21 Thread Tim Gallagher
Thank you for the informaiton. I did see that code but it looks like it is formatted for MSSQL and was unable to get it to work for Mysql. Tim From: Andrew Ballard [aball...@gmail.com] Sent: Wednesday, July 21, 2010 11:40 AM To: Tim Gallagher Cc: php

[PHP] Question about SQL and Graph nodel trees

2010-07-21 Thread Tim Gallagher
I cannot be the only one that is having this problem, what are you using for DAG (Direct Acrylic Graph)? I need to have a mesh node edge graph and am having trouble with this? I see that Neo4j has a rest server and I can do this in Java but I want to do it in PHP with a MYSQL or postgresql. I

Re: [PHP] Unexpected behaviour from define()

2010-06-24 Thread Tim Schofield
On 24/06/10 23:08, Ashley Sheridan wrote: On Thu, 2010-06-24 at 23:02 +0100, Tim Schofield wrote: Very strange, as seems to work fine Tim It would, you misspelt LOG_WARNING with a lowercase 'i' ;) Thanks, Ash http://www.ashleysheridan.co.uk Thats what I was trying to illu

Re: [PHP] Unexpected behaviour from define()

2010-06-24 Thread Tim Schofield
work fine Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-09 Thread Tim Thorburn
Tony Marston wrote: How many hosting companies write to all their account holders to ask permission before upgrading PHP, not just from 4 to 5, but all the releases in between? Very few of them, if any, in my experience. I've no idea what horrible hosting companies you've had experiences wit

<    1   2   3   4   5   6   7   8   9   10   >