Re: [PHP-WIN] Passing values

2001-01-17 Thread Michael Cartmel
what does your FORM tag look like? (something like this?) - Original Message - From: "Jan Walter" <[EMAIL PROTECTED]> To: "Michael Cartmel" <[EMAIL PROTECTED]> Cc: "PHP Mailing list" <[EMAIL PROTECTED]> Sent: Thursday, January 18, 2001 2:57 PM Subject: Re: [PHP-WIN] Passing values > Mi

[PHP-WIN] Header variable not working??

2001-01-17 Thread OoCobra97
Hello, Im running windows 2000, IIS5, php4. Im trying to use: header("Status: 404 File not found") or die('Unable to connect to execute header command!'); to redirect to my errordocument, but its not doing anything...it goes to the "or die" command (which i set up to see if it works or not) an

Re: [PHP-WIN] Passing values

2001-01-17 Thread Jan Walter
Michael Cartmel wrote: > Have you put the line at the end of the > form? It seems that any tags after this line are ignored (not sent > by browser?). It is not at the end, but in the middle. Nevertheless the problem relies on the server settings, because the same code works on another machine

Re: [PHP-WIN] Passing values

2001-01-17 Thread Michael Cartmel
Have you put the line at the end of the form? It seems that any tags after this line are ignored (not sent by browser?). - Original Message - From: "Jan Walter" <[EMAIL PROTECTED]> To: "PHP Mailing list" <[EMAIL PROTECTED]> Sent: Thursday, January 18, 2001 1:59 PM Subject: [PHP-WIN] Pas

[PHP-WIN] Passing values

2001-01-17 Thread Jan Walter
Hi all, have anyone of you ever experienced any problem w/ passing values when you used enctype="multipart/form-data" inside file upload form? I see none of them inside the action script :-(((. Thank you -- _

Re: [PHP-WIN] Basic Clarification on Sessions(PHP4)

2001-01-17 Thread Mujahid
Alistair, I am working on Win NT/IIS Thanks -Mujahid -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-WIN] Re: [PHP] best user authentication method?

2001-01-17 Thread Miles Thompson
Opps - Forgot -- dbname.inc just contains the name of the database. In production it also contains the name of the user and the password. Miles At 08:44 PM 01/17/2001 -0400, Miles Thompson wrote: >IIS I'm not familiar with, and Apache has a native scheme involving .htaccess. > >If you want a por

[PHP-WIN] Re: [PHP] best user authentication method?

2001-01-17 Thread Miles Thompson
IIS I'm not familiar with, and Apache has a native scheme involving .htaccess. If you want a portable authentication method, I'd recommend authenticating against a list of users/passwords contained in a database. Using MySQL, PostgreSQL or Interbase would keep your database platform neutral, an

php-windows Digest 17 Jan 2001 23:08:39 -0000 Issue 402

2001-01-17 Thread php-windows-digest-help
php-windows Digest 17 Jan 2001 23:08:39 - Issue 402 Topics (messages 5065 through 5080): Re: Sessions/security 5065 by: Thomas Kryger 5070 by: Jan Walter 5073 by: Boget, Chris store current page name in variable? 5066 by: g_braakman.hetnet.nl 5069 by

RE: [PHP-WIN] Basic Clarification on Sessions(PHP4)

2001-01-17 Thread Alistair Moffatt
Mujahid The sample implementation is correct and works here in a Linux/Apache environment. However, I cannot get the sample to work in a Windows 2000/IIS environment. Please let us know what environment you are currently running in. Alistair -Original Message- From: Mujahid Wazir [mail

Re: [PHP-WIN] Standalone server for NT and MySql

2001-01-17 Thread Romulo Roberto Pereira
My suggestion would be to download this and install in your computer - has everything that you need and is only one confiuration... http://www.firepages.com.au/phpdev.htm have fun, Rom - Original Message - From: Michael Stearne <[EMAIL PROTECTED]> To: Stig Kronback <[EMAIL PROTECTED]> C

Re: [PHP-WIN] Standalone server for NT and MySql

2001-01-17 Thread Michael Stearne
Download PHP for Win32. The package contains the necessary dll for you to be able to use the mySQL functions in PHP to access your mySQL database. For PHP you can use either the included IIS as the web server (make sure you get the latest version) or you can simply download Apache for Win32 a

RE: [PHP-WIN] Standalone server for NT and MySql

2001-01-17 Thread Gregory_Griffiths
I would recommend either IIS or PWS as they come with NT and are relatively simple to configure and support and have documented installation instructions for PHP. Apache, is a little more complex to configure, but is also a good tool. > -Original Message- > From: [EMAIL PROTECTED] [mai

Re: [PHP-WIN] Standalone server for NT and MySql

2001-01-17 Thread Leonard Harris
Xitami (www.xitami.com) is an excellent, small (and easy to set-up) web server. Lenny Harris - Original Message - From: "Stig Kronback" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 17, 2001 10:15 AM Subject: [PHP-WIN] Standalone server for NT and MySql > I am cu

[PHP-WIN] Press R: Letting you know about Emma

2001-01-17 Thread Justice For Emma
Emma may not have received quite as much publicity as Elian Gonzalez did, b= ut=20 her story is similar. International Child Abduction: US and Canadian privat= e=20 social services abducts Emma and protects its secrecy...the first of its ki= nd=20 in history! Why do they want to keep Emma's name s

[PHP-WIN] Standalone server for NT and MySql

2001-01-17 Thread Stig Kronback
I am currently working on a NT machine with a standalone MySql Database installed. For development purposes I need a webserver for my workstation, that will access the MySql database. I would like to use my local browser to access the database through the standalone webserver using PHP scripting.

RE: [PHP-WIN] Sessions/security

2001-01-17 Thread Boget, Chris
> Try looking at register_shutdown_function at > http://www.php.net/manual/en/function.register-shutdown-function.php >From the documentation: "int register_shutdown_function (string func) Registers the function named by func to be executed when script processing is complete." What qualifies a

[PHP-WIN] REQUEST_URI for IIS 5

2001-01-17 Thread OoCobra97
Hello, im running windows2k, and php4...ive been trying to use and environment varible "REQUEST_URI" to get the url the user is trying to reach...but its not working on my server, is there another way around this? thanks for any help! ~Jeff -- PHP Windows Mailing List (http://www.php.net/) T

[PHP-WIN] windows username extraction

2001-01-17 Thread Remco Meeder
Hi, For a school project I am making a database driven system. In de intranet page they have to enter their login name to the winNT/Novell system. I have seen something before which automatically could extract that info from the system so that the user doesn't have to enter it manually. Is it

Re: [PHP-WIN] Sessions/security

2001-01-17 Thread Jan Walter
Thomas Kryger wrote: > I am using this in my logon script: > function close() > { > if (connection_aborted() > 0) > { > @session_destroy(); > } > } > > register_shutdown_function("close"); ...sounds good, thakx a lot. -- _

Re: [PHP-WIN] store current page name in variable?

2001-01-17 Thread Tom
$variable_name=$PATH_INFO Depending on how you handle it next, you may want to stripslashes() or URL_encode() it Tom "[EMAIL PROTECTED]" wrote: > Hi all, > > I'm working on a little code snippet that invites a person to mail the url > of the current page to a friend. I once read a javascript a

Re: [PHP-WIN] DOM

2001-01-17 Thread Tom
At this point I would say RTFM, but I'm all too aware that the PHP funciton description runs to about 900 pages, so that may not be too helpful. Seriously though, if you haven't already, its well worth downloading the BigManual.html from the php site as this is a complete command reference! The fu

RE: [PHP-WIN] DOM

2001-01-17 Thread James Duncan
That sounds the way to go. Yes the sites I have looked at so far put their data into tables. Is there a PHP command that performs a replace all with "" until first occurrence of kind of thing? I agree with the DOM statement too. I worked out the DOM access via Javascript on IE quite quickly but

[PHP-WIN] store current page name in variable?

2001-01-17 Thread [EMAIL PROTECTED]
Hi all, I'm working on a little code snippet that invites a person to mail the url of the current page to a friend. I once read a javascript article that explained how to store the pare url in a variable. I can't find the article. How do you store the current URL in a variable using PHP? Does th

RE: [PHP-WIN] Sessions/security

2001-01-17 Thread Thomas Kryger
Try looking at register_shutdown_function at http://www.php.net/manual/en/function.register-shutdown-function.php I am using this in my logon script: function close() { if (connection_aborted() > 0) { @session_destroy(); } } register_shutdown_function("close"); Best regards, Thomas D

php-windows Digest 17 Jan 2001 10:05:27 -0000 Issue 401

2001-01-17 Thread php-windows-digest-help
php-windows Digest 17 Jan 2001 10:05:27 - Issue 401 Topics (messages 5055 through 5064): Re: What's up with Cookies on Windows 5055 by: adam 5058 by: David Harrison Sessions/security 5056 by: Jan Walter 5057 by: Ignatius Teo 5064 by: Jan Walter Reli

Re: [PHP-WIN] Sessions/security

2001-01-17 Thread Jan Walter
Ignatius Teo wrote: > Have a look at http://phplib.netuse.de I am afraid it does not work as I described, because if I visit another site, go back and refresh, everything seems ok. -- __