Re: [PHP] Get reference count on a variable.

2004-08-20 Thread Robert Cummings
On Sat, 2004-08-21 at 00:10, Curt Zirzow wrote: > * Thus wrote Robert Cummings: > > Hi All, > > > > I think I'm looking for something that doesn't exist, but just in > > case thought I'd check the list. Does anyone know if a PHP function > > e

Re: [PHP] Get reference count on a variable.

2004-08-21 Thread Robert Cummings
On Sat, 2004-08-21 at 10:24, Curt Zirzow wrote: > * Thus wrote Robert Cummings: > > On Sat, 2004-08-21 at 00:10, Curt Zirzow wrote: > > > * Thus wrote Robert Cummings: > > > > Hi All, > > > > > > > > I think I'm looking for somethi

Re: [PHP] Get reference count on a variable.

2004-08-21 Thread Robert Cummings
On Sat, 2004-08-21 at 11:21, Curt Zirzow wrote: > * Thus wrote Robert Cummings: > > > > As exemplified in the sample script I sent in my last response and by > > the link sent by Hannes Magnusson, in PHP5 the following have identical > > behaviour: > > > >

Re: [PHP] for loops performance

2004-08-21 Thread Robert Cummings
On Sat, 2004-08-21 at 12:17, Xongoo!com: Central unit wrote: > Holla, > > Maybe someone knows how to improve for loops > performance? When generating 1000's of pages, it > oads in 10-20 seconds. Maybe there is some > solution I don't know about? Give us an example of your for loop that is having

Re: [PHP] Get reference count on a variable.

2004-08-21 Thread Robert Cummings
On Sat, 2004-08-21 at 14:38, Daniel Schierbeck wrote: > Robert Cummings wrote: > > In PHP5 to get a copy of, versus a reference to, an object the developer > > must call the __clone() method for the target object: > > > > $obj = new Foo(); > > $copyNotRefe

Re: [PHP] managing cvs from php

2004-08-22 Thread robert mena
Michal, The directories have a 777 (ok unsecure but just a test) setting. Any tips of how can I get the stderr or a better way to do this cvs interface ? On Thu, 19 Aug 2004 11:45:26 -0400 (EDT), Michal Migurski <[EMAIL PROTECTED]> wrote: > > $cmd = "cd ".$pathToFile." ; /usr/bin/cvs ci -m '".$l

Re: [PHP] how to count objects instances

2004-08-23 Thread Robert Cummings
On Mon, 2004-08-23 at 20:54, John Holmes wrote: > [EMAIL PROTECTED] wrote: > > hi, > > What is best method(if it's possible) to count how many times an object is > > instanced in one time script call? > > I means that if i have a class named "Test", i what to know how many times she's > > called, h

Re: [PHP] how to count objects instances

2004-08-23 Thread Robert Cummings
On Mon, 2004-08-23 at 20:33, Curt Zirzow wrote: > * Thus wrote Robert Cummings: > > On Mon, 2004-08-23 at 20:54, John Holmes wrote: > > > [EMAIL PROTECTED] wrote: > > > > > > You could write a wrapper class for Test that kept count of the > > > ins

Re: [PHP] Array?

2004-08-25 Thread Robert Cummings
On Wed, 2004-08-25 at 14:17, Nathan Mealey wrote: > I cannot seem to access elements inside of the array $things in the > code below. All of the errors say "Undefined offset: 7 in > /Library/WebServer/Documents/lis/check.php on line 26" I don't see > why... > > The code is: > >

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Robert Cummings
Would this be a good time to bring up the argument in favour of freedom to top post? Ducking and running, Rob. On Thu, 2004-09-02 at 13:34, John Holmes wrote: > From: "Justin Palmer" <[EMAIL PROTECTED]> > > > Maybe what this community needs is an advanced mailing list. > > > > I think that thes

Re: [PHP] Is a PECL a black whole?

2004-09-03 Thread Robert Cummings
On Fri, 2004-09-03 at 10:29, Dave Restall - System Administrator,,, wrote: > > It took me a while to find an explanation of what a PECL is. I kept reading > > comments about things being moved to a PECL but I saw nothing about what is > > in a PECL or how to get anything out of a (the?) PECL. As

[PHP] Dinamic generate PDF : which way ? (classes, docbook)

2004-09-06 Thread robert mena
Hi, I plan to dynamic generate some of the documents I need on a regular basis. Sometimes they only differ by the name of the company so my first attempt would be to generate "templates" in word and ask/replace for the values needed. I am evaluating the http://www.ros.co.nz/pdf/, www.fpdf.org an

Re: [PHP] Dinamic generate PDF : which way ? (classes, docbook)

2004-09-07 Thread robert mena
EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hello Robert, > > I would suggest that if your data is such that it can use DocBook, > definitely go the DocBook route. You can also use Apache's Cocoon publish > your DocBook content to PDF/HTML/RTF/SVG/TXT etc. >

Re: [PHP] why should $_SESSION be slower than other arrays?

2004-09-09 Thread Robert Cummings
On Thu, 2004-09-09 at 10:57, raditha dissanayake wrote: > John Holmes wrote: > > > From: "raditha dissanayake" <[EMAIL PROTECTED]> > > > >>> The following code gives me this: > >>> Normal $val: 9.4890594482422E-05 > >>> Session var: 1.1920928955078E-05 > >> > >> > >> The key here is the 'to the po

Re: [PHP] Upgrade from 4.3.6 to 5; strategy

2004-09-11 Thread Robert Cummings
On Sat, 2004-09-11 at 19:35, [EMAIL PROTECTED] wrote: > Anyone have any good advice for an upgrade strategy from php4.3.6 to > php5.0.1? I have a MAC OSX 10.3.5 system that I use for my test machine and > an Open BSD system for my production machine. The production machine is > also semi-managed

Re: [PHP] Upgrade from 4.3.6 to 5; strategy

2004-09-11 Thread Robert Cummings
On Sat, 2004-09-11 at 22:43, Tim Best wrote: > :-P duh... > > Wasn't sure if php4 code would run under php5. > > >From the sounds of your response, I guess it will process 4.3.x code... For the most part you should get very few errors. You will probably get a lot of warnings, but they will pro

Re: [PHP] Secret Codes in Spam and PHP

2004-09-16 Thread Robert Cummings
On Thu, 2004-09-16 at 18:33, Matthew Sims wrote: > I'm immune from assassins. > > Gunslingers, hatchet men and thugs, on the other hand, still present a > problem. When I first read this I read "thongs" instead of "thugs". It still made sense though :) Cheers, Rob. -- .-

Re: [PHP] List Etiquette

2004-09-18 Thread Robert Cummings
*RUH ROH* Better watch out, top posting is an extremely unpopular discussion. Some members of the list will attempt to lambaste you and tell you that because the rules are written, then they must be the final word. Feel free to post however you please, while the dogs might bark loudly, they are at

Re: [PHP] List Etiquette

2004-09-18 Thread Robert Cummings
On Sat, 2004-09-18 at 18:11, Jason Wong wrote: > On Sunday 19 September 2004 05:37, Andre Dubuc wrote: > > > After googling 'Web Etiquette, Top Posting', I still am puzzled why some > > people on this list insist that top posting is bad form, rather than > > personal preference. The arguments seem

Re: [PHP] List Etiquette

2004-09-18 Thread Robert Cummings
On Sat, 2004-09-18 at 18:46, Jason Wong wrote: > On Sunday 19 September 2004 06:33, Robert Cummings wrote: > > [snip] > > > Happy top posting, > > Have fun driving on the wrong side of the road. What side is that? Doesn't it depend on nati

Re: [PHP] List Etiquette

2004-09-18 Thread Robert Cummings
On Sat, 2004-09-18 at 19:42, Jason Wong wrote: > On Sunday 19 September 2004 07:40, Robert Cummings wrote: > > > > Have fun driving on the wrong side of the road. > > > > What side is that? Doesn't it depend on national preference? > > Not personal preferenc

Re: [PHP] List Etiquette

2004-09-18 Thread Robert Cummings
On Sat, 2004-09-18 at 22:02, Jason Wong wrote: > On Sunday 19 September 2004 07:52, Robert Cummings wrote: > > > But definitely there's not global consensus. > > I really shouldn't be indulging you as it's pretty obvious you're only here > for a vi

Re: [PHP] List Etiquette

2004-09-19 Thread Robert Cummings
On Sun, 2004-09-19 at 14:49, John Nichel wrote: > Check the headers of this email. I'm using a Windows box right now, and > my cursor was automatically at the end when I clicked reply. Again, > it's laziness if one doesn't want to configure their client to put the > cursor at the end, or to ma

Re: [PHP] Re: OT gmail accounts

2004-09-20 Thread Robert Cummings
On Mon, 2004-09-20 at 21:10, Jason Wong wrote: > On Tuesday 21 September 2004 07:32, Greg Donald wrote: > > > I noticed your reply, it said the thread was off-topic and it was not. > > There was a PHP question in the first post, but you didn't see it. > > Pretty simple. > > gmail accounts = off

Re: [PHP] Split haystack at nth occurrence of needle?

2004-09-22 Thread Robert Cummings
On Wed, 2004-09-22 at 12:31, Brian Dunning wrote: > > > $string = 'onetwothreefourfive'; > > $nthPos = 4; > > $tmpArr = explode( '', $string ); > > $nthString = $tmpArr[($nthPos - 1)]; > > ?> > > Thanks Chris, that works great, but it's not doing what I want. I'm > just trying to get the

Re: [PHP] general organization question

2004-10-12 Thread Robert Cummings
On Tue, 2004-10-12 at 16:19, lists wrote: > Hi List, > > I"m wondering what factors are at play in deciding to use "require", > "include", "file_get_contents" and such when laying out a site. Like require() generates a fatal error if the target file doesn't exist. This means your script will no

Re: [PHP] general organization question

2004-10-12 Thread Robert Cummings
On Tue, 2004-10-12 at 18:18, Greg Donald wrote: > We use Mojavi, and it works very well: > > http://mojavi.org > http://www.peterrobins.co.uk/it/mojavi/tutorial.htm > > It's way more than just templates, it's display and logic seperation, > modularization, filter chains, the works. In fact we us

Re: [PHP] Regular Expression for a UK Mobile

2004-10-15 Thread Robert Cummings
On Fri, 2004-10-15 at 07:45, Gareth Williams wrote: > Do you even need a regex? > > What about > > if (strlen($_POST['mobile_number']) != 11 && > substr($_POST['mobile_number'],0,3) != 447) > { > $error="Invalid Number"; > } This doesn't verify that the portion following 447 is also a num

Re: [PHP] add item to end of (multidimensional) array

2004-10-15 Thread Robert Cummings
On Fri, 2004-10-15 at 08:34, Arnold wrote: > Hi, > > How can i add new items to an array without using an index. > Normally (single dimension) you can do: Arr[]="x" and this item is > added to the array, but what if i have subitems like: > Arr[]['name']="arnold"; Arr[]['address']="street". >

[PHP] Structure of Directories?

2004-09-27 Thread Robert Sossomon
x27;s the BEST way to go around doing this so that it is dynamically created? Thanks, Robert -- Robert Sossomon, Webmaster and IT Guru 4-H Youth Development Department 200 Ricks Hall, Campus Box 7606 N.C. State University Raleigh NC 27695-7606 Phone: 919/515-8474 Fax: 919/515-7812 [EMAIL PRO

Re: [PHP] Website with a Instant Messenger

2004-09-28 Thread Robert Sossomon
d and jabber is trifling easy to get set up and running, especially on a RH system. Robert Ricardo Cezar wrote: Well, I think everybody starts there, including me! :) I´m searching google... But thanks :) "Jay Blanchard" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTEC

Re: [PHP] Suggestion for "IN()"

2004-09-30 Thread Robert Cummings
On Thu, 2004-09-30 at 15:50, Cosmin wrote: > you could try in_array() > > if (in_array(1,2,3,4,5), 6) Just for farts and giggles... possibly better speed with such a basic datatype: if( strpos( ' 1 2 3 4 5 6 7 ', " $a " ) !== false ) Cheers, Rob. -- .---

RE: [PHP] READ BEFORE REPLYING TO : Re: [PHP] UNSUBSCRIBE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

2004-10-01 Thread Robert Restad
I am posting, obviously, the 26th message in this thread. (or maybe higher). And I couldnt care less. I have efficiently deleted 20 000 messages from the PHP board (or around this number) last year without even getting close to read them. So, would you please tell me why the first message (out o

Re: [PHP] A problem of installation

2004-10-02 Thread Robert Cummings
On Sun, 2004-10-03 at 00:05, Teng Wang wrote: > I met with a problem when installing php5.0.0 on my Federo Core 2.0 system. > > I use the default settings: > ./configure > make > make install > > Everything is ok, but when I test my phpinfo(),it always shows the > 4.3.8 version. Yet, when I type

Re: [PHP] How to install php5 on Fedora Core2

2004-10-03 Thread Robert Cummings
On Sun, 2004-10-03 at 09:43, Teng Wang wrote: > Surely apache is running. > And I checked httpd.conf. There is no "LoadModule php4.x.x > ...". Anyother settings should be removed? > > The first time I installed php5.0.0, I forgot to add > --with-apxs2=/usr/sbin/apxs. It works but the version is 4.

Re: [PHP] How to install php5 on Fedora Core2

2004-10-03 Thread Robert Cummings
On Sun, 2004-10-03 at 10:21, Teng Wang wrote: > Thanks a lot. It works! > > But a new problem is: default setting loses all extensions. > If I wanna install all extension in the package, how to > configure the installation and reinstall? There are two ways... you can either compile in the extensi

Re: [PHP] Why my browser always chooses UTF-8 charset?

2004-10-03 Thread Robert Cummings
Look for this in your php.ini: default_charset Cheers, Rob. On Sun, 2004-10-03 at 17:56, Teng Wang wrote: > Although I have included charset (GB2312) information in my > html/php files. > > > > And my browser has "Auto-select" settings. > How to make the browser select charset correctly,

[PHP] Parse file and input into DB

2004-10-04 Thread Robert Sossomon
do it? Thanks, Robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Parse file and input into DB -> More

2004-10-04 Thread Robert Sossomon
Whoops. I am planning to do an upload of HTML files that are written from Belarc Advisor or from another utility that checks your system and creates a profile. Robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP "make install" writes to httpd.conf

2004-10-04 Thread Robert Cummings
Anyway to choke PHP's behaviour of adding the following to httpd.conf when you make install: LoadModule php4_module /some_dumb_location/libphp4.so I use a customized layout for my compilations, and this always messes things up since apache doesn't complain about the location, and then it stop

Re: [PHP] Upload problems

2004-10-06 Thread Robert Sossomon
With apache, check out the php.conf file located at: /etc/httpd/conf.d and modify it to be: SetOutputFilter PHP SetInputFilter PHP LimitRequestBody 838860800 That'll allow a full CD worth of information to be uploaded... :) Robert raditha dissanayake wrote: Dennis Gearon

Re: [PHP] Newsgroups Space

2004-10-06 Thread Robert Sossomon
Jay Blanchard is quoted as saying on 10/6/2004 4:49 PM: [snip] i know this isn't completely related to php but i am creating a web based news reader in php, how much disk space do you think i need to run my own local news server? [/snip] I'd go with a 1TB RAID Only 1TB?? -- PHP General Mailing L

[PHP] Re: [PEAR] $HTTP_POST_VARS

2004-10-07 Thread Robert Cummings
On Thu, 2004-10-07 at 15:50, Justin Patrin wrote: > Sorry, that question doesn't make any sense. The POST vars only change > during a script run if your script changes them. Also, you should be > using the $_POST superglobal unstead of $HTTP_POST_VARS. Please try to > rephrase your question. Just

Re: [PHP] 'Intelligently' truncate string?

2004-10-18 Thread Robert Cummings
On Mon, 2004-10-18 at 14:35, Murray @ PlanetThoughtful wrote: > Hi All, > I'm working on a page where I'm attempting to display article titles in a > relatively narrow area. To save from ugly wrap-arounds in the links, I've > decided to truncate the article title string at 20 chars. This works well

Re: [PHP] change server unix->win

2004-10-20 Thread Robert Cummings
On Wed, 2004-10-20 at 07:17, Patrick Fehr wrote: > Hi > I have a serious problem: > The client want's to emigrate the webhosting from a unix server to a windows > server. Now my biggest problem are the path's. > Is there a way to fast convert all the /root-style directories into the > windows stand

[PHP] Problem with php 4/5, segmentation fault

2004-10-20 Thread robert mena
Hi, I have a Linux Fedora Core2 system with apache 2.0.51 and php installed. Recently I 've noticed that some pages stopped working. Those pages while accessed does not output anything. After some tests I noticed that the page comes back to live if I remove the mysql_pconnect call. I've tried t

Re: [PHP] A better way to do this in php???

2004-10-20 Thread Robert Cummings
On Wed, 2004-10-20 at 19:37, [EMAIL PROTECTED] wrote: > Why not use the date function? > > date("g:i a"); The OP wants to get the time based on a value indicating the number of minutes since midnight. He doesn't want the current time. The following should give him what he needs: $iMinutes =

RE: [PHP] Simple Time Question

2004-10-21 Thread Robert Cummings
On Thu, 2004-10-21 at 12:25, Ford, Mike wrote: > To view the terms under which this email is distributed, please go to > http://disclaimer.leedsmet.ac.uk/email.htm > > > > On 21 October 2004 15:49, Ben Miller wrote: > > > Probably a stupid question, but hopefully has a simple answer. Is > > t

RE: [PHP] Simple Time Question

2004-10-21 Thread Robert Cummings
On Thu, 2004-10-21 at 13:00, Robert Cummings wrote: > On Thu, 2004-10-21 at 12:25, Ford, Mike wrote: > > To view the terms under which this email is distributed, please go to > > http://disclaimer.leedsmet.ac.uk/email.htm > > > > > > > > On

[PHP] COPY with PostgreSQL

2004-10-22 Thread Robert Fitzpatrick
r The process just hangs with the large number of lines, I have to kill the COPY process for postgresql on the server before trying again. -- Robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] COPY with PostgreSQL

2004-10-22 Thread Robert Fitzpatrick
andle, it works. Don't ask me why, that is what I'd like to know. If I report back if busy is true, I get nothing. Maybe it is just giving a millisecond to breathe or something while checking to see if the connection is busy. But with that one line, all is well. -- Robert -- PHP G

Re: [PHP] while-question

2008-11-17 Thread Robert Cummings
On Mon, 2008-11-17 at 14:54 +, Stut wrote: > On 17 Nov 2008, at 14:31, Nathan Rixham wrote: > > if you really want a challenge try this one.. > > > > task: add the numbers 5 and 17 together, using php, without using > > the + operator. fill it in: > > > > function add($a , $b) { > > //code he

RE: [PHP] while-question

2008-11-17 Thread Robert Cummings
On Mon, 2008-11-17 at 10:00 -0800, bruce wrote: > curious qiestion > > to all on here who dabble in php... how many of you have actully gone to > college, taken algorithm courses, microprocessor courses, > design/architecture courses, etc.. > > or is the majority of the work here from people

Re: [PHP] while-question

2008-11-17 Thread Robert Cummings
On Mon, 2008-11-17 at 19:07 +0100, Jochem Maas wrote: > Robert Cummings schreef: > > On Mon, 2008-11-17 at 14:54 +, Stut wrote: > >> On 17 Nov 2008, at 14:31, Nathan Rixham wrote: > >>> if you really want a challenge try this one.. > >>> > >>&

Re: [PHP] Variable Argument List

2008-11-17 Thread Robert Cummings
On Mon, 2008-11-17 at 11:54 -0500, Shiplu wrote: > On Fri, Nov 14, 2008 at 8:13 PM, Daniel Kolbo <[EMAIL PROTECTED]> wrote: > > Hello, > > > > I am trying to do something like the following: > > > > > > > function hello($var1 = 'default1', $var2 = 'default2') { > > echo "$var1:$var2"; > > } > >

Re: [PHP] Experience (was: while-question)

2008-11-17 Thread Robert Cummings
On Mon, 2008-11-17 at 11:23 -0800, Yeti wrote: > who says PHP means programming? > All I see is script code, unless you write your own extension or you > contribute to php-internal http://en.wikipedia.org/wiki/Computer_program Cheers, Rob. -- http://www.interjinn.com Application and Templating F

Re: [PHP] while-question

2008-11-18 Thread Robert Cummings
On Tue, 2008-11-18 at 14:33 +, Nathan Rixham wrote: > Craige Leeder wrote: > > Jochem Maas wrote: > >> klieder ... kliederen > >> > >> the E sound is short. > >> > >> > > Interesting to know. Thanks :D > > > > - Craige > > don't believe him, "jochem" is really called Bob Davis, a slightly

Re: [PHP] mysql_fetch_object and modulo %

2008-11-19 Thread Robert Cummings
On Wed, 2008-11-19 at 10:12 -0500, Andrew Ballard wrote: > On Wed, Nov 19, 2008 at 9:32 AM, Craige Leeder <[EMAIL PROTECTED]> wrote: > > Alain Roger wrote: > >> > >> Hi, > >> > >> how can i do to test if the row number (record number) sent by > >> mysql_fetch_object is odd or even ? > >> i mean tha

Re: [PHP] Stats (was anchor name on URL)

2008-11-19 Thread Robert Cummings
On Wed, 2008-11-19 at 07:09 -0800, Yeti wrote: > I think it's also interesting to know what browsers web developers prefer [1]. Opera, but Firefox with Firebug if the JavaScript gets sticky. > Also what people would like to know more about [2]. Huh? > Number 1: howto kiss Depends... are we kis

Re: [PHP] Invalid Arguements

2008-11-19 Thread Robert Cummings
On Wed, 2008-11-19 at 19:49 +, Ashley Sheridan wrote: > On Wed, 2008-11-19 at 08:31 -0600, Terion Miller wrote: > > I am still getting the Invalid arguement error on this implode: > > > > if (isset($_POST['BannerSize'])){$BannerSize = > > implode(',',$_POST['BannerSize']);} else {$BannerSize =

Re: [PHP] Displaying information from table graphically]

2008-11-22 Thread Robert Cummings
Maybe I missed soemthing... what was wrong with Stut's suggestion of using divs? Absolute divs within a relative div is great for treating a box as a canvas with image layers. Each layer being clickable in it's visible portion (unless obscured by an overlayed transparent image). Cheers, Rob. -- h

[PHP] PHP causing Script: '/usr/www/...' in httpd-error.log?

2008-11-23 Thread robert arnesson
e used a lot by all ligit users visiting the site. They are functioning properly and generates no php errors etc. The error loglevel in Apache is set to error, PHP errors are turned off. What is causing these errors? Any help is appreciated! Thanks. -- Vänliga hälsningar/Best regards Robert Arnesson

[PHP] Re: PHP causing Script: '/usr/www/...' in httpd-error.log?

2008-11-23 Thread robert arnesson
the log compared to the ones that don't. I have checked the files them selfs over and over.. they are working as expected. /Robert On Sun, Nov 23, 2008 at 7:07 PM, Nathan Rixham <[EMAIL PROTECTED]> wrote: > robert arnesson wrote: > >> What is causing these errors? >>

Re: [PHP] Re: PHP causing Script: '/usr/www/...' in httpd-error.log?

2008-11-24 Thread robert arnesson
erate these kind of errors in the log at all. /Robert On Mon, Nov 24, 2008 at 4:08 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: > robert arnesson schreef: > > A. There is no more to the log > > B. There are no calls to error_log() > > > > PHP is installed as CGI, I

Re: [PHP] Happy Turkey Day

2008-11-27 Thread Robert Cummings
On Thu, 2008-11-27 at 12:31 -0500, Daniel P. Brown wrote: > On Thu, Nov 27, 2008 at 12:26 PM, Ashley Sheridan > <[EMAIL PROTECTED]> wrote: > >> > > For anyone who has no idea who Mr Bean is: > > > > http://img.photobucket.com/albums/v125/aricacritter/mr-bean-cooking-turkey.jpg > > The half-hou

Re: [PHP] Happy Turkey Day

2008-11-27 Thread Robert Cummings
On Thu, 2008-11-27 at 17:36 +, Ashley Sheridan wrote: > On Thu, 2008-11-27 at 12:31 -0500, Daniel P. Brown wrote: > > On Thu, Nov 27, 2008 at 12:26 PM, Ashley Sheridan > > <[EMAIL PROTECTED]> wrote: > > >> > > > For anyone who has no idea who Mr Bean is: > > > > > > http://img.photobucket.com/a

Re: [PHP] Happy Turkey Day

2008-11-27 Thread Robert Cummings
On Thu, 2008-11-27 at 18:01 +, Ashley Sheridan wrote: > On Thu, 2008-11-27 at 12:47 -0500, Robert Cummings wrote: > > On Thu, 2008-11-27 at 17:36 +, Ashley Sheridan wrote: > > > On Thu, 2008-11-27 at 12:31 -0500, Daniel P. Brown wrote: > > > > On Thu, No

Re: [PHP] Happy Turkey Day

2008-11-27 Thread Robert Cummings
On Thu, 2008-11-27 at 20:34 +, Nathan Rixham wrote: > Robert Cummings wrote: > > On Thu, 2008-11-27 at 12:31 -0500, Daniel P. Brown wrote: > >> On Thu, Nov 27, 2008 at 12:26 PM, Ashley Sheridan > >> <[EMAIL PROTECTED]> wrote: > >>> For anyone who

Re: [PHP] array/iteration issue!!

2008-11-27 Thread Robert Cummings
On Thu, 2008-11-27 at 17:31 -0800, bruce wrote: > hi. > > i have the following test multidiminsional array. i'm trying to figure out > how to iterate through the array, to produce something like > > foo, physics, sss > foo, physics, sffgg > foo, english, sss > foo, english, sffgg > > can't quite

RE: [PHP] array/iteration issue!!

2008-11-27 Thread Robert Cummings
On Thu, 2008-11-27 at 18:55 -0800, bruce wrote: > hey robert.. > > ok.. so if i changed the array to have a dept1, and a dept2 > > $a=array("college"=> "foo", >"dept1"=>array("dept"=> "physics", > "cla

RE: [PHP] array/iteration issue!!

2008-11-27 Thread Robert Cummings
On Thu, 2008-11-27 at 19:36 -0800, bruce wrote: > hey robert!! > > thanks. and yeah, you're right, it's not the best.. so tell me, given that > i'm ripping through this on the fly, and i can have the structure in any way > i choose. this is just to simulate/popu

Re: [PHP] [php] question about ob_end_flush

2008-11-27 Thread Robert Cummings
On Fri, 2008-11-28 at 12:01 +0800, jason liang wrote: > Hi all > > I am comfused about the function ob_end_flush.In the manual:This function > will send the contents of the topmost output buffer (if any) and turn this > output buffer off. > > i have made such tests. > > ob_start(); > ec

Re: [PHP] array/iteration issue!!

2008-11-27 Thread Robert Cummings
On Thu, 2008-11-27 at 22:22 -0600, Micah Gersten wrote: > > This is actually a much smaller data structure. > > $colleges = array > ( > 'Blah Blah University' => > array > ( > 'physics' => array > ( > 'sss', >

Re: [PHP] Will not report errors what can I do

2008-12-04 Thread Robert Cummings
On Thu, 2008-12-04 at 15:07 -0800, Jim Lucas wrote: > Terion Miller wrote: > > Hey everyone I am still fighting the same problem that my script isn't > > working and its not reporting errors, when you click to "view" the work > > order it doesn't do anything, I have all kinds of error reporting tur

Re: [PHP] Will not report errors what can I do

2008-12-04 Thread Robert Cummings
On Fri, 2008-12-05 at 17:44 +1300, German Geek wrote: > On Fri, Dec 5, 2008 at 4:26 PM, Robert Cummings <[EMAIL PROTECTED]> > wrote: > On Thu, 2008-12-04 at 15:07 -0800, Jim Lucas wrote: > > Terion Miller wrote: > > > Hey everyone I am still

Re: [PHP] Will not report errors what can I do

2008-12-04 Thread Robert Cummings
On Thu, 2008-12-04 at 21:28 -0800, Jim Lucas wrote: > Johny John wrote: > > HI Terion, > > Please put the error reporting on top of the page and try. If you have any > > errors in the include file, it won't execute the rest of commands. Make the > > changes to code as follows. > > > > > error_rep

Re: [PHP] Will not report errors what can I do

2008-12-05 Thread Robert Cummings
On Fri, 2008-12-05 at 08:15 +, Ashley Sheridan wrote: > On Fri, 2008-12-05 at 00:00 -0500, Robert Cummings wrote: > > On Fri, 2008-12-05 at 17:44 +1300, German Geek wrote: > > > On Fri, Dec 5, 2008 at 4:26 PM, Robert Cummings <[EMAIL PROTECTED]> > > > wrote: &g

Re: [PHP] Will not report errors what can I do

2008-12-05 Thread Robert Cummings
On Fri, 2008-12-05 at 10:40 -0500, tedd wrote: > At 3:19 PM + 12/5/08, [EMAIL PROTECTED] wrote: > > > $result = mysql_query($query) or die(report($query,__LINE__ ,__FILE__)); > >> > >> // to show dB errors == > >> > >> function report($query, $line,

Re: [PHP] Poll of sorts: Javascript Form validation or PHP

2008-12-07 Thread Robert Cummings
On Sun, 2008-12-07 at 13:59 +, Luke Slater wrote: > /** > Validate an email address. > Provide email address (raw input) > Returns true if the email address has the email > address format and the domain exists. > > Not following the usual coding style I know

Re: [PHP] A MySQL Question

2008-12-07 Thread Robert Cummings
On Sun, 2008-12-07 at 10:03 -0500, tedd wrote: > Hi gang: > > I just interviewed for a job teaching at the local college (imagine > me taking minds of mush and molding them to the world according to > tedd -- frightening huh?) > > In any event, the interviewer asked me how long I've been using

Re: [PHP] A MySQL Question

2008-12-07 Thread Robert Cummings
On Sun, 2008-12-07 at 11:01 -0500, Eric Butera wrote: > Sounds like someone thinks they're pretty clever. I'll never > understand why interviewers want to ask really odd edge case questions > instead of ones that really show practical knowledge. I know that I > don't know the syntax to everything

Re: [PHP] Poll of sorts: Javascript Form validation or PHP

2008-12-07 Thread Robert Cummings
On Sun, 2008-12-07 at 18:01 +, Nathan Rixham wrote: > >> On Sun, 2008-12-07 at 13:59 +, Luke Slater wrote: > >>> /** > >>> Validate an email address. > >>> Provide email address (raw input) > >>> Returns true if the email address has the email > >>> address format an

Re: [PHP] Poll of sorts: Javascript Form validation or PHP

2008-12-07 Thread Robert Cummings
On Sun, 2008-12-07 at 19:54 +, Nathan Rixham wrote: > Ashley Sheridan wrote: > > On Sun, 2008-12-07 at 20:31 +0100, Per Jessen wrote: > >> Yeti wrote: > >> > >>> I think hotmail, or was it some other mail mogul, is allowing their > >>> users to have those weird German umlauts and some accented

Re: [PHP] A MySQL Question

2008-12-08 Thread Robert Cummings
On Mon, 2008-12-08 at 10:19 -0500, Andrew Ballard wrote: > On Sun, Dec 7, 2008 at 12:38 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Sun, 2008-12-07 at 11:01 -0500, Eric Butera wrote: > >> Sounds like someone thinks they're pretty clever. I'll never >

Re: [PHP] A MySQL Question

2008-12-08 Thread Robert Cummings
On Tue, 2008-12-09 at 00:16 +, Nathan Rixham wrote: > Ashley Sheridan wrote: > > On Mon, 2008-12-08 at 23:23 +, [EMAIL PROTECTED] wrote: > >> Presumable, the EXISTS sub-query can be optimized sometimes to just stop > >> processing the sub-query and kick things back out to the outer query.

Re: [PHP] A MySQL Question

2008-12-08 Thread Robert Cummings
On Mon, 2008-12-08 at 19:46 -0600, Micah Gersten wrote: > Robert Cummings wrote: > > On Tue, 2008-12-09 at 00:16 +, Nathan Rixham wrote: > > > >> Ashley Sheridan wrote: > >> > >>> On Mon, 2008-12-08 at 23:23 +, [EMAIL PROTECTED] wrote: &

Re: [PHP] A MySQL Question

2008-12-08 Thread Robert Cummings
On Tue, 2008-12-09 at 17:40 +1300, German Geek wrote: > On Tue, Dec 9, 2008 at 3:51 PM, Micah Gersten <[EMAIL PROTECTED]> wrote: > > > German Geek wrote: > > > On Tue, Dec 9, 2008 at 2:46 PM, Micah Gersten <[EMAIL PROTECTED] > > > <mailto:[EMAIL PROTECTED

Re: [PHP] A MySQL Question

2008-12-09 Thread Robert Cummings
On Mon, 2008-12-08 at 23:50 -0800, Yeti wrote: > define('HUMAN_STUPIDITY', true); > function bigbang() { > while (HUMAN_STUPIDITY || !isset($debate_is_over)) { } > return true; > } > if (!isset($universe)) bigbang(); > ?> > > Who says the big bang is past? I can't hear it. Cheers, R

Re: [PHP] A MySQL Question

2008-12-09 Thread Robert Cummings
On Tue, 2008-12-09 at 16:40 +, [EMAIL PROTECTED] wrote: > Perhaps you couldn't hear the big bang in this universe, but what about in > the universe that spawned it? > :-) The black hole wouldn't allow it to travel in that direction ;) Cheers, Rob. -- http://www.interjinn.com Application and

Re: [PHP] A MySQL Question

2008-12-09 Thread Robert Cummings
On Tue, 2008-12-09 at 01:49 -0800, Yeti wrote: > As a matter of fact, in space you can't even scream. Sure you can... I'm screaming right now... and I'm in space. A container within a container within a container within a container (ad infinitum) is still within the outermost container. Cheers, R

Re: [PHP] usort for sorting an array of objects

2008-12-10 Thread Robert Cummings
On Thu, 2008-12-11 at 01:31 +1300, German Geek wrote: > On Wed, Dec 10, 2008 at 10:27 PM, Stut <[EMAIL PROTECTED]> wrote: > > > On 10 Dec 2008, at 04:15, German Geek wrote: > > > >> I need to sort an array of objects. I found this ( at a url that didnt let > >> me send this msg... ) and I would kn

Re: [PHP] usort for sorting an array of objects

2008-12-10 Thread Robert Cummings
On Thu, 2008-12-11 at 11:44 +1300, German Geek wrote: > On Thu, Dec 11, 2008 at 6:43 AM, Robert Cummings <[EMAIL PROTECTED]>wrote: > > > On Thu, 2008-12-11 at 01:31 +1300, German Geek wrote: > > > On Wed, Dec 10, 2008 at 10:27 PM, Stut <[EMAIL PROTECTED]> wrote:

Re: [PHP] how to not show login info in the url ...what am I looking for?

2008-12-11 Thread Robert Cummings
On Thu, 2008-12-11 at 11:05 -0500, tedd wrote: > At 10:12 AM -0500 12/10/08, APseudoUtopia wrote: > >On Wed, Dec 10, 2008 at 10:03 AM, tedd <[EMAIL PROTECTED]> wrote: > > > In my mind, hacking a site (without doing damage) is a good introduction > > to > > > a client. > >> > > > >*Ahem*You m

Re: [PHP] Foreign Keys Question

2008-12-11 Thread Robert Cummings
On Thu, 2008-12-11 at 13:27 -0500, Bastien Koert wrote: > On Thu, Dec 11, 2008 at 12:56 PM, tedd > > > > I believe I can create the Course table (excluding everything not germane) > > like so: > > > > INDEX (student_id), > > FOREIGN KEY (student_id) > > REFERENCES (students(id)), > > INDEX (ins

Re: [PHP] Foreign Keys Question

2008-12-11 Thread Robert Cummings
On Thu, 2008-12-11 at 13:46 -0500, tedd wrote: > At 12:29 PM -0600 12/11/08, phphelp -- kbk wrote: > >Hey tedd --- > > > >Do I understand your structure correctly that you have something like: > > > >Courses (table) > >course_id, > >subject_id, > >student1_id, > >student2_id, > >student3_id, > >stu

Re: [PHP] Foreign Keys Question

2008-12-11 Thread Robert Cummings
On Thu, 2008-12-11 at 13:56 -0500, tedd wrote: > At 1:48 PM -0500 12/11/08, Robert Cummings wrote: > >On Thu, 2008-12-11 at 13:27 -0500, Bastien Koert wrote: > > > On Thu, Dec 11, 2008 at 12:56 PM, tedd > > > > > > Does anyone have any example code to show me

Re: [PHP] Foreign Keys Question

2008-12-11 Thread Robert Cummings
On Thu, 2008-12-11 at 16:17 -0500, tedd wrote: > At 3:14 PM -0500 12/11/08, Andrew Ballard wrote: > > > >That's the way to go. Just keep in mind that you will have to consider > >ways of preventing overloading your courses due to concurrency, > >whether you use table locks or devise your own mechan

Re: [PHP] Foreign Keys Question

2008-12-11 Thread Robert Cummings
On Thu, 2008-12-11 at 16:24 -0500, Robert Cummings wrote: > On Thu, 2008-12-11 at 16:17 -0500, tedd wrote: > > At 3:14 PM -0500 12/11/08, Andrew Ballard wrote: > > > > > >That's the way to go. Just keep in mind that you will have to consider > > >ways of p

Re: [PHP] Need a brain to bounce some Mysql/DB thoughts off of!!

2008-12-11 Thread Robert Cummings
It's Christmas... the season of giving and tolerance :| On Fri, 2008-12-12 at 13:56 +1300, German Geek wrote: > This list seems to be turning into a MySQL list with a few PHP questions... > Tim-Hinnerk Heuer > > http://www.ihostnz.com > > > On Fri, Dec 12, 2008 at 1:53 PM, bruce wrote: > > >

Re: [PHP] Re: Foreign Keys Question

2008-12-11 Thread Robert Cummings
On Fri, 2008-12-12 at 09:06 +0200, clive wrote: > Colin Guthrie wrote: > > 'Twas brillig, and tedd at 11/12/08 18:46 did gyre and gimble: > >> As for my "Foreign Keys Question", I think the answer is that it > >> enforces rules upon the configuration (i.e., deleting, altering, and > >> such), but

<    5   6   7   8   9   10   11   12   13   14   >