RE: [PHP] how do i hide my .inc files in apache??

2001-01-17 Thread Jon Niola
I could be mistaken here, but last I checked you could include files outside of the document root. Can't get much more secure then that and you don't have to mess with the Apache rewrite engine, which is known for slowing things down. --Jon At 02:02 PM 1/17/01 +, Matt Williams wrote: > >

[PHP] session question (4.1.1)

2002-01-03 Thread Jon Niola
I am trying to implement a user authentication/login system using PHP 4.x's built in session functions. Upon a successful login, there is a session_register('uid','uname','status'). On pages that require someone to be an authenticated user I check against HTTP_SESSION_VARS['uid'] to make sure

[PHP] DSO woes :(

2001-11-28 Thread Jon Niola
Hey folks, I am having some annoying problems with building PHP 4.0.6 as a DSO. In summary, Apache is not finding various library files that the libphp4.so wants... First I built Apache 1.3.22 w/ mod_ssl. That all went smooth. Built it in /usr/local/apache SSL_BASE=../openssl-0.9.6b \ RSA_BA

Re: [PHP] what is "Trans-sid" in PHP

2001-12-10 Thread Jon Niola
When you doa phpinfo() look at the top block. you will probably see something like ./configure --enable-track-vars --enable-trans-sid etc. If it is not here your PHP module was not compiled with trans-sid enabled. --Jon At 09:13 PM 12/10/2001 -0500, John King wrote: >Running a script that re

Re: [PHP] what is "Trans-sid" in PHP

2001-12-11 Thread Jon Niola
. PHP is installed >through my WebHost so to get this enabled I call them and ask if it's >possible? > >Or is there a way for me to enable it without access to the server? > > > > > > >on 12/11/01 1:19 AM, Jon Niola at [EMAIL PROTECTED] wrote: > > > W

RE: [PHP] Logo proposal

2001-12-11 Thread Jon Niola
LOL, I guess Python is spoken for too ;) --Jon At 11:32 AM 12/11/2001 -0800, Andrew Chase wrote: >Maybe an animal beginning with "P" would be a good Mnemonic device (and good >for alliteration; think "The PHP Panda" or "The PHP Platypus".) Hmm, I >guess Panda and Platypus aren't particularly "p

Re: [PHP] How to compile PHP-4.1.0 or 4.0.6 with Oracle-9i ?

2001-12-11 Thread Jon Niola
Here is something that may help you: http://www.cba.ua.edu/~spaff/ I have yet to try it but plan on it soon. Apparently you have to patch the configure script and it will work :) Let me know how it works out --Jon At 09:11 PM 12/11/2001 +0100, Thies C. Arntzen wrote: >On Tue, Dec 11, 2001 at

Re: [PHP] Logo proposal

2001-12-11 Thread Jon Niola
I think MySQL has that already ;) At 12:33 PM 12/11/2001 -0800, Hugh Danaher wrote: >How about a porpoise. They're fast, intelligent, and as Lewis Carol said, >"you shouldn't go anywhere without a porpoise." >- Original Message - >From: Dan McCullough <[EMAIL PROTECTED]> >To: PHP General

Re: [PHP] last entry in mysql

2001-12-12 Thread Jon Niola
You should try using mysql_insert_id() with the connection descriptor. For example: $dblink = mysql_connect($host, $user, $password); mysql_select_db($databasename, $dblink); The $dblink variable or what I call the connection descriptor, should be used with mysql_insert_id($dblink);

[PHP] PHP 4.x on Apache 2.x?

2001-12-12 Thread Jon Niola
With all the architectural changes to the Apache platform for 2.x, will PHP 4.x run as a module still, or is that TBD? --Jon -- 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 admin

[PHP] echo vs. print() performance?

2001-12-13 Thread Jon Niola
Someone on this list once mentioned a performance difference between using echo and print(). Is there any evidence to back this up? I am really curious to see if it would make a difference to use one over the other. --Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma