[PHP-WIN] PHP and Apache 1.3

2002-04-02 Thread Glider
I'm new to this, I have Apache 1.3.23 installed on my XP box, working OK. I can,t seem to get PHP working with Apache 1.3.23. I've followed several instructions now and failed each time. The php extentions on my server just request I download or open in notepad? I have copied the php.ini file t

RE: [PHP-WIN] Removing PHP

2002-04-02 Thread Faisal Ashraf
Thank for your reply Aleem, Well it didn't worked I am still getting the same error. I am getting this error I have removed all files then reinstalled the setup. Fatal error: Failed opening required 'mainfile.php' (include_path='c:\php4\pear') in This folder was previously exits but now I

Re: [PHP-WIN] PHP and Apache 1.3

2002-04-02 Thread darius . burlega
Hello, Have you included several lines in your Apache configuration file ( httpd.conf ) ? ScriptAlias /php/ "c:/php/" AddType application/x-httpd-php .php Action application/x-httpd-php "/php/php.exe" First try to di it. BR Darius To: [EMAIL PROTECTED] cc: Subject: [PHP-WIN]

Re: [PHP-WIN] mail();

2002-04-02 Thread Piotr Pluciennik
Hmmm... "can't send" it's not enough words to precisely explain problem... but check first the configuration in your php.ini in section: [mail function] SMTP= your smtp server sendmail_from = [EMAIL PROTECTED] and fill it correctly. mail is working on (not onl

[PHP-WIN] R: [PHP-WIN] mail();

2002-04-02 Thread Alberto. Sartori
You got a "Server error" ? -Messaggio originale- Da: Piotr Pluciennik [mailto:[EMAIL PROTECTED]] Inviato: martedì 2 aprile 2002 17.02 A: [EMAIL PROTECTED] Oggetto: Re: [PHP-WIN] mail(); Hmmm... "can't send" it's not enough words to precisely explain problem... but check first the confi

RE: [PHP-WIN] Configuring securely in IIS5 under Windows 2000 Server

2002-04-02 Thread Eric Gentry
Bruce, Thanks for all of you input, it is much appreciated it. I do know about securing IIS, but I was concerned about security when adding PHP into the mix. >From the answers I received, I am assuming that the security is in the OS/Server software, and that there aren't any inherent security

[PHP-WIN] Connecting to a database w/PHP and mysql

2002-04-02 Thread Anthony Ritter
Using the script below, I was able to connect to the database named "contacts" for output. *However*, when I insert a [username] and [password] in place of the "" "", I get: "Couldn't connect to the database" - eventhough I am able to connect to mysql. How do I go about replacing the "" and "

[PHP-WIN] Re: Security using Apache & Windows

2002-04-02 Thread Tim Mackenzie
No one can help?! Please, please, please... "Tim Mackenzie" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm running W2K with Apache and PHP4. I'm going to be hosting a number of > websites that I would like to provide PHP support for. What I don't want i

RE: [PHP-WIN] Configuring securely in IIS5 under Windows 2000 Server

2002-04-02 Thread Ross Fleming
So far as I'm aware, you're correct, secure IIS and php is secure as well. I once saw a report in a security website or magazine (i think the latter) complaining that PHP was insecure in so much that variables were posted with the header details and could therefore be intercepted. This in itself

RE: [PHP-WIN] Re: Security using Apache & Windows

2002-04-02 Thread Ross Fleming
No offence, but chances are that no-one is answering because it's not a PHP related question. My advice to you is to read the faq's at apache.org (the correct address you need is http://httpd.apache.org/docs/misc/FAQ.html specifically section E) and set up apache securely first (which is not too

RE: [PHP-WIN] Configuring securely in IIS5 under Windows 2000 Server

2002-04-02 Thread Bryan Henry
>>All PHP does, is create a dynamic webpage, ie create a web page >>"on-the-fly". This does not expose any holes any more than creating an html >>page does. not true - PHP is as secure as the pages you program. lack of user input verification is a good example. >>There was recently a scare at ph

RE: [PHP-WIN] Configuring securely in IIS5 under Windows 2000 Server

2002-04-02 Thread Bryan Henry
>>not true - it affected any server running >>PHP v3.0.10-v3.0.18, v4.0.1-v4.1.1 >>with at least one .php file on it. >>Everyone was encouraged to upgrade to >>4.1.2 sorry - they made patches for earlier versions also, so everyone was advised to patch or upgrade. ~ b r y a n -Original Mes

RE: [PHP-WIN] Configuring securely in IIS5 under Windows 2000 Server

2002-04-02 Thread Ross Fleming
I'm afraid I stand by my answers bar one: re the recent security scare: quote from the php.net "It is known that Apache (any version) and iPlanet servers are vulnerable to this issue, however Microsoft IIS is not." This person states he is using IIS. re PHP being "as secure as the pages you pro

php-windows Digest 2 Apr 2002 17:45:06 -0000 Issue 1074

2002-04-02 Thread php-windows-digest-help
php-windows Digest 2 Apr 2002 17:45:06 - Issue 1074 Topics (messages 12884 through 12898): Removing PHP 12884 by: Faisal Ashraf 12887 by: Faisal Ashraf Re: [PHP-INST] XSLTransformation via Sablotron 12885 by: Steve at Puddletown PHP and Apache 1.3 12886 by:

[PHP-WIN] I am trying to get off of this list

2002-04-02 Thread Steve at Puddletown
How can I get off of this list...I have requested many times and no worky... [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Passing Javascript Variables to PHP

2002-04-02 Thread Wayne Hinch
Hi all, Does anyone know if it is possible to pass variables from JavaScript to PHP? Any help will be much appreciated Many Thanks

[PHP-WIN] Editing setting session_save.path in the php.ini file doesn't register the change!!!

2002-04-02 Thread Hammad Sophie
Hello fellow PHP windows users. I installed Apache 1.3.23 and PHP 4.1.2 a couple of days ago on my win 2k installation. I am having trouble with the php.ini file: I am trying to set the session_save.path to something other than the default value of "/tmp" (since /tmp doesn't work on windows) su

RE: [PHP-WIN] Editing setting session_save.path in the php.ini file doesn't register the change!!!

2002-04-02 Thread Ryan Marrs
Try C:/temp This is the exact line from my config. session.save_path = c:/temp Ryan -Original Message- From: Hammad Sophie [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 2:50 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Editing setting session_save.path in the php.ini file

Re: [PHP-WIN] Re: Security using Apache & Windows

2002-04-02 Thread Tim Mackenzie
Sorry if there is any confusion. The question is entirely PHP related. My concern is limiting the scope of PHP's use in my file system. I know that there are commands that can be put into PHP.ini that affect the areas in which read/write operations can be performed by PHP. I'd like to offer PH

RE: [PHP-WIN] Editing setting session_save.path in the php.ini file doesn't register the change!!!

2002-04-02 Thread Hammad Sophie
I tried the suggestions given by Ryan and Symeon but they didn't work. Any other ideas? Thanks. Hammad. -Original Message- From: Hammad Sophie [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 11:50 AM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Editing setting session_save.path in

[PHP-WIN] Re: Passing Javascript Variables to PHP

2002-04-02 Thread Nicole Amashta
One possible way to do this is, when submitting a form, set a hidden variable to the value using javascript. Example: function setVars( theForm ) { theForm.jsvar.value = 'somevalue'; theForm.submit(); } ... This is just a suggestion. -- Nicole Amashta Web Application Development "W

Re: [PHP-WIN] Passing Javascript Variables to PHP

2002-04-02 Thread Mike Flynn
I have answered variations on this question at least 3 times. Please check the archives. JavaScript is client-side, PHP is server-side. The only way to go from JavaScript to PHP (in that direction) is by going to a new page -- 1. Reloading the current page, with the relevant data in the quer

[PHP-WIN] problem with mssql_fetch_array

2002-04-02 Thread Andy Muth
I'm having some problem upgrading my PHP from 4.0.6 to 4.1.2, when I try executing the function mssql_fetch_array, the script stops responding. I've tested the script and isolated it to this one function, it connects to the database just fine, its only when I try to get retrieve a record set is w

RE: [PHP-WIN] Passing Javascript Variables to PHP

2002-04-02 Thread Robin Bolton
Another way to pass data from JavaScript <-> PHP is with cookies. Use JavaScript to set the cookie and once you reload the script, PHP will have access to the variables stored in the cookie. I implemented this in a real-time trivia game (using PHP for the backend logic, and JavaScript for the cl

Re: [PHP-WIN] How to add more domains on apache w2k

2002-04-02 Thread martinahingis
thanks so much -- martina. "Warren Vail" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Don't you also need to do something to cause DNS to resolved to the IP of > the same server for both domains? > > Any idea what's required to do this using NT DNS? / B

RE: [PHP-WIN] Editing setting session_save.path in the php.ini file doesn't register the change!!!

2002-04-02 Thread Hammad Sophie
I've been playing around with my php installation. Even when I get rid of the php.ini file from the c:\winnt directory and then run the phpInfo() script from the browser, I get weird values such as: Configuration File (php.ini) Path c:\winnt Can anyone explain whats going on here? I'm really conf

RE: [PHP-WIN] Editing setting session_save.path in the php.ini file doesn't register the change!!!

2002-04-02 Thread Shrock, Court
That is because php is looking for php.ini in c:\winnt.it has no relation to whether or not the file actually exists there. If a php.ini does not exist where it looks for it, php uses defaults for every internal setting. > -Original Message- > From: Hammad Sophie [mailto:[EMAIL PROTE

RE: [PHP-WIN] Passing Javascript Variables to PHP

2002-04-02 Thread Mike Flynn
At 02:37 PM 4/2/02 -0700, Robin Bolton wrote: >Another way to pass data from JavaScript <-> PHP is with cookies. Good point! -Mike -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] Editing setting session_save.path in the php.ini file doesn't register the change!!!

2002-04-02 Thread Hammad Sophie
Yes, it seems that php defaults to some hardcoded values if it can't find the php.ini file. However, my problem still remains unsolved. Even when the php.ini file is in the c:\winnt directory it is not registering changes to the session.save_path variable. Is this a bug or am i doing something wr