php-windows Digest 14 Mar 2002 10:55:05 -0000 Issue 1046

Topics (messages 12616 through 12628):

Windows build problem for 4.1.2
        12616 by: William Lee

parse error
        12617 by: ChaoticWorks.cs.com

Re: Mssql trusted connections ?
        12618 by: Kearns, Terry

Re:[PHP-WIN] parse error
        12619 by: ChaoticWorks.cs.com
        12621 by: alain samoun

PHP 4.1.2
        12620 by: alain samoun

Re: PHPTriad 2.11 (MySQL) connect problem.
        12622 by: Vail, Warren

Include ()
        12623 by: ChaoticWorks.cs.com

Error::
        12624 by: KONUS
        12625 by: Brother Bagge
        12628 by: KONUS

Blank Window - Apache and BadBlue. PHP 4.1.1 WinME
        12626 by: Andy Seabrook

session_unregister and _destroy ??
        12627 by: Sviss Cobazor

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
I recently downloaded the php src version 4.1.2 and it seems like 
there's a build conflict for the file output.c when I try to build it 
with MSVC++ 6.  The file with the same name exist in both the 
<package>\main\output.c and <package>\ext\bcmath\libbcmath\output.c. 
VC++ can not proceed unless the two filenames are different.  Is this a 
known issue and are people going to fix this in the next release?

-- 
William Lee (Will)        | Sendmail Inc.
Email:  [EMAIL PROTECTED] | http://www.sendmail.com
Tel:    (510) 594-5505    |

--- End Message ---
--- Begin Message ---
how come whenever i run this code i get a error that says

 "Warning: Unexpected character in input: '\' (ASCII=92) state=1 in 
c:\phpdev\www\public\notch\bioupdate.php on line 28

Parse error: parse error in c:\phpdev\www\public\notch\bioupdate.php on line 
28"


<?php
$fp = fopen("./notch/" . $notch_member . ".txt", "r+");
if (!fp) die ("Cannot open file for writing. Please contact me.");
fwrite($fp, $notch_member . $bio);  
?>
--- End Message ---
--- Begin Message ---
I suspect you are right. I don't really want to give the user that IIS runs
as full access to my database. But then again, If I needed security, I'd run
PHP on Unix ;D it's just that this is for use at work... Yadda yadda
yadda...


[TK] 

> -----Original Message-----
> From: Paco Ortiz [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, 13 March 2002 11:12 PM
> To: Kearns, Terry; [EMAIL PROTECTED]
> Subject: Re: [PHP-WIN] FW: Mssql trusted connections ?
> 
> 
> Hi,
> 
> >How does one use trusted connections with mssql_connect()?
> 
> mmm.... it seems it's not currently implemented in php_mssql.
> 
> anyway, in order to use it you would need that your webserver 
> service runs under a WinNT acount trusted by the SQL server. 
> ¿can you afford that? (or maybe you need it under PHP.EXE CLI 
> mode, anyway the same applies).
> 
> What you propose can be put into php_mssql (just using 
> DBSETLSECURE from the DB-lib API), 
> but maybe you need to propose it first to the module 
> maintainer, Frank Kromman (frank_at_frontbase_dot_com)
> 
> I recommend you to use plain simple SQL Server logins, it should 
> be enough for everyone.
> 
> Greetings,
> 
> F.J.Ortiz
> 
> 3/12/02 3:05:38 AM, "Kearns, Terry" <[EMAIL PROTECTED]> 
> escribió:
> 
> >How does one use trusted connections with mssql_connect()?
> >
> >Also, the manual says something about an "interfaces" file.
> >Where do I find this? Where is this interfaces file documented?
> >
> >--
> >PHP Windows Mailing List (http://www.php.net/)
> >To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> 
> ___________________________________
> Francisco Javier Ortiz Torre
> ComuNET,S.A.
> mailto:[EMAIL PROTECTED]
> 
> ComuNET, S.A
> Gral. Concha 39,6º
> 48012 Bilbao España
> Tel: +34 944 700 101 
> Fax: +34 944 700 185 
> http://www.comunet.es
> ___________________________________
> 
> 
--- End Message ---
--- Begin Message ---
i fixed that....i feel stupid for missing that....but i still get the error 
even after i fixed that



In a message dated 3/13/2002 9:01:59 PM Central Standard Time, 
[EMAIL PROTECTED] writes:


> I suppose that line 28 is:
> 
> if (!fp) die ("Cannot open file for writing. Please contact me.");
>     |___ You forgot the $ char for $fp
> 
> A+
> Alain
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 13, 2002 5:53 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] parse error
> 
> 
> how come whenever i run this code i get a error that says
> 
> "Warning: Unexpected character in input: '\' (ASCII=92) state=1 in
> c:\phpdev\www\public\notch\bioupdate.php on line 28
> 
> Parse error: parse error in c:\phpdev\www\public\notch\bioupdate.php on line
> 28"
> 
> 
> <?php
> $fp = fopen("./notch/" . $notch_member . ".txt", "r+");
> if (!fp) die ("Cannot open file for writing. Please contact me.");
> fwrite($fp, $notch_member . $bio);
> ?>

--- End Message ---
--- Begin Message ---
Since we don't know what are: $notch_member and $bio, you should print them,
that maybe it! ;)
A+
Alain


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 13, 2002 7:08 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re:[PHP-WIN] parse error


i fixed that....i feel stupid for missing that....but i still get the error
even after i fixed that



In a message dated 3/13/2002 9:01:59 PM Central Standard Time,
[EMAIL PROTECTED] writes:


> I suppose that line 28 is:
>
> if (!fp) die ("Cannot open file for writing. Please contact me.");
>     |___ You forgot the $ char for $fp
>
> A+
> Alain
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 13, 2002 5:53 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] parse error
>
>
> how come whenever i run this code i get a error that says
>
> "Warning: Unexpected character in input: '\' (ASCII=92) state=1 in
> c:\phpdev\www\public\notch\bioupdate.php on line 28
>
> Parse error: parse error in c:\phpdev\www\public\notch\bioupdate.php on
line
> 28"
>
>
> <?php
> $fp = fopen("./notch/" . $notch_member . ".txt", "r+");
> if (!fp) die ("Cannot open file for writing. Please contact me.");
> fwrite($fp, $notch_member . $bio);
> ?>


--- End Message ---
--- Begin Message ---
Daniel Beulshausen did it again!
You can find the latest version with tons of Extensions at:
http://www.php4win.com/downloads/downloads.php?item=cGhwNC4xLjIuZXhl

Thanks Daniel!
A+
Alain

2002-03-13
 php4.1.2.exe
 SAPI:
php4aolserver.so, php4apache-eapi.dll, php4apache.dll, php4isapi.dll,
php4nsapi.dll, php4pi3web.dll, phpsrvlt.dll

Extensions:
php_bz2.dll, php_cpdf.dll, php_ctype.dll, php_curl.dll, php_cybercash.dll,
php_db.dll, php_dba.dll, php_dbase.dll, php_dbx.dll, php_domxml.dll,
php_exif.dll, php_fbsql.dll, php_fdf.dll, php_filepro.dll, php_gd.dll,
php_gd2.dll, php_gd_gif.dll, php_gettext.dll, php_hyperwave.dll,
php_iconv.dll, php_ifx.dll, php_iisfunc.dll, php_imap.dll, php_ingres.dll,
php_interbase.dll, php_ixsfunc.dll, php_java.dll, php_ldap.dll,
php_mbstring.dll, php_mcrypt.dll, php_mhash.dll, php_ming.dll, php_msql.dll,
php_mssql.dll, php_notes.dll, php_oci8.dll, php_openssl.dll, php_oracle.dll,
php_pdf.dll, php_pear.dll, php_pgsql.dll, php_printer.dll, php_shmop.dll,
php_snmp.dll, php_sockets.dll, php_sybase_ct.dll, php_xslt.dll, php_yaz.dll,
php_zlib.dll

--- End Message ---
--- Begin Message ---
Ran into a similar problem under Windows NT.  I can think of several
possible causes, 1.) the MySQL server is not started, or 2), as was in my
case, the MySQL server came up as a service and not as a Standalone server,
which means the localhost connects didn't work (I think).  I use
WinMySQLadmin as a controller for the DB Server and placed a shortcut to
that application in my startup directory.  By default it seemed to start
things as a Service, but if I shut down the service, and restarted the
server as Standalone, the admin tool seemed to remember to activate things
standalone on the next reboot.

good luck,

Warren Vail
Tools, Metrics & Quality Processes
(415) 667-7814
Pager (877) 774-9891
215 Fremont 02-658


-----Original Message-----
From: Peter Ruan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 13, 2002 2:33 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] PHPTriad 2.11 (MySQL) connect problem.


Hi,
  I have installed PHPTriad 2.1.1 under Windows XP.  When I run
phpmyAdmin I got this error.

Warning: MySQL Connection Failed: Can't connect to MySQL server on
'localhost' (10061) in C:\apache\htdocs\phpmyadmin\lib.inc.php on line
255
Error


It used to work under Win2K.  What's the work around?

Thanks,
Peter



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
When i use the Include() command for a text file it always puts a slash, / , 
in front of any qotations in the text file. anyone know why? my example is 
http://www.notchmetal.com/bio/

thanks

     -Sean-
--- End Message ---
--- Begin Message ---
Iam sorry i send mySQL error to this mailing list wich not a mySQL mailinglist.

I need help A.S.A.P

Here are the error:
Iam curenttly using apache 1.3.14 and having trouble starting mySQL, when i tried to 
execute phpMyAdmin this error comes up:

Warning: MySQL Connection Failed: Can't connect to MySQL server on 'localhost' (10061) 
in C:\apache\htdocs\phpmyadmin\lib.inc.php on line 255
Error 


Same thing on prompt.
C:\mysql\bin>mysql
ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)

Iam using Win2K Professional.

What's going on??
Help...

Thanks.

--- End Message ---
--- Begin Message ---
> -----Original Message-----
> From: KONUS [mailto:[EMAIL PROTECTED]] 
> 
> Warning: MySQL Connection Failed: Can't connect to MySQL 
> server on 'localhost' (10061) in 
> C:\apache\htdocs\phpmyadmin\lib.inc.php on line 255
> Error 
> Iam using Win2K Professional.
> 
> What's going on??


You haven't switched your mysql server on.

c:\mysql\bin\mysqld.exe -install
(c:\mysql\bin\mysqld.exe -standalone <- this one will start it without
running it as a service, you have to start it every time you want to use it,
can be nice to know)

After installing it as a service you will be able to start and stop the
server via NET START/STOP mysql from run.

/brother
--- End Message ---
--- Begin Message ---
i did starting the mySQL server, nut it wont start (not a little bit ^^;).
After several time tring to figure it out the problem, such as tring to
reinstall the program. But the error massage is still the same.

Mybe i must re-FORMAT my HD (damn!!)


----- Original Message -----
From: "Brother Bagge" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 14, 2002 3:46 PM
Subject: RE: [PHP-WIN] Error::


> > -----Original Message-----
> > From: KONUS [mailto:[EMAIL PROTECTED]]
> >
> > Warning: MySQL Connection Failed: Can't connect to MySQL
> > server on 'localhost' (10061) in
> > C:\apache\htdocs\phpmyadmin\lib.inc.php on line 255
> > Error
> > Iam using Win2K Professional.
> >
> > What's going on??
>
>
> You haven't switched your mysql server on.
>
> c:\mysql\bin\mysqld.exe -install
> (c:\mysql\bin\mysqld.exe -standalone <- this one will start it without
> running it as a service, you have to start it every time you want to use
it,
> can be nice to know)
>
> After installing it as a service you will be able to start and stop the
> server via NET START/STOP mysql from run.
>
> /brother
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---
--- Begin Message ---
Can anybody help! trying to setup SAPI module on apache 1.3, also tried cgi
on bad blue, niether seem to be passing php, OS is ME.


--- End Message ---
--- Begin Message ---
Hello NG.

I'm trying to clear some session variables and destroy the session but it
doesn't work. Any suggestions?

My code is simple:

session_unregister('var1');
session_unregister('var2');
session_unregister('var3');
session_unregister('var3');
session_unregister('var4');
session_unregister('var5');
session_destroy();

Note: I'm using Win98/PHP 4.1.1/Apache. Session-auto-start is turned on.

~ Sviss


--- End Message ---

Reply via email to