Hi Leticia,
MS SQL server comes with a set of client tools that allows you to specify
the encoding. There is a checkbox in the Client Network Tool that allows
you to enable/disable OEM character conversion. Flipping that for the alias
you are using to connect to the database should fix the problem
But instead of them having to log in, it would just pull the
"username"
> from their NT account.
>
>
> On 5/31/07, Frank M. Kromann <[EMAIL PROTECTED]> wrote:
> >
> > that will be the user configured under IIS (IUSR_). You
don't
> > need that
name of the person that is trying to update the
> database?
>
> On 5/30/07, Frank M. Kromann <[EMAIL PROTECTED]> wrote:
> >
> > use the mssql.secure_connection = On in your php.ini file and make
sure
> > the
> > IIS users has access to the database.
> >
use the mssql.secure_connection = On in your php.ini file and make sure the
IIS users has access to the database.
- Frank
> Hi,
>
> Does someone knows how to use the Windows Authentication (SSPI) with
> mssql_connect() ?
>
> Here's my trouble :
> I'm using an MS SQL Server 2000 and use the win
This sounds like your MSSQL connections are getting mixed up.
If the two databases are on the same server and the same sql login has
access to both databases you can query everything from a single conenction.
You just have to qualify the tables/procedures with ..table
to the server knows where to
My old copy of PHP 4 works just fine on windows.
Check your settings on windows. Did you enable DST?, did you patch the box
with the latest update from MS?
- Frank
> to php-db.. this might related to database.
> forgive me if this contain spam.
> - Original Message -
> From: "James Crow"
Try stating the process with php-win.exe.
- Frank
> I need a piece of advice from PHP experts and I'm sure you can help me.
> I want to start and then control a process in PHP CLI on Windows.
> I decided to use proc_open as it is really powerfull. It works
> perfectly but I get a DOS window ever
Hi Ethan,
Check your script fom the command line (Using CLI version of PHP). If that
works check that the user running your web server as access to the
printer.
- Frank
> Hello,
>
> I'm using an epson label printer and have it installed on the server
with
> the printer.dll installed. However,
> Good Day To All,
>
> System Config:
> Windows Server 2003
> PHP 5.2
>
> I'm hoping someone can help give me a high level understanding between
> the differences between an SSL certificate installed on my webserver
and
> an SSL module (e.g. OpenSSL) installed on my web server.
>
> 1. My cu
Here is the output from phpinfo();
Registered PHP Streams php, file, data, http, ftp, compress.zlib
and when I load the openssl extension I get
Registered PHP Streams php, file, data, http, ftp, compress.zlib, https,
ftps
I have all the PHP files in c:\php5, including the extra DLL's. I'm
Hello Stelios,
php_openssl.dll requires one or more dll's to load. Can't remember the
names off hand, but it's something like sas*32.dll. If these are not found
the extension will not load. You can check phpinfo() to see if it loads.
- Frank
> Hello Frank,
>
> The extension is already loaded in
Loading the OpenSSL extension should help. Just add
extension=php_openssl.dll to your php.ini file and restart the web server.
- Frank
> Hello Guy's,
> we have a problem. Our customer is running an Internet Shop with
osCommerce.
> We have installed for him an Contribution for making Credit Card
Please read http://php.net/mssql.
Under requirements for win32 you will find this section.
The extension requires the MS SQL Client Tools to be installed on the
system where PHP is installed. The Client Tools can be installed from the
MS SQL Server CD or by copying ntwdblib.dll from \winnt\syste
'm relatively new at) I've always used the mssql_*
functions.
>
>
> Regards,
>
> Bruce
>
> >>> git <[EMAIL PROTECTED]> 2/12/2006 1:43 a.m. >>>
> On Wed, 15 Nov 2006 02:17:07 -0800, Frank M. Kromann wrote:
>
> > Hello,
> &g
Sounds like a version problem. PHP's dll's can not be shared between 5.0.x
and 5.2.x
Make sure you delete all copies of dll's from version 5.0. This includes
copies in \windows\system32 or other directories included in your path or
bin directory for apache.
- Frank
> Hi all,
>
>
>
> I was ru
Hello,
This is not correct.
PDO and native mssql_*() functions exists in two fifferent versions. The
version compiled with Microsofts (old) version of dblib has the
restrictions mentioned here but the version compiled with FreeTDS
(php_dblib.dll and php_pdo_dblib.dll) does not.
- Frank
> Hello,
ain.
> Dale
>
> -Original Message-
> From: Frank M. Kromann [mailto:[EMAIL PROTECTED]
> Sent: 03 November 2006 11:02 AM
> To: Dale Attree
> Cc: php-windows@lists.php.net
> Subject: Re: [PHP-WIN] PHP 5 / IIS 7 / Vista
>
> Works almost like PHP5 on XP or Windo
And this can also be done by creating a file caled web.config in the
directory where you want php support. The vile should look like this:
- Frank
> Works al
Works almost like PHP5 on XP or Windows 2003 with IIS5/6
1) Copy php to a directory (c:\php5)
2) Start the IIS manager and create a site or virtual directory
3) Add a script mapping for .php to point to php-cgi.exe or php5isapi.dll
That's it.
- Frank
> Anybody got PHP 5 running with IIS 7 on Wi
The sockts (php_sockets.dll) allows you to communicate with any socket
based server.
- Frank
> Is there a way to comunicate between php and a window service? (by
Sockets?)
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
PHP W
You can use any shared printer as long as the server can access it without
the use of username and password. Make sure your server has access to the
printer (for the user running the web server).
That said - server side printing is designed to be server side. The
browser comes with a nice printer
Hi Alf,
As far as I can tell it's working just fine. Hre is a sample:
and here is the output:
bool(true)
Warning: mssql_query(): message: Syntax error converting the varchar value
'aa' to a column of data type int. (severity
16) in C:\php5\test\mssql_error.php on line 10
Warning: mssql_query
The mssql extension comes in two different versions on Win32 systems.
php_mssql.dll and php_pdo_mssql.dll are compiled and linked with ntwdblib
from Microsoft
php_dblib.dll and php_pdo_dblib.dll are compiled and linked with FreeTDS.
The FreeTDS versions uses a more recent version of the protocol
I think you need to place php.ini in c:\windows. If you would use the cgi
version of php you can have the php.ini file in the same directory as the
rest of the php files.
I'm running the cgi version and I do not have any problems with
extensions.
- Frank
> Hi,
> I have intalled the RC1 of Window
both time() and mktime() works fine on Windows.
- Frank
> Well, reading the documentation about cookies i saw that the function
time()
> works using UNIX epochs. If I try to use this function (or mktime) in
> windows, the php shows a white page, like there's an error somewhere.
>
> It's a proble
Hi Joakim,
Many years ago (Before Microsoft bought Navision) the ODBC driver was read
only so I created native php extensions for both the DOS and Windows
version of Navision. Back then called Navision 3.5.x and Navision
Financials 2.x.
I have not touched Navision in the past 6 years but I might
Hello,
MSSQL Server requires the use of server aliases. Use the Cleint Network
Utility to create aliases that links a name to a server and a protocol.
If PHP is running on another box you can install the Client Tools from the
SQL server CD. Copyiing ntwdblib.dll does not give you the complete set
The SQL Server is configured to only allow connections from trusted users.
Use mssql.secure_connection = 1 in php.ini when connection to the server.
- Frank
> What is your connection string?
>
> Tryst
>
> -Original Message-
> From: Dale D. Attree <[EMAIL PROTECTED]>
> To: php-windows@li
Apache 2.2 support is included with the Windows builds from version 5.2.0
of PHP.
- Frank
> Thanx for the info. It seems as if u have worked with both IIS and
> apache. What are the advantages and the disadvantages and in general
> what would u recommend.
>
> Aaron Kenney wrote:
> > The indica
Did you restart apache after changing http.conf?
- Frank
> Hi, I have never set up php, or a server for that matter, before and I
am
> having trouble getting php to work. I have downloaded the latest files
for
> windows from the php website and I have the latest 2.0 version of
Apache. I
> have
Hi,
That's a bug. I have just commited a fix. Thsis will be available in the
next build.
- Frank
> Using php 5.1.2 with the php_win32service.dll extension(downloaded for
> 5.1.2). The only line I've added to php.ini is as follows:
>
> extension = php_win32service.dll
>
> Now, each and every f
I've been using PHP5 on my Windows 2003 servers for more than a year now.
No problems at all.
Using PHP with Apache on Windows based systems is another alternative and
that works fine too (even better in many cases).
- Frank
> I recommend staying AWAY from PHP 5. We were getting alot of random
Well this list is designated to questions about PHP on Windows platforms so
I would say that this is the right list.
As for the conection problem, I would check the security seiitings in MS
SQL Server. If the server is set to allow domain authentication you have
to use mssql.secure_connection = On
I Think the corret answer to this question is $REMOTE_ADDR or
$_SERVER['REMOTE_ADDR']. This will return the IP address of the client
that connects.
- Frank
> Hello,
>
> on 11/17/2005 02:42 PM Alf Stockton said the following:
> > In a PHP 5.0 program running under Windows 2000 with Apache 2 I nee
Hi Fernando,
the printer_write() function writes directly to the printer and you do not
need to call printer_start_doc(), priner_start_page() etc. These functions
must be used if you are printing useing the printer_drap_text().
Here is two examples from the documentation:
- Frank
>
> Gr
o CGI?
>
> // jocke
>
>
> -Ursprungligt meddelande-
> Från: Frank M. Kromann [mailto:[EMAIL PROTECTED]
> Skickat: den 15 november 2005 17:23
> Till: Joakim Ling
> Kopia: php windows; Robert Twitty
> Ämne: Re: SV: [PHP-WIN] mssql tcp
>
> Hi Jocke,
>
> Well I work wit
Hi Jocke,
Well I work with PHP and MSSQL and I know a bit about the broblems too.
The library used to build the extension (msdblib) is not thread safe so if
you are using the extension on a hight trafic server under Apache or ISAPI
you might find odd problems. This has nothing to do with PHP. Usin
You can't specify the port when connecting with mssql_connect() but you can
use the Client Network Utility (this is installed when you install the MS
SQL Client tools on your PHP server) to create a server alias. The server
alias includes the protocol, host name and port number you are using and
yo
Put a copy of php.ini in c:\windows. I think that's the only place it can
be found when you use the ISAPI module.
- Frank
> Hi,
> I installed php in c:\inetpub\php folder and gave access to IIS user.
> My web server is IIS5.
> I added HKEY_LOCAL_MACHINE\SOFTWARE\PHP\IniFilePath = ini path
directo
Hi Tony,
In most cases you do not need to use the domain parameter. Try to simplify
the function call to
setcookie("auth", "1", 0, "/"); // Not this cookie has already expired
setcookie("auth", "1", time() + 3600, "/"); // Not this cookie will expire
in 1 hour
or even to
setcookie("auth", "1
Hi Tim,
I'm also building my own versions of PHP, but I do not have the problems
you are describing here. That said, you should not need to buid you own
versions as the extensions can be enabled from the php.ini file or from
the script (as long as you are running CLI or CGI). Unless you are runnin
Hi Ross,
Try moving the extension to the Apache bin folder.
- Frank
> I have un-commented extension=php_zip.dll in my php.ini but get this
message when Apache starts:
>
> Unable to load dynamic library 'c:\php\ext\php_zip.dll' = The specified
module could not be found.
>
> Has anyone got the p
ntwdblib.dll is used by php_mssql.dll (the MSSQL Extension) and should be
located in \windows\system32. It will only be there if you have installed
the MSSQL Server or at least the client tools for MSSQL Server.
You can copy the file from another box, but you will not be able to
configure options,
Restart the IIS Admin Service.
This will restart the web service and any other service under it (ftp,
smtp) and you should be good to go.
- Frank
> I've modified some enxtensions lines in php.ini but the isapi dll seems
> to be cached, i've restarted the iis service but still cached, did
> som
Not yet. I'll start the work soon.
- Frank
> Hi,
>
> Is it possible to use GTK WIN with PHP5?
>
>
>
> Cheers
>
>
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Brian,
IIS uses script mapping to tell the server how files are handled. When you
configured IIS to handle .php files you created (or the installer did) a
script map that tells the server that all .php files should be passed
through php-cgi.exe or php5isapi.dll.
If you do the same for html fil
phpize is a linux/unix tool and it can't be used on win32 systems.
The Image Magick extension comes precompiled on win32. You only need to
install and enable the extension. This can be done by adding
extension=php_imagick.dll to you php.ini file.
- Frank
> Terry Watts wrote:
> > I'm new to PHP a
Hi Jeff,
The default build of PHP on Win32 is thread safe but it's only required if
you are using PHP with a multithreaded server. I Use PHP5 in a non threaded
configuration (CGI and CLI) on win32. You can download binaries at
http://kromann.info/php.php, or compile them.
There is two ways to fix
there anything else I need to install or configure?
>
> -Original Message-----
> From: Frank M. Kromann [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 18, 2005 2:40 PM
> To: Danny Willis
> Cc: php-windows@lists.php.net
> Subject: Re: [PHP-WIN] php 4.3.7 and MS-SQL a
Hello,
You need to load the MSSQL Server etension form php.ini with this line:
extension=php_mssql.dll
- Frank
> I'm running the following:
>
> Win 2k3 server
> IIS 6.0
> php 4.3.7 in IASPI mode
>
>
> Now I am trying to get php to connect to MSSQL but it will not let me do
so.
> I keep gett
You are not supposed to register the php_mssql.dll with windows. It's a php
dll to be used under windows, not a normal Windows dll.
All you need to have is extension=php_mssql.dll in your php.ini file (a
php.ini file that can be found by apache, either in your windows directory
or the apache2\vin
Hello Everyone,
I have (finally) had the time to build a version of the mssql extension
that uses FreeTDS on Win32. This should end some of the limitations in
Microsofts libraries (ie char/varchar with max width of 255 bytes). It
still ned some testing so if you are interested in testing this new
Are you using the same SAPI and context on both maschines?
The mssql extension can give different results depending on the context
the driver is used in (OEM to ansi convertion). If your data is stored in
a binary column (not a text column) it should not matter though.
- Frank
> Hi,
> I've st
Yes, as long as they are using different tcp ports.
- Frank
>
> Hello
>
> Anyone know if its possible to have a (IIS sql-server) and (apache
> mysql) running on the same machine?
>
> Thanks
>
> André Caridade
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi Rob,
The exif extension is provided as a dll file on Win32. You need to load it
from php.ini (extension=php_exif.dll) or from the script with the dl()
command. Not dl() only works for cgi and not for isapi.
- Frank
> Hi,
> i am trying to use the exif functions for and image directory, i want
>
> 1) Use ODBC.
> 2) Don't use the mssql extensions. As far as I know (I might be wrong)
this
> extension comes from the old MSSQL 6.5 days, and last time I used it it
> would not handle complex queries.
The library (from microsoft) has not been updated since SQL Server 6.x so
there is no suppor
You don't need to copy any of the files from PHP-GTK to any system
directory. Just keep all files in the same directory. You can still ahe
your script files in another directory though.
The z in zlib does not relate to zend in any form or way. zlib is a
library for compression and decompression of
This patch is for the source code. You need to download the binary
distribution and replace your old files with the new. While you are doing
that you should download a newer version php-4.3.9 has been released and
so has php-5.0.2.
- Frank
> I have a Win2K box running php-4.3.0 and would like to
Did you remember to restart Apache after making changes to php.ini ? This
is not needed if you are using the CGI sapi.
- Frank
> Environment
> -
> WinXP Pro SP1
> PHP 4.3.9
> Apache 2.0.52
>
> I am trying to set the session.save_path in php.ini and I cannot get it
to
> work. I have
Most usb flash drives are mounted as any other disk drive and you can use
PHP to read and write files the same way as you use a hard disk.
- Frank
> Dear ALL,
>
> I Wanna connect my usb device ( usb flash disk ), does
> everybody know about the php script to get data from that devic
doesn't hold it in the "output buffer"
per
> se. Maybe it's in a different buffer. I don't know.
>
> Mind posting some sample code for us to look at?
>
> -TG
>
> > -Original Message-
> > From: Frank M. Kromann [mailto:[EMAIL PR
With IIS you can disable basic authentication for your files. This will
cause the server to either prompt for a userid/password or to use the info
sent by the client (IE will send this info if the user is authenticated on
the domain).
- Frank
> In the html headers, the server sees the clients OS,
There is another directive too:
; Implicit flush tells PHP to tell the output layer to flush itself
; automatically after every output block. This is equivalent to calling
the
; PHP function flush() after each and every call to print() or echo() and
each
; and every HTML block. Turning this opti
Or if you have a library written in C you can use the FFI extension from
PECL. But if you are to write a C library, why not write a PHP extension
directly?
- Frank
> Hi!
>
> It would be possible to create a C or Java server that uses sockets to
cater
> a PHP client's request. This is the quicke
Hi Steve,
0 and "foo" are two different types (int and string). In order to compare
these values they must be converted into the same type. PHP does that by
converting "foo" to an integer and that value will be 0, hence the true
value on compare with ==. when you use === to compare the two values
Hello,
The default way to connect is to use SQL Server user names and passwords,
but the mssql extension can be configured to use secure/trusted
connections. This is don by setting mssql.secure_connection = On in
php.ini.
With a secure connection the client maschine will use the userid/password
f
;t
> believe that this should solve my problem.
>
> Do you have any other ideas?
>
>
> "Frank M. Kromann" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > When you use ISAPI you can only load extensions from php.ini with the
line
>
When you use ISAPI you can only load extensions from php.ini with the line
extension=php_gd2.dll
When using CGI, FastCGI or CLI you can load extensions from the script
with code like
dl("php_gd2.dll");
- Frank
> I am using w2k3 with iis6 and all of the reported "hotfixes".
> I have just instal
php.exe is the CLI (Command Line Interface) version of PHP. It is designed
to run scripts without the webserver, and errors and other output will not
include HTML tags.
Having the php.ini file in the php folder has been possible since 4.0.x or
so, as long as you are running CGI. The ISAPI version
You should be able to leave all files in the php directory, orupdate to PHP
5 where these functions are linked static (no need for other dll's).
- Frank
> Ok, it took awhile but I finally got it working. Here are the
instructions so
> everyone can get it working easier. There are two DLL's that
It's all in the documentation http://php.net/mssql
- Frank
> Can any one point me to where I could get the client for MSSQL for AIX
5.1,
> IBM machine? (I need to compile PHP with mssql enabled)
> *** Using PHP 4.3.4
> TIA
>
> RS
>
>
> This e-mail, including attachments, may include confident
Hi Mike,
Not yet. The DBLIB version of FreeTDS does not work on Win32. I'm working
on proting it but my time has been limited lately.
- Frank
>
> Hi !
>
> Is there any way on Win32 to use FreeTDS with php_mssql extension ?
>
> -Mike
>
> --
> PHP Windows Mailing List (http://www.php.net/)
>
It could be a problem with access to execute Java. If the user running the
process (under a web server) is without rights to execute this will not
work.
You can try running the script with CLI from the command line or you can
take a look at the java extension for PHP (www.php.net/java).
- Frank
mssql_field_type() is the function for that.
- Frank
> Robert,
>
> Do you have an example of pulling the Column types from an MS Sql query?
For example: select top 1 * from mytablename.
>
> loop thru the fields in the recordset and print out their data types?
>
>
> --
> Gerardo S. Rojas
> ma
Hi John,
Take a look at this site http://www16.brinkster.com/gazb/ming/index.html
- Frank
> I've just finished a course in PHP, so excuse my ignorance since it was
a rather basic course. All of our class examples worked with static HTML
pages as either input or output. I hope to use FLASH and PH
You can download it from my site http://kromann.info/php4.php
- Frank
> Can someone help me find a copy of the extension of php_printer.dll
> preferably for the latest version of PHP but I will not be picky I have
> installed 4.3.2 on my win2k server and if I have to upgrade well that's
> great.
iconv and libxml are compiled into php5ts.dll so you don't need the dll's
in version 5.
- Frank
> I'm using php5.0.0rc1 and trying to use the new dom xml functions. I
> thought that I needed the php_iconv.dll to do this, but it's not
> distributed in the binary package. Do I even need this fo
If you install the MSSQL server Client tools on your PC you will be amle to
use the Data Transformation Service (import/export) to copy data and
structure from one SQL server to another. Thats the fastest way to do
this.
- Frank
> How many rows do you have in the tables?
>
> If many use bcp.exe
The short answer os 'No'
SQL statements are precessed by the SQL server and returned to the client
(PHP) as a result. SQL Server has no knowledge about PHP or any other
tools building on ODBC/dblib/OLEDB or any other protocol used to
communicate with the server.
- Frank
> I don't understand your
Hi Jim,
Array inexes uses [] and not (). Try this
print $out[1];
print $out[2];
You might also want to start at index 0.
- Frank
> I'm getting the above error when either attempting to print or assign
> the value of a array element to a variable, after using pre
The answer is no (unless the client and server is running on the same
bos).
PHP is a server side scripting language and the only information send to
the client is through the HTTP protocol. Cold you imaginne what would
happen if a web server could start programs on the client maschine?
- Frank
>
I know I'm late into this discussion, but the PECl extension php_ntuser
gives you a tool to get the users and groups from the SAM database with a
few simple PHP functions.
- Frank
> Issue solved.
>
> After stopping my system admin on the way for more coffee he suggested
cycling IIS. Something
>
$ptr = printer_open($str_printer);
printer_set_option($ptr, PRINTER_MODE, "RAW");
printer_set_option($ptr, PRINTER_OUTPUT_FILE, "c:\\test.ptr");
if ($ptr) {
printer_write($ptr, $str_text);
printer_close($ptr);
}
else {
echo "No default printer found!\n";
}
- Frrank
> Hi,
Hi Mike,
I maintain both extensions, and they are stable but I have not had enough
time to create any documentation for these two extensions. I did write an
article in PHP Magazine some months ago about IISFunc. At this point your
best choice is to look at the source code. I can extract the protot
create table #test (a int , b char(1))
create table #test_tmp (a int , b char(1))
Would make these tables real temp tables. These will be deleted wehn the
connection is closed.
- Frank
> set nocount on
> create table test (a int , b char(1))
> create table test_tmp (a int , b char(1))
>
>
> i
In order to ue multiple version of PHP on IIS I would think you need to use
the CGI version of php, and in that case you can have php.ini in the same
directory as the binaries.
You should also be able to have at least 1 version installed with the
ISAPI module.
- Frank
> We have a new piece of sof
Take a look at http://caraveo.com/fastcgi/
- Frank
> I see that the -b option in PHP 4.3.X doesn't appear to work. What is
the
> way to start PHP as a standalone application listening for fastcgi on a
> specific port? Any help would be greatly appreciated.
>
> Thanks
>
> --
> PHP Windows Mail
Hi Christopher,
You need to load the sockets extension before you can use these functions.
You can do that with extension=php_sockets.dll in php.ini or
dl("php_sockets.dll"); in your script if you are using CGI.
- Frank
> Hi,
>
> Can somebody help me with regards to getting a
> soc
The last time I checked 1800 seconds was equal to 30 min :-)
6 min is 360 seconds.
- Frank
> Your configuration imposes the 6 mins limit:
>
> > phpinfo(): max_execution_time: 1800s
> > phpinfo(): mssql.timeout: 1800s
>
> So, PHP scripts won't run more than 1800 seconds, ie 6 mins.
>
> Try
Hi,
Iøm asuing you are accessing the script through a browser ?
There is sevral time out values that you should be aware of.
PHP's timeout, The database timeout, The web servers CGI timeout and the
connection time out between the browser and the web server.
The first two seams to be set correct
Hi Jim,
I don't think the code you posted matches the code you are running. This
code does not give any errors, it works fine. There is no $guess variable
in line 27.
- Frank
> Hi everyone,
>
> I'm new to working with PHP (coming from a ASP/VBScript background) and
> I'm currently reading the
Hi choinet,
I did send you this information a few day ago! If you follow these
instructions it will work.
When you compile freetype2.lib (with the project and workspace files
included with the sources) you will get a library called freetype214MT.lib
or freetype214MT_D.lib (if I remember correct)
0777 works fine on Windows 2000 and XP, if the user has the rights to
modify the directory.
- Frank
> There is a note in the manual;
>
> http://us2.php.net/manual/en/function.chmod.php
>
> Where someone detected that only 775 and 666 worked, another concluded
that
> a few additional values are
Hi,
In the FreeType2 directory structure you will find
'freetype-2.1.4\builds\win32\visualc\freetype.dsp' and freetype.dsw. These
files can be used with Visual studio to create the lib neded for php.
- Frank
> Hello, fellow Windows/PHP power users,
>
> I'm running PHP4 (either 4.3.4 or latest
There is an extension in PECL (iisfunc) that hnadles this directly. It
works with both PHP4 and PHP5
- Frank
> I'm trying to build a few PHP scripts to administer my IIS server, and
I
> have a problem/difference in output in the COM support from PHP 4.3.4
to
> php 5b3.
>
> I'm running php 4.3.4
Hi,
The replaced string is returned by the function. This works.
$str = "test test2";
$str2 = preg_replace('/ /', ',', $str);
If your are doing simple replacements like this you should use
str_replace() it's much faster!
$str = "test test2";
$str2 = str_replace(' ', ',', $str);
- Frank
> How d
Hi,
One problem could be name resolution. The mssql server uses a default
protocol to connect to the server. If you just install the client
libraries (or just copied ntwdblib.dll) the default protocol would be
netbeui (named pipes) and that might not be routed/enabled on your
network.
To make sur
I can't see a promlem with the trim() function.
Try this:
output:
*** test
**test***
I have tested with both php4 and php5 from cvs.
- Frank
> Just ran into this annoying thing today:
>
>
> Why does this /NOT/ work to remove NL's:
>
> $AccNr = fgets($fp);
> while ( !feof($fp)
Hi Ron,
If your field is of type char or varchar the limit is 255 (limited by the
db library from Microsoft). If you are using the text type you can use
these settings in php.ini
; Valid range 0 - 2147483647. Default = 4096.
mssql.textlimit = 128000
; Valid range 0 - 2147483647. Default = 4096
benefits of using ISAPI, but if you make changes to php.ini you have to
restart the web server.
- Frank
> Ignorant question: why would the web server like to read the php.ini
> file?
>
> On Tue, 2003-12-09 at 06:47, Frank M. Kromann wrote:
> > Hi,
> >
> > The php.in
1 - 100 of 198 matches
Mail list logo