[PHP-WIN] round corners on jpeg with GD2

2004-04-06 Thread Achilles Maroulis
Hi.. Does anyone have or know where I can find a script that makes a picture's corners rounded? I suppose it can be made by GD2. Thanx -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-windows Digest 6 Apr 2004 19:07:25 -0000 Issue 2197

2004-04-06 Thread php-windows-digest-help
php-windows Digest 6 Apr 2004 19:07:25 - Issue 2197 Topics (messages 23369 through 23386): Re: Using PHP on Server 2003... 23369 by: David Elliott 23380 by: Jason Boomer 23382 by: Svensson, B.A.T. (HKG) Re: ODBC or MS SQL DLL? WAS: Using PHP on Server 2003...

[PHP-WIN] Re: $_FILES array returns undefined index

2004-04-06 Thread DvDmanDT
Maybe you forgot the enctype="multipart/form-data" in the tag? -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Ron Herhuth" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] I'm trying to do a file upload using PHP. I am using this form element on th first page:

RE: [PHP-WIN] Re: ODBC or MS SQL DLL? WAS: Using PHP on Server 2 003...

2004-04-06 Thread Robert Twitty
On 6 Apr 2004, Svensson, B.A.T. (HKG) wrote: > Maybe, but I still need to add code, and that means more code to > maintain, more code to execute, more loopholes for bug, etc. > That's precisely why odbtp is better. You don't have to perform loopholes like those suggested by David to accomodate for

[PHP-WIN] $_FILES array returns undefined index

2004-04-06 Thread Ron.Herhuth
I'm trying to do a file upload using PHP. I am using this form element on th first page: On the second page I'm attempting to access the file name to figure out how to access it using this code: echo $_FILES['userfile']['name']; I get an undefined index userfile...error What am I doing/not do

RE: [PHP-WIN] Using PHP on Server 2003...

2004-04-06 Thread Svensson, B.A.T. (HKG)
I don't think it should be needed (I did it by experimenting and reading the manuals when I set up PHP and IIS6.0) but if you uses php as a cgi you might need the DLL as an executable with in IIS as well. But as I said, I am not to sure about this... On Tue, 2004-04-06 at 17:09, Jason Boomer wrote

RE: [PHP-WIN] Re: ODBC or MS SQL DLL? WAS: Using PHP on Server 2 003...

2004-04-06 Thread Svensson, B.A.T. (HKG)
Maybe, but I still need to add code, and that means more code to maintain, more code to execute, more loopholes for bug, etc. In any case, the problem was easy solved by the suggestion David gave. On Tue, 2004-04-06 at 16:50, Robert Twitty wrote: > If you use the php_odbtp_mssql.dll extension, a

RE: [PHP-WIN] Using PHP on Server 2003...

2004-04-06 Thread Jason Boomer
>Ok, I rebuilt a fresh server with the same config as my original post. This time I put a copy of the php_mssql.dll in the C:\PHP directory right along side the php.exe. But when I try to register the dll I get "DLLRegisterServer entry point not found". NOTE: The only changes I've made to the C:

RE: [PHP-WIN] Re: ODBC or MS SQL DLL? WAS: Using PHP on Server 2003...

2004-04-06 Thread Gerardo Rojas
Does this extension allow us to generate SQL scripts? Such as to create a table? Similar to SQLDMO? -- Gerardo S. Rojas mailto: [EMAIL PROTECTED] -Original Message- From: Robert Twitty [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 06, 2004 9:51 AM To: Svensson, B.A.T. (HKG) Cc: [EMAI

RE: [PHP-WIN] Re: ODBC or MS SQL DLL? WAS: Using PHP on Server 2 003...

2004-04-06 Thread Robert Twitty
If you use the php_odbtp_mssql.dll extension, and follow the instructions at http://odbtp.sourceforge.net/phpext.html#mssql, then you don't have to change your code or your stored procedures. -- bob On 6 Apr 2004, Svensson, B.A.T. (HKG) wrote: > Thanx a million times David! > > I just tested you

RE: [PHP-WIN] Re: ODBC or MS SQL DLL? WAS: Using PHP on Server 2 003...

2004-04-06 Thread Svensson, B.A.T. (HKG)
Thanx a million times David! I just tested your suggestion and it works just fine! (But I put all the code in the sp's instead) I had a look at the odbtp.sourceforge.net site, and I realized that this would take a time to transfer the current code I built based on the mssql ext. With your sugges

RE: [PHP-WIN] Re: ODBC or MS SQL DLL? WAS: Using PHP on Server 2 003...

2004-04-06 Thread David Felton
Yes there is this workaround: if you run this query first @mssql_query( "SET TEXTSIZE 1024000", $db); then when you want to retrieve a field of type ntext or whatever use the following syntax in your sql: SELECT CAST(fieldname AS TEXT) ... -Original Message- From: Svensson, B.A.T. (HKG)

Re: [PHP-WIN] Re: ODBC or MS SQL DLL? WAS: Using PHP on Server 2003...

2004-04-06 Thread Svensson, B.A.T. (HKG)
On Tue, 2004-04-06 at 14:52, Robert Twitty wrote: > The best extension for accessing MS SQL Server is the odbtp extension at > http://odbtp.sourceforge.net. The odbc and mssql extensions both have > limitations when used with SQL Server 2000. > > mssql ext: > - Uses the obsolete, unsupported and

Re: [PHP-WIN] Re: ODBC or MS SQL DLL? WAS: Using PHP on Server 2003...

2004-04-06 Thread Robert Twitty
The best extension for accessing MS SQL Server is the odbtp extension at http://odbtp.sourceforge.net. The odbc and mssql extensions both have limitations when used with SQL Server 2000. mssql ext: - Uses the obsolete, unsupported and non thread safe DB-Library. - Does not support varchar(>255),

Re: [PHP-WIN] Re: ODBC or MS SQL DLL? WAS: Using PHP on Server 2003...

2004-04-06 Thread Svensson, B.A.T. (HKG)
Haven't tested your suggestion yet, but just look through it more carefully now. (Comments follow below). In general: The only special thing I can see that you are using in your code, that I am not using in my stored procedures are transactions - I think so at least. Except for that I am using al

RE: [PHP-WIN] Re: ODBC or MS SQL DLL? WAS: Using PHP on Server 2 003...

2004-04-06 Thread Svensson, B.A.T. (HKG)
Thanks, I will try this out at work today. > So I am curious about this. Would you like to explain this a little > bit more in details? 1) You can not do complex queries. e.g. =8<= -- PHP Windows Mailing List (http://www.

[PHP-WIN] Re: ODBC or MS SQL DLL? WAS: Using PHP on Server 2003...

2004-04-06 Thread Svensson, B.A.T. (HKG)
>>You have made sure that the ms sql extension is available in the >>php ini file, as well made sure that the ms sql dll is in the >>same directory as php.exe? >If possible don't use the mssql extension but use the ODBC one. To my >knowledge it has not changed since MSSQL 6.5 and is unreliable. Yo