php-windows Digest 12 Jul 2001 08:11:11 -0000 Issue 648

Topics (messages 8264 through 8274):

Re: large number of data in MSSQL
        8264 by: Frank M. Kromann
        8270 by: gary

Where to find a complete description of php configuration
        8265 by: Steen RAbol
        8266 by: Robin Bolton
        8267 by: Steen RAbol
        8273 by: Johan

Re: Accessing InterBase Database
        8268 by: Pascal Bruyez

Re: Where to download all the isolated .dll file of PHP 4.03pl1
        8269 by: Pascal Bruyez

Can't run PHP scripts outside DOC_ROOT ?
        8271 by: Aerial
        8272 by: elias

Solved: IIS5 and Windows 2000
        8274 by: Warwick Chapman (Budgee)

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]


----------------------------------------------------------------------



There is no limmitations in updating or inserting any column with large data. use 
INSERT INTO or UPDATE.

If you are using NCHAR, NVARCHAR, CHAR or VARCHAR with lengths > 256 you will not be 
able to select more than 256 bytes when you are using the mssql extension. This 
limitation is a limitation in Microsofts libraries and not in the PHP extension.

- Frank

> Hi. does anybody know how to update data which is over 255 character in
> MSSQL? Thanks!
> 
> 
> -- 
> 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]
> 
> 
> 







Hi Dario, Thank you. I would like to know how to use ADO in MSSQL 7.0. Can you
tell me, please?

Gary

Dario Carnelutti wrote:

> The data field must be a BLOB field (TEXT, IMAGE). You can use ADO for
> instance and the appendchunk method will allow you to this update.
>
> If you any other question, contact me, then i'll send you a example.
>
> Dario Carnelutti
> Oficina de Organización e Informática
> CONICIT
>
> ----- Original Message -----
> From: "gary" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, July 11, 2001 6:00 AM
> Subject: [PHP-WIN] large number of data in MSSQL
>
> > Hi. does anybody know how to update data which is over 255 character in
> > MSSQL? Thanks!
> >
> >
> > --
> > 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]
> >





Hi

Where can I find a complete list -with description of possible values for
configuring php.

I know that the php.ini comes with a lot of comments, but it's not complete

Thanks in advance.

Steen







in the manual: http://www.php.net/manual/en/configuration.php

> -----Original Message-----
> From: Steen RAbol [mailto:[EMAIL PROTECTED]]
> Sent: July 11, 2001 1:50 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Where to find a complete description of php
> configuration
> 
> 
> Hi
> 
> Where can I find a complete list -with description of possible values for
> configuring php.
> 
> I know that the php.ini comes with a lot of comments, but it's 
> not complete
> 
> Thanks in advance.
> 
> Steen
> 
> 
> 
> 
> -- 
> 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]
> 
> 




Sorry, but that is far from complete ;-(

eg, where is the information on session parameters ?

Steen
----- Original Message ----- 
From: "Robin Bolton" <[EMAIL PROTECTED]>
To: "Steen RAbol" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, July 11, 2001 11:18 PM
Subject: RE: [PHP-WIN] Where to find a complete description of php configuration


> in the manual: http://www.php.net/manual/en/configuration.php
> 
> > -----Original Message-----
> > From: Steen RAbol [mailto:[EMAIL PROTECTED]]
> > Sent: July 11, 2001 1:50 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-WIN] Where to find a complete description of php
> > configuration
> > 
> > 
> > Hi
> > 
> > Where can I find a complete list -with description of possible values for
> > configuring php.
> > 
> > I know that the php.ini comes with a lot of comments, but it's 
> > not complete
> > 
> > Thanks in advance.
> > 
> > Steen
> > 
> > 
> > 
> > 
> > -- 
> > 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]
> > 
> > 
> 





Hi Steen,

There isn't any complete description of all configuration commands, unless
you read the complete PHP manual (and not even then). Alot of config
commands are spread out in the manual. Some are not documented...

The documentation is, as in every opensource project, not as complete and up
to date as the code itself. But I must say that the PHP team is doing a
great job. There's not many opensource project out there in same high class
standards as PHP.

Have a nice day

/Johan







Hello Matthias ,

Could you send me the latest win32 php_interbase.dll , php4win is out !!!

Thanks very much in advance ,

Pascal
[EMAIL PROTECTED]


Matthias Endler <[EMAIL PROTECTED]> a écrit dans le message :
[EMAIL PROTECTED]
> Hi Winston,
>
> > Can anyone help me how to connect to Interbase database using PHP? I'm
> > running it in windows 98SE and OmniHTTPD webserver.
>
> make sure the php_ibase.dll is enabled in your php.ini. Should look like
> this:
>
> extension=php_ibase.dll
>
> (There's a bug in php_ibase.dll bundled with version 4.0.3 win32-binary
> distribution. You can connect but nothing else can be done.)
>
> You can get the latest win32 distro at http://www.php4win.de/.
>
> Here's a sample script:
>
> <?
> $dbh = @ibase_connect('/Programme/Borland/test/Test','SYSDBA','secret');
> if (!$dbh) die("Database connection failed!");
> $sql = "SELECT * FROM tb_test";
> $q = ibase_query($dbh,$sql);
> if (!$q) die("No results");
> while($row = ibase_fetch_object($q)) {
> print $row->DF_ID." ".$row->DF_NAME."<br>\n";
> //                ^^^^^           ^^^^^^^
> // Fieldnames should alwas be upper case!
> // That's why the example from php.net will never work.
> }
> @ibase_close($dbh);
> ?>
>
> Everything else you can find at http://www.php.net/manual/ref.ibase.php
>
> Cheers,
> Matthias
>






Hello Matthias,

The php4win is out actually ...

Could you send me the last release (if you vae it !!) of php_interbase.dll ,
i should appreciate a lot,

Thanks in advance ,

Pascal
[EMAIL PROTECTED]



Matthias Endler <[EMAIL PROTECTED]> a écrit dans le message :
[EMAIL PROTECTED]
> Yepp,
>
> get it at http://www.php4win.de/. Just download the latest binary release
> there. Here's a list of all extensions included:
>
> php_calendar.dll
> php_dbase.dll
> php_exif.dll
> php_cpdf.dll
> php_ftp.dll
> php_cybercash.dll
> php_domxml.dll
> php_fdf.dll
> php_gd.dll
> php_imap.dll
> php_oci8.dll
> php_oracle.dll
> php_pdf.dll
> php_pgsql.dll
> php_sybase_ct.dll
> php_zlib.dll
> php_ifx.dll
> php_interbase.dll
> php_dotnet.dll
> php_gettext.dll
> php_java.dll
> php_java.jar
> php_ldap.dll
> php_mssql65.dll
> php_mssql70.dll
> php_mhash.dll
> php_sablot.dll
> php_db.dll
>
> Sorry but no SWF extension.
>
> Have fun,
> Matthias
>
> --
> $ [ Where is Jimmy Hoffa?
> [: missing `]¡ä
>
> > -----Original Message-----
> > From: Edward Wong [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, October 19, 2000 7:21 AM
> > To: PHP_Windows
> > Subject: [PHP-WIN] Where to download all the isolated .dll file
> > of PHP 4.03pl1
> >
> >
> > Hi:
> >
> > I want to complete package that includes all the .dlls of PHP4,
> > but the .zip file I downloaded from php.net does not contains all.
> > For instance, I want the SWF extension, but not knowing where to
> > download it, can anyone give a hint?
> >
> > Thanks you all.
> >
> >
> >
> >                     Regards.
> >
> >             Edward Wong
> >             [EMAIL PROTECTED]
> >
> >
> > --
> > 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]
> >
> >
>






I'm running WinME + PWS 4 + PHP 4.0.6 using CGI. When I tried to run a
script outside the DOC_ROOT set in php.ini
(i.e. DOC_ROOT = c:\webroot and I'm running a script at c:\temp), an error
was shown and said the CGI program could not return the headers. I've
checked that the CGI self has no problem and that dir with CGI scripts have
set access with "execute" box checked already. Thanks a lot






Try to add a new virtual directory.

Select your C:\Temp and go to File/Properties, go to Web Sharing, and click
add, and name a virtual directory let's say: /temp
you can now access as:

http://localhost/test/yourscript.php

Best Wishes,
Elias,

"Aerial" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm running WinME + PWS 4 + PHP 4.0.6 using CGI. When I tried to run a
> script outside the DOC_ROOT set in php.ini
> (i.e. DOC_ROOT = c:\webroot and I'm running a script at c:\temp), an error
> was shown and said the CGI program could not return the headers. I've
> checked that the CGI self has no problem and that dir with CGI scripts
have
> set access with "execute" box checked already. Thanks a lot
>
>






Howdy

OK, sorted that out. The problem lay in the permissions on the 
php.ini file, after the problem with Terminal Services putting the file 
in its own special place.  

I did a phpinfo(); and saw that the php.ini file path was in fact 
c:\winnt - then check the file permissions and added read rights for 
all authenticated users. That sorted the session path out and all 
the problems with it. :) Thanks for all the suggestions.  

[EMAIL PROTECTED] - maybe now you can try 4.06?  

Thanks
Budgee


On 11 Jan 2001, at 14:42, [EMAIL PROTECTED] wrote:

> Hi,
>   Likewise, I have also had difficulty with sessions going bananas when I upgraded 
>to PHP 4.0.6 on Win98 with PWS. So I just downgraded to PHP 4.0.5 and it still works. 
>Frankly, I'm not going to worry about it and am not actively looking for a solution, 
> but if someone does find one, please share! So my suggestion to you is to download 
>4.0.5 and see if that works.
> 
> -- Original Message --
> From: "Warwick Chapman (Budgee)" <[EMAIL PROTECTED]>
> To: p:\[EMAIL PROTECTED]
> Send: 09:15 AM
> Subject: Re: [PHP-WIN] IIS5 and Windows 2000
> 
> Howdy
> 
> I think it has something with Windows 2000 being in Terminal 
> Server mode.
> 
> Dunnow?
> 
> Cheers
> Budgee
> On 11 Jul 2001, at 14:12, Phil Driscoll wrote:
> 
> > On Wednesday 11 July 2001 13:57, Warwick Chapman (Budgee) wrote:
> > > Howdy
> > >
> > > I have been running PHP and IIS5 on Windows 2000 for about a
> > > year now, and have never experienced this problem.
> > >
> > > After re-installing Windows 2000 server, I downloaded 4.06 and
> > > installed it. Used the wizard. It put my php.ini file in
> C:\Documents
> > > and Settings\Administrator - so I copied it to C:\WINNT - made no
> > > difference. Registry entry maybe?
> > I can assure you that the only way that the Installation wizard would put
> 
> > php.ini into C:\Documents would be if for some strage reason you had 
> > configured your machine so that systemroot was set to c:\Documents.
> > I guess that this is most unlikely, but not impossible. In that case, I
> 
> > suspect php would also look in that directory for the file. 
> > 
> > Cgeers
> > 
> > -- 
> > Phil Driscoll
> 
> 
> ------- End of forwarded message -------
> 
> Warwick Chapman (Glenwood 1999)
> http://www.boatrace.co.za
> Assistant IT Manager
> Glenwood High School, Durban, South Africa
> 031 2055241
> 083 7797094
> http://www.glenwoodhighschool.co.za
> 
> -- 
> 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: php-list-: [EMAIL PROTECTED]
> 
> 
> 
> ___________________________________
> DoStuff Webmail, http://www.dostuff.net
> 
> 
> 
> -- 
> 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]
> 

Warwick Chapman (Glenwood 1999)
http://www.boatrace.co.za
Assistant IT Manager
Glenwood High School, Durban, South Africa
031 2055241
083 7797094
http://www.glenwoodhighschool.co.za


Reply via email to