[PHP] php date

2001-07-27 Thread colin
thanks Colin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] My session.c doesnt work!

2004-11-30 Thread Colin
Hi, I dont know if this is the correct group, but anyway. As part of a school project I decided to develop a solution to security in php sessions. i've started playing with session.c (below) but whenever i call a script with session_start() on it it doesnt load, but a session file is created on

[PHP] Script wont work

2004-12-05 Thread Colin
;s_write(&PS(mod_data), PS(id), "", 0 } cheers -colin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] using sprinf()

2004-12-06 Thread Colin
Hi, in session.c , i try to use char *val; sprintf(val, "%s", PS(id)); PS(mod)->s_write(&PS(mod_data), PS(id), val, strlen(val), TSRMLS_CC); but i cant move between scripts that has session_start() on them. any ideas? cheers -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

[PHP] PHP's PS(*) function

2004-12-12 Thread Colin
Hi, Can someone tell me how to create my own PS() in the source code eg, i want to make PS(sidd) in the session.c but it complains when I compile thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Source code/Zend expert required

2004-12-05 Thread Colin
Hi, I need someone who knows a good deal about editing the php source code and especially the session source code. I need one urgently to help me in my school project. Please help! contact me cokeeffe[at]gmail.com cheers -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] understanding headers

2002-12-11 Thread Colin Bossen
header("Content-Description: PHP Generated Data"); echo $data; } ?> Any help anyone might have would be much appreciated. Colin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: understanding headers

2002-12-11 Thread Colin Bossen
Opps... $data is set on the download page. It is set like this: $path .= "export/".$name; $fp = fopen($path, "rb"); $data = fread($fp, $size); fclose($fp); Colin On Wednesday, December 11, 2002, at 06:21 PM, Philip Hallstrom wrote: Where/How do you set $data? Everyt

Re: [PHP] Re: understanding headers

2002-12-11 Thread Colin Bossen
I add mention that the contents of the download.php file are the contents of the file I am trying to download... On Wednesday, December 11, 2002, at 06:31 PM, Colin Bossen wrote: Opps... $data is set on the download page. It is set like this: $path .= "export/".$name; $fp = f

[PHP] Re: understanding headers

2002-12-11 Thread Colin Bossen
Well, except for the fact that the file name is wrong. I sort of figured it out though. Anyways, I appreciate the help and hope this wasn't too much useless chatter from a relative Php newbie. Colin On Wednesday, December 11, 2002, at 06:36 PM, Philip Hallstrom wrote: Then you'

Re: [PHP] Difference between 2 Dates

2002-12-13 Thread Colin Bossen
I have a similar problem. I am trying to figure out which of two dates is greater. Both are in the -mm-dd format. Is there any easy function that allows this sort of comparison or am I missing something? On Friday, December 13, 2002, at 01:43 PM, vernon wrote: I found this code on the php.

Re: [PHP] Why use XML?

2003-02-10 Thread Colin Kettenacker
> It seems like a > great tool, but I am trying to figure out why I would actually use it? All > it does is seperate content and data, albeit on the client Not necessarily only on the client, but on the server side as well. > It would just add > another layer of content/data seperation that would

[PHP] XSLT processing DocBook files -> FO

2003-03-25 Thread Colin Viebrock
T processing error: variable 'page.height' not found How do I pass those variables/parameters to the XSLT process? Has someone else had experience with this? (Cc me offlist in your replies, please.) -- colineasydns com at dot -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Can you read a parsing PHP page's results

2002-11-12 Thread Colin Kettenacker
Is there anyway at all of reading the results of a parsing PHP page from within that same PHP page itself. In other words can you read the HTML code it's going to create. I know that you can use regular expressions to parse the HTML page manually swapping variable content as you would with most any

Re: [PHP] output buffering problem

2002-11-16 Thread Colin Kettenacker
webmaster [EMAIL PROTECTED] on 11/15/02 3:47 PM wrote: > I'm trying to enable output buffering to speed up the load time of some > of our php web pages. I've consulted the manual and enabled the > following: The manual lacks description for this topic. Take a look at this article at Developer Sh

[PHP] Stack Overflow with: zend optimizer

2002-07-04 Thread colin mcdonald
27;m doing that's causing this. I recently disabled the zend optimizer from the server and since then I haven't run it again. Could it be that it the Zend Optimizer that's causing this problem? Any help would be appreciated. Thanks, Colin -- PHP General Mailing List (http://w

[PHP] Re: Removing the #!/usr... from cgi output?

2002-07-05 Thread colin mcdonald
be some way to write the script with #!.. and not get it > printed out anyway. Ah, well... > > Thanks. > > David Brannlund > > > "Colin McDonald" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED]... > >>Did you try it without th

[PHP] Re: textarea new line

2002-07-05 Thread colin mcdonald
use \n Adi wrote: > i want to add in textarea a string with new line tag in it. how to do that? > > my try: > $string="-line1n\ -line2 n\-line3"; > echo "$string"; > > but i see a single line instead of: > -line1 > -line2 > -line3 > > tx in advance for any help > -- PHP General Mailing Lis

Re: [PHP] HTTPS vs. HTTP ?

2002-07-05 Thread colin mcdonald
I'll try to explain: If you have a form at a http URL and the action of the form is to a https URL, then the data from the form is submitted to the new URL in an encrypted format. hope that helps, colin Jason Caldwell wrote: > I'm a little confused about how HTTPS actually w

Re: [PHP] textarea new line+mysql update

2002-07-05 Thread colin mcdonald
use addslashes "update table1 set column1= '".addslashes($string)."' where ID = '$IDcurent'" Adi wrote: > tx, it's working now > but i still have a problem: > i want to insert into mysql database value $string: >$result2 = db_query("update table1 set column1= '$string' where ID = > '$IDcure

[PHP] Re: php form with textarea

2002-07-05 Thread colin mcdonald
looks like it should work. try echoing $action and make sure that it's the value you want. you may want to try $_POST['action'] Adi wrote: > I have a php file with two textarea and one button; i want when i press button, >value from textarea2 is filled in textarea1. > can u help me? > > my t

[PHP] Re: Configuring the Session Function in php.ini for WinNT...

2002-07-05 Thread colin mcdonald
I set it to: session.save_path = c:\temp\ And it works great for me Kondwani Spike Mkandawire wrote: > Does anyone know how to configure the session function in > the php.ini File under WinNT... The Session Function appears > to be generic to UNIX... What do I change the save_path > variable

[PHP] Re: Stack Overflow with: zend optimizer

2002-07-08 Thread colin mcdonald
do with the fact that the page already take roughly a 2 seconds to load, so a couple tens of milliseconds didn't make a difference. Thanks for the advice, colin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Stack Overflow with: zend optimizer

2002-07-08 Thread colin mcdonald
Oh yeah, this is what I did to stabilize the server: -take out zend_optimizer from php.ini -put process isolation level to "HIGH" (as Michael suggested) -put IIS in the ISAPI filter list -disable chaching of isapi applications colin Colin McDonald wrote: > Richard Lynch wrote:

[PHP] Re: snmpwalk

2002-07-08 Thread colin mcdonald
it's the space between Hi > > Iam trying to use snmpwalk but I get this: > > Parse error: parse error, unexpected T_VARIABLE in > c:\inetpub\wwwroot\alarm.php on line 7 > > This Is my code: > > > > ALARM ??? > $a = snmpwalk("192.168.10.8", "pub_likt", "1.3.6.1.2.1.1"); > ?> > > > > >

[PHP] Re: hide a select tag

2002-07-08 Thread colin mcdonald
why not use a "hidden" field instead of a select? Anil Garg wrote: > Hi, > > sorry for going a lil out of way of php. > can i hide a drop down menu.(as i always want to pass the default value > selected in the drop down. > > thanx and regards > anil > -- PHP General Mailing List (http://ww

[PHP] Re: sessions

2002-07-10 Thread colin mcdonald
try this (I think you have register_globals turned off) > Page 2: > > print $_SESSION['test_var']."!"; > ?> > Alexander Ross wrote: > I'm trying to understand sessions so I can set session variables. I set up 2 > very simple pages: > > Page 1: > > session_start(); > $test_var = "froggy

[PHP] cURL and relative paths

2003-09-04 Thread Colin Kettenacker
I'm coming up against a brick wall on this one. Can one cURL in a web page while automatically resolving all the relative file paths? I've fooled around with regexp to resolve this issue, but it is not a real stable solution. I tried the archives and googled, but there appears to be no solution t

Re: [PHP] Choosing a CMS?

2003-10-19 Thread Colin Kettenacker
I'd recommend Justin's route as well, if you have the time. In fact that is how I learned to program in PHP by programming my own template and CMS system (it still has a ways to go though). If you don't have the time search the list archives as this question comes up often. You'll get a lot of goo

[PHP] A web site interface preference tutorial

2003-10-20 Thread Colin Kettenacker
e this code as you wish. // If you find it at all useful perhaps you may wish to add the // following credit to your code (but you are not obliged to): // Original code provided by Colin Kettenacker <http://www.cube-o.com/> // Code modified by (Add your name here if you have modified this cod

Re: [PHP] A web site interface preference tutorial

2003-10-20 Thread Colin Kettenacker
Chris W. Parker [EMAIL PROTECTED] on 10/20/03 12:03 PM wrote: > Colin Kettenacker <mailto:[EMAIL PROTECTED]> > on Monday, October 20, 2003 11:06 AM said: > >> Any feedback/tips/hints/improvements to the code is appreciated. I >> will hopefully have my company web

Re: [PHP] need help w a for loop

2003-10-20 Thread Colin Kettenacker
Hi Redmond, A couple of issues I see here. First of all you are resetting the $categories_array to an empty array for each iteration in the loop. You must move it out of the loop. Secondly, you have enclosed the entire $_REQUEST superglobal variable in quotes so it is seeing it as a string rather

Re: [PHP] passing form data using $_SESSION

2003-10-20 Thread Colin Kettenacker
Hi Chris, I don't think there is anything wrong with this. The only gotcha that I can come up with is now that you are using session variables rather than "get" variables, you will no longer be able to bookmark the "state of that page", I think? What I mean is if your URL reads: index.php?e_name

Re: [PHP] run exe file

2003-10-20 Thread Colin Kettenacker
>> Dear all, >> >> Is there anyway that I can put .exe file on the web, and allow visitors >> only to run it, not download it. >> >> Regards, >> DT >> > > *Checks list address* Yep, php list. In a word, no. Well how about, in a word, it depends. Okay that's 2 words:) Check out: http://www.

Re: [PHP] run exe file

2003-10-20 Thread Colin Kettenacker
John Nichel [EMAIL PROTECTED] on 10/20/03 9:42 PM wrote: > Those are all fine and dandy if you want to run the file (*.exe or > whatever) on the same machine that php is running on. However, to run > it on the remote machine, it IS going to be downloaded. That's why I said it depends:) > Even th

Re: [PHP] there has to be a better way...

2003-10-22 Thread Colin Kettenacker
Hi Walter, You may want to look into PEAR's config package. It does pretty much all you have listed here and a lot more. I just started looking into it today. I haven't looked closely at the code so I don't know how efficiently it handles everything it does but it may give you some ideas. As far a

[PHP] PHP and Intranets

2003-12-03 Thread Colin Eldridge
Hi, my name is Colin Eldridge, teacher from Australia. I am relatively new to PHP. I have set up a small intranet for my students to build and use interactive webpages. The intranet: A server(P4, XP) running Apache, MYSQL and PHP (from Janet Valade's text with CD-ROM)

[PHP-CVS] cvs: php4 /pear/Crypt CBC.php

2001-01-11 Thread Colin Viebrock
ately. | // +--+ // | Authors: Colin Viebrock <[EMAIL PROTECTED]> | // +--+ // /** * Class to emulate Perl's Crypt::CBC module * * Blowfis

[PHP-CVS] cvs: php4 /pear/Crypt CBC.php

2001-01-13 Thread Colin Viebrock
/Crypt/CBC.php:1.1 Thu Jan 11 14:51:20 2001 +++ php4/pear/Crypt/CBC.php Sat Jan 13 12:33:54 2001 @@ -14,6 +14,7 @@ // | [EMAIL PROTECTED] so we can mail you a copy immediately. | // +--+ // | Authors: Colin Viebrock

[PHP-CVS] cvs: php4 /pear/Crypt CBC.php

2001-01-13 Thread Colin Viebrock
,v 1.2 2001/01/13 20:33:54 cmv Exp $ +* @version $Id: CBC.php,v 1.3 2001/01/13 20:34:35 cmv Exp $ * @author Colin Viebrock <[EMAIL PROTECTED]> * @author Mike Glover <[EMAIL PROTECTED]> * -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECT

[PHP-CVS] cvs: php4 /ext/mcrypt mcrypt.c

2001-01-13 Thread Colin Viebrock
cmv Sat Jan 13 12:55:15 2001 EDT Modified files: /php4/ext/mcryptmcrypt.c Log: Support for perl-compatible blowfish encryption (in libmcrypt CVS and versions later than 2.4.8) Index: php4/ext/mcrypt/mcrypt.c diff -u php4/ext/mcrypt/mcrypt.c:1.43 ph

[PHP] Profanity Filter?

2001-01-22 Thread Colin Kane
does anyone know where i can find a script that removes profanity and replaces them with a character ()? my boos just came down on me because i told him we already had one, but apparently it doesnt work. thanks, colin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

[PHP-CVS] cvs: php4 /pear Makefile.in

2001-01-23 Thread Colin Viebrock
cmv Tue Jan 23 13:08:13 2001 EDT Modified files: /php4/pear Makefile.in Log: Never added this ... Index: php4/pear/Makefile.in diff -u php4/pear/Makefile.in:1.64 php4/pear/Makefile.in:1.65 --- php4/pear/Makefile.in:1.64 Fri Jan 19 21:39:26 2001 +++ php

[PHP-CVS] cvs: php4 /pear Makefile.in

2001-01-23 Thread Colin Viebrock
cmv Tue Jan 23 13:09:55 2001 EDT Modified files: /php4/pear Makefile.in Log: Forgot this too ... Index: php4/pear/Makefile.in diff -u php4/pear/Makefile.in:1.65 php4/pear/Makefile.in:1.66 --- php4/pear/Makefile.in:1.65 Tue Jan 23 13:08:13 2001 +++ php4

[PHP-CVS] cvs: php4 /pear/Crypt CBC.php

2001-01-23 Thread Colin Viebrock
/pear/Crypt/CBC.php Tue Jan 23 13:36:12 2001 @@ -36,7 +36,7 @@ * the author of libcrypt decides to name things internally. * * -* @version $Id: CBC.php,v 1.3 2001/01/13 20:34:35 cmv Exp $ +* @version $Id: CBC.php,v 1.4 2001/01/23 21:36:12 cmv Exp $ * @author Colin Viebrock <[EM

RE: [PHP-CVS] cvs: php4 /main main.c

2001-02-21 Thread Colin Viebrock
Would something like this solve bugs 9311 (and 9341) too? > + if (op_array != NULL) destroy_op_array(op_array); - Colin -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the l

[PHP] php4 as a module AND a cgi

2001-02-25 Thread colin olkowski
own RedHat server. is this a linux vs. freebsd issue? colin olkowski - [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] php4 as a module AND a cgi

2001-02-26 Thread colin olkowski
hanks for the replies to my questions, it's extremely helpful. colin o. colin olkowski - [EMAIL PROTECTED] cell 917.549.8395 land 212.414.4481 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To c

[PHP] Session-based authentication and Netscape 6 problems

2001-03-07 Thread Colin Viebrock
e redirecting is too big, then Netscape 6.x seems to receive all the data but not refresh the browser window to display the new data. This is more of a NS6/Mozilla bug than anything else. Just thought it might affect anyone here using session-based authentication. -- Colin Viebrock Co-Founder,

Re: [PHP] MkDir failed (Permission denied)

2001-03-10 Thread Colin May
ody" tends not to be able to mkdir's unless someone has chown'd/chmod'd a parent directory accordingly. Colin. -- Colin May | "its an illusion, its a game, a reflection of mailto:[EMAIL PROTECTED] | someone elses name" - abacab, genesis http://www.

[PHP-CVS] cvs: php4 /pear/Net Dig.php

2001-03-12 Thread Colin Viebrock
. | // +--+ // | Authors: Colin Viebrock <[EMAIL PROTECTED]> | // +--+ // // $Id: Dig.php,v 1.1 2001/03/12 19:30:56 cmv Exp $ // // A nice friendly OO interface to dig // require_once('PEAR.php')

[PHP] what are the steps to recompile PHP?

2001-03-12 Thread colin olkowski
if one wants to recompile php (to add support for something that was missed during the first compile) is there a step I need to complete that will remove the earlier version of php, or do i just recompile over the old php and not worry about it? thanks colin olkowski - [EMAIL PROTECTED] cell

[PHP-CVS] cvs: php4 /pear Makefile.in

2001-03-12 Thread Colin Viebrock
cmv Mon Mar 12 11:35:28 2001 EDT Modified files: /php4/pear Makefile.in Log: Forgot to add it here Index: php4/pear/Makefile.in diff -u php4/pear/Makefile.in:1.72 php4/pear/Makefile.in:1.73 --- php4/pear/Makefile.in:1.72 Thu Mar 1 23:52:56 2001 +++ ph

[PHP-CVS] cvs: php4 /pear/Net Dig.php

2001-03-13 Thread Colin Viebrock
Mon Mar 12 11:30:56 2001 +++ php4/pear/Net/Dig.php Tue Mar 13 09:40:24 2001 @@ -16,7 +16,7 @@ // | Authors: Colin Viebrock <[EMAIL PROTECTED]> | // +--+ // -// $Id: Dig.php,v 1.1 2001/03/12

Re: [PHP] Problems with mail function

2001-03-14 Thread Colin May
ail logs say? if you havent got access to them, ask someone who has? -- Colin May | "its an illusion, its a game, a reflection of mailto:[EMAIL PROTECTED] | someone elses name" - abacab, genesis http://www.wibble.org.uk | http://www.abacab.org.uk -- PHP Gene

Re: [PHP-CVS] cvs: php4 /ext/midgard config.m4

2001-03-19 Thread Colin Viebrock
, Midguard seems to be code that is a "layer above" what I would feel belongs in the main PHP distribution. In the same way the DB abstraction class is (even the C version of it) ... and that they both belong in PEAR. Just my 2 cents (and given without intent to offend). -- C

Re: [PHP-CVS] cvs: php4 /ext/midgard config.m4

2001-03-19 Thread Colin Viebrock
, Midguard seems to be code that is a "layer above" what I would feel belongs in the main PHP distribution. In the same way the DB abstraction class is (even the C version of it) ... and that they both belong in PEAR. Just my 2 cents (and given without intent to offend). -- C

[PHP] Job in Whistler, BC

2001-04-16 Thread Colin Putney
and a season pass. ;-) Feel free to browse our website (www.whistler.com) and submit your resume to [EMAIL PROTECTED] Cheers, Colin - Colin PutneyWhistler.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] Finding Duplicate Numbers?

2001-04-17 Thread Colin Putney
give you a list of all duplicated phone numbers, the number of times they appear in the table, and sorts them with the most-duplicated numbers first. To list them, you just need to loop through the result set echoing the phone number. Cheers, colin ----

Re: [PHP] Finding Duplicate Numbers?

2001-04-17 Thread Colin Putney
p, that will prevent duplicate phone numbers from being inserted into the table. Note that if there is existing data in the table, he'll have to remove the duplicates before making the phone_number field unique. Cheers, colin -----

Re: [PHP] Finding Duplicate Numbers?

2001-04-17 Thread Colin Putney
On Tuesday, April 17, 2001, at 12:41 PM, Mark Maggelet wrote: > That would be true if I left out the 'ignore'. The way it is here it > will automatically toss the duplicates. Whoops, missed that. I stand corrected. Colin ---

[PHP] PHP & URL Question - omitting index.php

2001-05-21 Thread colin olkowski
e query string, but as you can see I'm not including the index.php in the link. Is this o.k. or will some browsers get confused? thanks in advance colin olkowski -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

[PHP] PHP object-oriented features

2001-12-16 Thread Colin Tucker
PHP is not at heart an OO language, but I really LIKE PHP! I don't want to use JSP or something because I think Java is slow and over complicated. So, is there any chance that these features could be added in the future at some stage? Please? ;) Cheers, Colin. -- PHP General Ma

Re: [PHP-CVS] cvs: php4 / NEWS

2001-03-26 Thread Colin Viebrock
> +- Modified get_parent_class() to accept a class name as well as a class > + instance. (Andrei, Zend engine) Can I make a request for get_class_methods() and get_class_vars() to accept class instances as well as a string? - Colin -- PHP CVS Mailing List (http://www.php.ne

Re: [PHP-CVS] cvs: php4 /ext/mcrypt mcrypt.c

2001-04-10 Thread Colin Viebrock
inal bug report, I strongly suggest this be merged into 4.0.5. As it stands, PHP's blowfish encryption isn't compatible with any other blowfish-encrypted programs, and should be fixed sooner rather than later. Of course, it will require a big note in the NEWS file ... :) - Colin P.S. T

Re: [PHP] $REMOTE_ADDR error

2001-06-27 Thread Colin May
[EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- Colin May - mailto:[EMAIL PROTECTED] - http://www.wibble.org.uk "I've got a sand storm blowing in my head seeing many colours but the

Re: [PHP] $REMOTE_ADDR error

2001-06-28 Thread Colin May
check the httpd's X_FORWARDED_FOR var using getenv or similiar... Quoting Christian Dechery (Wed, Jun 27, 2001 at 09:01:28AM -0300) > yeah... that's a possibility... > so there's no way I can see the user'ss IP? > > At 09:42 27/6/2001 +0100, Colin May wrote:

Re: [PHP] software localization with PHP

2001-08-02 Thread Colin Viebrock
" This even works with multiple "%s"'s, in later versions of PHP where you can rearrange the arguments in the format string, but not the way they are passed to sprintf(): msgid "%s is %d years old" msgstr "$2%d Jahrs habe $1%s" Check www.php.ne

[PHP] Re: can't get gettext() to work!

2001-08-03 Thread Colin Viebrock
uage codes. "LANG=fr" didn't work, but "LANG=fr_FR" did. I then need to pass '' or 'fr_FR' to setlocale(), and all is working. Thanks for the guess, though. :) - Colin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Re: if(!$submit)

2001-08-07 Thread Colin Viebrock
;' > Could someone please tell me the more than likely simple sollution. if (!isset($submit)) { ... Note the location of the "!" - Colin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

Re: [PHP] array + checkbox

2001-08-08 Thread Colin Viebrock
> If( strcmp($voorraad[1],'on') == 0 ) > // it's checked > else > // it's not Alternatively, fix your HTML by using quotes and a value attribute: Then: if ($voorraad=='something') { // checked } - Colin -- PHP General Mailing List (h

Re: [PHP] associative arrays in html forms and javascript

2001-08-08 Thread Colin Viebrock
> > > > > > > > > and like that the text field won't focus and the parser tells me that > arraystuff has no properties and that inputfield is undefined. ... should work. - Colin -- PHP General Mailing List (http://www.php.n

Re: [PHP] array + checkbox

2001-08-08 Thread Colin Viebrock
t;something" or "", depending on whether it was checked or not. http://devel.easydns.com/~cmv/checkbox.php http://devel.easydns.com/~cmv/checkbox.phps (source) onChange stuff is only if you want to do Javascript processing client-side. - Colin -- PHP General Mailing Li

[PHP] gettext()

2001-08-20 Thread Colin Viebrock
addressed this issue. Feel free to respond on- or off-list. - Colin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] UML

2004-07-30 Thread Colin Kettenacker
[EMAIL PROTECTED] [EMAIL PROTECTED] on 7/30/04 12:14 PM wrote: > Now that PHP is OOP with 5.0 is there a UML tool dedicated to PHP? > Well it is not dedicated to PHP, but the latest release of ArgoUML can output to PHP 5.0 (haven't tried it myself yet). ck -- Cheap Domain Registration | Web Ho

[PHP] Re: Accessing the 'media' attribute in php

2008-12-03 Thread Colin Guthrie
entries" each with 5 mini-pages and you add a print version you are changing the number from 5 to 6, not 5000 to 6000. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mandriva Linux Contrib

[PHP] Re: Convert .docx /.pdf file to .txt

2008-12-06 Thread Colin Guthrie
conds on google I found: http://sourceforge.net/project/showfiles.php?group_id=235455 If it works or not I have no idea! Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mandriva Linux Contributor

[PHP] Re: converting a vid with ffmpeg - howto do progress bars?

2008-12-10 Thread Colin Guthrie
- with the cron job/daemon approach you can control how many jobs are performed at the same time and thus limit the load. Just some thoughts. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mandri

[PHP] Re: Foreign Keys Question

2008-12-11 Thread Colin Guthrie
... all the course they've attended, all the instructors who have taught them etc. keeps things nice and tidy without having to put the structure in your code all over the place. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://

[PHP] Re: Poll of Sorts: Application Frameworks--Zend, Cake etc

2008-12-11 Thread Colin Guthrie
erver, basically I want to know which is easiest? LOL... Personally I'm a ZF fan, but each to their own. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mandriva Linux Contributor [http://www.ma

[PHP] Re: Foreign Keys Question

2008-12-11 Thread Colin Guthrie
'Twas brillig, and Chris at 12/12/08 01:20 did gyre and gimble: Micah Gersten wrote: Colin Guthrie wrote: The ON DELETE CASCADE option is key here... "DELETE FROM students where student_id=1" will remove all traces of that student from the db... all the course they'

[PHP] Re: How serialize DOMDocument object?

2008-12-12 Thread Colin Guthrie
p and __wakup functions that essentially do the save/load for you. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mandriva Linux Contributor [http://www.mandriva.com/] PulseAudio Hacker

[PHP] Re: Poll of Sorts: Application Frameworks--Zend, Cake etc

2008-12-12 Thread Colin Guthrie
s I'm poked with a pointy stick!) but I hear good things. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mandriva Linux Contributor [http://www.mandriva.com/] PulseAudio Hacke

[PHP] Re: Foreign Keys Question

2008-12-12 Thread Colin Guthrie
o NULL). All three are useful in different contexts. I use them extensively to ensure good data integrity. The trade off on extra load on insert/update is IMO well worth it. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.trib

[PHP] Re: Foreign Keys Question

2008-12-12 Thread Colin Guthrie
activated" Facebook accounts etc. to realise that hiding or disabling data is not enough in many cases. Food for thought! Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mandriva Linux Contribut

[PHP] Re: ACL Framework / Library

2008-12-24 Thread Colin Guthrie
ks, Feris Zend has their ACL as part of the framework http://framework.zend.com/manual/en/zend.acl.html +1 on that one. Remember that you don't need to use the whole framework... you can just pick out the Zend_Acl stuff easily enough. Col -- Colin Guthrie gmane(at)coli

[PHP] Re: MERRY XMAS

2008-12-24 Thread Colin Guthrie
'Twas brillig, and Jay Blanchard at 24/12/08 12:07 did gyre and gimble: [snip] ...greetings from around the world [/snip] Merry Chrismakwanzica! Happy Festivus! Indeed. Happy Annual Gift Giving Day (when it comes!) to one and all. Col -- Colin Guthrie gmane(at)colin.guthr.ie

[PHP] Re: Zend framework

2008-12-24 Thread Colin Guthrie
ly when you are trying to retro fit it to an existing project). But if you just spend a few days reading through the manual you'll be totally fine. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source

[PHP] Re: Unique Object Instance ID..?

2009-01-10 Thread Colin Guthrie
extension php-uuid. The other way of doing it would be to insert a row into a database row with an auto-increment field and use the value of that auto-incrment field as your identifier (SELECT LAST_INSERT_ID() in mysql or via the db layers API). HTHs Col -- Colin Guthrie gmane(at

[PHP] Re: FirePHP -- pretty cool

2009-01-11 Thread Colin Guthrie
deoffs. If you really want it to be efficient, you can format your code in such a way that a script would process your files and comment out all the log calls. Depends whether it's worth the effort to do this really! Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.i

[PHP] Re: Zend Framework...where to start? -- do

2009-01-15 Thread Colin Guthrie
quot; (remember "better" != "raw performance") for you. Col PS FWIW, I have adopted Zend_Framework and while some of the paradigms don't fully suit me I have extended and adapted them to make it work very well for me. -- Colin Guthrie gmane(at)coli

[PHP] Re: [PROJECT HELP] - JotBug - A Project Management & Issue Tracker written 100% with Zend Framework

2009-01-28 Thread Colin Guthrie
t too much invested in Trac (and the plugins I wrote) to jump ship right now. I wish you all the best of luck tho', and I'll monitor this to see what progress you make :) Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.t

[PHP] Re: Throwing an exception seems to defeat output buffering

2009-02-03 Thread Colin Guthrie
flushed (displayed). If you don't want any output, make sure your catch block first calls ob_end_clean() before it exits. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mandri

[PHP] Re: APC problem with PHP

2009-02-11 Thread Colin Guthrie
solid threading wise. It has various locking mechanisms that you can compile in to APC, including filelocks, IPC semaphores, spinlocks and pthread mutexes. So while I don't want to comment inaccurately, I suspect that APC is pretty solid in this area. Col -- Colin Guthrie gmane(at)coli

[PHP] Re: spl_object_hash not hashing unqiue objects BUG

2009-02-12 Thread Colin Guthrie
-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies You should report the bug: http://bugs.php.net/ Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mandriva Linux Contri

[PHP] Re: spl_object_hash not hashing unqiue objects BUG

2009-02-12 Thread Colin Guthrie
'Twas brillig, and Jochem Maas at 12/02/09 12:47 did gyre and gimble: Colin Guthrie schreef: 'Twas brillig, and Nick Cooper at 12/02/09 11:38 did gyre and gimble: Outputs: a1: 09d264fcececf51c822c9382b40e3edf a2: 45701af64172cbc2a33069dfed73fd07 a3: 09d264fcececf51c822c9382b

[PHP] Re: for the security minded web developer - secure way to login?

2009-02-15 Thread Colin Guthrie
individual manages to get a secure certificate for a domain they do not own they could then use some form of DNS hijacking (e.g. via an open wireless network or similar) to perform some pretty convincing phishing scams. So it's not just about the cert. It's the trust that goes with it. Co

[PHP] Re: XSLTProcessor help

2009-02-16 Thread Colin Guthrie
that you are outputting XML-derived data... eg. try putting this before your : omit-xml-declaration="yes"/> Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mandriva Linux Contributo

[PHP] Re: for the security minded web developer - secure way to login?

2009-02-16 Thread Colin Guthrie
'Twas brillig, and Michael A. Peters at 16/02/09 00:10 did gyre and gimble: Colin Guthrie wrote: 'Twas brillig, and German Geek at 15/02/09 22:32 did gyre and gimble: Please enlighten me why it is so expensive? Is it maybe just the hassle of setting it up? The whole thing is a

[PHP] Re:

2009-02-16 Thread Colin Guthrie
'Twas brillig, and Richard Heyes at 16/02/09 15:04 did gyre and gimble: ... Sorry, should've mentioned, I'm talking about PHP6. Not heard about it but I'd like it. Short tags are evil but the thing is pretty handy so having a Col -- Colin Guthrie gmane(at

  1   2   3   4   5   6   7   >