the Notes PHP extension??? I
> been looking for ages, and as far as I can see its almost developed but
> nobody seems to know much more about it.
>
> Where can I get hold of it???
>
> Richy
>
> -Original Message-
> From: Frank M. Kromann [SMTP:[EMAIL PROTEC
I dont think this is an issue with filesize() but with current working directory.
$flename must have the fulle path to the file, or the current working directory must
be where $flename is located.
I know there has been changes to how this works over the time, though I don't remeber
when exact
Hi,
Only MS VC++ is supported at this point.
- Frank
> Hi
>
> I wonder if anyone have managed to compile PHP with cygwin. I get
> several errors when doing this.
>
> I also wonder if I intend to make a dll to extend PHP for windows,
> should I then compile PHP with cygwin or with MS Visual C
Hi,
If your MS SQL Client is configured to use a non TCP/IP protocol as the default
protocol you cant connect using ip addresses. If it uses Named Pipes you have to use
the netbios name of the server or ask your ISP to configure a client connection for
you, using a name (that you then use as f
It is almost as simple on Win32.
You need to have MS Visual C++ installed to do it. Have a look at some of the existing
extensions, all compiled as php_.dll.
if you take a look at one of the simple extensions eg. exif. It has three files used
on Win32 exif.c, php_exif.h and exif.dsp. If yor ex
Hi Jerry,
You need to have the Client Tools for MS SQL Server installed on your PHP4 box. These
tools is found on the CD, or you can just copy ntwdblib.dll fom one system to another.
The default communication protocol will be netbios, if you want to change that to
tcp/ip you need to install th
ImageMagic works fine on Window. You can download the binaries from one of the mirror
sites.
I have a web page (http://kromann.info/php4.php) where you can download php binaries
based on the latest cvs version. There you can find php_gd.dll with both GD1 and GD2.
I have not tested it but I thi
So far it works fine with MS VC++. I dont think it is possible to build it with gcc at
this point.
If you want binaries from the latest CVS you can download them from
http://kromann.info/php4.php. This page is updated each morning at 4 am PST.
- Frank
> Hi all,
>
> Has anyone had luck buildi
Hi Denis,
This sounds like you are using incompatible versions of php and extensions. The core
php and extensions should be compiled from the same sources (or at least from sources
with the same API's).
- Frank
> Hi Guys,
>
> I have read messages posted to the php-win list about using
> the
Using the prowser to view a file on your file system will just show the content. The
browser does not have any knowledge of the PHP parser.
A web server on the other hand will be able to run the requested script through a
parser an send the converted document (usually as html) to the browser fo
Hi,
If you just need to execute an ASP script on the same (or any other server) you can do
it with fopen().
http://some-url.com?var1=$var1&var2=$var2";;
if ($fp = fopen($url)) {
$data = fread($fp, 4069);
fclose($fp);
)
?>
- Frank
> Yikes -- seems pretty complex for what I need to do righ
Hi Todd,
If you are using the ISAPI version you need to restart the web server in order to use
the mssql_extension.
If you are using CGI and getting undefined function for mssql_connect, you might have
more than one php.ini file on your system ?
You also need to install the client libraries f
> still doesn't work.
>
> What do you mean client libraries?
>
> I see this mentioned, but I don't get what they are asking, and what
> files are they? How come PHP didn't document this or did they just whip
> up the documentation for MS SQL?
>
>
On Windows 200 and XP you can use / as your seperator. This will not work
on WIndows 98 though.
Using the / makes your code work on both W2k and *nix boxes. It can be
used both in php.ini and in your scripts.
- Frank
> In php.ini file that is present in the windows directory check the
> include
Hi,
If the html file is without php tags there will not be a huge performence
penalty in letting the php parser handle the file.
On IIS there is no control files but all the settings are handled in the
metabase through the application "Internet Information Services". IIS use
the file extention to
Hi,
IE and Netscape works diffenntly when used on a LAN. IE can/will pass
along your user identification information (if you are validated on the
network) This information will be used when you are contacting the sql
server.
Netscape does not send this extra information from the client to the
ser
This sounds like you are using the CLI version of PHP.exe and not the CGI
version. Asumiong you are not using isapi or mod_php4.
- Frank
> Umm... I see things, You know?
>
> After installing php 4.3.0 I noticed that phpinho()
>
> doesn't return those fancy tables anymore, instead, it spits out
There is a bit more info here http://caraveo.com/fastcgi/
- Frank
> Chirstoph,
>
> I've already looked.
> There it says to do "php -b " but that doesn't work.
>
> []s
> Fernando
>
> "Christoph Grottolo" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Fer
Or you can use the iisfunc extension (not documentented), available from
PECL or my site (http://kromann.info/php4.php)
the functions
int iis_stop_service(string service)
int iis_start_service(string service)
int iis_get_service_state(string service)
- Frank
> net start outputs a list of *runni
The non-thread safe version for windows can only be used with CGI (or CLI)
if you are using ISAPI or mod_apache you have to use the thread safe
version.
You can use the thread safe version to everything (this is the version
included in all distributions) w/o problems.
- Frank
> Hi guys!
>
> fir
Hi,
>From the httpd.conf (apache 1.3.x)
# Under Win32, we do not currently try to determine the home directory of
# a Windows login, so a format such as that below needs to be used. See
# the UserDir documentation for details.
#
UserDir "C:/Program Files/Apache Group/Apache/users/"
I'm n
Hi,
This is not true for php4. Both cgi and isapi versions can be mapped
without any extensions. You have to make sure it is the CGI binary you are
mapping to and not the CLI.
- Frank
> If you are usiong the PHP.EXE binary instead of the ISAPI module.
>
> .php should be mapped to:
>
> c:\php\p
http://php.net/number_format
is what you are looking for.
- Frank
> Hi
> I have a field in my MySQL database that's a decimal where I have
figures of
> millions without the decimal point -
>
> i.e - 150
>
> Is there a function in PHP to display this figure as a $ amount -
>
> i.e - $1,5
If your SQL Server is configured with both SQL and Windows auth you shoule
be able to connect using a SQL user. You need to configure both Server and
client to use the same default protocol, or configure an alias at the
client using the protocol expected by the server.
These configurations are don
Hi,
At this stage you can not use the MSSQL extension to read datatypes ntext,
nchar and nvarchar from a MSSQL server.
This is caused by an outdated version of DBLIB from Microsoft. This
library has not been updated since SQL Server 6.0.
The fix for now is to use ODBC or COM to communicate with
Downloading and installing bison and flex is one thing, but if you have
CygWin and Visual Studio installed I have a breif instruction on my web
site (http://kromann.info/php4.php).
The CVS version of PHP also includes a small wrapper script for ext skel.
This will allow you to create a new extensi
If you are uisng ISAPI for IIS and mod_php for Apche you need to restart
the web server each time you enable an extension (or make other changes to
the php.ini file). The php.ini file is only read at startup.
If you are using CGI on either server, the php.ini file will be read once
per request.
T
The MSSQL Extension for PHP is build with an old version of Microsoft's
DBLIB. This library does not support unicode, and it never will !!!
Use ODBC for now, and in a later version of PHP you can use a version of
the MSSQL extension build with FreeTDS. This will enable unicode. This is
now availab
Hi, I trying for the first time ever to compile PHP on my Windows 2000
machine using MS VC++ 6. I have been following the instructions in
/manual/en/install.windows.php. Everything goes fine until the linker kicks
in:
Linking...
LINK : fatal error LNK1181: cannot open input file "zlib.lib"
Erro
the zlib extension is compiled in and you need to get the zlib module from
cvs.php.net.
- Frank
> Hi, I trying for the first time ever to compile PHP on my Windows 2000
> machine using MS VC++ 6. I have been following the instructions in
> /manual/en/install.windows.php. Everything goes fine un
oth the PHP 4.3.1 (tar.gz) [4,395Kb] - 17 February
2003 and a PHP snapshot Latest CVS (4.5.x-dev). Same problem with both. But
I'm not sure if the problem is my machine configuration, or an error in the
MS VC++ workspace / project details.
John
- Original Message -
From: "Frank M. Kroma
ror in
the
> MS VC++ workspace / project details.
>
> John
>
> - Original Message -
> From: "Frank M. Kromann" <[EMAIL PROTECTED]>
> To: "John M. Calvert" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Saturday, March 1
mpilation I tend to
avoid head revisions which can be less stable (perhaps don't even compile?),
in the hopes that I'll have fewer gotchyahs to worry about. Don't know if
that backfired this time.
----- Original Message -
From: "Frank M. Kromann" <[EMAIL PROTECTED]&g
Hi John,
> I'll report a bug against php-4.3.1.tar.gz and
> /manual/en/install.windows.php for this situation with zlib.lib so it
can be
> tracked.
Thats the right way!
>
> I have a couple of related questions if anyone can help get me up the
PHP
> "Build from source" learning curve.
>
> 1) I
o');
Does this exist?
John M. Calvert, M.Sc., MCSD
1310521 Ontario Inc.
49 Belmont Ave.
Ottawa ON K1S 0V2
(613) 730-9851
http://members.rogers.com/john-m-calvert/
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
us learning the language.
For the latter I'd like to submit a documentation suggestion. I'll try
forwarding this message to [EMAIL PROTECTED]
John
- Original Message -
From: "Eric Gach" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "'John M. Calv
ation (aka searching) the docs.
- Original Message -
From: "Eric Gach" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "'John M. Calvert'" <[EMAIL PROTECTED]>
Sent: Sunday, March 23, 2003 3:23 PM
Subject: RE: [PHP-WIN] determine host platform - win32 / *nix
The FTP extension is compiled in on Win32. You don't need a dll for this
extension.
- Frank
> Me and a friend have been trying to make a php ftp client, it works fine
on
> *nix systems, but not on Windows. We looked at everything, until i
finaly
> noticed that php 4.2.3 is missing in the php.ini
You need the imap extension (php_imap.dll) it can be included from php.ini
extension=php_umap.dll
or from a script with the dl() command (if you are using CGI)
- Frank
> Is IMAP built into the latest windows binary of PHP? If not, how can I
> include it?
> thanks
>
> --
> Perry Leets
> Inovec
This is message (not generated by or associated with PHP at all) that is telling you
that your users (probably supposed to be root) doesn't have the right to perform the
action you're trying to do. If you're trying to administer MySQL from the console try
typing this:
mysql --user=root mysql
T
The MSSQL dblib (used in the mssql extension) detects the codepage of the
environment it is running under.
Caling a php script with php.exe can be done in at least 3 ways:
1) From IIS as CGI- this sets the codepage to 125x (ANSI)
2) From a command line - this sets the code page to 437 or whatever
Hi,
If you remove the @ in front of the mssql_* functions you might get a bit
more information about the problem.
Using the MSSQL Server extension requires these stapes:
1) Install the SQL Server Client tools on the maschine running PHP (if
your are using Win32)
2) Configure a server alias using
Hi Den,
PHP5 needs libxml2.dll and iconv.dll either in the same folder where
php.exe (CGI version) is or in %systemdir%\system32.
I prefer to keep everything in c:\php5. That makes it possible to run
different versions of PHP on the same system.
- Frank
> Hello there!
>
> Just wanted to know i
ow how you can keep everything in c\php5 ? Is it
only
> for CGI configuration ? Do you use the "-c path/file" of php.exe (can't
make
> it work) ?
> Is it possible for the ISAPI config too? as "php4ts.dll" is not named
> "php5ts.dll", I can't h
Hi Vladimir,
http://kromann.info/php4.php and http://kromann.info/php5.php has what you
are looking for.
- Frank
> Hi,
>
> I'm searching for a Debug Build of php for windows.
> Do I really have to compile it myself or can I get a
> precompiled package somewere?
>
> Regards
>
> Vladimir
>
I have successfuly been creating PDF files... however it is required that
the files are printed Automatically - i.e. no need to hit print icon etc
etc...
Anyone know how to achieve this or atleast point me in the right direction?
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe,
"S F Alim" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Does it support or run on IIS 5.0 and PHP 4.3.3 version
>
> SFA
>
yes.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Ron,
No database servers I know will return the column name as
.. Only the column name is returned. This has nothing to do
with PHP, but is how the SQL92 standard defines it.
If you want to have nice names you can do something like this:
$query = "SELECT Role.display_Name as my_column_name fr
Hi,
The correct function name is phpinfo(); without the underscore.
- Frank
> Hi All:
>
> Enviroment: php 4.xx Apache 2.0 Internet Explorer 6.0 Windows OS
>
> I'm Just a php beginner and I'm testing some code like
>
> php_info();
> ?>
>
> and this code just not work for me i got the follow
Hi,
Take a look at http://go-pear.org/
- Frank
> Hello
>
> I installed PHP 4.3.3 on Windows 200 server. I opted to install PHP via
the
> installer.
>
> I noticed I have no support for PEAR. Is it possible to add PEAR
support, or
> am I going to have ot uninstall, and go with the .ZIP package i
I'm new to this mailing list.
I'm using ODBC to connect to a database on a remote SQL Server from Windows
2000. I'm running PHP 4.3.3. with Apache 2, but I've also tried this with
Apache 1.3.
Here's the entire script (with dummy name, id and password):
This works just fine when I call it fr
I've never seen a language where you couldn't do things like "echo foo() ;"
and I've seen a good many languages. It's so universal, I don't know that
it has a name, other than "expression evaluation". Language processors
typically evaluate inner subexpressions first, then use the value in
evalu
I keep working version of the ming extension for win32 on my website at
http://kromann.info/php4.php or http://kromann.info/php5.php.
These versions are build with the cvs version of ming (0.3a).
- Frank
> Oops, that second url should be;
>
> http://ming.sourceforge.net/
> and here is another;
Hi,
The GD librarry is included in a DLL on Win32. You need to load the
library from php.ini with extension=php_gd2.dll or from the script with
dl("php_gd2.dll");
You can check the output from phpinfo(); to see if the GD has been
loaded.
- Frank
> Hi,
>
> Can I find that my php version suppor
Hi Lars,
The windows version of the MSSQL extension is not (yet) based on the
FreeTDS library but is based on Microsofts own library, and the latest
version of the FreeTFS library is 0.62.
What is your problem with charsets ? Perhaps there is a solution ?
- Frank
> I'm having problem with chars
Hi,
IIS runs all anonymous requests (php or static files) as a user called
IUSR_, unless you changed that. You can either change the
user or you can grant this user the privileges you need.
- Frank
> hello,
>
> I'm having a problem with permissions to PHP in IIS 5.0. I'll be
thankful if someone
Hi,
The php.ini file ies read on startup. If you make changes to the ini file
after the web server was started, you need to restart the web server to
get the latest ini settings.
- Frank
> Does anyone know why the ASPI module is not reading php.ini under
windows
> 2000 server? its in c:\winnt\ph
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
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
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,
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
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
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,
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
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 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)
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,
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
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 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
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
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
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
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
I have the binaries on my maschine. Do you need other files than php.exe ?
- Frank
>
>I know, I know, and I am already using PHP 4 on many sites. However one
>special application is not ready to be upgraded yet, and sticks to PHP 3. As
>you may now know, the source code of 3.0.18 is available f
Textsize and textlimit are connected. Textsize can be set to any value from 0 to
textlimit and text limit can be any value from 0 to 2Gb (on 32 bit API)
By default textsize and textlimit are set according to your server and library
settings but if you have textlimit = 8192 in php.ini you will n
Dear moron.
Please try to refrain from spamming mailing lists.
Thor M. Steindorsson - [EMAIL PROTECTED]
http://www.netwood.net - Find Out Why We're Better.
-Original Message-
From: garey [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 26, 2001 1:05 AM
To: [EMAIL PROTECTED]
Su
The PHP extension for MSSQL shoud strip leading and trailing spaces, but I check the
code and fix it if there is an error.
- Frank
>Hello,
>
>>From habbit and an unexplained hate to NULLs I do not use them in my
>databases.
>I use varchar fields with empty strings ('') instead.
>However MSSQL v
Dear Moron.
Please refrain from spamming Mailing Lists.
Especially when what you're offering is a fellony.
Check it out, the guy who started this served 7 years in federal prison for
fraud. I don't think you'd want to make the same mistake.
-Original Message-
From: Hi Tech Services [mail
Well, the most obvious answer is:
Don't use M$ FTP.
It's not secure enough, it's not manageble enough and worst of all, it's M$!
If you need to run ftp on a windoze box, try Serv-U.
It's powerful, cheap, fast and easy... just like me :).
-Original Message-
Fro
The table "extended" is not known to the update command. You shoud use a syntax like
this:
UPDATE table1 SET table1.field1 = (select field2 from table2 where
table2.id=table1.id).
- Frank
>I am trying to update a table with data from another table within the same
>database with the following
Hi All,
the key komponent is ntwdblib.dll installed in winnt\system32. The dll uses
other dll's to comunicate with the server dbmssocn.dll (tcp/ip) and dbmsnp.dll
(NetBios). All the communication dll's should be installed with the ODBC driver. Just
copy ntwdblib.dll from the SQL server to the
Hi Toby,
Ther is no difference in how MSSQL Server works on NT or Windows 2000. That goes for
both Client and server tools.
You should be able to do the same trick (copying ntwdblib.dll to winnt\system32) on a
Windows 2000 maschine.
You will get IIS5 on Windows 2000 where yoy have IIS4 on NT.
Best thing to do, is complain to his host.
This yahoo uses his own url in the spam (not very bright).
After doing a whois, we of course have all his details :)
>From this info we can complain directly, and to his ISP.
We can't let these MF'ers continue this crap.
Here's the whois for the domain:
It is only the ' charactor there has a "problem" you have to excape any special
character before inserting.
the text Joe's should be inserted like this"
INSERT INTO table1 (int_field, char_field) VALUES (1, 'Joe''s')
A single quote is escaped by an extra single quote.
- Frank
>I trying to in
If you are using PHP as an ISAPI module, you need to restart the web service after
making changes to php.ini. The file is only read on startup.
php_mssql70.dll can be in \winnt\system32 or in yoy php directory (c:\php4). It is
important that your extension_dir in php.ini points to the right pla
Yuo can download php_gd.dll, and other extensions, from www.php4win.de
- Frank
> Hi,
> I'd like to get the GD lib for PHP but don't know where is it. I checked
> php.net but there only link to the source code. Is there any dll or
> something that doesn't require me to compile? I use NT 4.0.
>
>
mssql_select_db returns true or false and not a link resource. You should change the
code to:
$Conn=mssql_connect('192.168.1.20','username','password');
if (mssql_select_db('My_Database',$Conn)) {
$QueryString="select id, name from my_table";
$Test=mssql_query($QueryString, $Conn);
MSSQL is actually as fast (or faster) as mysql on the same hardware, but I guess you
can compare the two and get the results you want. On the other hand that is not the
issue !
When you are configuring MSSQL systems with server and client on two different
computers you should consider using TC
You do not need to have any PHP files in winnt\system32.
On my system I have all php files in c:\php4 and I have php.ini in c:\winnt.
I have created script mappings connecting the .php extension with c:\php4\php.exe or
c:\php4\php4isapi.dll
This way it is easy to update and maintain, and I can
Just tested your code
classVariable = $var1;
}
}
$anotherVariable = 5;
$objFoo = new Foo ( $anotherVariable );
?>
This works fine on my W2K box. There should be no problems uses classes and this way
on any Windows platform. I'm using php4.0.5-dev though. Not sure if that can have
In the first script you are trying to call another script. I would jus include the
counter script at that place and have the counter script output the code needed or
have a function in the included script return the output you need.
it would look like this:
counter.php would look like t
MySQL and MSSQL is two different databases !
MSSQL 7.0 can handle varchar columns larger than 255, but the C-API used to fetch the
data does not support this feature and therefore PHP is limited to fetch only the
first 255 characters. The only solution (so far) is to convert to TEXT.
- Frank
Hi Kelvin,
Check the connection from your computer to the server using Query Analyzer if the
connection is still slow it is some kind of network problem. If not it must be the PHP
installation.
Have you checked your php.ini for loading extensions you are not using ? This would
affect the CGI
After changing anything in the regestry database (regarding PWS) you need to stop and
start all PWS servises. it is not enough to stop and start the web server. The easiest
way on Win 98 would be to reboot the system.
The regestry database is only read when the service starts.
You dont need t
mysql had a
> >limit of 255 characters.
>
> I believe they were talking about the M$ SQL server? In version 6.5 the
> varchar were limited to 255 bytes, but with version 7.0 the length can be
> extended to 8000 bytes... and also Stored Procedures can now be, hmm, 128MB
> in
That is not correct. Using IIS4 and IIS5 you have to add script mappings. You do this
from the "Internet Service Manager". You find that under Administrative Tools.
When you right click on either The "compyter", "Default Web Site" or a directory you
can select properties. Select "Home directory
PHP Does not need perl in any instances.
It seams you are trying to run the cgi version of php and it is unable to find a
component, resulting in a core dump. You can test the php.exe from a command prompt.
Just type php.exe -v and yoy will get the veriosn information, or perhaps an error
mess
You can do this by reloading the page when the first list is changed or by applying
all the different values for the second list in JavaScript arrays and have some
JavaScript code to populate the second list.
- Frank
> A little help from anyone please.
>
> I know this was discussed before but
What version of the php_mssql.dll are you using ?
We had an error a while back where mssql_query returned a wrong value (true instead of
a ressource).
You could also add an extra parameter to the query function
$answer = mssql_query("SELECT * FROM table", $connection);
- Frank
P.S. If you a
101 - 200 of 331 matches
Mail list logo