[PHP-WIN] Re: Security Alert! PHP CGI cannot be accessed directly.

2002-04-16 Thread Steve Yates
"Faisal Ashraf" <[EMAIL PROTECTED]> wrote in message 000501c1e534$57f88750$648505ca@faisal">news:000501c1e534$57f88750$648505ca@faisal... > one could tell me how to remove this error ? > If > you are running IIS, you may safely set cgi.force_redirect=0 in php.ini. Read just a bit further. :

Re: [PHP-WIN] COM and ADODB access

2002-04-16 Thread Alan Popow
On Tue, 16 Apr 2002 09:26:35 -0500, you wrote: >It may be the ADO connection with Access. I am not sure. DB_adodb is a DB >class I am writing for the Pear_DB abstraction layer. > >I am attaching it to this email so everyone can look at it. At this point it is >kind of a hack. There is no capa

Re: [PHP-WIN] Outputting a string from mysql database

2002-04-16 Thread Nicole Amashta
Depending on how the data was inserted. If the data was inserted via a php script, then trying to insert data with a single quote ( ' ) in it would throw an error and the query wouldn't complete. The entire query would fail. If you want to insert ' in a database, either use escape the ' with a \'

RE: [PHP-WIN] Security Alert! PHP CGI cannot be accessed directly.

2002-04-16 Thread Faisal Ashraf
101% sure I done the same but now I have rectifyed the problem by installing php from php installer cuz manualy thing was giving me that error. Thank you Faisal This e-mail is confidential and may also be privileged. If you are not the intended recipient, please notify us and delete the emai

php-windows Digest 16 Apr 2002 16:56:41 -0000 Issue 1096

2002-04-16 Thread php-windows-digest-help
php-windows Digest 16 Apr 2002 16:56:41 - Issue 1096 Topics (messages 13116 through 13128): Re: PHP stable and for production 13116 by: Mike Maltese PHP/MySQL Query Prob 13117 by: Jason Soza Problem with uploading Files with PHP 4.1.2 on IIS 13118 by: Uhaj

Re: [PHP-WIN] Security Alert! PHP CGI cannot be accessed directly.

2002-04-16 Thread Shane Caraveo
Are you sure you changed the correct ini file or didn't misspell it? I use this all the time, no problem. Faisal Ashraf wrote: > > Hi All, > > I have installed new version of php on my xp box I am running iis for my > web's now I am getting this error even I have modified the php.ini file >

Re: [PHP-WIN] COM and ADODB access

2002-04-16 Thread Scott Carr
Sorry, the attachment didn't work right. The DSN structure is as follows: adodb:///Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\\path\\to\\database.mdb adodb:///Data Source={ODBC DSN} Everything after the last / is considered the ADO Connection string. -- Scott Carr OpenOffice.org Whiteb

Re: [PHP-WIN] COM and ADODB access

2002-04-16 Thread Scott Carr
It may be the ADO connection with Access. I am not sure. DB_adodb is a DB class I am writing for the Pear_DB abstraction layer. I am attaching it to this email so everyone can look at it. At this point it is kind of a hack. There is no capability in ADO to count the number of records that a q

Re: [PHP-WIN] Outputting a string from mysql database

2002-04-16 Thread Mike Flynn
Are you sure that that last field truly contains "J B's Supermarket" in the database? Are you sure the error wasn't produced while INSERTING the data into the database, thus resulting in only "J B" being put into the database? You should view your database data directly, like by using a webm

Re: [PHP-WIN] Problem with uploading Files with PHP 4.1.2 on IIS

2002-04-16 Thread Mike Flynn
The temp file is deleted after the script is run. So if you're checking for the presence of that .TMP file after you have run your page, then you won't find it. For security reasons (and also to save hard drive space), the file is only there during the execution of the script. It is during

[PHP-WIN] Re: Outputting a string from mysql database

2002-04-16 Thread The Walters
I would try a type cast of string echo (string) $result[0]; "Q" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have a field in a mysql table called table which is called names. > Examples of the information in this column : > > > Name > > Lottery Compa

[PHP-WIN] Security Alert! PHP CGI cannot be accessed directly.

2002-04-16 Thread Faisal Ashraf
Hi All, I have installed new version of php on my xp box I am running iis for my web's now I am getting this error even I have modified the php.ini file value cgi.force_redirect=0 but I am still getting the same problem any one could tell me how to remove this error ? Thank You Faisal Ash

[PHP-WIN] Outputting a string from mysql database

2002-04-16 Thread q
I have a field in a mysql table called table which is called names. Examples of the information in this column : Name Lottery Company Mark MiniMark J B's Supermarket I connect to the datbase successful and I use the following php line to get the information from the row: $row_info=mysql

[PHP-WIN] Re: Problem with uploading Files with PHP 4.1.2 on IIS

2002-04-16 Thread Evan
This works for me: if (is_uploaded_file($HTTP_POST_FILES['userfile']['tmp_name'])) { //Get the extension $split_nomefile = explode(".",$_FILES['userfile']['name']); $ext = $split_nomefile[ count($split_nomefile)-1 ]; //Create the new filename $NomeFile = $_POST["Materia"]."_".date("Y-m-d-H-