Re: [PHP-WIN] PHP 4 Session

2001-04-20 Thread Arthur Melkonyan
Thank for help Flint Doungchak wrote: > Hey Arthur, > > Make sure that in your php.ini file that the save path is defined to > someplace that exists and PHP has permissions to write to. I suspect that > the c:/temp folder that is the default for php.ini file doesn't exist. You > likely have a fo

RE: [PHP-WIN] PHP 4 Session

2001-04-20 Thread Flint Doungchak
Hey Arthur, Make sure that in your php.ini file that the save path is defined to someplace that exists and PHP has permissions to write to. I suspect that the c:/temp folder that is the default for php.ini file doesn't exist. You likely have a folder such as c:\temp. You can try that or any other

[PHP-WIN] PHP 4 Session

2001-04-20 Thread Arthur Melkonyan
Any one knows how to make session run properly on windows9x/NT These are the error I get when I run session: Warning: open(/tmp\sess_31206e8763f2d300416fd476be5f591e, O_RDWR) failed: m (2) in Unknown on line 0 Warning: Failed to write session data (files). Please verify that the current setting

Re: [PHP-WIN] include

2001-04-20 Thread Chris Adams
On 20 Apr 2001 14:04:00 -0700, Olivier Botineau <[EMAIL PROTECTED]> wrote: >Good evening all, >do you know if its possible to give an absolute path instead of a relative path for >include: >include( '../../menu.php' ); is OK >incude( '/inculde/menu.php' ); is Not OK That's the

[PHP-WIN] PHP4, WinNT, exec() (NOTHING HAPPENS!...please help!!)

2001-04-20 Thread Dave Faulkner
Hello all. Im quite new to php and have a problem i hope you can help me with. Below i have a copy of my code which i use for users to upload aviation photos to my server. First it uploads the photo and then copies it to a directory on my server. Then it adds all the relevant data into the mysql

php-windows Digest 20 Apr 2001 23:40:55 -0000 Issue 555

2001-04-20 Thread php-windows-digest-help
php-windows Digest 20 Apr 2001 23:40:55 - Issue 555 Topics (messages 6917 through 6940): Managing SQL errors in php pages 6917 by: Olivier Botineau 6918 by: Matt Hopkins Re: Help on installing something 6919 by: Svensson, B.A.T. Re: Select statement not working

RE: [PHP-WIN] Errors I get

2001-04-20 Thread Manesh
don't work! -Original Message- From: Frank M. Kromann [mailto:[EMAIL PROTECTED]] Sent: Friday, April 20, 2001 6:45 PM To: Manesh Cc: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] Errors I get PHP Does not need perl in any instances. It seams you are trying to run the cgi version of php and

Re: [PHP-WIN] Errors I get

2001-04-20 Thread Frank M. Kromann
PHP Does not need perl in any instances. It seams you are trying to run the cgi version of php and it is unable to find a component, resulting in a core dump. You can test the php.exe from a command prompt. Just type php.exe -v and yoy will get the veriosn information, or perhaps an error mess

[PHP-WIN] PHP.exe chrashes on WIN95 / WIN98SE

2001-04-20 Thread Rainer Gross
Hi all the following code crahes on Win95 and Win98SE using the CGI inteface with personal webserver. The code now is full of stupid things to find an inexistent error since the code works fine on a Linux PHP. So do anyone have an idea about what is going on? parser = xml_parser_create();

[PHP-WIN] Mapping perl

2001-04-20 Thread Manesh
how do i add it to IIS5 it is installed on c:/perl/ how do i do it? -- 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] Errors I get

2001-04-20 Thread Manesh
CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: i get that alot, is it beacuse i g=don't have perl? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

[PHP-WIN] Poll

2001-04-20 Thread Manesh
Warning: Undefined variable: submit in c:\inetpub\wwwroot\poll.php on line 44 Warning: Supplied argument is not a valid MySQL result resource in c:\inetpub\wwwroot\poll.php on line 74 i get error and inside my poll.php is this title ID: %dName: %sDescription: %sVoteCount: %sVoteTot

Re: [PHP-WIN] include

2001-04-20 Thread Toby Miller
This is extremely unfortunate as I don't know of a way to do this either. I do however have a workaround that's not too tedious. Insert the following code into the very top of all of your documents: $GLOBALS["DOCUMENT_ROOT"] = preg_replace("/wwwroot.*$/i","wwwroot",$PATH_TRANSLATED); This assum

[PHP-WIN] url call with a php string

2001-04-20 Thread Vlad Bejenaru aka BJ
in which form is a available a code section like this $string="downloads.php" useful dowloads of php == this is a generic example I need this because i want to submit two forms from the same querry_string and the results to be shown in 2 different frames. Is there another way to

[PHP-WIN] include

2001-04-20 Thread Olivier Botineau
Good evening all, do you know if its possible to give an absolute path instead of a relative path for include: include( '../../menu.php' );is OK incude( '/inculde/menu.php' ); is Not OK Depend where im in tree directory i have to change '../', then relative path is not usefu

[PHP-WIN] For Newbies - Setting up PHP4 wihn win 98 and PWS

2001-04-20 Thread RJ
Hi, I downloaded Apache server and was about to go with it when i decided to try this PWS thingy one more time. I found this link which gives detailed step by step instructions on setting up PHP4 with win98 and PWS. The document also is useful for setting up Perl. http://www.faqts.com/knowledge_

RE: [PHP-WIN] Problem with procedures in MSSQL

2001-04-20 Thread Svensson, B.A.T.
First of all replace GO with RETURN(0) Then try again >-Original Message- >From: Hugo Alexandre Almeida Soares Dias [mailto:[EMAIL PROTECTED]] >Sent: Friday, April 20, 2001 7:22 PM >To: PHP-WIN >Subject: [PHP-WIN] Problem with procedures in MSSQL > > > >I created a stored proced

[PHP-WIN] Problem with procedures in MSSQL

2001-04-20 Thread Hugo Alexandre Almeida Soares Dias
I created a stored procedure in MSSQL like this: CREATE PROCEDURE destaques_relacionados @codigo_doc int, @relacao varchar(20) AS SELECT TOP 5 DN.cod, DN.titulo FROM dbo.Keywords_associacoes KA INNER JOIN dbo.Destaques_noticias DN ON KA.documento = DN.cod INNER J

[PHP-WIN] php on Win2000 / IIS 5.0

2001-04-20 Thread M.Kissel
i get this error message: PHP Warning: Unable to load dynamic library 'php_pdf.dll' - Das angegebene Modul wurde nicht gefunden. in Unknown on line 0 PHP Warning: Unable to load dynamic library 'C:\Php\EXTENSIONS/php_sybase_ct.dll' - Das angegebene Modul wurde nicht gefunden. in Unknown on line 0

[PHP-WIN] Neat program to learn PHP

2001-04-20 Thread John Henckel
Here is a PHP interpreter on a web page. I wrote it to help me learn PHP and it was very helpful. Just copy the code below to a web page, like "eval.php". WARNING! If you put this code on a public server, you should change the hardcoded password (BULLDOG) to something non-obvious, otherwise

[PHP-WIN] InterBase

2001-04-20 Thread Daniel Sichta
Hi there !! IIS + php 4.0.5 I'm getting error message Warning: Unable to load dynamic library 'c:/script/php405/extensions/php_interbase.dll' - I have IB server on different PC. What I'm doing wrong ? Ing. Daniel Šichta CUSTOM.web s.r.o. Hodžova 13 01001 Žilina, SLOVAKIA ++421 89 564 3474 mobile

Re: [PHP-WIN] What does an @ sign before a VARIABLE do?

2001-04-20 Thread Mike Flynn
Thanks everyone for clearing it up. It looks like the author of the tutorial may have had all PHP error reporting turned on and put the @ there in case the variables weren't set, which was after all what that if statement was checking.. or just got into the habit of putting it on any variab

Re: [PHP-WIN] What does an @ sign before a VARIABLE do?

2001-04-20 Thread Rasmus Lerdorf
> In the PHOBUILDER tutorial on sessions the sample code has a @ sign before > some of the variable names.. like: > if (@$userid && @$password) { >$res = @mysql_query("SELECT userid FROM users WHERE userid='$userid' AND > password='$password'"); >if(@mysql_num_rows($res) != 0) { > $ve

Re: [PHP-WIN] What does an @ sign before a VARIABLE do?

2001-04-20 Thread Mattias Segerdahl
It removes all error msg's that might come from the particular function... Iow, if it dosn't work, don't complain! - Original Message - From: "Mike Flynn" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 20, 2001 4:23 PM Subject: [PHP-WIN] What does an @ sign before a VA

RE: [PHP-WIN] What does an @ sign before a VARIABLE do?

2001-04-20 Thread Schulz, Evan
Mike, If you have your error reporting set to ALL in php.ini, you will get warnings that variables aren't set. The @ before it will ignore the warnings. At least, this is one use of the @ before variables that I can think of... Evan -Original Message- From: Mike Flynn [mailto:[EMAIL P

[PHP-WIN] What does an @ sign before a VARIABLE do?

2001-04-20 Thread Mike Flynn
Hey all, In the PHOBUILDER tutorial on sessions the sample code has a @ sign before some of the variable names.. like: if (@$userid && @$password) { $res = @mysql_query("SELECT userid FROM users WHERE userid='$userid' AND password='$password'"); if(@mysql_num_rows($res) != 0) { $veri

[PHP-WIN] RE: Select statement not working

2001-04-20 Thread Martin Kemp
I'm glad I'm not alone in this. It's strange that it only occurs in certain situations, but ours are quite different (I'm using Windows Networking). The main similarities seem to be: win32 platform php4.0.x (CGI) using access over odbc and shared drive I remember trying all sorts of changes to t

RE: [PHP-WIN] Help on installing something

2001-04-20 Thread Svensson, B.A.T.
>-Original Message- >From: Manesh >Sent: Friday, April 20, 2001 1:40 AM > >ok, i have mysql working, i need a really good tutorial for me >newbie! like exactly how to make a database and stuff like that! Then you need to read "Fundamentals of Database Systems" written by Elmasri & Navath

RE: [PHP-WIN] Managing SQL errors in php pages

2001-04-20 Thread Matt Hopkins
Olivier, One way is simply to test for success and produce the appropriate error message if it doesn't work; $result = mysql_query ($query) or die ("appropriate error message"); Matt -Original Message- From: Olivier Botineau [mailto:[EMAIL PROTECTED]] Sent: 20 April 2001 13:46 To: P

[PHP-WIN] Managing SQL errors in php pages

2001-04-20 Thread Olivier Botineau
hi is there a way to get control when an error occurs executing sql querry? I mean to have a detailled message like in phpMyAdmin. When I do in my php page ( table t_reffet doesn't exist, thats for the purpose ) : $query_effet = "SELECT t_effet.lib_effet FROM t_reffet, tr_scene_effet, t_scene "

php-windows Digest 20 Apr 2001 11:15:51 -0000 Issue 554

2001-04-20 Thread php-windows-digest-help
php-windows Digest 20 Apr 2001 11:15:51 - Issue 554 Topics (messages 6902 through 6916): Re: dynamic pulldowns from DB 6902 by: Paul Meagher 6909 by: Tom Mathews Re: PHP4 on Win problem (update). 6903 by: GArlington 6915 by: Phil Driscoll Help on installing

[PHP-WIN] Sendmail

2001-04-20 Thread Ben Cairns
I know this is a windows list, but I need to know how to configure Sendmail on a Redhat Linux machine to relay messages through another host. -- Ben Cairns - Head Of Technical Operations intasept.COM Tel: 01332 365333 Fax: 01332 346010 E-Mail: [EMAIL PROTECTED] Web: http://www.intasept.com

Re: [PHP-WIN] PHP4 on Win problem (update).

2001-04-20 Thread Phil Driscoll
>Yes, everything is done according to install instructions. >I run php module on Apache, so there are only two lines I needed and they >appear in my httpd.conf exactly as in install guide, >I found that the pop-up was caused by file association, after I removed it >the pages display PHP source ins

[PHP-WIN] SNMP Extension

2001-04-20 Thread Ermanno Iannacci
I've got Apache and PHP on NT4. I'm getting errors from SNMP Extensions. The Apache error.log says it couldn't find files like IF-MIB.txt etc.. These files are in mibs folder. Why PHP can't see them? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP-WIN] While not working

2001-04-20 Thread Johannes Janson
Hi, > if (!$mbox): > echo "Ooopsss !!! Por favor se você é assinante da ParaisoNet, tente > novamente. Caso contrário clique aqui."; > exit; > endif; puuuh, this alternative syntax is not very readable. > // here is the while command. But the $id variable get zero (0) , and it > should get the

RE: [PHP-WIN] MSSQL text fields truncation

2001-04-20 Thread Kelvin Luck
Hi, Thanks for the responses, hit the nail right on the head. It works perfectly now, Cheers, Kelvin. -Original Message- From: Flint Doungchak [mailto:[EMAIL PROTECTED]] Sent: 19 April 2001 19:04 To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] MSSQL text fields truncatio

[PHP-WIN] RE: Select statement not working

2001-04-20 Thread Martin Kemp
I've had almost exactly the same problem - in access the query returns all the fields that should be there, but use that SQL string in a php script and I only get a few (or none) of the results. I am not where the erroneous source is at the moment - I'll post it to the list when I get there, but

RE: [PHP-WIN] file .htaccess

2001-04-20 Thread Matt Williams
> My site in on Unix server with PHP4. > I need to insert in file .htaccess in the root this command for an include > path: > > php_include_path /directory > > Why this command don't work ? I've an internal server error .. Try using for php3 php_include_path "c:/directory" for php4 php_v

Re: [PHP-WIN] dynamic pulldowns from DB

2001-04-20 Thread Tom Mathews
Depends how neat you want it to be! If you don't mind asking the user to hit a button for each selection, then treat each list as a form with its own submit button. Set the submit action to update the variable that you use for the select to create the next list down. Note that if you do this you w