[PHP-WIN] mysql_fetch_array() doesn't work

2001-09-26 Thread Web user
System: PHP4.06 + Mysql3.23.41 Win32 + Apache 1.3.20 Win32 + Win98 When PHP is running at the line: $arr=mysql_fetch_array($res); The IE always show info as below: "Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in c:\program files\apache group\apache\htdocs\web\

[PHP-WIN] Using COM

2001-09-26 Thread David
Hi, I would like to use the MS ADSI object to play around with IIS functions on Win2k, but I can't seem to get the COM class start up. $adsi = new COM(server.object) I can't figure out what the should be. Does anyone know? Thanks David -- PHP Windows Mailing List (http://www.php.net/) To u

Re: [PHP-WIN] Answer PHP Language

2001-09-26 Thread Chen Wei, Lian
Hi , er... what kind of information you need? can be more specific? anyway, if u r familar with any other programming languages, can try the tutorial here: http://www.cw213.net/tutorial.php?id=php and php manual here: http://www.php.net/docs.php we can't help if u dun ask... :) -- regards, ch

Re: [PHP-WIN] How can I get the web root in IIS+PHP?

2001-09-26 Thread Chen Wei, Lian
Hi yanshuldg, maybe u can use HTTP_ENV_VARS["PATH_TRANSLATED"] and cut out those you dun need... -- regards, chen wei (http://www.cw213.net) === Solutions Developer of Earth9.com === Thursday, September 27, 2001, 9:17:22 AM, you

[PHP-WIN] Answer PHP Language

2001-09-26 Thread
Please I am a Brazilian user for PHP language but I necessary more information on PHP for Windows Please Help -- 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 administr

[PHP-WIN] How can I get the web root in IIS+PHP?

2001-09-26 Thread yanshuldg
Hi,everyone: In Apache+PHP,I can use $HTTP_SERVER_VARS["DOCUMENT_ROOT"] to get the web root directory, but how can I get it in IIS+PHP? - ÎÒµÄÐÕÃû¡¢ÎÒµÄÓÊÏä http://name.etang.com/ ÒÚÌÆ¶ÌÐÅ£¬ÄúÌùÉíµÄʱÉйËÎÊ http://sms.etang.com °×׬200Ô

Re: [PHP-WIN] Well, I've got it running

2001-09-26 Thread Alain Samoun
Ah, I forgot: for ODBC installation see: http://www.asptoday.com/content/articles/2202.asp?WROXEMPTOKEN=1377499ZgnSyNTpG7QsxuUHUTf Alain On Wed, Sep 26, 2001 at 09:51:55PM +0100, Phil Driscoll wrote: > I know < 0 about ODBC, but it would be interesting to see if the same code > caused an er

Re: [PHP-WIN] Well, I've got it running

2001-09-26 Thread Alain Samoun
Phil, John: Did you ever try ADODB? http://php.weblogs.com/ADODB Alain On Wed, Sep 26, 2001 at 09:51:55PM +0100, Phil Driscoll wrote: > I know < 0 about ODBC, but it would be interesting to see if the same code > caused an error when running with PHP as a CGI (or at least it may yeild more > cl

[PHP-WIN] GD in PHP with Win 2000 Profressional

2001-09-26 Thread Marcelo Busana
I'm not get install the GD in PHP 4.06 with Win 2000 Pro (IIS 5), always happens the error "Unabled load the lib... C:\PHP\php_gd.dll" Somebody already it passed for this, as obtained to leave? It forgives me for the English... - Marcelo Busana WebDeveloper UNIDAVI --

RE: [PHP-WIN] Well, I've got it running

2001-09-26 Thread Asendorf, John
What's REALLY weird is that ALL of my calls are OCI calls! Maybe those calls rely on ODBC when run through Apache or something... I dunno... > > I know < 0 about ODBC, but it would be interesting to see if > the same code > caused an error when running with PHP as a CGI (or at least > it ma

php-windows Digest 26 Sep 2001 20:44:04 -0000 Issue 775

2001-09-26 Thread php-windows-digest-help
php-windows Digest 26 Sep 2001 20:44:04 - Issue 775 Topics (messages 9541 through 9559): Re: &$this? 9541 by: _lallous 9543 by: Chen Wei, Lian 9554 by: Ming-Chieh Lee redirect -- pls help! 9542 by: Stanley 9544 by: Chen Wei, Lian 9551 by: Jus

[PHP-WIN] Re: Trouble with Xitami+PHP+Win

2001-09-26 Thread Arron Edwards
Where did you install php? and did you use the installer? and what OS? "Lluís De Yzaguirre" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm trying to configure PHP for working with Xitami; after installing > without troubles, I tryed a dummy script and recei

Re: [PHP-WIN] Well, I've got it running

2001-09-26 Thread Phil Driscoll
I know < 0 about ODBC, but it would be interesting to see if the same code caused an error when running with PHP as a CGI (or at least it may yeild more clues). Is there anyone on the list into ODBC who can help out here? -- Phil Driscoll -- PHP Windows Mailing List (http://www.php.net/) To

[PHP-WIN] Security Question

2001-09-26 Thread A.J. Ostman
Running PHP in Apache using the MODULE configuration. Apache/1.3.14 (Win32) PHP/4.0.6 mod_ssl/2.7.2 OpenSSL/0.9.6 running. With the following: php_admin_flag safe_mode on php_admin_value open_basedir c:/pr php_admin_value doc_root c:/pr php_admin_value user_dir c:/pr IT SUCCESSFULLY blocks r

RE: [PHP-WIN] Well, I've got it running

2001-09-26 Thread Asendorf, John
Well, I'm getting these two messages in the Event Log: ODBC The description for Event ID ( 0 ) in Source ( ODBC ) could not be found. It contains the following insertion string(s): Error in d:\mdac25\odbc\core\dm\perf.c(296), The system cannot find the file specified. : Failed to query HKEY_LOCAL

Re: [PHP-WIN] Well, I've got it running

2001-09-26 Thread Phil Driscoll
On Wednesday 26 September 2001 5:52 pm, Asendorf, John wrote: > Yes, it is purely an Apache exception... I don't suppose you can isolate the problem down to a single line of script can you? -- Phil Driscoll -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTE

php-windows@lists.php.net

2001-09-26 Thread Ming-Chieh Lee
Hello all, Thanks for the input. Chen Wei, thanks for clarifying my question. So why do we need to make a reference out of a variable that already contains a reference? I Thanks for any input! "Chen Wei" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi _la

RE: [PHP-WIN] Well, I've got it running

2001-09-26 Thread Asendorf, John
Yes, it is purely an Apache exception... - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae fuit > -Original Message- >

Re: [PHP-WIN] [Fwd: IIS Installation]

2001-09-26 Thread Mark
On Wed, 26 Sep 2001 09:48:36 +0200, Jason Bourne wrote: >George, > >I do not think so, as application become platform indipendant there >is no >need to keep it running on ms. Then you can choose for an cheaper >stable >platform. > >Regards, on a related note, how many more viruses must it help sp

Re: [PHP-WIN] redirect -- pls help!

2001-09-26 Thread Justin Blake
> header ("Location: http://www.cw213.net/";); > > make sure u run this b4 any output to the browser. You should also add "exit;" after the statement so the script does not keep running. ... I think. Justin -- http://blaix.org -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe,

[PHP-WIN] Trouble with Xitami+PHP+Win

2001-09-26 Thread Lluís de Yzaguirre
I'm trying to configure PHP for working with Xitami; after installing without troubles, I tryed a dummy script and received following answer: Fatal error: Unable to open c:\aplic\xitami\webpages\php\ in Unknown on line 0 Can anyone or anyone help me? Thanks -- PHP Windows Mailing List (http:

Re: [PHP-WIN] php4 and interbase

2001-09-26 Thread Sebastián
yes, interbase server is runing on my machine ... and the required dll's (dg32 or something) are present too ... "Chen Wei" <[EMAIL PROTECTED]> escribió en el mensaje [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi Sebastián, > > Do you have the Interbase drivers installed in the computer? I

Re: [PHP-WIN] Well, I've got it running

2001-09-26 Thread Phil Driscoll
On Wednesday 26 September 2001 1:47 pm, Asendorf, John wrote: > Well I finally have PHP running on both Apache AND IIS on the same web > machine. But I keep getting some access violations. Was this something we > saw about 4.0.7? I saw a lot of traffic on Apache and and 4.0.7 but never > read i

[PHP-WIN] Well, I've got it running

2001-09-26 Thread Asendorf, John
Well I finally have PHP running on both Apache AND IIS on the same web machine. But I keep getting some access violations. Was this something we saw about 4.0.7? I saw a lot of traffic on Apache and and 4.0.7 but never read it because I was using IIS. Anyone? Thanks in advance, John ---

Re: [PHP-WIN] windows & .htaccess

2001-09-26 Thread Augusto Cesar Castoldi
Put this "code" on httpd.conf: -- AllowOverride FileInfo AuthConfig Limit Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec Order allow,deny Allow from all Order deny,allow Deny from al

[PHP-WIN] windows & .htaccess

2001-09-26 Thread php ci
hi, my web server is apache on windows. i want to ask the configuration of .htacess files. thx __ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. http://im.yahoo.com -- PHP Windows Mailing List (http:/

Re: [PHP-WIN] redirect -- pls help!

2001-09-26 Thread Chen Wei, Lian
Hi Stanley, it should be something like this: header ("Location: http://www.cw213.net/";); make sure u run this b4 any output to the browser. -- regards, chen wei (http://www.cw213.net) === Solutions Developer of Earth9.com ===

php-windows@lists.php.net

2001-09-26 Thread Chen Wei, Lian
Hi _lallous, yes, but I think he knew this already. the question is that since $this itself is a reference to the object, why inside the class still need to assign the address of $this to $globalref[]? -- regards, chen wei (http://www.cw213.net) === Solutions De

[PHP-WIN] redirect -- pls help!

2001-09-26 Thread Stanley
Hi all, How can i redirect URL under win2k? e.g: if (user == 1) { redirect to www.yahoo.com } else { redirect to www.google.com } Pls help thx! Stanley -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

php-windows@lists.php.net

2001-09-26 Thread _lallous
&$varname menas to take the address of the variable, example: $a = "Hello world!"; $b = &$a; $b = "Hi! this is var B"; echo $a; // output will be: Hi! this is var B "Ming-Chieh Lee" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > does anyone know what does &

php-windows Digest 26 Sep 2001 07:58:33 -0000 Issue 774

2001-09-26 Thread php-windows-digest-help
php-windows Digest 26 Sep 2001 07:58:33 - Issue 774 Topics (messages 9523 through 9540): Re: How to use REST FTP command 9523 by: Tomas Vasek php4 and interbase 9524 by: Sebastián 9531 by: Chen Wei, Lian Re: IIS Installation] 9525 by: Jason Bourne 9

[PHP-WIN] Image upload on IIS

2001-09-26 Thread Josh Seward
I am getting a promition denied error when trying to uplaod a file. To my understanding the image should upload when the submit button in pressed. I have nothing in my temp dir? If I upload from a shared folder though I get no errors and the copy function returns true even though no files are b

Re: [PHP-WIN] [Fwd: IIS Installation]

2001-09-26 Thread Jason Bourne
George, I do not think so, as application become platform indipendant there is no need to keep it running on ms. Then you can choose for an cheaper stable platform. Regards, Jason "George Pitcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Alternately,

[PHP-WIN] Re: dbase and PHP

2001-09-26 Thread Jason Bourne
Darius, Looking at the results i think this is the first record you put in your db. everytime you put an other record in your db you ask for your first record to display. Tray to get the last record or first empty your table before running this script. Regards, Jason "Darius Burlega" <[EMAIL PR

Fw: [PHP-WIN] [Fwd: IIS Installation]

2001-09-26 Thread Pitcher, George
Alternately, it would be useful for those who have no choice but to work on MS OS machines, to be helped in overcoming their problems. In one sense, making PHP cross-platform takes away one of the motives to change to Linux/Unix/Mac. Speaking as one who has NT boxes with IIS and Apache as well a

[PHP-WIN] Re: Problems setting up a DSN

2001-09-26 Thread Jason Bourne
Daniel, Do also check if your odbc driver is compatible with your ms access version!! regards, Jason "Daniel Parsons" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > I'm running PHP 4.0 on WinNT 4 with IIS and attempting to use an Access > 2000 databas