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
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
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]
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
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
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
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 "
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
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
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
>>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
>>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
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 - 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:
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
Hi all,
Does anyone know if it is possible to pass variables from JavaScript to
PHP?
Any help will be much appreciated
Many Thanks
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
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
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
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
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
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
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
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
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
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
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
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
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
29 matches
Mail list logo