Re: [PHP-INST] Passing variables via Form

2002-07-09 Thread MikeParton
OR, rather than setting register_globals to "on", define your variables using the superglobal arrays. See the Predefined Variables section of the PHP docs. - Original Message - From: "Moraes, Fabio" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 09, 2002 9:24 AM Subject

Re: [PHP-INST] Windows Install troubles.

2002-06-18 Thread MikeParton
You might want to look at "echo"ing your HTML inside your php code. Seems more simple to me. So, what you have here would look like: $dbuser = "username"; > $dbpass = "password"; > $db = "databssename"; > $LoginDB=@mysql_connect($dbhost, $dbuser, $dbpass); or die("Unable to connect to

Re: [PHP-INST] problems installing php with apache 2.0.35

2002-06-18 Thread MikeParton
For PHP 4.2.1 and Apache 2.0.3X you need the following in your httpd.conf: LoadModule php4_module "path_to/php/sapi/php4apache2.dll" AddType application/x-httpd-php .php .phtml AddType application/x-httpd-php-source .phps The php apache dll is php4apache2.dll vs php4apache.dll HTH Mike -

[PHP-INST] How to see what is captured in $_COOKIE Superglobal

2002-06-14 Thread MikeParton
How do I create a script that shows me what data is captured in the $_COOKIE superglobal. The php docs describe the $_COOKIE superglobal, but don't enumerate the contents of the array (the docs do a great job of enumerating what is captured in the $_SERVER array). I am setting cookies and I c

[PHP-INST] Search Field

2002-06-13 Thread MikeParton
Environment: Win NT 4.0 SP6a Apache 2.0.36 MYSQL 4.0.1a PHP 4.2.1 I'd like to create a search capability against a MySQL database that will allow users to do keyword searches, entering one OR MORE keywords in the text box. Thoughts on the most effective way to do this? Would this be handled by

[PHP-INST] Re: security paranoia

2002-06-12 Thread MikeParton
r the reply! - Original Message - From: "mos" <[EMAIL PROTECTED]> To: "MikeParton" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, June 12, 2002 10:22 AM Subject: Re: security paranoia > Mike, > At 05:05 PM 6/11/2002, you wrote: > &g

Re: [PHP-INST] Enviroment Variables

2002-06-11 Thread MikeParton
See Chapter 7. Variables, Predefined Variables in the php manual. - Original Message - From: "Milke Karr" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 11, 2002 7:34 PM Subject: [PHP-INST] Enviroment Variables > I have installed PHP 4.2.1 on a win32 apache 1.3.24 server

Re: [PHP-INST] weird problem...

2002-05-23 Thread MikeParton
Glad to see others think I'm cool. I was beginning to think that was a thought unique to me. Anyway, glad I could help. Cheers and good luck! Mike - Original Message - From: "TeWoei Poon" <[EMAIL PROTECTED]> To: "MikeParton" <[EMAIL PROTECTED]>; &l

Re: [PHP-INST] weird problem...

2002-05-23 Thread MikeParton
Sorry, that should be $_SERVER superglobal NOT $_ENV - Original Message - From: "MikeParton" <[EMAIL PROTECTED]> To: "TeWoei Poon" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, May 23, 2002 2:21 PM Subject: Re: [PHP-INST] weird problem

Re: [PHP-INST] weird problem...

2002-05-23 Thread MikeParton
Did you leave register_globals set to off in your php.ini? If so, you need to declare your $_ENV superglobal variable at the beginning of your script (see the section in the php manual on register_globals and the superglobal arrays). HTH Mike - Original Message - From: "TeWoei Poon" <[E

Re: [PHP-INST] Apache 2.0.3 & PHP?

2002-05-22 Thread MikeParton
Actually, I have Apache 2.0.36 and PHP 4.2.1 up and running on WinNT 4.0, SP6a...works very well. Did you include include the following in your edits to the Apache httpd.conf file: LoadModule php4_module "C:/pathtoyour/php/sapi/php4apache2.dll" AddType application/x-httpd-php .php .phtml AddTyp

Re: [PHP-INST] My Apache 2 server won't restart

2002-05-19 Thread MikeParton
I believe) HTH - Original Message - From: "Steve Mosley" <[EMAIL PROTECTED]> To: "'MikeParton'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Sunday, May 19, 2002 4:05 PM Subject: RE: [PHP-INST] My Apache 2 server won't restart > Still

Re: [PHP-INST] PHP.ini

2002-04-26 Thread MikeParton
I don't believe PHP cares about timing out...that's a server function. You probably need to set a longer time out in your Web server (I know you set it in httpd.conf for Apache). Mike - Original Message - From: "Peter Theeuwen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, Ap

Re: [PHP-INST] PHP help needed

2002-04-26 Thread MikeParton
Seben - Open NT Explorer: 1. Click on "View" on the menu bar 2. Click "Options" 3. Click "File Types" tab 4. Find PHP as the file type and change the application association If PHP isn't a listed file type, you'll need to click the "New Type" button, add PHP as a file type and do the associ