RE: [PHP-WIN] cookies problem

2003-07-09 Thread Delacruz, Antonio M [ITS]
Mark, You might try using sessions instead of cookies. The following code checks the session and credentials. Login Page One\n\n"); // Start the session system error_reporting(0); session_start(); // if the login form was posted and the uid was set (and valid) if($_POST['logon'] and $_POST['p

Re: [PHP-WIN] cookies problem

2003-07-09 Thread Stephen March
Nick, I'm not 100% sure, but I believe I checked that. If I remember correctly the default php.ini has it pointing to /tmp which was c:\winnt\temp (everyone has modify on the temp dir). I'll be cruising in to work tomorrow to check it (around 3:00pm Mountain time), since I have 1-box

Re: [PHP-WIN] cookies problem

2003-07-09 Thread Nick H. - Network Operations
This is just an odd suggestion.. but did you check permissions on the c:\php\sessiondata (or whatever folder it is)? IUSR_Machine needs to have modify on that folder in order to store it's session data... Of course, you can change that path in the .ini to point wherever you want, but by default

Re: [PHP-WIN] cookies problem

2003-07-09 Thread Stephen March
Mark, I've run in to this problem - first noticing this with PHP Nuke. This cookie problem seems to be a result of a server configuration issue with the Windows operating system. At work I have 2 Win-2k servers, both running PHP 4.3.2, our production web-server can set cookies no problem

[PHP-WIN] cookies problem

2003-07-09 Thread Mark Anderson
Hi everybody: I have php 4.3.2 running as a isapi module on WinXP with IIS 5.1. When I run the following script: setcookie("auth_login",$cookie_val['auth_login'],time() + 3600); or setcookie("auth_level",$cookie_val['auth_level'],time() + 3600); it fails to set the cookie in browsers different o

[PHP-WIN] PHP on Windows

2003-07-09 Thread Delacruz, Antonio M [ITS]
I was able to get Apache to recognize my oci.dll. Now, anytime I want to connect to a database, any database (postgres, oracle, mysql) I get a page not found error. I have the same configuration as on another box. The only difference is I am on windows 2000 server on this box and the other one th

[PHP-WIN] Problem finding OCI.dll when starting Apache.

2003-07-09 Thread Delacruz, Antonio M [ITS]
I have installed php 4.3, Oracle 8.1.7 client, and Apache 2.0, in that order. I am running this on a dell poweredge 4300 with windows 2000 server. I have my :/oracle/ora81/bin path in my PATH statement in my environment variables. When I try to start Apache I get this error, "the dynamic link li

php-windows Digest 9 Jul 2003 16:54:34 -0000 Issue 1817

2003-07-09 Thread php-windows-digest-help
php-windows Digest 9 Jul 2003 16:54:34 - Issue 1817 Topics (messages 20740 through 20749): PHP Authentication for Member Site 20740 by: Adam Re: Forms-PHP-and-errors 20741 by: jh 20743 by: jh 20744 by: Sven Schnitzke 20745 by: Luis Moreira Re: mysql

Re: [PHP-WIN] Problem IIS

2003-07-09 Thread Stephen March
Can you get a screenshot (picture) of the error? Or provide a link to your site :) It would be a bit easier to troubleshoot. Cheers, ~Steve Jonas Ferreira wrote: My dear friends, I use IIS 5.1, that comes with Windows XP (pro), and PHP 4.3.2, everything installed usually, however when I ex

[PHP-WIN] php with .procmailrc

2003-07-09 Thread Derrick Hermanson
I'm trying to set up .procmailrc to capture emails sent out. The .procmailrc file should filter the emails to a php program if the email is not deliverable. The php program works if I pass the variables directly to it but the .procamilrc doesn't seem to pass the email to the php program. .procmail

[PHP-WIN] Problem IIS

2003-07-09 Thread Jonas Ferreira
My dear friends, I use IIS 5.1, that comes with Windows XP (pro), and PHP 4.3.2, everything installed usually, however when I execute an application PHP, it works on primeiros instants and after not, the mistake appears "is the folder name disable", how to solve this problem? Thankful. -- P

RE: [PHP-WIN] How to make a picture gallery ?

2003-07-09 Thread Svensson, B.A.T. (HKG)
First thing would be to Read The Fine Manual at www.php.net, after that the second thing would be to re-formulate your question to something like: "how do I use the 'dir' funtion to do this?". -Original Message- From: _GeS_ To: [EMAIL PROTECTED] Sent: 2003-07-07 16:57 Subject: [PHP-WIN] H

Re: [PHP-WIN] Re: Forms-PHP-and-errors

2003-07-09 Thread Luis Moreira
The error complains about an unexpected "!", right ? What if you do if (!isset($title)) { That's the correct syntax, you know ?... Luis - Original Message - From: "jh" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 09, 2003 9:03 AM Subject: [PHP-WIN] Re: Forms-PHP

AW: [PHP-WIN] Re: Forms-PHP-and-errors

2003-07-09 Thread Sven Schnitzke
Hi, as to your new error message: If goes: if (condition) statement; so add the round braces around the condition and PHP will be happy. In my reply I referred to vars coming from POST action as $_POST['var_name_here']. This is an implication of register_globals = off which in turn is a good idea a

Re: SV: [PHP-WIN] Forms-PHP-and-errors

2003-07-09 Thread jh
On 09/07/03 at 09:23 Henrik Hornemann wrote: >Hi, > >You are probably running with REGISTER_GLOBALS off. REGISTER_GLOBALS is set off in php.ini >You can access your form variables like this: >$title=$_POST['title']; $lastname=$_POST['lastname']; ... and so on. > >hth Henrik Hornemann > I have

[PHP-WIN] Re: mysql question

2003-07-09 Thread Cristian MARIN
Try to make a many-to-many design : Create a table 'images_img' with id_img, name_img, accession_img ... for the images Create a table 'categories_ctg' for the categories with id_ctg, name_ctg, description_ctg ... Create a table for unifing this two imgtoctg_itc with id_itc, idimg_itc, idctg_itc I

[PHP-WIN] Re: Forms-PHP-and-errors

2003-07-09 Thread jh
Hi, Thanks for reply. I have wrapped your code in like so:- ?> called it p-6-2.php and this is the error I get:- Parse error: parse error, unexpected '!', expecting '(' in D:\web\myforms\p-6-2.php on line 4 I have used my own form which uses javascript to validate the fname and su