[PHP] 4.0.4 Postgres link resource bug?

2001-01-15 Thread kris
QLCall($call); include("results/newagent.php"); This (bug?) seems to only affect INSERT calls to pg_sql. The functions within the script which use UPDATE sql calls (using the same SQLCall($call) function in this script work fine. Any ideas? Thanks, Kris -- PHP

[PHP] need help with cookies

2001-03-22 Thread kris
Hi, I am trying to set a cookie and it doesn't work. I am running IE 5. I have IE set to prompt before setting cookies but I never get a prompt. Here is my code - basically, if someone logs in, it is to set a cookie. What am I missing? Kris if($success==1){ $loginid=&quo

RE: [PHP] need help with cookies

2001-03-22 Thread kris
I beleive I am attempting to set this cookie before any headers are sent. ? Kris On 22 Mar 01, at 14:38, Brian V Bonini wrote: I believe you need to set the cookie before any other header information is passed. -brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

[PHP] NNTP

2001-12-29 Thread Kris
and whack them into ( update with new entries) a database, that would be nice to save me the coding time :-) -- Kris | [EMAIL PROTECTED] | ICQ: 10537480 AIM: katticist | MSN: [EMAIL PROTECTED] | YIM: k_j_clarke PGP: http://home.clara.net/kjclarke/pgpkeys.txt -- PHP General Mailing List (http

[PHP] fputs/fgets working irregularly

2002-06-09 Thread Kris
? Thanks, Kris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Server Setup Walkthrough?

2002-08-30 Thread Kris
appreciate it. Regs, Kris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] list down

2005-02-25 Thread Kris
sent an email to the list earlier.. never received a copy.. its like the list went down around 8AM CST? -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.4.0 - Release Date: 2/22/05 -- PHP General Mailing List (http://www.php.net/) To

[PHP] php5.0.3 compile problem cannot find libz

2005-02-25 Thread Kris
? This PHP is currently running with Apache2.. I am running MySQL5 as well.. my working PHP install was configured using the first configure statement in this email minus --with-mysql.. working just fine Thanks Kris -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version

[PHP] Solaris

2002-12-08 Thread Kris
loads perfect but continues to run and the rest of the O/S can't load. How can I access that director to delete the file?? Thanks for any help Kris

Re: [PHP] Solaris

2002-12-08 Thread Kris
Thank you so much Worked like a charm!! :) Kris - Original Message - From: Peter Houchin [EMAIL PROTECTED] To: Kris [EMAIL PROTECTED]; PHP List [EMAIL PROTECTED] Sent: Monday, December 09, 2002 12:01 PM Subject: RE: [PHP] Solaris Kris, a couple of options for you to try are http

[PHP] Sendmail

2002-12-10 Thread Kris
: SYSERR(nobody): deliver: for k 1: Not enough space Do you know how I can get around this and make it run?? Thanks Kris

[PHP] Sendmail

2002-12-10 Thread Kris
: SYSERR(nobody): deliver: for k 1: Not enough space Do you know how I can get around this and make it run?? Thanks Kris

[PHP] php-general-unsubscribe@lists.php.net

2002-12-19 Thread Kris
- Original Message - From: Quentin Bennett [EMAIL PROTECTED] To: PHP GENERAL LIST [EMAIL PROTECTED] Sent: Friday, December 20, 2002 10:23 AM Subject: RE: [PHP] Problem with sessions. Hi, Is your 'other server' identical (Web Server, PHP Version, register_globals setting)? Quentin

[PHP] fscanf

2003-01-21 Thread Kris
Hi I'm having dramers with fscanf I have a line: text, text, text I can't work out how to scan removing the comma and whitespace. the text can be absolutle anything. at the moment I have $array = fscanf ($fp, %s%[^,] %s%[^,] %s%[^,]); Thanks Kris -- PHP General Mailing List (http

Re: [PHP] Re: fscanf

2003-01-21 Thread Kris
I've tried $array = fscanf ($fp, %s, %s, %s\n); earlier. It picks up array[0] == text, I need array[0] == text array[1] == text array[2] == text Thanx K - Original Message - From: Jason k Larson [EMAIL PROTECTED] To: Kris [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday

Re: [PHP] Re: fscanf

2003-01-21 Thread Kris
Thanx Brian...Works good enough for me :) K - Original Message - From: Brian T. Allen [EMAIL PROTECTED] To: 'Kris' [EMAIL PROTECTED]; 'Jason k Larson' [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, January 22, 2003 10:58 AM Subject: RE: [PHP] Re: fscanf Given

Re: [PHP] Re: fscanf

2003-01-21 Thread Kris
. Allen [EMAIL PROTECTED] To: 'Kris' [EMAIL PROTECTED]; 'Jason k Larson' [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, January 22, 2003 10:58 AM Subject: RE: [PHP] Re: fscanf Given the information below this works: ?php $string =text1, text2, text3; $array = preg_split

[PHP] htpasswd

2003-01-22 Thread Kris
or is there a better option for this whole thing?? Thanks Kris

[PHP] Re: Approved

2003-08-20 Thread kris
Please see the attached file for details. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Threading

2003-03-11 Thread Kris
was a sleep for $num \r\n; } } ? I want so object $c would print first not last as it is sleeping for less time. Does that make sense? Thanks for any help Kris

[PHP] Threading objects

2003-03-12 Thread Kris
can offer what so ever. Kris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Threading objects

2003-03-12 Thread Kris
, therefore processing simultaneously. This would mean $c would print first as it slept for the least amount of time. All I'm really asking is how do you initiate threading with PHP? A small example would be nice Regards Kris - Original Message - From: W. Enserink [EMAIL PROTECTED] To: Kris

Re: [PHP] Threading objects

2003-03-12 Thread Kris
programming experience is rather limited. Thanks Kris - Original Message - From: Rasmus Lerdorf [EMAIL PROTECTED] To: Kris [EMAIL PROTECTED] Cc: W. Enserink [EMAIL PROTECTED]; PHP List [EMAIL PROTECTED] Sent: Thursday, March 13, 2003 1:04 AM Subject: Re: [PHP] Threading objects All I'm

[PHP] Sending variables help

2002-11-21 Thread Kris
Hi All I want to send variables from one page to another page. How can I go about this??? I don't want to use a form. Or if using a form I don't want the user to have to hit the submit button. Thanks Kris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Creating file file permissions

2002-11-22 Thread Kris
Hi All I'm trying to create temp files with my script. I'm using the line $fp = fopen(users/temp123, w+); which produces the follow error Warning: fopen(users/temp123, w+) - Permission denied in /webSite/signup.php on line 71 How do I get around this?? Thanks Kris -- PHP General Mailing

[PHP] URL hiding

2002-11-26 Thread Kris
Hi When I pass variables to a new page in the address bare of the browser it looks like www.whatever.com/index.php?uName=KrispassWd=1234 How can I hide this so it's just www.whatever.com/index.php or even better just www.whatever.com thanks Kris

Re: [PHP] URL hiding

2002-11-26 Thread Kris
I already use POST as the form method. I know www.whatever.com/index.php?uName=Kris can be the same as www.whatever.com?uName=Kris I just want to get rid of the ?uName=Kris part on the end I still need the variables to be passed I just don't want the user to be able to see them. Thanks for your

[PHP] Re: document

2004-04-21 Thread kris
Please read the document. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Crypt on MacOSX

2004-10-25 Thread Kris
for their account is not an option. Thanks for any ideas, Kris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] file upload

2004-10-26 Thread Kris
H Setup a CRON job using SCP or cURL. You can use SOAP or create your own similar system. I have never used SOAP but use the same principles. Example: Company X needs some strange format of data (text file, CSV or whatever) delivered to them SECURELY at 5am EST. The company cannot

Re: [PHP] file upload

2004-10-26 Thread Kris
Victor Yes, Chris is correct. Maybe you can POST your file via cURL to the remote script expecting to receive your file from the authentication site. Definitely check PEAR. There is also some info at php.net about new SOAP capabilites built-in to PHP 5. Unfortunately I have only used cURL

Re: [PHP] Re: PHP Crypt on MacOSX

2004-11-03 Thread Kris
to generate any ideas which may be helpful in my current quest, your input would be most appreciated. Thanks again, Kris Galen P.Zink wrote: Kris, I'm not quite sure what you mean here. When I work with md5, I always have considered it to work like this: string - md5 = hash On any system, the md5

Re: [PHP] Re: PHP Crypt on MacOSX

2004-11-04 Thread Kris
Galen P.Zink wrote: Kris, I doubt there's no way to do this under OS X. Maybe by default, you have a curve ball to deal with. But considering the kernel is open source, you could make this OS do anything... literally :) That is how I feel as well. Being a long-time *nix/BSD user.. I have heard

[PHP] Re: here

2004-06-24 Thread kris
See the file. Norton AntiVirus eliminato1.txt Description: plain/text -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] value of an array into a sendmail function

2002-03-05 Thread Kris Vose
I want to take the value of an array and define it as $message. This variable will be called in the sendmail function mail(). Here is what I have so far. (does not work!) $automail = file(DOCUMENT_ROOT/BetterBus/1/AutoEmail.txt); $number_of_lines = count($automail); for ( $i=0;

[PHP] value of an array into a sendmail function

2002-03-05 Thread Kris Vose
I want to take the value of an array and define it as $message. This variable will be called in the sendmail function mail(). Here is what I have so far. (does not work!) Can anyone help me with this problem? $automail = file(DOCUMENT_ROOT/BetterBus/1/AutoEmail.txt); $number_of_lines =

[PHP] contents of fetch array into a string

2002-03-06 Thread Kris Vose
I have a problem with reading the contents of $r[1] into a string called = $mail. Does anyone have any suggestions? Any help is greatly appreciated. Kris Vose if ($czero != ) { $t = mysql_query(SELECT * FROM AddExisting); $number_of_customers = count($t); while($r

[PHP] regular expression

2002-03-19 Thread Kris Vose
-999)]+[000-999\-]+[-]+$ I am using this in an if statement like this: If (!eregi(^[(000-999)]+[000-999\-]+[-]+$, $PHONENUMBER) { echo This phone number is not valid; } Any help is appreciated. Kris Vose

[PHP] for loop problem

2002-03-20 Thread Kris Vose
I have a problem with a piece of code that uses the mail function in a for loop. It sends out mail to all the users in the database but it has a problem with attaching their specific name into the message. What happens is the first user in the database will get their name in the e-mail (Dear

[PHP] register session

2002-04-03 Thread Kris Vose
I am trying to register a session after verification of username and password. It looks like this: session_start(); If ($name = $aa) ($username = $ab) { session_register(valid_user); echo scriptwindow.location=\'admin_.php'\/script; } else { echo Your username/password is incorrect; } On

[PHP] refresh

2002-04-05 Thread Kris Vose
I want to be able to refresh my browser window after a submission to a database. Is there a reliable function out there that can accomplish this? Kris

[PHP] url string

2002-06-10 Thread Kris Vose
into the url string. In the second instances the java script does not even compile. Is there a way to do this with php?...html?...javascript? ...I think that window.location does not except url string variables or something. Anyway if anyone can help it would be appreciated. Thanks. Kris -- PHP

[PHP] download

2002-06-11 Thread Kris Vose
that will do this. I have tried the copy function but it does not seems to work. Kris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] download link

2002-06-11 Thread Kris Vose
that will do this. I have tried the copy function but it does not seems to work. Kris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] form post

2002-06-12 Thread Kris Vose
Is there a way to post input types that are hidden with out using a html form in php? I know you can do it in java script with Form.submit(). So... if I have three hidden fields can I post them without pressing a button that uses a form by using a php function? Thanks in advance. Kris

[PHP] server problems

2002-06-18 Thread Kris Vose
with the administrator of the server and he has no idea. They are using PHP 4.0.2B and we are using PHP 4.1.2 Anyway...thanks in advance. Kris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] smtp relay problem

2002-04-16 Thread Kris Vose
this is due to smtp relaying being blocked.š Is there anyway around this problem in php or is the only solution to unblock smtp relaying? šAlso...this may not be the problem at all. All input is appreciated.š Thanks Kris Vose

[PHP] deleting line in a text field

2002-04-22 Thread Kris Vose
How would you go about deleting a specific line in a textfield via PHP?š For example,š I want to delete line 2 only and save the changes. šHow would I go about doing this using fread and fwrite? Kris

[PHP] deleting lines in a textfield

2002-04-22 Thread Kris Vose
How would you go about deleting a specific line in a textfield via PHP? For example, I want to delete line 2 only and save the changes. How would I go about doing this using fopen and fwrite? š Kris

RE: [PHP] Mailing to numerous with mail()

2002-04-24 Thread Kris Vose
Do this: $to = [EMAIL PROTECTED], [EMAIL PROTECTED], jonmundur@ mail.is; -Original Message- From: David Orn Johannsson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 24, 2002 10:31 AM To: [EMAIL PROTECTED] Subject: [PHP] Mailing to numerous with mail() I'm trying to send an

[PHP] function over loading?

2002-05-06 Thread Kris Vose
Can you practice function over-loading in php? Kris

[PHP] function over loading?

2002-05-06 Thread Kris Vose
Can you practice function over-loading in php? Kris

[PHP] diplaying the path

2002-05-31 Thread Kris Vose
Is there a variable/function in php that will display the url location of the hyper-link that brought them to the current page. Thanks in advance. Kris Vose

[PHP] Figuring out tree depth.

2001-09-27 Thread Kris Williams
. Thanks, Kris. -- 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] 301 redirect returning 302 instead

2006-11-01 Thread Kris Leech
I think Stut is right, you only need the one header! Stut wrote: [EMAIL PROTECTED] wrote: Having a problem here trying to redirect some old pages. I've recently noticed using a server header check that my 301 redirects in PHP are returning 302 instead. I'm using the following code:

[PHP] Join table with clashing fieldnames

2006-11-08 Thread Kris Leech
) of the joined fields? Many thanks, Kris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP SQL Builder with JOIN support

2006-12-06 Thread Kris Leech
Does anyone know of a PHP class/function(s) which will generate SQL with support for JOIN's to other tables. I have used SQL Query Builder by David Regla Demaree, which is great for simple SQL but lacks support for JOIN's. Many thanks in advance, Kris. -- PHP General Mailing List (http

Re: [PHP] error problem

2003-08-14 Thread Kris Reid
Sorry the second echo Hello world; was meant to have no semi colon - Original Message - From: Kris Reid [EMAIL PROTECTED] To: PHP List [EMAIL PROTECTED] Sent: Thursday, August 14, 2003 12:37 PM Subject: [PHP] error problem When I have an error in my code nothing gets written

[PHP] error problem

2003-08-14 Thread Kris Reid
not when running through a browser. Where should I start looking for the problem? Thanks Kris

[PHP] Forms

2003-08-14 Thread Kris Reid
this? Please note I have no access to Server A so I can't just edit there database. Does this make sense? :) Thanks Kris

Re: [PHP] Forms

2003-08-14 Thread Kris Reid
- Original Message - From: Robert Cummings [EMAIL PROTECTED] To: Kris Reid [EMAIL PROTECTED] Cc: PHP List [EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 12:25 AM Subject: Re: [PHP] Forms If I understand your question correctly it sounds like you want to populate a database

[PHP] Foreach POST VARS problem

2003-08-15 Thread Kris Yates
/lanskyShopAdmin.php* on line 2 I guess I just need to know what this variable name has been changed to. I searched the PHP.NET manual for $HTTP_POST_VARS and got no results. Thanks in advance sorry for the dumb question.. Kris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Screen Resoultion

2003-08-15 Thread Kris Yates
point is that nothing is impossible, it is all just a matter of how you perceive things and how you react to these perceptions. Free your mind and the paychecks will follow, not to mention good code will just flow from your fingertips. :) Kris http://2binteractive.com http://doomstar.com

Re: [PHP] Screen Resoultion

2003-08-15 Thread Kris Yates
Chris W. Parker wrote: Kris Yates mailto:[EMAIL PROTECTED] on Friday, August 15, 2003 11:55 AM said: However, I also have a PHP program which you can run and edit the source code for the program inside the program itself, hit render and all of a sudden you are running the new version

[PHP] Bug in Ereg?

2003-08-15 Thread Kris Yates
using PHP 4.3.2 compiled under a unix environment. Is this a bug in ereg or am I just not seeing something obvious in my foreach? Thanks, Kris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Bug in Ereg?

2003-08-15 Thread Kris Yates
Just an addendum.. My parser has $colors=; right before the foreach loop. Kris Yates wrote: Hi, I have a form with checkboxes that POSTs to a PHP script. What is posted [ from phpinfo() ]: _POST[color-1] on _POST[color-4] on _POST[color-6] on Parser: foreach($_POST

[PHP] php qmail

2003-08-25 Thread Kris Reid
the message. When you manually run qmail-remote $host $from $to You then have to type the message then press control + D Just like the standard mail function in UNIX How can I type Message control + D into the program ? Thanks Kris

Re: [PHP] Re: php qmail

2003-08-25 Thread Kris Reid
wrote works I just don't know how to insert the message content. Thanks Kris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] abreviating echo commands

2003-09-15 Thread Kris Yates
how to abbreviate commands in PHP? Well.. not how to.. but just a list of abbreviations? Is echo the only one that has an abbreviation? I couldn't find anything in the manual.. any leads? Thanks, Kris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Language filter

2003-09-15 Thread Kris Reid
idea I found on the net was to have a DB of dirty words. Then when someone submits the form check their entree against the DB. This seems a little labour intensive and won't work if someone submits something like youraf*!head. Any ideas? Thanks Kris

[PHP] Anchor Collector

2003-07-08 Thread Kris Yates
http://192.168.0.1/index.php?DSE=matrixaccess=31337#herd 1. Grab the Anchor reference herd from the fake URL above and store it as a variable using PHP. You already know the facts... QUERY_STRING: DSE=matrixaccess=31337 REQUEST_URI=/index.php?DSE=matrixaccess=31337 HTTP Request: Get

Re: [PHP] Spammer! Re: [PHP] ANNOUNCING: Rekall V2.0.0 for Linux/UNIX....

2003-07-08 Thread Kris Yates
With all due respect to everyone, including the alleged spammer, this has been my rule since '84. If you are in a discussion group, dont advertise something unless someone posts a question where a product would act as a specific solution to their specific need. The advertiser would then be

[PHP] Where do I post loadable extensions questions? (semi-multi-part)

2003-07-09 Thread Kris Yates
Hi, Is there a better list for posting question about creating loadable extensions (.so) for PHP? Or is this [php-general] the best place to post? Also, I saw a post on another PHP related site that said this was not C, but some kind of C macro language? - - but you can use real C code?

[PHP] PHPSESSID auto-append

2003-07-16 Thread Kris Yates
What php.ini setting causes the following: A link in a document a href=index.phpindex/a gets modified by PHP, so that the end-user sees a href=index.php?PHPSESSID=(*Uwhatever*$GIODGindex/a in the source? How do you turn this off? Thanks, Kris -- PHP General Mailing List (http://www.php.net

[PHP] Re: Checking for HTTP:// at the start of a string and more ////

2003-03-01 Thread Kris Jones
Untested: if (preg_match('/^http:\/\/[^\.\s]+\.[^\s]+\/$/i', $string)) // valid string else // invalid string Should match a string beginning with 'http://', followed by one or more characters that are no dots or whitespace, followed by a dot, followed by one or more characters that are

[PHP] regex makes my head hurt

2003-03-04 Thread Kris Jones
I've been attempting to figure out regex, and I've realized I need to start over from scratch. And get lots of help! I'm inputting a text file containing html which will contain this: a href=/q?s=IBMd=tIBM/a/font/tdtd nowrap align=center font face=arial size=-12:59pm/font/td td nowrapfont

[PHP] Automajickally POST to a remote form

2002-11-25 Thread Kris Williams
clicks) as it's all performed by the PHP script. Thoughts? Kris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Automajickally POST to a remote form

2002-11-26 Thread Kris Williams
You can post with PHP using cURL or doing it yourself manually. Search the archives for this, as the previous answers to this are more complete than what I have time to explain now. Here is a quick example of the manual approach: http://shiflett.org/tutorials/php_post.txt Thanks Chris. A

Re: [PHP] Dates

2003-10-03 Thread Kris Yates
Also, an option is to have that SQL field set as date. With postgres, I can insert 09-12-1967 and the sql server auto converts it to 1967-09-12 upon saving into date field. However, another way is.. ? $date=09-12-1967; $dARR=explode(-, $date); $tmon=$dARR[0]; $tday=$dARR[1]; $tyr=$dARR[2];

Re: [PHP] User Authentication Continued....

2003-10-03 Thread Kris Yates
I guess you would either need to make the vars global or else keep redeclaring them. Obviously, redeclaring them in each function $var=$_GET[whatever] is technically the more secure method. Kris Jeff McKeon wrote: Ok, I've got the user authentication thing down and now I'm continuing

[PHP] converting GET to POST

2003-10-16 Thread Kris Yates
, Kris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Independent Contractor Suggestions

2010-10-21 Thread Kris Craig
not included. So there. Now that that's out of the way, I'll get those up either tomorrow or Monday then post a link here. I hope this helps. =) --Kris On Wed, Oct 20, 2010 at 6:47 PM, Jason Pruim li...@pruimphotography.com wrote: On Oct 20, 2010, at 8:47 PM, Kris Craig wrote: I hope this helps

Re: [PHP] Re: Independent Contractor Suggestions

2010-10-22 Thread Kris Craig
. And, as always, use it at your own risk. Please feel free to let me know if you have any questions/feedback/etc. I hope this helps. =) --Kris On Thu, Oct 21, 2010 at 1:52 PM, Kris Craig kris.cr...@gmail.com wrote: I've had a few emails from people making the same request, so what I'm gonna do

[PHP] String passed to object constructor turning into an instance of that object?

2010-12-16 Thread Kris Deugau
I'm in the process of migrating customer websites off an old legacy server that's pushing EOL, and starting to show hardware failures. One site is throwing errors on what, so far as I can tell, should be perfectly working code. The original code works fine on both CentOS 3 (PHP 4.3.2) and

Re: [PHP] String passed to object constructor turning into an instance of that object?

2010-12-16 Thread Kris Deugau
Tommy Pham wrote: class SelectBoxOption extends Tag { function SelectBoxOption($name, $value, $selected=false) { parent::Tag(option, $name); $this-addAttribute(value, $value); if($selected) { $this-addAttribute(selected, '', false); } if ($name == ) {

Re: [PHP] String passed to object constructor turning into aninstance of that object?

2010-12-16 Thread Kris Deugau
Nathan Nobbe wrote: Why not test for the type of $name at each point of interest in the SelectBoxOption constructor? If you're passing a string value to the constructor it almost has to be getting changed by the Tag constructor, right ? class SelectBoxOption extends Tag { function

Re: [PHP] String passed to object constructor turning into an instance of that object?

2010-12-16 Thread Kris Deugau
Nathan Nobbe wrote: probly something screwy going on w/ the old style of naming constructors. 2 things, 1. can you post the Tag constructor as it reads now? function Tag($tag='', $tagContent='') { $this-tagContent = $tagContent; $this-tag = $tag; $this-showEndTag = false;

Re: [PHP] String passed to object constructor turning into aninstance of that object?

2010-12-17 Thread Kris Deugau
David Harkness wrote: I've never used the old-style constructors, but perhaps the semantics of parent:: changed and you need to instead use $this- as in $this-Tag(option, $name); That's a total guess. I don't have 5.2 handy to try it out, but both work in 5.3 using a simple example. Can

Re: [PHP] String passed to object constructor turning into aninstance of that object?

2010-12-17 Thread Kris Deugau
Nathan Nobbe wrote: 2. try modifying Tag SelectBoxOption to have __construct() instead of Tag() SelectBoxOption(), then call parent::__construct() from inside of SelectBoxOption::__construct(); see if that clears up your problem under 5.2 (read: this will only be a partial solution as it

[PHP] Re: [PHP-DB] Re: foreach

2012-04-05 Thread Kris Carlson
Send the code around line 198, say 170 to 210. On Apr 5, 2012, at 8:42 PM, Al wrote: On 4/5/2012 4:15 PM, Ethan Rosenberg wrote: Dear Lists - I know I am missing something fundamental - but I have no idea where to start to look. Here are code snippets: I have truncated the

[PHP] The Cat Signal

2012-07-19 Thread Kris Craig
similar to the RFC process etc, but if you'll grant me permission, I'd be happy to do the legwork on this myself (make the HTML edits, contact the organization on PHP's behalf, etc). Thoughts? --Kris

[PHP] Re: [PHP-WEBMASTER] Re: [PHP] The Cat Signal

2012-07-19 Thread Kris Craig
On Thu, Jul 19, 2012 at 12:36 PM, Ferenc Kovacs tyr...@gmail.com wrote: 2012.07.19. 20:21, Daniel Brown danbr...@php.net ezt írta: Forwarding to php-webmas...@lists.php.net, as it's not a general user issue where it pertains to php.net. On Thu, Jul 19, 2012 at 2:02 PM, Kris Craig

[PHP] Re: [PHP-WEBMASTER] Re: [PHP] The Cat Signal

2012-07-19 Thread Kris Craig
reached out to them based on this thread and the response I got from our webmaster. Do we have any procedure or secret handshake or whatever for this, or can we just say, Yep we're down with this and be done with it? =) --Kris

[PHP] Re: [PHP-WEBMASTER] Re: [PHP] The Cat Signal

2012-07-19 Thread Kris Craig
On Thu, Jul 19, 2012 at 2:11 PM, Hannes Magnusson hannes.magnus...@gmail.com wrote: On Thu, Jul 19, 2012 at 10:01 PM, Kris Craig kris.cr...@gmail.com wrote: On Thu, Jul 19, 2012 at 1:52 PM, Ferenc Kovacs tyr...@gmail.com wrote: Btw. we were asked by the to join the league as we

[PHP] FilesystemIterator issue with smb/cifs mounts

2012-12-28 Thread Kris Spencer
I am writing a simple file system iterator which seems to work fine on local filesystems but methods such as FilesystemIterator::isDir and isFile fail to properly evaluate if the directory are smb/cifs mounted. Does anyone know a workaround or alternative? Thanks -- PHP General Mailing List

[PHP] Re: FilesystemIterator issue with smb/cifs mounts

2012-12-28 Thread Kris Spencer
On 12/28/2012 9:32 AM, Kris Spencer wrote: I am writing a simple file system iterator which seems to work fine on local filesystems but methods such as FilesystemIterator::isDir and isFile fail to properly evaluate if the directory are smb/cifs mounted. Does anyone know a workaround

Re: [PHP] Beginner Question

2004-04-09 Thread Kris J. Hagel
They have packaged installers for Apache, MySQL and PHP with Preference Panes you can drop in to control the Apache and MySQL processes if you want them. Kris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php