Re: [PHP] {} forms

2011-11-16 Thread Robert Cummings
On 11-11-16 09:27 AM, Richard Quadling wrote: On 16 November 2011 13:56, Tim Streater wrote: I'm looking at the source of a web sockets server and I see these various forms: "ws://{$host}{$path}" "HTTP/1.1 ${status}\r\n" Are these simply equivalent to: "ws://" . $host . $path "HTTP/1

Re: [PHP] Sniping on the List

2011-11-17 Thread Robert Cummings
On 11-11-17 11:33 AM, HallMarc Websites wrote: To all: Okay, so now that we have had people reply, here's my take. The Unix timestamp started on 01 Jan 1970 00:00:00 + -- and that was a Thursday. The second before (i.e., 31 December, 1969 23:59:59:59 + ) was null, which was Wedne

Re: [PHP] Sniping on the List

2011-11-17 Thread Robert Cummings
On 11-11-17 06:24 PM, Fredric L. Rice wrote: Consider this -- do you think the second before the "Big Bang" was negative or null? I don't know. There's no point concerning ourselves with unanswerable questions. The question itself is a logical absurdity since there was no time prior to the Big

Re: [PHP] Sniping on the List

2011-11-17 Thread Robert Cummings
On 11-11-18 12:40 AM, Robert Cummings wrote: On 11-11-17 06:24 PM, Fredric L. Rice wrote: Consider this -- do you think the second before the "Big Bang" was negative or null? I don't know. There's no point concerning ourselves with unanswerable questions. The question

Re: [PHP] Sniping on the List

2011-11-18 Thread Robert Cummings
On 11-11-18 05:15 AM, Tim Streater wrote: On 18 Nov 2011 at 05:40, Robert Cummings wrote: without a proof it's just farts in the wind :) No more valid than a theory of creation or the big ass spaghetti thingy majingy dude. Folded The "theory" of creation is not a theory. It

Re: [PHP] Sniping on the List

2011-11-18 Thread Robert Cummings
On 11-11-18 10:03 AM, Curtis Maurand wrote: Robert Cummings wrote: Robert Cummings wrote: Given the discussion, I think the following is in order: BAZINGA * 2 And what does any of this have to do with PHP? It's time to end this thread. It's Friday... traditionally content

Re: [PHP] Sniping on the List

2011-11-19 Thread Robert Cummings
On 11-11-19 03:14 AM, Lester Caine wrote: Robert Cummings wrote: It's Friday... traditionally content anal-ness has been somewhat disregarded on this day. Need one go through the archives to see if you're being a tad hypocritical? Although it only seems to be this latest thread tha

Re: [PHP] Is there a decent design app ?

2011-11-26 Thread Robert Williams
On Nov 25, 2011, at 16:18, "Andreas" wrote: > Like you have /foo.css and for some reason or another you move it to > /lib/css and rename it to bar.css. > Now it'd be nice if an IDE was aware of all the references within a site > and update the affected urls. Check out PhpStorm from JetBrains. I

Re: [PHP] inotify

2011-12-08 Thread Robert Cummings
Not to my knowledge. On 11-12-08 10:52 AM, Floyd Resler wrote: Is there any way to get who moved a file, deleted a file, etc. from inotify? I search and couldn't find a way but thought someone on the list might know. Thanks! Floyd -- E-Mail Disclaimer: Information contained in this mess

Re: [PHP] Preferred Syntax

2011-12-14 Thread Robert Cummings
On 11-12-14 01:10 PM, David Harkness wrote: On Wed, Dec 14, 2011 at 4:59 AM, Rick Dwyer wrote: Can someone tell me which of the following is preferred and why? echo "$**page_name"; echo "".$page_name.""; On Wed, Dec 14, 2011 at 9:09 AM, Peter Ford wrote: Horses for courses. I use w

Re: [PHP] How to use a variable variable with an array

2011-12-14 Thread Robert Cummings
On 11-12-14 01:11 AM, Laruence wrote: On Wed, Dec 14, 2011 at 9:27 AM, Nils Leideck wrote: Hi Al, many thanks for your feedback. Unfortunately I don’t know the deepness of the array so I can’t use the nested foreach() idea :-( Let me try to simplify my question (which also helps myself to cl

Re: [PHP] Re: Preferred Syntax

2011-12-15 Thread Robert Cummings
On 11-12-15 02:50 AM, Ross McKay wrote: On Wed, 14 Dec 2011 07:59:46 -0500, Rick Dwyer wrote: Can someone tell me which of the following is preferred and why? echo "$page_name"; echo "".$page_name.""; [...] Just to throw in yet another possibility: echo<<$page_name HTML; I love HEREDO

Re: [PHP] Re: Preferred Syntax

2011-12-18 Thread Robert Cummings
On 11-12-17 09:42 AM, Eric Butera wrote: Hi Adam, Thanks for the reply, noted! I was coming from the angle that I've had to deal with a lot of code that is 2000 lines of php/html/javascript inside heredocs, mixed quote escaping, etc. I was hoping to prevent that from becoming a new thing in th

Re: [PHP] number_format

2011-12-19 Thread Robert Cummings
On 11-12-19 11:08 AM, Bastien Koert wrote: On Mon, Dec 19, 2011 at 9:19 AM, Floyd Resler wrote: In the previous version of PHP we were using, I could pass a string to number_format and it would just change it to a 0 without complaint. With 5.3.6 I get an "expects double" error. I don't supp

Re: [PHP] New to mac and trying to define a php.ini file.

2012-01-04 Thread Robert Williams
running, avoids PHP errors if you forget to make the change in a script, avoids you having to modify all your scripts in the first place, and lets you easily change the time zone used by your applications to whatever you want independently of the server's own time zone (or in 5.4, to somethi

Re: [PHP] New to mac and trying to define a php.ini file.

2012-01-04 Thread Robert Williams
nd to the settings controlled via System Preferences). Here's what that call returns when run on the command line on my system: H012316WHPV:~ rewilliams$ systemsetup -gettimezone Time Zone: America/Phoenix Regards, Bob -- Robert E. Williams, Jr. Associate Vice President o

Re: [PHP] PDF Printing instead?

2012-01-06 Thread Robert Williams
a compiled binary that you install, it's very fast (and easily used from PHP via exec() and family). Regards, Bob -- Robert E. Williams, Jr. Associate Vice President of Software Development Newtek Businesss Services, Inc. -- The Small Business Authority https://www.newtekreferrals.com/rewj

Re: [PHP] Numeric help needed

2012-01-15 Thread Robert Williams
On Jan 15, 2012, at 19:00, "Simon J Welsh" mailto:si...@welsh.co.nz>> wrote: On 16/01/2012, at 2:48 PM, Chris Payne wrote: "If the loan amount is $68500.00, the insurace will be based on $69000.00 as the amount is always rounded up to the next $1000." The round() function only rounds decimal va

Re: [PHP] Reading only RGB portion of an image, file_get_conents minus file headers etc

2012-01-23 Thread Robert Cummings
On 12-01-23 01:32 PM, Alex Nikitin wrote: If you don't mind me asking, if you want performance, which is kind of essential if you are processing a large number of files, why are you doing it in PHP? -- The trouble with programmers is that you can never tell what a programmer is doing until it’s

Re: [PHP] Reading only RGB portion of an image, file_get_conents minus file headers etc

2012-01-23 Thread Robert Cummings
On 12-01-23 09:29 PM, Alex Nikitin wrote: Have you done image processing? In my experience, with image generation, photography and processing, typically you are bound by resources when processing large amount of files than your connection, or sometimes even disk io. It really depends on what yo

Re: [PHP] Long Live GOTO

2012-02-06 Thread Robert Cummings
On 12-02-06 04:07 AM, Tim Streater wrote: On 06 Feb 2012 at 07:47, Adam Richardson wrote: While not purely focused on PHP, I toss this out to the group because I believe there are some novel, interesting points regarding the potential benefits of using the goto construct as implemented in PHP:

Re: [PHP] Long Live GOTO

2012-02-06 Thread Robert Cummings
On 12-02-06 11:58 AM, Tim Streater wrote: On 06 Feb 2012 at 09:48, Adam Richardson wrote: On Mon, Feb 6, 2012 at 4:25 AM, Adam Richardsonwrote: On Mon, Feb 6, 2012 at 4:07 AM, Tim Streater wrote: I disagree that the nested function is a straw-man. I (just as the other authors I'd linked

Re: [PHP] Re: Long Live GOTO

2012-02-06 Thread Robert Cummings
On 12-02-06 11:35 AM, Alain Williams wrote: On Mon, Feb 06, 2012 at 09:28:10AM -0700, Larry Martell wrote: On Mon, Feb 6, 2012 at 9:23 AM, Alain Williams wrote: If I survey my code I find that I use one GOTO in about 4,000 lines of code - that I do not find excessive. There are, however, pe

Re: [PHP] Arrays: Comma at end?

2012-02-07 Thread Robert Williams
add, remove, or reorder elements without worrying about accidentally breaking the syntax. Much like always using braces around flow-control blocks, this practice makes future bugs less likely to be born. Now if only we could have support for trailing commas in SQL UPDATE/INSERT field and value lists...

Re: [PHP] Arrays: Comma at end?

2012-02-08 Thread Robert Cummings
On 12-02-07 02:50 PM, Micky Hulse wrote: Was there ever a time when having a comma at the end of the last array element was not acceptable in PHP? I just did a few quick tests: ... and it looks like having that comma ain't no big deal. I can't believe that I

Re: [PHP] Arrays: Comma at end?

2012-02-08 Thread Robert Cummings
On 12-02-08 01:12 PM, Micky Hulse wrote: On Wed, Feb 8, 2012 at 10:08 AM, Robert Cummings wrote: JavaScript in Internet Crapsplorer spanks you on the bottom every time you have a trailing comma in a JS array. That may be where you picked up the aversion. On Wed, Feb 8, 2012 at 10:10 AM

[PHP] time/task reporting

2012-03-01 Thread Robert Nilsson
Hi, Ok, I admit -I'm lazy! Been asked to make a reporting tool, what and how many hours spent on Possible with a save option, to enable continuously adding during the week, before sending off by mail to manager and one self. Surely I'm not the first person looking at a similar tool, been sear

Re: [PHP] iphone & php

2012-03-05 Thread Robert Williams
hy the behavior of the 'number' type changed. There are others, too; see: <https://developer.apple.com/library/safari/#documentation/appleapplication s/reference/SafariHTMLRef/Articles/InputTypes.html> <http://www.w3schools.com/html5/att_input_type.asp> Regards, Bob -- Robert E.

Re: [PHP] CMS identification

2012-03-18 Thread Robert Cummings
On 12-03-18 06:42 PM, Stuart Dallas wrote: On 18 Mar 2012, at 22:32, Alain Roger wrote: ok so here it is: http://i220.photobucket.com/albums/dd277/alainroger/cms-login.png Pass, not one I'm familiar with and a Google Image search for cms login doesn't show anything similar. If I were you I'

Re: [PHP] Thinking out loud - a continuation...

2012-03-21 Thread Robert Cummings
On 12-03-21 03:52 PM, Jay Blanchard wrote: [snip] I would, yes, but that's not the point. Is Anna single? I'm ready to trade Debs in for a newer model. [/snip] I'm thinking that Debs would upset your array if you traded her in. Anyhow, I have spent the last hour trying to output valid J

Re: [PHP] Thinking out loud - a continuation...

2012-03-21 Thread Robert Cummings
On 12-03-21 04:42 PM, Jay Blanchard wrote: [snip] Why are you trying to create the JSON structure in parts? When I have nesting like this i build the full nested structure as PHP, then export to JSON. [/snip] As PHP? An array? Yeah sorry... you know what I meant ;) Cheers, Rob. -- E-Mail D

Re: [PHP] Thinking out loud - a continuation...

2012-03-22 Thread Robert Cummings
On 12-03-22 11:28 AM, Jay Blanchard wrote: [snip] ...stuff... [/snip] Here is the explanation for what I have done and what I am trying to do - (based on the customer's request). A week or so ago I took a set of queries from one table and made them into an unordered list. This will be pseudo-co

Re: [PHP] Thinking out loud - a continuation...

2012-03-22 Thread Robert Cummings
On 12-03-22 11:58 AM, Jay Blanchard wrote: [snip] Fix this code... I've come across codebases that did this specific type of nested querying and it resulted in 1 queries to the database on every page. Instead, create a layered approach: 1. Select your root elements. 2. Loop over i

Re: [PHP] Thinking out loud - a continuation...

2012-03-22 Thread Robert Cummings
On 12-03-22 11:58 AM, Jay Blanchard wrote: [snip] Fix this code... I've come across codebases that did this specific type of nested querying and it resulted in 1 queries to the database on every page. Instead, create a layered approach: 1. Select your root elements. 2. Loop over i

Re: [PHP] Thinking out loud - a continuation...

2012-03-22 Thread Robert Cummings
On 12-03-22 12:34 PM, Jay Blanchard wrote: [snip] Sorry, I just realized I didn't make the optimization explicitly obvious... when I say "Select the children" I mean to select them using an IN( id1, id2, id3 ) clause instead of a query for each. This is why we build the array of parent IDs (also

Re: [PHP] Thinking out loud - a continuation...

2012-03-22 Thread Robert Cummings
On 12-03-22 01:06 PM, Jay Blanchard wrote: On 3/22/2012 11:40 AM, Robert Cummings wrote: What's the field for which you are selecting data? I've written this up as a parent/child relationship but it works for data/sub-data relationships also. SELECT itemId, otherData FROM table W

Re: [PHP] Thinking out loud - a continuation...

2012-03-22 Thread Robert Cummings
On 12-03-22 03:54 PM, Jay Blanchard wrote: [snip] At one point you indicated all the data was coming from one table. Can you send me the table fields and indicate which fields are used to determine parent child relationship? Also 2 sample rows of data which have a relationship would be helpfu

Re: [PHP] set_error_handler() only triggering every Nth time

2012-03-22 Thread Robert Cummings
On 12-03-22 03:57 PM, Daevid Vincent wrote: Resending since I didn't get a single reply. Maybe it got lost? -Original Message- Sent: Tuesday, March 13, 2012 5:58 PM I am implementing a custom error handler and started noticing some bizarre behavior. Every Nth time I refresh the page, I

Re: [PHP] foreach weirdness

2012-03-23 Thread Robert Cummings
On 12-03-23 11:16 AM, Arno Kuhl wrote: The following snippet is copied from the php manual: foreach ($arr as $key => $value) { echo "Key: $key; Value: $value\n"; } I've always used the foreach loop that way. But recently I started hitting some really odd problems. See this following ex

Re: [PHP] Thinking out loud - a continuation...

2012-03-23 Thread Robert Cummings
On 12-03-23 02:08 PM, Jay Blanchard wrote: [snip] Your data structure doesn't appear to be very ummm normalized... Nonetheless, the following should do it: [/snip] You're absolutely correct. Unfortunately I am not the designer and cannot really do anything about it. I just have to work with

Re: [PHP] Thinking out loud - a continuation...

2012-03-23 Thread Robert Cummings
On 12-03-23 03:17 PM, Jay Blanchard wrote: [snip] $json = JSON_encode( $root ); [/snip] Update on my test. This works perfectly Robert - thank you very much! But there is one small problem that I am trouble-shooting: it only goes one layer and doesn't progress any further. I suspe

Re: [PHP] Thinking out loud - a continuation...

2012-03-23 Thread Robert Cummings
On 12-03-23 03:22 PM, Jay Blanchard wrote: [snip] $json = JSON_encode( $root ); [/snip] Update on my test. This works perfectly Robert - thank you very much! But there is one small problem that I am trouble-shooting: it only goes one layer and doesn't progress any further. I suspe

Re: [PHP] foreach weirdness

2012-03-23 Thread Robert Cummings
On 12-03-23 02:04 PM, Arno Kuhl wrote: Hi Rob I'm using php 5.3.5. What result do you get when you run this code? I haven't checked any bug reports, I'll google to see where I would do that. Your code gets round the problem, but I was specifically referring to the use of foreach with its unexp

Re: [PHP] Thinking out loud - a continuation...

2012-03-23 Thread Robert Cummings
On 12-03-23 03:28 PM, Jay Blanchard wrote: On Mar 23, 2012, at 2:25 PM, Robert Cummings wrote: On 12-03-23 03:17 PM, Jay Blanchard wrote: [snip] $json = JSON_encode( $root ); [/snip] Update on my test. This works perfectly Robert - thank you very much! But there is one small problem

Re: [PHP] Thinking out loud - a continuation...

2012-03-23 Thread Robert Cummings
On 12-03-23 03:52 PM, Jay Blanchard wrote: [snip] SELECT DISTINCT `TIER3DATA` AS id, `TIER2DATA` AS parentId FROM `POSITION_SETUP` WHERE `COMPANY_ID` = '3' AND `TIER2DATA` IN ('Executives and Management','Professionals','Technicians','Craft Workers-Skilled','Operatives','Contractor','Sales Wor

Re: [PHP] foreach weirdness

2012-03-23 Thread Robert Cummings
On 12-03-23 06:30 PM, Simon Schick wrote: 2012/3/23 Robert Cummings On 12-03-23 11:16 AM, Arno Kuhl wrote: it still does not produce the correct result: 0 1 3 6 10 15 21 0 1 3 6 10 15 15 This looks like a bug... the last row should be the same. What version of PHP are you using? Have you

Re: [PHP] Thinking out loud - a continuation...

2012-03-23 Thread Robert Cummings
nd still cannot find the issue. I'll push away for a while and come back to it. Robert I owe you so many thinks for getting me this far and opening me up to making this more efficient. I just have to push on through and get to the point where the JSON can be created and consumed. If any lig

Re: [PHP] Thinking out loud - a continuation...

2012-03-23 Thread Robert Cummings
On 12-03-23 05:41 PM, Jay Blanchard wrote: [-- DELETED GARBAGE --] :) I just realized... I've been stuck in a thinking rut. I latched onto one solution that works well in some case but didn't fully examine the nuances of your own scenario. Given the way you are creating your hierarchy you w

Re: [PHP] foreach weirdness

2012-03-24 Thread Robert Cummings
On 12-03-24 11:15 AM, Al wrote: On 3/23/2012 10:11 PM, Robert Cummings wrote: On 12-03-23 06:30 PM, Simon Schick wrote: 2012/3/23 Robert Cummings On 12-03-23 11:16 AM, Arno Kuhl wrote: it still does not produce the correct result: 0 1 3 6 10 15 21 0 1 3 6 10 15 15 This looks like a

Re: [PHP] Thinking out loud - a continuation...

2012-03-24 Thread Robert Cummings
On 12-03-24 08:41 AM, Jay Blanchard wrote: On Mar 23, 2012, at 11:24 PM, Robert Cummings wrote: On 12-03-23 05:41 PM, Jay Blanchard wrote: [-- DELETED GARBAGE --] :) I just realized... I've been stuck in a thinking rut. I latched onto one solution that works well in some case but d

Re: [PHP] Thinking out loud - a continuation...

2012-03-24 Thread Robert Cummings
On 12-03-24 01:09 PM, Jay Blanchard wrote: [snip]The crux of it is: $focus =&$focus[$name]; [/snip] It works as I expect so far. All I have to do is figure out how to make the element a name: element in the JSON. for instance an element would look like this { name: "Bob", child

Re: [PHP] Thinking out loud - a continuation...

2012-03-24 Thread Robert Cummings
On 12-03-24 04:11 PM, Jay Blanchard wrote: [snip] One more little tweak may be required. The JSON looks like this {"Executives and Management":{"name":"Executives and Management","children":{ The first part {"Executives and Management": needs to be removed. I think I know what to do. [/snip]

Re: [PHP] Thinking out loud - a continuation...

2012-03-26 Thread Robert Cummings
children groups that the output from json_encode() does not contain. I am ready to take a loss on this one but I really didn't lose - Robert gave me a great way to retrieve the data with one query and create valid JSON from it. Thanks again Robert! *lol* No worries... it's all about so

Re: [PHP] Thinking out loud - a continuation...

2012-03-26 Thread Robert Cummings
On 12-03-26 05:14 PM, Jay Blanchard wrote: [snip] *lol* No worries... it's all about solving problems :) [/snip] the other folks who needed to consume the JSON have all done so successfully today - just this one. The guy who runs it was plenty arrogant when I discussed with him. He is the on

Re: [PHP] Thinking out loud - a continuation...

2012-03-26 Thread Robert Cummings
On 12-03-26 06:52 PM, Jay Blanchard wrote: [snip] Did you end up with a satisfactory output? It's not overly difficult to generate an array instead of an object. [/snip] I did for all but this one instance. Are you saying that it would be easy to make of the children arrays? I thought they w

Re: [PHP] Thinking out loud - a continuation...

2012-03-26 Thread Robert Cummings
On 12-03-26 07:05 PM, Jay Blanchard wrote: [snip] On Mar 26, 2012, at 5:58 PM, Robert Cummings wrote: On 12-03-26 06:52 PM, Jay Blanchard wrote: [snip] Did you end up with a satisfactory output? It's not overly difficult to generate an array instead of an object. [/snip] I did for al

Re: [PHP] Need PHP & Web Developer in So Cal

2012-03-28 Thread Robert Cummings
On 12-03-28 12:20 PM, Paul Scott wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28/03/2012 18:04, Michael Frankel wrote: Hi - I am looking for a reliable, experienced PHP / Web developer or development company to assist me with one of my long-time clients. I need someone who has exper

Re: [PHP] Thinking out loud - a continuation...

2012-03-30 Thread Robert Cummings
On 12-03-27 11:11 AM, Jay Blanchard wrote: [snip]On 3/27/2012 12:21 AM, Robert Cummings wrote: >> [-- SNIP --] Essentially, entries at the root and entries for the children are just auto indexed array items but the actual entries in those arrays retain the associative index structu

Re: [PHP] Thinking out loud - a continuation...

2012-04-02 Thread Robert Cummings
On 12-04-02 04:36 PM, Jay Blanchard wrote: [snip] function getTiersJson( $company ) { $tiers = getTiers( $company ); $json = JSON_encode( $tiers ); } $tiersJson = getTiersJson( 1 ); ?> This will output JSON with the following structure: [/snip] OK, now I know I am being dense - but

Re: [PHP] To ?> or not to ?>

2012-04-03 Thread Robert Cummings
On 12-04-03 05:29 PM, Tedd Sperling wrote: Hi gang: Let me start a religious war -- should one end their scripts with "?>" or not? After years of never having a problem with ending any of my scripts with "?>", I found that several students in my class had scripts that did not produce the desi

Re: [PHP] To ?> or not to ?>

2012-04-03 Thread Robert Cummings
On 12-04-03 11:39 PM, Donovan Brooke wrote: Stuart Dallas wrote: [snip] Usually when setting headers after such a script has been included when output buffering is turned off. Personally I never put the closing ?> in if it's at the end of the file because it's unnecessary and can cause issue

Re: [PHP] To ?> or not to ?>

2012-04-03 Thread Robert Cummings
On 12-04-04 01:14 AM, Donovan Brooke wrote: Robert Cummings wrote: [snip] Could using ob_start and ob_end_flush eliminate the ambiguity of whether or not to use '?>'? In the generally recommended case of don't use them at the end of your file... where's the ambiguity

Re: [PHP] To ?> or not to ?>

2012-04-04 Thread Robert Cummings
On 12-04-04 02:42 PM, Lester Caine wrote: Tedd Sperling wrote: Let me start a religious war -- should one end their scripts with "?>" or not? Just as long as no one proposes making leaving out compulsory ;) While I can sort of understand the logic when the file is all php and just has an open

Re: [PHP] To ?> or not to ?>

2012-04-04 Thread Robert Cummings
On 12-04-04 04:40 PM, Lester Caine wrote: ( forget email addres :( ) Robert Cummings wrote: On 12-04-04 02:42 PM, Lester Caine wrote: Tedd Sperling wrote: Let me start a religious war -- should one end their scripts with "?>" or not? Just as long as no one proposes makin

Re: [PHP] Prevent browser back...

2005-02-09 Thread Robert Sossomon
login again). HTH, Robert Ashley M. Kirchner is quoted as saying on 2/9/2005 1:05 PM: This is probably something that comes up every so often and it's generally related to PHP scripts, however I have a different setup and am now trying to figure out what to do. On our company site, we h

[PHP] Primer for working with arrays

2005-02-09 Thread Robert Sossomon
I need a really good primer for working with arrays in PHP and with MySQL. I can do what I need to do without them right now, but I would really like to get arrays figured out. Any have some good ones? Thanks! Robert -- Robert Sossomon, Business and Technology Application Technician 4-H Youth

Re: [PHP] Foreach problem.

2005-02-10 Thread Robert Cummings
On Thu, 2005-02-10 at 14:26, Richard Lynch wrote: > Mirco Blitz wrote: > > HI, > > I am really confused. > > I have an array, that looks like this: > > > > print_r($elementsarr) = Array ( [0] => knr [1] => subject [2] => title [3] > > => kat [4] => pages [5] => access [6] => dofile [7] => MAX_FILE_

Re: [PHP] How do you read one of these parameters?

2005-02-11 Thread Robert Cummings
On Thu, 2005-02-10 at 19:28, Brian Dunning wrote: > I see URLs formatted like this: > >http://tinyurl.com/xyz > > How do you read that "xyz," since there's no "/?x=" preceding it? Is it > not a get parameter? It means the hosting webserver either does a URL rewrite for the receiver applicat

Re: [PHP] // or /**/

2005-02-27 Thread Robert Cummings
On Sun, 2005-02-27 at 14:33, pmpa wrote: > Hi all! > > This is probably a stupid question, but I have to ask :) > Which takes less processing? Run a test. Regardless though, since the parsing time is so miniscule, I always use // for comments so that when I want to temporarily comment out blocks

Re: [PHP] Re: [MondayMorningRant] Re: [PHP] Semi-OT: Anti-password trading/sharing solutions

2005-02-28 Thread Robert Cummings
On Mon, 2005-02-28 at 14:37, dan wrote: > Well I'll be God Damned. You're pretty clever. You're surly going to > Heaven, now! Oh no, he'll surely terrorize all of heaven with his surliness ;) Cheers, Rob. -- .. | InterJinn Applicatio

Re: [PHP] On Topic - Theoretical Concents of Anti-password trading/sharing solutions

2005-03-01 Thread Robert Cummings
On Tue, 2005-03-01 at 09:58, Dan Trainor wrote: > > [-- SNIIIP --] > Dear Dan, You have yourself to blame for the responses you have been receiving. You opened up the floodgates of personal opinion when you mentioned your were a pr0n pusher. The fact that you deal with adult conte

Re: [PHP] usage of php &

2005-03-08 Thread Robert Cummings
On Tue, 2005-03-08 at 10:55, Jochem Maas wrote: > I sure I'm not the only one on this list that reads php-internals > after reading the thread entitled: > > "" > > I'm wondering if anyone here has _ever_ used the tags > to enclose php code? e.g.: > > >