[PHP] slicing and dicing strings

2012-06-27 Thread Kirk Bailey
lease don't waste the bandwidth. Would anyone care to help me understand this without dedicating 4 precious and in over demand/under supply hours to RTFM? -- end Very Truly yours, - Kirk Bailey, Largo Florida

Re: [PHP] Re: php in windows

2012-04-11 Thread Kirk Bailey
Steve, THERE IS NO SUCH FILE in tinyweb. It turns to the operating system asspciations to determine what to use to process the cgi, then captures the returned stdio output and feeds THAT back as part of the data stream back down the stack. Therefore, it is not interfacing with the windows opera

Re: [PHP] Re: php in windows

2012-04-10 Thread Kirk Bailey
ok, there is a copy of index.php ion the cgibin, and this got WAY different results. It puked an error. "CGI script /cgi-bin/index.php returned nothing" NOW W.T.F., over? I think that it's time for some rack time. 'Night all. On 4/11/2012 12:50 AM, Kirk Bailey wrote:

Re: [PHP] Re: php in windows

2012-04-10 Thread Kirk Bailey
ok, I just installed 5.2.17 VC6X86. I have a simple test page, index.php; it spews the content code at me. On 4/10/2012 11:13 AM, Bogdan Ribic wrote: On 4/10/2012 04:05, Kirk Bailey wrote: The edition of php for windows I instaklled does not work. Which flavor of windows php DOES work

Re: [PHP] php books

2012-04-10 Thread Kirk Bailey
A good tip, thank you. The php cookbook just arrived today, and this weekend I will be doing some cooking. On 4/10/2012 4:22 PM, Govinda wrote: Revisiting said dead horse, it's interesting there is no clear consensus of opinion about what is the best book to use to learn php. Generally, you g

Re: [PHP] Re: php in windows

2012-04-10 Thread Kirk Bailey
I am not running apache; I am running tinyweb, which is a cgi capable server. It does not need any special configuration to handle cgi, and worked out of the box with python. On 4/10/2012 11:13 AM, Bogdan Ribic wrote: On 4/10/2012 04:05, Kirk Bailey wrote: The edition of php for windows I

Re: [PHP] php in windows

2012-04-10 Thread Kirk Bailey
I have a web server, and it works fine with python. On 4/10/2012 7:03 AM, Matijn Woudt wrote: On Tue, Apr 10, 2012 at 4:05 AM, Kirk Bailey wrote: The edition of php for windows I instaklled does not work. Which flavor of windows php DOES work properly in windows? It does work, you just

Re: [PHP] php in windows

2012-04-10 Thread Kirk Bailey
?!? Considering that Boll Bates and co. are almost as omnipresent as Satan, and have been accused of BEING Satan, that's quite an accomplishment. On 4/10/2012 6:31 AM, Tim Streater wrote: On 10 Apr 2012 at 03:05, Kirk Bailey wrote: The edition of php for windows I instaklled does not work.

Re: [PHP] php in windows

2012-04-10 Thread Kirk Bailey
I ran the executable installer. I have no recollection of having opportunity to configure it. On 4/10/2012 12:08 AM, Tommy Pham wrote: On Mon, Apr 9, 2012 at 7:05 PM, Kirk Bailey wrote: The edition of php for windows I instaklled does not work. Which flavor of windows php DOES work properly

[PHP] php in windows

2012-04-09 Thread Kirk Bailey
The edition of php for windows I instaklled does not work. Which flavor of windows php DOES work properly in windows? -- end Very Truly yours, - Kirk Bailey, Largo Florida kniht

Re: [PHP] desk top interactive environment

2012-04-09 Thread Kirk Bailey
I am not ABLE to create it yet. Anyone else able to? On 4/9/2012 9:45 PM, Jay Blanchard wrote: [snip] On Apr 9, 2012, at 8:38 PM, Kirk Bailey wrote: Php would (IMHO) benefit from an interactive desktop application where you can test and experiment with code interactively, instead of "

[PHP] desk top interactive environment

2012-04-09 Thread Kirk Bailey
Php would (IMHO) benefit from an interactive desktop application where you can test and experiment with code interactively, instead of "edit, dsave, run, view webpage result, edit... Python has this; why not php? -- end Very Truly yours, - Kirk B

[PHP] php books

2012-04-08 Thread Kirk Bailey
ividualism? -- end Very Truly yours, - Kirk Bailey, Largo Florida kniht +-+ | BOX | +-+ think -- PHP General Mailing List (http://www.php.

Re: [PHP] image inventoryer

2012-04-08 Thread Kirk Bailey
PM, Kirk Bailey wrote: Image inventory of this directory body { margin-left: 10; margin-right: 10%; } body {background-attachment:fixed;} A:link, A:visited, A:active { text-decoration:none; } A:hover { text-decoration:underline; } .justify{text-align:justify;} .center{text-align:center

[PHP] image inventoryer

2012-04-07 Thread Kirk Bailey
and it lists them all and composes proper img links to display on the inventory page. NOW I have the tool i needed; can someone else put this to good work? -- end Very Truly yours, - Kirk Bailey, Largo Florida

Re: [PHP] image inventoryer

2012-04-05 Thread Kirk Bailey
jim, I am a novice at this language as I said. On 4/5/2012 10:44 PM, Jim Giner wrote: As Tommy says - you sound like a total new user who doesn't know how to do it and furthermore doesn't know how many things you are going to have to pick up just to accomplish this task. You have to: determine

Re: [PHP] image inventoryer

2012-04-05 Thread Kirk Bailey
types, print ''# print out the material to return surrounding # the file name On 4/5/2012 10:34 PM, Tommy Pham wrote: On Thu, Apr 5, 2012 at 7:26 PM, Kirk Bailey wrote: Now ai am still a novice at p[hp, how can I do

[PHP] image inventoryer

2012-04-05 Thread Kirk Bailey
I can use it in other directories as is. Now ai am still a novice at p[hp, how can I do this ? -- end Very Truly yours, - Kirk Bailey, Largo Florida kniht +-+

[PHP] delete and recreate

2011-11-09 Thread Kirk Bailey
, - Kirk Bailey, Largo Florida kniht +-+ | BOX | +-+ think -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php on my pc, no go, FUBAR, thank you Bill Gates?

2011-10-04 Thread Kirk Bailey
about "install Linux" shall be ignored as line-noise. -- end Very Truly yours, - Kirk Bailey, Largo Florida kniht +-+ | BOX | +-+

[PHP] book quest

2011-09-28 Thread Kirk Bailey
The best book for a beginner? No, don't tell me php.net, I hear that one already, and while it is indeed good, I want something in a dead tree edition I can canny around and smoke as needed. -- end Very Truly yours, - Kirk Bailey, Largo Fl

Re: [PHP] Intentionally generate an "Internal Server Error"

2011-08-07 Thread Kirk Bailey
-- end Very Truly yours, - Kirk Bailey, Largo Florida kniht +-+ | BOX | +-+ think -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] vend-bot?

2011-07-10 Thread Kirk Bailey
I already subscribe, of recent. On 7/7/2011 11:58 AM, Tamara Temple wrote: On Jul 7, 2011, at 9:07 AM, Stuart Dallas wrote: Now, what do I win? A free subscription to InformationWeek. -- end Very Truly yours, - Kirk Bailey, Largo Florida

Re: [PHP] vend-bot?

2011-07-06 Thread Kirk Bailey
g that useful. Good luck with this. Steve. -- end Very Truly yours, - Kirk Bailey, Largo Florida kniht +-+ | BOX | +-+ think -- PHP

Re: [PHP] vend-bot?

2011-07-06 Thread Kirk Bailey
On 7/6/2011 9:31 AM, Stuart Dallas wrote: On Wed, Jul 6, 2011 at 3:01 AM, Kirk Bailey mailto:kbai...@howlermonkey.net>> wrote: On 7/3/2011 4:53 PM, Stuart Dallas wrote: Only allowing them to access the URL once is a bad idea. If their download fails, is corrupt,

Re: [PHP] vend-bot?

2011-07-05 Thread Kirk Bailey
this the worse the user experience will be and it won't be any more secure than a time-limited unique token as described above. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- end Very Truly yours, - Kirk Bailey, Largo Florida

Re: [PHP] vend-bot?

2011-07-03 Thread Kirk Bailey
me) makes a download link available. This page also deletes that magic cookie from the list of them,so it can never be used again. Discussion? -- end Very Truly yours, - Kirk Bailey, Largo Florida kniht +-+

[PHP] vend-bot?

2011-07-03 Thread Kirk Bailey
build a secure vendobot? Let's discuss this in this thread. -- end Very Truly yours, - Kirk Bailey, Largo Florida kniht +-+

[PHP] pick a card, any card...

2011-04-08 Thread Kirk Bailey
one, and that's a bloody shame. Any discussion? -- end Very Truly yours, - Kirk Bailey, Largo Florida kniht +-+ | BOX | +-+ think -- PHP Gene

[PHP] the best 1 book for php

2011-04-06 Thread Kirk Bailey
If I only had 1 book on php, what would it be? -- end Very Truly yours, - Kirk Bailey, Largo Florida kniht +-+ | BOX | +-+ think -- PHP

[PHP] randomly random

2011-04-05 Thread Kirk Bailey
OK gang, to spew a single line from a file of fortune cookies, I want to read it and echo one line. While I found a 4 line code which gets it done, I thought there was a preexisting command to do exactly that. Any feedback on this? -- end Very Truly yours, - Kirk Bailey

Re: [PHP] neubie seeking answers

2011-03-31 Thread Kirk Bailey
PERFECT SIMPLE SOLUTION. THANK YOU! On 3/31/2011 12:34 PM, Stuart Dallas wrote: On Thursday, 31 March 2011 at 17:24, Kirk Bailey wrote: I need to extract the name of the subdirectory a page lives in to use in the title for that page. This will be returned as a string to echo to the output

[PHP] neubie seeking answers

2011-03-31 Thread Kirk Bailey
I need to extract the name of the subdirectory a page lives in to use in the title for that page. This will be returned as a string to echo to the output stream. Now how the heck do I do that?!? -- end Very Truly yours, - Kirk Bailey, Largo Florida

Re: [PHP] Re: $_POST variable

2011-03-11 Thread Kirk Bailey
facts. -- end Very Truly yours, - Kirk Bailey, Largo Florida kniht +-+ | BOX | +-+ think -- PHP General Mailing List (http://www.php.net/)

[PHP] web site link request

2011-03-11 Thread Kirk Bailey
May I have suggestions of websites I would do well to visit to improve my php skills? Links please, with a breif description if you would be so good. -- end Very Truly yours, - Kirk Bailey, Largo Florida kniht

Re: [PHP] 9970318527584

2011-02-19 Thread Kirk Bailey
Just for a giggle, please share the context generating the magic number you cite. On 2/18/2011 10:08 PM, John Taylor-Johnston wrote: 9970318527584 Could this number refer to a date()? In late 2009? How could I calculate it? -- end Very Truly yours, - Kirk Bailey

Re: [PHP] Howdy (new in here)

2011-02-18 Thread Kirk Bailey
nd he didn't use any consistent indenting style. -- end Very Truly yours, - Kirk Bailey, Largo Florida kniht +-+ | BOX | +-+ think

[PHP] Re:[PHP] code quest

2011-02-15 Thread Kirk Bailey
($d)) &&!in_array(basename($d),$excludes)) { ++$counter ; echo ''.$d.'href="'.$d.'">'; echo 'border="5">'; include($d."/desc.txt"); echo ''; if ($counter > 3) { echo ''; #50

Re: [PHP] code quest

2011-02-14 Thread Kirk Bailey
Very nice; I am leaning in the direction of doing it this way. Thank you! :-) On 2/14/2011 9:24 PM, Jim Lucas wrote: On 2/14/2011 4:53 PM, Kirk Bailey wrote: Now I have a situation. I need to take the code from my former home page and modify it to lay out a table (let's say 5 cells

Re: [PHP] code quest

2011-02-14 Thread Kirk Bailey
PM, Richard Quadling wrote: On 15 February 2011 00:53, Kirk Bailey wrote: Now I have a situation. I need to take the code from my former home page and modify it to lay out a table (let's say 5 cells wide) and as many rows deep to contain all the items. Each item is the name of the dire

[PHP] code quest

2011-02-14 Thread Kirk Bailey
#40 foreach ($ls as $d) { if (is_dir($d) && !preg_match('/^\./',basename($d)) &&!in_array(basename($d),$excludes)) { echo ''.$d.'src="/Categories/'.$d.'/thumb.png" border="5">'; include($d."/desc.txt"

[PHP] bread and buytter php

2011-02-03 Thread Kirk Bailey
Where is a good place for bread and butter day in day out routinely needed functionality in php? -- end Very Truly yours, - Kirk Bailey, Largo Florida kniht +-+ | BOX

[PHP] email list 101

2011-01-16 Thread Kirk Bailey
shelf solution? -- end Very Truly yours, - Kirk Bailey, Largo Florida kniht +-+ | BOX | +-+ think -- PHP General Mailing List

Re: [PHP] code quest - ECHO?!?

2010-12-12 Thread Kirk Bailey
Groovy; they appear to be identical in all but name. IDENTICAL. Or am I missing a subtle definition difference? David Robley wrote: Kirk Bailey wrote: Ok, so what is echo, and how is it different from print. The code in code quest used echo. I have a copy of learning php 5.0 from

Re: [PHP] code quest - ECHO?!?

2010-12-10 Thread Kirk Bailey
his newbie. -- end Very Truly yours, - Kirk Bailey, Largo Florida kniht +-+ | BOX | +-+ think -- PHP General Mailing List (http://www.ph

Re: [PHP] code quest

2010-12-04 Thread Kirk Bailey
's not in the source file. Link: http://www.howlermonkey.net/dirlisting.php I hope this dialog is proving at least mildly interesting to the remainder of the list as an educational exercise. Tamara Temple wrote: On Dec 4, 2010, at 2:15 PM, Kirk Bailey wrote: The hound barks, but does not yet pr

Re: [PHP] code quest

2010-12-04 Thread Kirk Bailey
t/dirlisting.php and is live right now. The results are a tad odd to say the least. Kirk Bailey wrote: Ok, let's kick this around. iterating an array(?; 1 dimensional listing of things) in php, I am creating a list of direcoties. I want to open and read in a file in each directory wi

Re: [PHP] code quest

2010-12-04 Thread Kirk Bailey
*82nd Airbourne - We are an elite unit of army Paratroopers * Then that element in the list would appear as: * 82nd Airbourne -We are an elite unit of army Paratroopers And would be clickable. Let's try it and see if this hound hunts. Matt Graham wrote: From: Kirk Bailey OK, no

Re: [PHP] code quest

2010-12-04 Thread Kirk Bailey
a website one may go to. By excluding some folders, people don't go trespassing into the cgi-bin or images folder, or into areas reserved for administrative uses. Daniel P. Brown wrote: On Wed, Dec 1, 2010 at 23:13, Kirk Bailey wrote: [snip!] Can this be improved to exclude anything

Re: [PHP] code quest

2010-12-04 Thread Kirk Bailey
Now Now, fight nice. We don need no stinkin' @$^*$^(! woids here. :-P Steve Staples wrote: On Thu, 2010-12-02 at 10:07 -0500, Daniel P. Brown wrote: On Wed, Dec 1, 2010 at 23:13, Kirk Bailey wrote: [snip!] Can this be improved to exclude anything with a '.' or a &

Re: [PHP] code quest

2010-12-04 Thread Kirk Bailey
implement the required multi step algorithm. Jim Lucas wrote: On 11/26/2010 4:03 PM, Kirk Bailey wrote: Hello all, my name is Kirk Bailey, and I am new to php, so please be forbearing. I code in python, and am trying to learn this language as our new client runs a web business based in it. I

Re: [PHP] code quest

2010-12-04 Thread Kirk Bailey
OK, now here's a giggle; I like ssi includes. If I put the script in as an ssi include, will it still work? The functionality would also be useful on a page besides the default landing page, such as a 404error.html page, or a thank you page. -- end Very Truly yours, -

Re: [PHP] code quest

2010-12-01 Thread Kirk Bailey
tory it could then use THAT as the text in the link, instead of the name. This could be useful in many settings. Daniel P. Brown wrote: On Fri, Nov 26, 2010 at 19:03, Kirk Bailey wrote: I need a routine that will return a list of every directory immediately under the current directory- b

Re: [PHP] code quest

2010-12-01 Thread Kirk Bailey
^2: http://php.net/directoryiterator ^3: http://php.net/recursivedirectoryiterator -- end Very Truly yours, - Kirk Bailey, Largo Florida kniht +-+ | BOX

Re: [PHP] code quest

2010-12-01 Thread Kirk Bailey
be a list of things not to notice? Also, how compatible is it with SSI includes? If part of the echo is an ssi include statement, will it work right? Hmmm... Daniel P. Brown wrote: On Fri, Nov 26, 2010 at 19:03, Kirk Bailey wrote: I need a routine that will return a list of ev

[PHP] code quest

2010-11-26 Thread Kirk Bailey
Hello all, my name is Kirk Bailey, and I am new to php, so please be forbearing. I code in python, and am trying to learn this language as our new client runs a web business based in it. I need a routine that will return a list of every directory immediately under the current directory- but