[PHP-WIN] Re: PHP with IIS

2002-08-21 Thread Saci
Make a file called teste.php and put this inside this file Save this file to your wwwroot IIS directory and try to open with a browser, if you see all your php configuration everthing is ok but if you see the lines above php does not work. -- PHP Windows Mailing List (http://www.php.net

php-windows Digest 22 Aug 2002 02:00:46 -0000 Issue 1301

2002-08-21 Thread php-windows-digest-help
php-windows Digest 22 Aug 2002 02:00:46 - Issue 1301 Topics (messages 15405 through 15436): Apache... 15405 by: Brian McGarvie 15406 by: Rich Gray 15414 by: Seairth Jacobs 15415 by: Seairth Jacobs 15420 by: Brian McGarvie First Timer 15407 by

[PHP-WIN] Cannot create dynamic images in PHP 4.2.2... :(

2002-08-21 Thread Naveed Ahmad
Ive installed PHP 4.2.2 on IIS 5 on win2k server... Problem is I cannot make the gd liberary 2 work, When I create an image script, I get garbage values, not error[Ive alrady enabled the gd liberary in php.ini]. Plz tell me whats wrong, should I replace php_gd.dll. If so where can I replace it??

[PHP-WIN] text/string parsing question

2002-08-21 Thread php
Hello, I'm writing a program that parses out data contained in one large text file, each page separated by a control char. I explode() the data by the control char into an array, then I'm inserting them in MySQL by a client number and a page number. As of now, I've just been counting down charact

[PHP-WIN] Javascript/PHP

2002-08-21 Thread Kit Kerbel
I have a javascript function that I am passing a group of checkboxes to. The purpose of the js is to check/uncheck all of the boxes for various operations to be performed on all of them at the same time. That said, the function used to work perfectly when the name of the checkbox group was as

RE: [PHP-WIN] php.net down?

2002-08-21 Thread Ross Fleming
Cheeky gits. Especially the cowardly person who had to be censored... ;) Ross > -Original Message- > From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]] > Sent: 21 August 2002 18:08 > To: Php Win32 list > Cc: Ross Fleming > Subject: RE: [PHP-WIN] php.net down? > > > Definitely

RE: [PHP-WIN] php.net down?

2002-08-21 Thread Svensson, B.A.T. (HKG)
Definitely! (Hehehe) > -Original Message- > From: [CENSURE] > Sent: Wednesday, August 21, 2002 6:58 PM > To: Svensson, B.A.T. (HKG)> > > Is Ross retarded? > > -Original Message- > From: Ross Fleming [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 21, 2002 11:55 AM

RE: [PHP-WIN] php.net down?

2002-08-21 Thread Svensson, B.A.T. (HKG)
> Ah well, depends on your definition of "the php.net network"... ;) I would > happily assume that this would be both www.php.net and lists.php.net. If it > is safe to assume that by php.net, you included www.php.net as a subset of > php.net, it is also safe to assume that lists.php.net is a sub

RE: [PHP-WIN] php.net down?

2002-08-21 Thread Ross Fleming
Ah well, depends on your definition of "the php.net network"... ;) I would happily assume that this would be both www.php.net and lists.php.net. If it is safe to assume that by php.net, you included www.php.net as a subset of php.net, it is also safe to assume that lists.php.net is a subset of p

RE: [PHP-WIN] Newbie: Setting content type

2002-08-21 Thread Ross Fleming
Because that's not an xml document. By defining content-type: text/xml, you are telling any webbrowser to expect an xml document, and then not delivering one. The sample code you've sent doesn't generate any output whatsoever, try it from the command line and see. Ross > -Original Message-

RE: [PHP-WIN] php.net down?

2002-08-21 Thread Svensson, B.A.T. (HKG)
Logic does not dictate anything here, since a natural language can't be mapped in a 1-1 fashion onto a formal language. > -Original Message- > From: Ross Fleming [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 21, 2002 6:39 PM > To: Svensson, B.A.T. (HKG); Php Win32 list > Subject: R

RE: [PHP-WIN] php.net down?

2002-08-21 Thread Ross Fleming
Logic dictates that the entire network isn't down, since this mail is getting through ;) however the website does appear to be down. Ross > -Original Message- > From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]] > Sent: 21 August 2002 17:37 > To: Php Win32 list > Subject: [PHP-WIN]

RE: [PHP-WIN] php.net down?

2002-08-21 Thread Sandeep Murphy
not ur network.. php.net is down... sands portugal -Original Message- From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]] Sent: quarta-feira, 21 de Agosto de 2002 17:37 To: Php Win32 list Subject: [PHP-WIN] php.net down? Is it my network or the php.net network? [c:\sysapps\4nt302]

[PHP-WIN] php.net down?

2002-08-21 Thread Svensson, B.A.T. (HKG)
Is it my network or the php.net network? [c:\sysapps\4nt302]ping www.php.net Pinging php.net [64.246.30.37] with 32 bytes of data: Request timed out. Request timed out. Request timed out. Request timed out. [c:\sysapps\4nt302] ??? -- PHP Windows Mailing List (http://www.php.net/) To unsubsc

Re: [PHP-WIN] ADO & ODBC , for experts only

2002-08-21 Thread Saci
I used sqllog to trace the problem , I don't know why but the line $Rs->AddNew; do nothing on php. While insert a record on ASP. Mistery ?

RE: [PHP-WIN] First Timer

2002-08-21 Thread David Hollister
1) Have a configured web server (e.g. IIS, Apache) 2) Get the PHP engine (download from php.net) 3) Setup and configure PHP with specific web server requirements according to the documentation included with PHP download -Original Message- From: Greg Luce [mailto:[EMAIL PROTECTED]] Sent:

Re: [PHP-WIN] Newbie: Setting content type

2002-08-21 Thread Baz Langton
So why does the following code:- create_element("TEST"); $NewNode = $doc -> append_child($rootNode); ?> OR add_root("QUIZ"); $NewNode = $doc -> append_child($rootNode); ?> produce the following error:- The XML page cannot be displayed Cannot view XML input using style sheet. Please cor

Re: [PHP-WIN] Checkbox problem

2002-08-21 Thread Ignatius Reilly
One form will always post the same set of POST variables (sometimes a partial set, as when a checkbox is not checked, the variable is not passed) So the best way is to add hidden fields to your form, and manipulate then in javascript, like in this example (several submit buttons, corresponding

Re: [PHP-WIN] Apache...

2002-08-21 Thread Brian McGarvie
when's php4.3 likley to appear? "Seairth Jacobs" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I agree. I have seen several mentions that PHP 4.3 should have greatly > improved support for Apache2. However, I would stick with 1.3.x until it > has been relea

RE: [PHP-WIN] Checkbox problem

2002-08-21 Thread Rich Gray
Can you not give the buttons different names and test $_POST['buttonname'] in the next script? e.g. 1.php === 2.php if (isset($_POST['delete'])) { // Do deletes } if (isset($_POST['amend'])) { // Do amends } etc etc -Original Message- From: Kit Kerbel [mailto:[EMAIL PROTEC

RE: [PHP-WIN] Newbie: Setting content type

2002-08-21 Thread Ross Fleming
There must be a problem in your xml code that you are generating then. header("Content-type: text/xml"); is indeed how you set the content type to an xml page, as your test shows. The problem being is that phpinfo() generates an html document, not an xml one. The error you got was explorer tel

RE: [PHP-WIN] Checkbox problem

2002-08-21 Thread Ross Fleming
You sound a little confused as to how php works... Specifically the line onclick="" This is ALWAYS going to be executed, and before the user even clicks this button. When the user visits the page, php will set this session variable to "true" (incidently as a rule of thumb, use =1 instead of ="t

[PHP-WIN] Newbie: Setting content type

2002-08-21 Thread Baz Langton
How do I set the content type to text/xml?? I have a small php script which queries a database and returns the results as an xml document. However the flash application is not parsing the xml correctly and I believe it is because the response is in text/html. I've tired the following:- But thi

Re: [PHP-WIN] Apache...

2002-08-21 Thread Seairth Jacobs
Oh. And use the SAPI (Apache module) version if you can. This provides better performance over the CGI version and allows you to do some things that the CGI version cannot (such as adding relative paths after the script itself). --- Seairth Jacobs [EMAIL PROTECTED] "Seairth Jacobs" <[EMAIL PR

Re: [PHP-WIN] Apache...

2002-08-21 Thread Seairth Jacobs
I agree. I have seen several mentions that PHP 4.3 should have greatly improved support for Apache2. However, I would stick with 1.3.x until it has been released and shown to be stable. :) --- Seairth Jacobs [EMAIL PROTECTED] "Rich Gray" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]

[PHP-WIN] Checkbox problem

2002-08-21 Thread Kit Kerbel
I have a page that lists entries made by users in the database. There are three types of entries. Each type of entry is stored in their own table. My problem is this: I want people to be able to click a checkbox next to any of the entries and press a delete button and delete those entries.

Re: [PHP-WIN] ADO & ODBC , for experts only

2002-08-21 Thread Saci
To void any matter regarding string size I changed the str_repeat to 2 ( also the asp similar one),. And the problem still the same even with small strings. Asp runs perfectly , php runs and don't show any error but does not include the new record with the new data. I'm thinking about some kin

RE: [PHP-WIN] ADO & ODBC , for experts only

2002-08-21 Thread Svensson, B.A.T. (HKG)
> Yes that's the idea I try to show , And I need to discover how to surpass > the 254 chars limit Why didn't you say so in the first place then? > I guess that the solution is to use append chunk, but I'm triyng to use > that methode without sucess I have no problem executing "appended" chunks

Re: [PHP-WIN] ADO & ODBC , for experts only

2002-08-21 Thread Saci
Yes that's the idea I try to show , And I need to discover how to surpass the 254 chars limit I guess that the solution is to use append chunk, but I'm triyng to use that methode without sucess Look for the 2 folowing codes one in asp and another in php, I tried to make both codes as identic

RE: [PHP-WIN] Comunications Port Accsess

2002-08-21 Thread Svensson, B.A.T. (HKG)
> I wanted to know if there was any way I can control the serial port from > php? If php supports the CreateFile() function found in the Win32 API [does it?], then you should be able to read and write to the serial port. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP-WIN] Comunications Port Accsess

2002-08-21 Thread Piotr Pluciennik
Hi, you've developed the electronic output board, so probably you've got also software to control it and probably it is also your own :-) I've never used serial ports in my php apps, so what I can suggest is: try to make a COM object to control your serial port and access this COM object from ph

[PHP-WIN] First Timer

2002-08-21 Thread Greg Luce
Can someone give me a short rundown of what I need to do to get started running php on my windows server? I'm a CF'er by trade, but I have a working set of code that I need to set up on a development server for migration to CF.

RE: [PHP-WIN] Apache...

2002-08-21 Thread Rich Gray
Brian FWIW I had major problems getting PHP to run with Apache 2.x on NT4.0 - I had to revert back to v1.3.x ... Rich -Original Message- From: Brian McGarvie [mailto:[EMAIL PROTECTED]] Sent: 21 August 2002 13:25 To: [EMAIL PROTECTED] Subject: [PHP-WIN] Apache... What version of Apache

[PHP-WIN] Apache...

2002-08-21 Thread Brian McGarvie
What version of Apache is reccomened at present with PHP (cgi or isapi) to run on a production webserver on windows? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-windows Digest 21 Aug 2002 11:38:18 -0000 Issue 1300

2002-08-21 Thread php-windows-digest-help
php-windows Digest 21 Aug 2002 11:38:18 - Issue 1300 Topics (messages 15400 through 15404): Re: resolution? 15400 by: Luis Ferro Re: Any good tutorials on working with IMAP/POP3 and php 15401 by: Ross Fleming 15402 by: leo g. divinagracia iii ADO & ODBC , for exper

RE: [PHP-WIN] ADO & ODBC , for experts only

2002-08-21 Thread Svensson, B.A.T. (HKG)
A long shot: The only essential different I can see at a fast glance is the length of the string repeat. It might be that the string becomes truncated in the third statement. Try to execute a string that is 200 bytes in total length, and then expand it to 300, if you gets and error if you execut