Secure Script PHP

From: Personne (Personne_at_nospan.com)
Date: 03/02/05


Date: Wed, 02 Mar 2005 11:50:08 -0500

Hello guys,

This is my first post here, and I think my problem is very basic. I
just start programming in PHP/Mysql a month ago. Please be nice.

Plafeform is Windows 2000 with EasyPHP1.7 (if you know it)

I have a www folder where a created a test.html file which contains a
FORM:

<form name="form3" method="post" action="test.php">
  <input name="test" type="submit" id="test" value="test">
</form>

My test.php scrip is in the same folder as my test.html, and it works
fine like this.

But I know if I keep it this way, people from internet can steal my
php script which I do not want to happen.

Then I understood I can move my test.php to a non public folder like
cgi-bin or a 'include' folder.

When I do so, here is what happen: Not Found
The requested URL /Wartools/test.php was not found on this server.

Apache/1.3.27 Server at 127.0.0.1 Port 80

I did modify my php.ini like this
; Windows: "\path1;\path2"
include_path = ".;C:\Program Files\EasyPHP1-7\php\include\"

but it still doesn't work, indeed I moved test.php in this C:\Program
Files\EasyPHP1-7\php\include\

Thank for your help
Personne



Relevant Pages

  • Re: Email enable doc lib
    ... navigate to the public folder and send some posts with attachments to the ... Microsoft CSS Online Newsgroup Support ... I have disabled forms base Athentication from the default V.Smtp server ...
    (microsoft.public.windows.server.sbs)
  • Re: Newbie with a smallbiz2000 installation, check my config?
    ... > Windows creates a profile path under Documents & Settings. ... > a folder with that name already exists (maybe a local user with the ... > server, open the properties for this folder, and ensure that you have ... > you redirect key folders from a user's profile to a location on your ...
    (microsoft.public.backoffice.smallbiz2000)
  • Re: Network shares cannot connect
    ... User Name: SERVER$ ... Regarding the shares accessing problem, I suggest you try following steps ... let's focus on the Users Shared Folder first. ... To check this permission, please click the Advanced button, select ...
    (microsoft.public.windows.server.sbs)
  • Re: Disappearing disk space?
    ... I switched off the AV scanning completely last night and the ... Windows Server 2003, Windows 2000, or Windows XP ... %systemroot%\Sysvol folder ... KB309422 - Guidelines for choosing antivirus software to run on the ...
    (microsoft.public.windows.server.sbs)
  • Re: SBS 2003 folder redirection, offline files, ..and more
    ... you log into a shared PC with admin rights and go to Windows Explorer Folder ... documents are redirected to the server. ... without redirection, they wouldn't have been. ...
    (microsoft.public.windows.server.sbs)