Yes Mike, but if it's a larger database you might wanna use the
functions in MySQL instead. Then you will save time and memory by not
selecting everything everytime and then process it in php.
Take a look at 7.4.9 in MySQL doc
(http://www.mysql.com/doc/M/a/Mathematical_functions.html).
/Johan
php-windows Digest 2 May 2001 07:16:19 - Issue 575
Topics (messages 7182 through 7194):
connecting to the db server
7182 by: thegraphicguru
Re: php4win.de distribution
7183 by: Daniel Beulshausen
ASPs cSTR function, WTF??!!!
7184 by: r.gelstharp
custom
The correct case should be CStr, the same as CInt
It is used for typecasting, but obviously Strings should not be used if you
can avoid it, because they are SLOW.
The PHP equivalent is to write:
function selected ($firstval, $secondval) {
return (strcmp($firstval, $secondval) == 0) ?
When I start Apache, I get a lot of errors saying Could not find
msvcr70.dll. Which dll is this?
(NT4 Apache 1.3.17 PHP 4.0.5)
--
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
php 4.0.4pl1 work with crypt() well, but php4.0.5 for windows not work with crypt()
really?
i need crypt(). please help me!!
Hi,
I want to use a normal win dll with php but I get the following warning:
PHP Warning: Invalid library (maybe not a PHP library) 'xxx.dll' in Unknown
on line 0
How can I get a PHP library, how to compile the C sources ???
Thanx
--
PHP Windows Mailing List (http://www.php.net/)
To
If you are using mysql shareware version, open amsprompt window and type cd
c:\mysql\bin and enter
then type mysqld~2.exe enter, then start mysql by doing mysql.exe. Otherwise
type dir in mysql\bin and look out what version of mysqld you have the
regulat one (mysqld) or opt.
good luck
Giro
When I start Apache, I get a lot of errors saying Could not find
msvcr70.dll. Which dll is this?
(NT4 Apache 1.3.17 PHP 4.0.5)
--
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
Thanks for your reply Tom. I will contact my ISP, although I guess I must
have create table rights because I created the permanent db tables OK.
I have been browsing through the HTML MySQL manual and found, under F MySQL
change history/F.2.3 Changes in release 3.23.28, the following entry :-
Hi everyone,
I am experiencing problem with mysql trying to import a text file with data
into a table, i am using phpmyadmin in order to do that, going to insert
textfiles into table and after choosing the file I want to upload i got this
error, any help will be appreciated.
Giro
Error
Hi,
I am trying to insert into a column in a mssql 7 database with a datatype of
bit... I have tried to insert 0, 1, '0', '1' but get an sql error every
time (Incorrect syntax near ...)... I also tried first using settype and
setting my variables type to boolean (which seems to me to be the
Hi Giro,
You'll have to type c:\\Windows\\Temp\\phpC021.TMP
/Johan
Giro De Roover wrote:
Hi everyone,
I am experiencing problem with mysql trying to import a text file with data
into a table, i am using phpmyadmin in order to do that, going to insert
textfiles into table and after
Hi everyone,
I'm using php 4.04pl with Netscape FastTrack Server
3.0 om Windows NT 4.0 platform.
With Netscape Navigator 4.x everything is working
fine. Page is correctly displayed. Problem doesn't
exist also with IE 5.0. When I use IE 4.0 the page is
loaded, then I've got message that browser
Hi,
I've already found an answer - bug in IE 4.0 connected
to transfer-chunk coding in HTTP 1.1 (RFC 2616).
Complete info about problem can be found in article
Q177231 at www.microsoft.com
All the best
Piotr
--- Piotr Pluciennik [EMAIL PROTECTED] wrote:
Hi everyone,
I'm using php 4.04pl
I know the php_oci8.dll works with Oracle 8.1.6 drivers, but has anyone ever
tried this on a server with multilple ORACLE HOMES?
One of our server apps cannot use the Oracle 8 drivers so we must continue
using the 7.3 Oracle client. I know Oracle 8i supports multiple homes so I
believe I can
sorry, my mistake. the problem was elsewhere in my sql and nothing to with
inserting a bit... I've figured it out now,
Cheers,
Kelvin.
-Original Message-
From: Kelvin Luck [mailto:[EMAIL PROTECTED]]
Sent: 02 May 2001 12:26
To: php recieve
Subject: [PHP-WIN] inserting a bit into mssql
Hi.
I have mentioned this problem before in a newsgroup, but the answers did
not help me solve it - So here i go again.
Why doesn't my national (swedish) characters show up correctly?
I get TM (as in trademark) instead of Ö (capital o with the two
dots) for example.
I have (on recommendation)
I am trying to run php4 on my windows 2000 iis server. I can load php files
withe the cgi version (php.exe), but when I try to use hp4isapi.dll i get
the error The specified module could not be found. How do I get this thing
to work?
Grady Morgan
Hi again.
I thought it would be more satisfactory if I found out for myself what MySQL
version my ISP is running so I tacked a query on to one of my forms to find
out. They are running 3.22.22. That sounds pretty old?? Could that be the
problem? It /is/ going to be a problem if it is. I
--Remove Email Instructions-
Your email address is used solely to keep you updated on Altima Technologies,
products, updates, events and special offers.
If you prefer not to receive future email communications from Altima Technologies,
please click here to be
Yes, COM is completely broken in 4.05
Alain
On Wed, May 02, 2001 at 06:51:14PM +1000, Jason Gan wrote:
I ran a brief ADODB test and it gave me an Access Violation Error.
PHP has encountered an Access Violation at 2474FF04
when parsing this line:
$fields = $rs-Fields;
where $rs is
By making sure the DLL the system ask for is present in your access path!
(That's basically what the error message ask you to do. :-/ )
-Original Message-
From: Grady Morgan
Sent: Wednesday, May 02, 2001 5:24 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] php4 and iis5
I am trying to run
How is that done and where ??
Johan Lundqvist [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi Giro,
You'll have to type c:\\Windows\\Temp\\phpC021.TMP
/Johan
Giro De Roover wrote:
Hi everyone,
I am experiencing problem with mysql trying to import
php-windows Digest 2 May 2001 19:28:53 - Issue 576
Topics (messages 7195 through 7219):
R: [PHP-WIN] ASPs cSTR function, WTF??!!!
7195 by: Ermanno Iannacci
Re: SQL Error - create temporary table
7196 by: Tom Mathews
7204 by: John Morrison
7215 by: John
Please, help me.
I need to register the data that I collect with a simple form (FirstName,
SecondName, Email) on a MySQL database.
How I can do it ?
.. and how I can to encrypt the access-password to the MySQL db in the php
page ?
I hope you can help me.
Thx
Paul
--
PHP Windows Mailing List
Hi, I'm running PHP4 on Win2k/IIS5. And my app uses
sessions/cookies.
Does anyone know how to put the php session id in the IIS
logfile?
thanks
-Kevin
__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
Hi there, has anyone had any luck getting anti-aliased fonts in GD? I
believe there is a way, and that I have seen some examples of really cool
looking text, but the binary version distributed for windows has no built in
type 1 font support.
I would just like to know if this is possible, or if I
I'm having trouble getting cookies to work. I'm using PHP4, and yes I have
already read the manual and I've done like it says to place the setcookies()
function BEFORE any other calls such as HTML and so forth.
Have I missed a configuration I should have done in setting up
PHP/Apache/whatever? I
In your defense, cookies are pretty stubborn, so don't feel bad. What
exactly is your problem so we can find out how to help you.
-Flint
-Original Message-
From: r.gelstharp [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 02, 2001 3:05 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] trouble
The trouble I'm having is simply that I'm using the setcookie() function,
and it doesn't seem to be setting the cookies. I know this because I use the
isset() function to check on all the pages that use the cookies plus I've
used $HTTP_COOKIE_VARS to check also. It just ain't doin' it.
Flint
This might be caused by several factors. Here are the ones I remember:
1) The browser you are using simply does not accept cookies
2) The PHP file trying to read info from the cookie with the isset ()
function is not located within the domain specified in the setcookie() function
3) There is
1)hmmm, I'm using Internet Explorer, and when I created cookies with ASP
they seemed to work, so it can't be that.
2)This might be the answer, but when you specify the domain in setcookie as
.. doesn't that mean that you set it to the default which is the host name
of the server, and therefore
How do I do to make a session by eatch browser window?
Obrigado.
R3.
Rodrigo Rois da Rocha.
Acesse agora! www.circulonegro.com
___
Obtenha seu Serviço de Correio eletrônico Baseado na Web Service
How do I do to make unique sessions by eatch browser window?
Obrigado.
R3.
Rodrigo Rois da Rocha.
Acesse agora! www.circulonegro.com
___
Obtenha seu Serviço de Correio eletrônico Baseado na Web
How do I do to make unique sessions by eatch browser window?
Obrigado.
R3.
Rodrigo Rois da Rocha.
Acesse agora! www.circulonegro.com
___
Obtenha seu Serviço de Correio eletrônico Baseado na Web
Hi all,
I've got a rather iritating problem. I recently moved a site from PHP 3.0.11
to 4.0.5 RC1. It seems, and I have noticed this for a while in other
scripts, that variables returned from MSSQL sometimes need to be trimmed
with trim() in order to function correctly.
Sometimes they won't
How are you setting the cookie? And what are you doing after you set the
cookie?
Note that the cookie
will not become visible until the next loading of a
page that the cookie should be visible for
(c.f.
http://www.php.net/manual/en/ function.setcookie.php).
HTH,
Ignatius Teo
-Original
One thing that I've come across when dealing with cookies, which is
documented at: http://www.php.net/manual/en/function.setcookie.php, is the
fact that the cookie won't show up until the document is refreshed.
Are you trying to pull the cookie vals. right after your setcookie()
command?
Good point. That could be it. Although for the domain you specified, if you
do want to specify the root as the domain, simply use / (and maybe you
can leave this empty, I'd have to double-check). I don't know what ..
will produce as a result, but I know that setting / as a domain does work.
Hope
As far as I'm aware you can't. The nature of sessions dictates that this
isn't possible.
Sessions are global to all active instances of a browser.
However, if you're running Netscape and IE at the same time, they won't
share the same session.
-Original Message-
From: Shadow Tree
On the recommendation of another, I have abandoned cookies, sort of, and
gone for sessions instead.
I've tried to write it so that when a user logs onto my site for the first
time they input all their details a session is registered, which I
(unoriginally) called $session from someone else's
Manu!1, Tengo noticias tema tesis hoy hable con magdalena Vilaro pra pedirle
la tutoria y bueno por un lado un embole porque no esta guiando tesis y por
otro alucinante por que esta en el comite de Estudio de temas de Tesis,
ybueno me dijo que era sumamente viable este tema de que las dos juntas
42 matches
Mail list logo