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 --
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Here's my code:
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
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
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)
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
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
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
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
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?
>
>
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
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
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
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
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:
34 matches
Mail list logo