[PHP-WIN] Unable to load dynamic library

2002-03-29 Thread barry
Hi, I am new to php and I am trying to get it work on my w2k. After I've enabled 2 extensions, php_gettext.dll and php_imap.dll, in the php.ini, I always get the error PHP Warning: Unable to load dynamic library 'c:/php/php_gettext.dll' I am using the exe version of php. I have the following

[PHP-WIN] fwrite

2002-03-29 Thread G-no / |{iller
How would I write to a regular .txt file? Im on Windows Xp with IIS installed along with php. I wana make it so people type info into a form txtbox then the txtbox info be written to the file sn.txt. (i'm also very new to php) // What I have.. (close but not good enough) ""; $fp = fwrite($myfil

php-windows Digest 30 Mar 2002 06:01:25 -0000 Issue 1069

2002-03-29 Thread php-windows-digest-help
php-windows Digest 30 Mar 2002 06:01:25 - Issue 1069 Topics (messages 12815 through 12840): R: [PHP-WIN] server problem? 12815 by: Alberto. Sartori 12817 by: Mihail Bota Re: server problem? 12816 by: Xytras Re: ASP vs PHP 12818 by: Evan mysql_connect() do

[PHP-WIN] Passing an array into a COM function

2002-03-29 Thread Jeff Bendixsen
Hi I have an example in ASP calling a COM objectr that looks like this: ... redim vArray(1,1) vArray(0,0)="Name1" vArray(1,0)="Value1" vArray(0,1)="Name2" vArray(1,1)="Value2" res=obj.SomeFunction(vArray,arrRes,CInt(100)) ... So far the authors will only tell me that they use Variant arrays.

[PHP-WIN] RE : [PHP-WIN] mysql_connect() doesn't like "localhost" ?!

2002-03-29 Thread Firas Al-Ragom
I figured out the problem, apparently it has nothing to do with PHP or mySQL :-) hehe I had installed ZoneAlarm a while back on my workstation, and although it was deactivated it was the cause of this problem ( and many many other problems, so i'm glad that it's gone now). Sorry for the trouble e

[PHP-WIN] Nead Help With A Php Script

2002-03-29 Thread Alain Kumschick François Robert
Hello, I need a php script that checks if the there is a cookie set with the users username and if not it brings you to an other page and telling you that you are not loged in! thanks for any help alain kumschick [EMAIL PROTECTED] http://www.kumschicknw.com -- PHP Windows Mailing Li

RE: [PHP-WIN] Parse error when using Javascript & php?

2002-03-29 Thread Mike Flynn
IFrames don't use the 'value' property, so your second approach was right -- putting the content between the iframe tags. Now, do you know that IFrames are only supported by Internet Explorer and not Netscape Navigator? They are used on almost *no* sites.. so you may want to consider that be

RE: [PHP-WIN] Parse error when using Javascript & php?

2002-03-29 Thread Todd Williamsen
DOH!! Thanks ross Umm... Now I cannot get the value of $news to display in the IFRAME... I used value=", that didn't work Then I put between the tags, that didn't work either Any suggestions? -Original Message- From: Ross Fleming [mailto:[EMAIL PROTECTED]] Sent: Friday, March

[PHP-WIN] Re: Parse error when using Javascript & php?

2002-03-29 Thread Steve
Try reading your script backwardsits probably a very simple something you would not spend .02 secs on syntax error (had that exact scenario happen enough times) :) Todd Williamsen wrote: > > Parse error line 117... there is no line 117..hehe!! I am thinking that PHP > doesn't like IFrames,

Re: [PHP-WIN] Parse error when using Javascript & php?

2002-03-29 Thread Mike Flynn
Anything outside of the tags doesn't affect PHP one way or the other, as long as it doesn't contain any of the strings like etc that turn PHP parsing on and off. So I don't think the JavaScript or IFrames would affect it. -Mike At 12:31 PM 3/29/2002 -0600, Todd WIlliamsen wrote: >Parse err

[PHP-WIN] Re: ODBC Connection Problems

2002-03-29 Thread Steve
I have experimented with ODBC connections and had success so my guess is you may need to check what permissions are on the said .mdb file. Robin Bolton wrote: > > I have an Access database which I made a DSN connection to. > > As long as the .mdb file is on the same machine as my Apache Server

Re: [PHP-WIN] Re: How to Pass the Username which from Windows Log in

2002-03-29 Thread Bossanova
Actually it retrieves the userid of the server instead of the client's. - Original Message - From: "Vail, Warren" <[EMAIL PROTECTED]> To: "'J Wynia'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, March 29, 2002 9:44 AM Subject: RE: [PHP-WIN] Re: How to Pass

RE: [PHP-WIN] Parse error when using Javascript & php?

2002-03-29 Thread Ross Fleming
while ($row = mysql_fetch_array($result)) { $id = $row['id']; $news = $row['news']; echo "$news"; ?> Spot the missing closing brace } -Original Message- From: Todd WIlliamsen [mailto:[EMAIL PROTECTED]] Sent: 29 March 2002 18:31 To: [EMAIL PROTECTED] Subject: [PHP-WIN] Parse error when u

Re: [PHP-WIN] Files....

2002-03-29 Thread Todd WIlliamsen
Thanks... it works!! "Darvin Andrioli" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > $filename = "/home/sites/www.ktjconsulting.com/web/demo/cms/cms.htm"; > > $fp = @fopen("$filename", "w+") or die ("Could not open File"); > > fputs ("$EditorValue"); <

[PHP-WIN] Parse error when using Javascript & php?

2002-03-29 Thread Todd WIlliamsen
Parse error line 117... there is no line 117..hehe!! I am thinking that PHP doesn't like IFrames, or Javascript, or maybe just me? Here is the code: Untitled Document BODY {margin: 0pt; padding: 0pt; border: none} IFRAME {width: 100%; height: 100%; border: none} // Default format is

Re: [PHP-WIN] HELP: USING $_SESSION instead of session_register()

2002-03-29 Thread Bossanova
I forgot to mention that I can see the session files "sess_randomnumber" in the save.session_path file, but all those session files contain nothing (0 K). So does this tell anything at all? - Original Message - From: "Dale Heil" <[EMAIL PROTECTED]> To: "'Bossanova'" <[EMAIL PROTECTED]> S

RE: [PHP-WIN] ODBC Connection Problems

2002-03-29 Thread Svensson, B.A.T. (HKG)
Maybe these snips could give you an hint about whats going around: [snip 1]-- BUG: S1000 Error When Sharing Connection in Multiple Threads (Q175313) The information in this article applies to: Microsoft ODBC Drive

[PHP-WIN] Re: [win-apache]: using $_SESSION

2002-03-29 Thread Bossanova
John,   I'm actually facing the same problem with yours and whatever I tried doesn't seem to work now, that's why I'm still searching for the answer and waiting for anybody to give me pointers here.       - Original Message - From: John Mpaliza To: [EMAIL PROTECTED] S

RE: [PHP-WIN] Re: How to Pass the Username which from Windows Login

2002-03-29 Thread Vail, Warren
Does this retrieve the userid of the machine where the web server is running, or does it retrieve the userid of the machine where the browser is running? Warren Vail Tools, Metrics & Quality Processes (415) 667-7814 Pager (877) 774-9891 215 Fremont 02-658 -Original Message- From: J Wyn

Re: [PHP-WIN] HELP: USING $_SESSION instead of session_register()

2002-03-29 Thread Bossanova
I've tried your suggestion, and I didn't see anything but a blank page here, although I see the session ID is passed automatically using PHPSESSID (URL below). Is there something in php.ini that I have to modify to get this to work? BTW, I'm running Apache 1.3.23 on Windows 2000 if that would make

[PHP-WIN] Re: How to Pass the Username which from Windows Login

2002-03-29 Thread J Wynia
$network = new COM("WScript.Network"); $computername = $network->ComputerName; $username = $network->UserName; Password can't be grabbed for fairly obvious reasons. "Jack" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Dear all > I want to prevent user to mak

[PHP-WIN] R: [PHP-WIN] Files....

2002-03-29 Thread Darvin Andrioli
> $filename = "/home/sites/www.ktjconsulting.com/web/demo/cms/cms.htm"; > $fp = @fopen("$filename", "w+") or die ("Could not open File"); > fputs ("$EditorValue"); < LINE 4 ^ Is it an error in your e-mail, or really you have that code? The statement should be "fputs(

[PHP-WIN] Files....

2002-03-29 Thread Todd WIlliamsen
Ok I made a content management intereface and I am trying to get it to open write the contents then close the file, but I keep getting this error: Warning: Wrong parameter count for fputs() in /home/sites/site9/web/demo/cms/savenews.php on line 4 here is the code: $EditorValue is the value of

[PHP-WIN] COM/excel/graphs

2002-03-29 Thread [EMAIL PROTECTED]
hello, I'm trying to draw some graphs using COM objects, but it seems I can't set any property.. here's my script snip: $ex = new COM("Excel.sheet") or Die ("No COM"); print("Application name: {$ex->Application->value}"); print("Loaded version: {$ex->Application->version}"); $wkb =

[PHP-WIN] mysql_connect() doesn't like "localhost" ?!

2002-03-29 Thread Firas Al-Ragom
Hi everyone, I've just installed Apache 1.3.24 and PHP 4.1.2 ( as a module ) and mySQL 3.23.49 on a Windows 2000 workstation. I didn't encounter any problems with the install, but for some strange reason whenever I use any scripts with mysql_connect("localhost", "user", "password") I get Warning:

[PHP-WIN] Re: ASP vs PHP

2002-03-29 Thread Evan
Hope this will help you: 1) Macromedia Ultradev + PHAkt extension (www.macromedia.com) $$ 2) www.phpide.de 3) www.phpedit.com 4) http://dd.cron.ru/dbg (debugger) Evan "Ciro Martins" <[EMAIL PROTECTED]> ha scritto nel messaggio [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hi! > > > I've be

Re: [PHP-WIN] R: [PHP-WIN] server problem?

2002-03-29 Thread Mihail Bota
yes. I was navigating through the datbase and suddenly it retrieved that kind of error. code: queries from a mysql database. If mysql would not work, I'd get an mysql error. instead, is behaving as if the php.exe does not find the pages, even though the pages are there. I have a couple of folders

Re: [PHP-WIN] server problem?

2002-03-29 Thread Xytras
well. it looks like you are running PHP as a cgi you should switch to PHP as a service, maybe it would work faster and better and you won't get that CGi error Xytras - Original Message - From: "Mihail Bota" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 29, 2002 2:20 AM

[PHP-WIN] R: [PHP-WIN] server problem?

2002-03-29 Thread Alberto. Sartori
Your user got the correct permissions on the php's folder? It should be a premissions problem...however, what kind of code did you run? -Messaggio originale- Da: Mihail Bota [mailto:[EMAIL PROTECTED]] Inviato: venerdì 29 marzo 2002 10.21 A: [EMAIL PROTECTED] Oggetto: [PHP-WIN] server pro

php-windows Digest 29 Mar 2002 09:21:48 -0000 Issue 1068

2002-03-29 Thread php-windows-digest-help
php-windows Digest 29 Mar 2002 09:21:48 - Issue 1068 Topics (messages 12807 through 12814): NT User info using COM...ASP getObject() alternative 12807 by: Shrock, Court 12809 by: J Wynia Re: USING $_SESSION instead of session_register() 12808 by: Bossanova 1

[PHP-WIN] server problem?

2002-03-29 Thread Mihail Bota
Dear all, I was navigating through my database remotely and suddenly the php stopped to answer. The error I continously get is: CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: Any other kinds of pages or files (h