Re: [PHP-WIN] Sheduler help

2001-10-25 Thread Andrian Pervazov
Priya Chanu wrote: > > Hello Everyone, > > I want to schedule a php script on Windows 2000 > Server, i tried to schedule the script using the > windows 200o scheduler but it ask for the program to > execute. > > Can anyone help me how to schedule my php script in > Windows 2000 Server. > >

Re: [PHP-WIN] How can I retrieve a users Windows logon name?

2001-09-17 Thread Andrian Pervazov
If I run phpinfo() on a server where the files are password protected (basic authentication from IIS), I get 4 different entries, all of which contain the logon domain and name: AUTH_USER LOGON_USER REMOTE_USER UNMAPPED_REMOTE_USER Isn't this the thing you are looking for? Server: Win 2000, PH

Re: [PHP-WIN] inserting into MS SQL database- query failed

2001-08-29 Thread Andrian Pervazov
Try using single quotes for the columns in your query: $SQL = " INSERT INTO $table_name (f_name, l_name, username, password) VALUES ('$f_name', '$l_name', '$username', '$password') "; SQL SERVER doesn't accept double quotes - I wonder how you were able to run the query in Query Analyzer

Re: [PHP-WIN] PHP installation with Windows 2000 Professional

2001-08-08 Thread Andrian Pervazov
By default, Win 2000 Professional doesn't have IIS installed. You have to install Internet Services (it's on the Win 2000 CD) and then you'll have IIS where you can configure PHP. Andrian Benjamin Sims wrote: > > Could anyone please help me with this problem? I am trying to install > PHP and My

Re: [PHP-WIN] Slow MSSQL access when using TCP/IP

2001-07-25 Thread Andrian Pervazov
Does it really feel as slower? In principle, TCP should be even faster than named pipes. Could the problem be somewhere? My expreience shows that microtime() doesn't work predictable on Windows. The sec and microsec part of its output are out of sync. Very often you can get a negative value when t

Re: [PHP-WIN] Newbie:Backend scripts

2001-07-06 Thread Andrian Pervazov
You can also schedule a job in SQL Server itself and run it every 2 hours or as needed Andrian Mike Kelley wrote: > > Another option is the "at" command > > I don't remember the syntax but from a command window just type in > at help > or > at /? > or > at ? > One of those should get you the h

Re: [PHP-WIN] inserting quotes into a database...

2001-05-03 Thread Andrian Pervazov
Turn on the magic_quotes_sybase setting in your php.ini file. Or, if you prefer to do it manually, replace all single quotes in the fields with two consecutive single quotes. Andrian Kelvin Luck wrote: > > Hi, > I am having trouble inserting single quotes into an mssql database... my > queries

Re: [PHP-WIN] Long Execution Time

2001-04-26 Thread Andrian Pervazov
akm wrote: > > Hi, just intalled PHP4 on Win2K IIS 5.0, and simple PHP forms are taking > *WAY* too long to process, often exceeding the default 30 second > timeout. Am I missing something? Doesn't seem like these little forms > should be causing so much trouble... My experience is that this beh

Re: [PHP-WIN] Authorization on IIS5 (PHP4; Win2k)

2001-04-23 Thread Andrian Pervazov
If anonymous access is disabled from IIS, the PHP variables AUTH_PASSWORD and AUTH_USER will give you the username/password of the current user, but I'm not sure how exactly you can check the group membership of a particular user. Andrian Joel Gilbert wrote: > > Hi, > I'm trying to set up user-

[PHP-WIN] MSSQL varchar fields truncation revisited

2001-04-18 Thread Andrian Pervazov
I'm still using 3.0.16 and when you have to display a varchar field in a MSSQL table everything over 255 characters gets truncated (this affects only selects, not inserts). I know that a workaround would be to transform the fieldtype from varchar to text, but this isn't very practical in the parti

Re: [PHP-WIN] Help Needed on MSSQL

2001-03-15 Thread Andrian Pervazov
That's right, you need to have SQL Server or its client installed on the machine that runs PHP. At least, you should have NTWDBLIB.DLL in your system folder (this DLL is otherwise installed by SQL Server). Andrian Fernando Madruga wrote: > > I have no experience on MSSQL, but it looks like you

Re: [PHP-WIN] Win2k & php

2001-03-01 Thread Andrian Pervazov
You can also setup your websites with the IIS that comes with Winows 2000. Go to Control Panel, Administrative Tools. Internet Services Manager. You can change the directory for the default website, set up new websites, configure them etc. - it might do the job you need. Andrian Andreas Lange wr

Re: [PHP-WIN] Connecting to access or SQL server

2001-03-01 Thread Andrian Pervazov
I believe connecting to SQL Server directly is better. Access cannot handle well concurrent users. Using the native SQL Server functions instead of ODBC should be (at least theoretically) faster as well. Andrian Martin Rokicki wrote: > > Hi All, > I've got PHP running on an NT box with

Re: [PHP-WIN] MS SQL Question

2001-02-07 Thread Andrian Pervazov
name or alias name > used in the query. > > Anyone have any ideas. > > Ryan > > -- > 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 adminis

Re: [PHP-WIN] Converting apostrophes for insertion into Oracle

2001-02-05 Thread Andrian Pervazov
For SQLServer and Oracle, the single quote is escaped by simply repeating it. You can dio it by hand, but I believe this is what the sybase magic quotes directive does as well. Andrian Christopher Derr wrote: > > I'm working on this same issue with my, don't laugh, Access 97 backend. When > us