Re: [PHP] IIS and PHP 4.2 on NT 4.0

2004-01-15 Thread Kirk Babb
http://php.us.themoes.org/manual/en/install.iis.php Skip down the page to IIS with WinNT, double check what you've done so far. HTH, Kirk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] multi-table select?

2004-01-14 Thread Kirk Babb
I'm looking for a good way to do the following: I have two tables, one named teams and one named divisions. Divisions relates divisionID to the name of the division (division_name). In teams I have the divisionID stored along with the team_name. [BG info: teams can be relegated or promoted so it

Re: [PHP] PHP $_SESSION Expiring in IE

2004-01-03 Thread Kirk Babb
Guess I'm being nosy here, so forgive me, but why are you settting an alternate save path and using ini_set at the start of each document? I know that has nothing to do with the problem, but I was just wondering. Are you hosting multiple sites off your server and have different session settings d

Re: [PHP] PHP $_SESSION Expiring in IE

2004-01-03 Thread Kirk Babb
Have you tried the header(Cache-control: private) workaround for IE6? I seem to remember reading something about that on one of the web dev sites (devshed probably). Use that immediately after session_start() and see if it makes a difference. Kirk "Tarrant Costelloe" <[EMAIL PROTECTED]> wrote

[PHP] Re: (native) linux-php-editor with some advanced features?

2003-10-08 Thread Kirk Babb
As a amateur PHP user, I have really enjoyed Komodo 2.5 (been using it since 1.3). Buy the non-commercial license, it's cheap (I think I paid $24.95) and ActiveState backs up their products well. Not a plug for them, but my experience with them has been good. Plus, if you want to switch back and

[PHP] general OO php question

2003-10-06 Thread Kirk Babb
If I have a class called Registration, should I code in the mysql_connect inside each function inside the class that needs it, or should I make a function called dbConnect? If so, how can I correctly call dbConnect inside the other functions of the class? would it be something like this? Or am I

[PHP] Re: functions using other functions inside of classes?

2003-10-06 Thread Kirk Babb
I'm reading up on OO and PHP, so I'll retract the previous question until I can ask something better. Just ignore it. Thanks, Kirk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] functions using other functions inside of classes?

2003-10-06 Thread Kirk Babb
If I have a class with several functions, and one of the functions is used by the other functions in the class, how do I get to it? In particular I'd like the dbConnect, fail and success functions to be seen by the other functions in the class. I guess I just don't understand the way to use OO ye

Re: [PHP] returning a variable from a class function? plusotherprobs

2003-10-04 Thread Kirk Babb
The user I created can only INSERT, SELECT, DELETE, UPDATE using the GRANT option from the mysql cmd line. I'll have to start checking my data per yours and Curt's responses. Sounds like I should remove the DELETE option from that user and create a second user with DELETE permission. -Kirk "Da

Re: [PHP] returning a variable from a class function? plus otherprobs

2003-10-04 Thread Kirk Babb
Dan, Thanks so much for the help - I learned a lot from your reply. I'll chew on this a while and go from there. BTW- yes, that really was my user and pwd up until now! Dumb now I realize, thanks for pointing that out. I've created a new root pwd, and created a user with access only to the "al

[PHP] returning a variable from a class function? plus other probs

2003-10-04 Thread Kirk Babb
I'm new at OO and still a newbie at PHP despite hacking away at it for a while (admittedly off and on). I'm creating a signup form for alumni of our department, and I'm trying to verify that they have not signed up previously before allowing their data to be inserted. Trouble has ensued! :) In t

[PHP] Re: starting Apache

2002-08-03 Thread Kirk Babb
I also received an error regarding libphp4.so when I tried to compile php 4.2.2 with apache 2.0.39 on Mandrake 8.1. Have not resolved it, even after asking several days ago on this site. Nobody responded. Have double checked my ./configure and everything looks good, it is when I execute the "ma

Re: [PHP] still need help with crash on make

2002-07-31 Thread Kirk Babb
igure line: > ./configure --with-mysql --with-apxs=/path/to/apxs > > Apache 2 is troublesome. > > tyler > > On Wed, 31 Jul 2002 17:27:30 -0500 > "Kirk Babb" <[EMAIL PROTECTED]> wrote: > > > Could somebody help me with this?.I posted yesterday wi

[PHP] still need help with crash on make

2002-07-31 Thread Kirk Babb
Could somebody help me with this?.I posted yesterday with only one reply...please read the following and let me know where I'm going wrong. THANKS!!! -Kirk BEGIN MESSAGE > > Yes, I configured apache with mod_so enabled and the > module is there. Still crashes on make. > >-Kirk You chose t

Re: [PHP] help with crash on make

2002-07-30 Thread Kirk Babb
Thanks for replying. Yes, I configured apache with mod_so enabled and the module is there. -Kirk Pushkar Pradhan wrote: > You chose to compile PHP as a DSO this requires apache to have the mod_so > module, you can check this by doing a > httpd -l in your apache's bin directory. >> I'm a

[PHP] help with crash on make

2002-07-30 Thread Kirk Babb
I'm attempting to compile php 4.2.2 and apache 2.0.39 (both of which I downloaded today) on mandrake 8.1, mainly as part of a process to help me learn more about linux and installing programs. I've followed the generic unix directions on php.net and at these steps >./configure --with-mysql --

[PHP] Re: mail function question

2002-07-07 Thread Kirk Babb
Thanks - I'm heading there now. I appreciate the help. -Kirk "Manuel Lemos" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > On 07/07/2002 07:49 PM, Kirk Babb wrote: > > I'm using argosoft's

[PHP] mail function question

2002-07-07 Thread Kirk Babb
I'm using argosoft's mailserver with SMTP authentication, and would like to know how to pass the usr & pwd inside php's mail() function. Please help me out here, I've RT*M without gaining an understanding of this. TIA, Kirk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

Re: [PHP] How to stop site flipping?

2002-05-14 Thread Kirk Babb
I have a listing of department alumni which calls up their email address when one of the form buttons (letters of the alphabet) is clicked. The emails are not hard-coded; the form sends the $letter to a php script which handles all the usual stuff (the query, getting the array for the query, prin

[PHP] Re: Very Large MySQL Query String

2002-05-06 Thread Kirk Babb
If I use the link to the file, i.e. file//C:\filedir\file.pdf or .txt or whatever how do I insert/update/delete the file since MySQL is holding only the link? BTW David, what are the properties of the field you are inserting to? Could that be the problem? -Kirk "Julio Nobrega Trabalhand

[PHP] Re: Postnuke Anyone ?

2002-05-04 Thread Kirk Babb
Ricardo, I have noticed several things from just a quick look at your code: 1. If your not able to post any data/receive any variables from your form when the submit button is clicked, you could have register_globals set to Off. Here is a example form used for that situation: '> Pl

[PHP] Re: Postnuke Anyone ?

2002-05-03 Thread Kirk Babb
How about some code? "Ricardo Fitzgerald" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > I've been unsuccesfully trying to add a php script to a postnuke menu. > What I did is a simple form, that connects to a mysql database, and > inserts data, then

[PHP] Re: How do I Install PHP on Apache 2, on win32

2002-05-02 Thread Kirk Babb
I have been told to point your line for php in httpd.conf to apache2filter.dll in the experimental folder (PHP 4.2.0) but haven't been able to get that to work. -Kirk "Philip Newman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > How do I Install PHP on Apache 2, on win32? > >

[PHP] RE:[PHP-GTK Question]

2002-05-01 Thread Kirk Babb
This has been a hot topic on the PHP-GTK discussion list. Click here [EMAIL PROTECTED] just send it blank, wait for the confirmation. You will find that a much better place to post this type of question. You can also request the archives for all that you've missed. Good Luck -see you ther

Re: [PHP] convert access to JAVA PHP mysql Xml Soap

2002-05-01 Thread Kirk Babb
Well said John, this isn't a place for that, and the "company guy" showed his colors pretty quick. Anyway, on to business! and a general php question: if I make a function (or several functions for that matter) is it better to place those in a separate script and include them, or just keep them

[PHP] PHP 4.2.0 + Apache 2.0.35 (W2KSP2)

2002-04-30 Thread Kirk Babb
I have copied these three lines from the php install.txt file into httpd.conf: LoadModule php4_module c:/php/sapi/php4apache.dll AddModule mod_php4.c AddType application/x-httpd-php .php and php4ts.dll is in winnt\system32. Apache freezes unless I comment out those lines. When I test php scrip

Re: [PHP] Re: Question for you guys on best tools for a job

2002-04-29 Thread Kirk Babb
Michael, Flash is a great way to do this. I have two years in Flash but am new to PHP/MySQL - one of the things you will appreciate is the ease of using actionscript on the flash side to communicate with your PHP script. And I know not everybody will like this part, but you can put all the cool

[PHP] _SERVER variable insd prnt sttmnt

2002-04-29 Thread Kirk Babb
Hi All, Thanks alot for all your help with the _SERVER['PHP_SELF'] earlier, I have another question related to that: What is the correct syntax for the above if I want to use it in a print statement like so (I included the whole piece of code so you guys could at least see what I'm trying to do)

[PHP] register_globals=Off Question

2002-04-28 Thread Kirk Babb
How do I use $PHP_SELF with register_globals off? I looked up the documentation on php.net but haven't gotten this line of code to work: I get this error instead: [28-Apr-2002 16:33:31] PHP Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in - on line 140 wha

[PHP] Re: right place to start a session?

2002-04-27 Thread Kirk Babb
Thanks Miguel and Nathan for your help! If I can make this more secure I would definitely like to do so. Suggestions? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] right place to start a session?

2002-04-27 Thread Kirk Babb
Here's my code:

[PHP] code with comments is here

2002-04-24 Thread Kirk Babb
I have a feeling I am making this much harder than it really is! I'm a new programmer, and I am trying to output "x" number of characters per line without splitting up the words in the string. I want to approach as best as possible a certain number of characters per line, let's say 80 characters

[PHP] can someone help?

2002-04-24 Thread Kirk Babb
First, here's my code: "; ?> Works great on the first line, but I'm stuck on printing the remaining part of the array using some sort of loop. I've tried a few things but get endless loops. In the end I'd like to make this a function and just give it the string and the container length as argume

[PHP] $PHP_SELF

2002-04-01 Thread Kirk Babb
SysInfo: Apache/1.3.24 (Win32) PHP/4.1.3-dev I have a question that could be Apache, could be php, but I'm so new to this I have to ask: what is wrong with my code for the form action? Apache does not recognize the " METHOD=POST> SSN: First Name: Last Name: Employer: