[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

[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=Kris&passWd=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

[PHP] Solaris

2002-12-08 Thread Kris
ogram 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] Sola

[PHP] Sendmail

2002-12-10 Thread Kris
05899: 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
05899: 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)? Quent

[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

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" <[EM

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: We

Re: [PHP] Re: fscanf

2003-01-21 Thread Kris
: "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 >

[PHP] htpasswd

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

[PHP] Threading

2003-03-11 Thread Kris
gt; 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
sleep($num); echo "sorry I was a sleep for $num \r\n"; } } ?> I want so object $c would print then object $b then object $a as the sleeping time is less and less. Does that make sense? Please ask if you don't understand Thanks for any help you can offer what so ever. Kri

Re: [PHP] Threading objects

2003-03-12 Thread Kris
eaded, 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" &l

Re: [PHP] Threading objects

2003-03-12 Thread Kris
y web 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]>

[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] Server Setup Walkthrough?

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

[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, v

[PHP] fputs/fgets working irregularly

2002-06-09 Thread Kris
on. I can't put my finger on what the problem is, the file is chmod correctly as well. Can anyone help? Thanks, Kris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] 4.0.4 Postgres link resource bug?

2001-01-15 Thread kris
'$username', '$cryptpass', '$created', $visits, '$fax', '$status', '$pridomain', '$title')"; SQLCall($call); include("results/newagent.php"); This (bug?) seems to only affect INSERT calls

[PHP] NNTP

2001-12-29 Thread Kris
p 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 L

[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

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- &g

[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 un

[PHP] php5.0.3 compile problem "cannot find libz"

2005-02-25 Thread Kris
ling? 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-Viru

[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] 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] PHP Crypt on MacOSX

2004-10-25 Thread Kris
words 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 a

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 t

Re: [PHP] Re: PHP Crypt on MacOSX

2004-11-03 Thread Kris
ac box and see what I can figure out. In the meantime, if this email helps 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

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/BS

[PHP] Automajickally POST to a remote form

2002-11-25 Thread Kris Williams
search at all (ie: no button 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 usef

[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 no

[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: IBM 2:59pm 76.17 I need to be able to match this string via a variable. I would like to put everything from th

[PHP] "Anchor Collector"

2003-07-08 Thread Kris Yates
http://192.168.0.1/index.php?DSE=matrix&access=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=matrix&access=31337 REQUEST_URI=/index.php?DSE=matrix&access=31337 HTTP Request: Get /index.ph

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 exp

[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? Conf

[PHP] PHPSESSID auto-append

2003-07-16 Thread Kris Yates
What php.ini setting causes the following: A link in a document index gets modified by PHP, so that the end-user sees index in the source? How do you turn this off? Thanks, Kris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

[PHP] error problem

2003-08-14 Thread Kris Reid
I start looking for the problem? Thanks Kris

[PHP] Forms

2003-08-14 Thread Kris Reid
d and submit it via the form. The only problem is I have to keep going back and refreshing my web page to get it to submit another record. Is there a way of doing 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 questio

[PHP] Foreach POST VARS problem

2003-08-15 Thread Kris Yates
h() in */devda1/htdocs/2binteractive.com/htdocs/0new/content/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.. K

Re: [PHP] Screen Resoultion

2003-08-15 Thread Kris Yates
dge has good food in it as a result. My 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://2b

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 vers

[PHP] Bug in Ereg?

2003-08-15 Thread Kris Yates
getting, however, I am curious why I am not getting the "expected output". Can anyone shed light on this? I am 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

[PHP] php & qmail

2003-08-25 Thread Kris Reid
he problem I have is I don't know how to write 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] url string

2002-06-10 Thread Kris Vose
tring. 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 -- P

[PHP] download

2002-06-11 Thread Kris Vose
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
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
? Thanks in advance. Kris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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] abreviating echo commands

2003-09-15 Thread Kris Yates
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://www.php.net/unsub.php

[PHP] Language filter

2003-09-15 Thread Kris Reid
best 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

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.. Jay Blanchard wrote: [snip] Ok, Mayve I need to be a little clear, I under the link below as

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&

[PHP] converting GET to POST

2003-10-16 Thread Kris Yates
le? Thank you, 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
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 e

[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] 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; $i<$number_o

[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 = cou

[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 = c

[PHP] regular expression

2002-03-19 Thread Kris Vose
expression. ^[(000-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 "window.location=\'admin_.php'\"; } else { echo "Your username/password is incorrect"; } On each pa

[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] setcookie BUG w/ IE 5.5, 6.0 & Netscape!

2001-11-27 Thread Kris Wilkinson
Just recently I've noticed an issue with setcookie. My scripts which normall ran : setcookie ("myCookie","Blah","time()+7201"); Are killing the cookie immediately after you close the browser window, or access another https:// site. It appears as though the life of the cookie is actually not bein

[PHP] Figuring out tree depth.

2001-09-26 Thread Kris Williams
ends Aside from the depth problem the script functions just the way I want it to, but if anyone wants to point out or fix any major problems as well as my depth one, it'd be much appreciated. Apologies for any shoddy indenting and the massive post. Trying to give as much info as I can.

[PHP] Re: Independent Contractor Suggestions

2010-10-20 Thread Kris Craig
If the client runs out of money midway through or whatever, you simply suspend work until they get more funds and then resume where you left off. I've found this model to be the most successful on projects like this. I hope this helps. If you like, I'd be happy to email you a sample

Re: [PHP] Re: Independent Contractor Suggestions

2010-10-21 Thread Kris Craig
teries 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 wrote: > > On Oct 20, 2010, at 8:47 PM, Kris Craig wrote: >> >&

Re: [PHP] Re: Independent Contractor Suggestions

2010-10-22 Thread Kris Craig
ch means you are free to do with it as you please. 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 wrote: > I've had a few emails from people m

[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 Cen

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 SelectBo

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; $this->a

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.

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 on

[PHP] The Cat Signal

2012-07-19 Thread Kris Craig
ure if we'd do this by vote or something 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 wrote: > > 2012.07.19. 20:21, "Daniel Brown" ezt írta: > > > > > Forwarding to php-webmas...@lists.php.net, as it's not a "general > > user" issue where it pertains to php.net. > >

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

2012-07-19 Thread Kris Craig
an we "officially" accept it now? It sounds like everyone is all for this. We're already technically a member anyway with the cat signal code implemented, plus I've already 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 wrote: > > > > > > On Thu, Jul 19, 2012 at 1:52 PM, Ferenc Kovacs wrote: > >>> > >>> > >>>

[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 (ht

[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 w

[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 hav

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: header(

[PHP] Join table with clashing fieldnames

2006-11-08 Thread Kris Leech
f 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

Re: [PHP] Beginner Question

2004-04-09 Thread Kris J. Hagel
ogistics.com 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