[PHP-WIN] php newbie seeks help!

2001-05-02 Thread Seth Cox
Hey! I just installed PHP on my Sambar server. It works great but I have one question. While reading a book to learn the PHP scripting language, it talks about having the encrypt() and decrypt() options with an extension that must be installed on my server to allow those commands. I have searc

RE: [PHP-WIN] Javascript

2001-05-02 Thread Ignatius Teo
This may seem like silly questions, but… 1. Have you configured your web server to handle php scripts? 2. Are you able to run php scripts normally? 3. Does your script return valid javascript code? Ignatius -Original Message- From: John [mailto:[EMAIL PROTECTED]] Sent:

[PHP-WIN] Javascript

2001-05-02 Thread John
Is there a way to use a JavaScript to call php: ie: I have tried this and it will not run the PHP... this works in ASP... I'm a PHP newbie.. Any help is appreciated... Thanks!!!

[PHP-WIN] Tesis!!!!!!

2001-05-02 Thread carlos
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 e

[PHP-WIN] session trouble

2001-05-02 Thread r.gelstharp
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 exam

RE: [PHP-WIN] Session

2001-05-02 Thread Robin Bolton
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 [ma

RE: [PHP-WIN] trouble with cookies

2001-05-02 Thread Hubert Olivier
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.

RE: [PHP-WIN] trouble with cookies

2001-05-02 Thread Robin Bolton
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? > -

RE: [PHP-WIN] trouble with cookies

2001-05-02 Thread Ignatius Teo
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

[PHP-WIN] Required to Trim Variables with MSSQL Module

2001-05-02 Thread Flint Doungchak
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 eva

[PHP-WIN] Session

2001-05-02 Thread Shadow Tree
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

[PHP-WIN] Session

2001-05-02 Thread Shadow Tree
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 S

[PHP-WIN] Session

2001-05-02 Thread Shadow Tree
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

Re: [PHP-WIN] trouble with cookies

2001-05-02 Thread r.gelstharp
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

Re: [PHP-WIN] trouble with cookies

2001-05-02 Thread Hubert Olivier
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 inde

Re: [PHP-WIN] trouble with cookies

2001-05-02 Thread r.gelstharp
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 Doun

RE: [PHP-WIN] trouble with cookies

2001-05-02 Thread Flint Doungchak
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

[PHP-WIN] trouble with cookies

2001-05-02 Thread r.gelstharp
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 and so forth. Have I missed a configuration I should have done in setting up PHP/Apache/whatever? I don'

[PHP-WIN] GD and Fonts

2001-05-02 Thread Michael Haggerty
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

[PHP-WIN] How to log session cookie?

2001-05-02 Thread Kevin L
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 http://auctions.yah

[PHP-WIN] Form & MySQL

2001-05-02 Thread fipo2001
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 (ht

php-windows Digest 2 May 2001 19:28:53 -0000 Issue 576

2001-05-02 Thread php-windows-digest-help
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 Morri

Re: [PHP-WIN] mysql dump

2001-05-02 Thread Giro De Roover
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 mysq

RE: [PHP-WIN] php4 and iis5

2001-05-02 Thread Svensson, B.A.T.
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

Re: [PHP-WIN] PHP 4.0.5 COM bugs

2001-05-02 Thread Alain Samoun
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

[PHP-WIN] Create Professional Network Design and Digrams without Limits

2001-05-02 Thread Leanne
--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 remov

Re: [PHP-WIN] SQL Error - create temporary table

2001-05-02 Thread John Morrison
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 a

[PHP-WIN] php4 and iis5

2001-05-02 Thread Grady Morgan
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 _

Re: [PHP-WIN] PHP 4.0.4 With Multiple Oracle Homes

2001-05-02 Thread Joe Brown
I find the whole concept of "oracle home" a nightmare. Reguardless of my opinion, the main difference between oracle homes is the location of executable files and the location of the TnsNames.ora file. The PHP_OCI8 module is mostly just a client network interface. As long as the PATH environmen

[PHP-WIN] Newbie needs help.

2001-05-02 Thread Michel Laine
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 recommendatio

RE: [PHP-WIN] inserting a bit into mssql database

2001-05-02 Thread Kelvin Luck
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 da

[PHP-WIN] PHP 4.0.4 With Multiple Oracle Homes

2001-05-02 Thread Woods Ron Contr SA-ALC/FMIS
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 inst

Re: [PHP-WIN] IE error

2001-05-02 Thread Piotr Pluciennik
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.04

[PHP-WIN] IE error

2001-05-02 Thread Piotr Pluciennik
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 c

Re: [PHP-WIN] mysql dump

2001-05-02 Thread Johan Lundqvist
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

[PHP-WIN] inserting a bit into mssql database

2001-05-02 Thread Kelvin Luck
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 ne

[PHP-WIN] mysql dump

2001-05-02 Thread Giro De Roover
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 SQL-quer

Re: [PHP-WIN] SQL Error - create temporary table

2001-05-02 Thread John Morrison
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 :

[PHP-WIN] msvcr70.dll ?

2001-05-02 Thread Ermanno Iannacci
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 adm

Re: [PHP-WIN] MySQL problem

2001-05-02 Thread Giro De Roover
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 "Ch

[PHP-WIN] use win dll / compiling for php

2001-05-02 Thread Andre Steffens
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 unsu

[PHP-WIN] crypt() not work really?

2001-05-02 Thread 최기수
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!!

[PHP-WIN] msvcr70.dll ?

2001-05-02 Thread Ermanno Iannacci
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 adm

[PHP-WIN] PHP 4.0.5 COM bugs

2001-05-02 Thread Jason Gan
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 the recordset from the SQL database. I got the following error messages when using MSXML Parser 3.01 to load an X

[PHP-WIN] RE: ASPs cSTR function, WTF??!!!

2001-05-02 Thread Jason Gan
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) ? "

Re: [PHP-WIN] SQL Error - create temporary table

2001-05-02 Thread Tom Mathews
Check with your ISP what access rights you have to the MySQL db - if you don't have create table rights, then you won't be able to crete temporary tables either. Tom John Morrison wrote: > Hi > > I have cobbled together my first PHP/MySQL site which > checks out OK on "localhost" (a WinMe/Xitam

[PHP-WIN] R: [PHP-WIN] ASPs cSTR function, WTF??!!!

2001-05-02 Thread Ermanno Iannacci
- Original Message - From: r.gelstharp <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 01, 2001 5:54 PM Subject: [PHP-WIN] ASPs cSTR function, WTF??!!! > In the attempt at trying to convert my ASP pages to PHP, I've run across a > little include file that contains a numbe