php-windows Digest 9 Feb 2003 15:44:56 -0000 Issue 1579
Topics (messages 18408 through 18412):
Re: PHP and .NET AGAIN...NEWBIE!!!
18408 by: pingywon MCSE
Re: Passing parameters in forms
18409 by: Apollo
problems about sql server2000,help
18410 by: auto_null.enorth.com.cn
18411 by: Frank M. Kromann
opendir
18412 by: Evan
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Thank you for your help..I followed your link and think I configured
everything correctly..but IT STILL DOESN'T WORK......
--
>
> http://www.rtfmnewbie.com/php-iis6.txt
>
> That has an EXACT step by step setup of php.
>
>
>
> Regards,
> Nick H.
> [EMAIL PROTECTED]
>
>
> -------------------------------------------
> Privileged/Confidential Information may be contained in this message. If
> you are not the addressee indicated in this message (or responsible for
> delivery of the message to such person), you may not copy or deliver this
> message to anyone. In such case, you should destroy this message and
kindly
> notify the sender by reply email. Please advise immediately if you or
your
> employer do not consent to Internet email for messages of this kind.
> Opinions, conclusions and other information in this message that do not
> relate to the official business of my firm shall be understood as neither
> given nor endorsed by it.
>
>
--- End Message ---
--- Begin Message ---
Thanks a lot.
"Fran Thomas" <[EMAIL PROTECTED]> wrote in message
791B993F24F4D311BB3B009027E792640540E8F4@radbuksdnt18">news:791B993F24F4D311BB3B009027E792640540E8F4@radbuksdnt18...
> Depending whether or not you are using autoglobals...
>
> try reading $_POST['myName']
>
> .:Fran
>
> -----Original Message-----
> From: Apollo [mailto:[EMAIL PROTECTED]]
> Sent: 07 February 2003 00:52
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Passing parameters in forms
>
>
> Hi there,
>
> I am using Windows XP as my IIS platform, I have this code:
>
> <form action="<?php print $PHP_SELF?>" method="POST">
> Type your name here: <input type="text" name="myName">
> </form>
>
> even though i have typed a text on the textfield, $myName is still blank
> after I pressed enter. I have done all the settings i must do according to
> the installation manual, is there something else i should do?
>
> I am a newbie, please help. Thanks.
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> Internet communications are not secure and therefore the Barclays Group
> does not accept legal responsibility for the contents of this message.
> Although the Barclays Group operates anti-virus programmes, it does not
> accept responsibility for any damage whatsoever that is caused by
> viruses being passed. Any views or opinions presented are solely those
> of the author and do not necessarily represent those of the Barclays
> Group. Replies to this email may be monitored by the Barclays Group
> for operational or business reasons.
>
--- End Message ---
--- Begin Message ---
code:
<?
include "config.inc.php";
$query = "select * from book";
$linkid = mssql_connect($dbhost,$dbuser,$dbpass);
$selectdb = mssql_select_db($db,$linkid);
$result = mssql_query($query);
?>
but errors occur:
Warning: MS SQL message: Unicode data in a Unicode-only collation or ntext data cannot
be sent to clients using DB-Library (such as ISQL) or ODBC version 3.7 or earlier.
(severity 16) in f:\web\a.php on line 6
Warning: MS SQL: Query failed in f:\web\a.php on line 6
i've tried my best to solve this problem,but i failed.
can anyone help me?thanks.
i'm sorry to say,i'm poor in English,i don't know wheather you can understand me.
--- End Message ---
--- Begin Message ---
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 ADODB.
- Frank
> code:
> <?
> include "config.inc.php";
> $query = "select * from book";
> $linkid = mssql_connect($dbhost,$dbuser,$dbpass);
> $selectdb = mssql_select_db($db,$linkid);
> $result = mssql_query($query);
> ?>
> but errors occur:
>
> Warning: MS SQL message: Unicode data in a Unicode-only collation or
ntext data cannot be sent to clients using DB-Library (such as ISQL) or
ODBC version 3.7 or earlier. (severity 16) in f:\web\a.php on line 6
>
> Warning: MS SQL: Query failed in f:\web\a.php on line 6
>
> i've tried my best to solve this problem,but i failed.
> can anyone help me?thanks.
> i'm sorry to say,i'm poor in English,i don't know wheather you can
understand me.
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
Working with PHP 4.2.3==> IIS5.1, WinXP Pro, NTFS
I made this simple page to be able to brouse throught folders and files, but
it seems that it doesn't recognize folders when I go outside the directory
in which is contained the .php file.
Any Ideas?
Thanks
*************************+++
<?php
$nome_dir = "";
if( isset($_GET['folder']))
$nome_dir = $_GET['folder']."/";
if ($handle = opendir($nome_dir)) {
echo "Directory handle: $handle<br>";
$i=0;
$j=0;
while (false !== ($file = readdir($handle))) {
if(is_dir($file)){
echo "<b>$file</b><br>";
$directory[$j]=$file;
$j++;
}else{
echo "$file<br>";
$elenco_file[$i]=$file;
$i++;
}
}
//Ordinamento per nome delle directory e dei file:
if(is_array($directory))
sort($directory);
if(is_array($elenco_file))
sort($elenco_file);
//Stampa i valori
//print_r($directory);
//print_r($elenco_file);
echo "<br><br><br>";
for($i=0;$i<count($directory);$i++){
echo "<b><a href =
\"dir_list.php?folder=".$nome_dir.$directory[$i]."\">".$directory[$i]."</a><
/b><br>";
}
for($i=0;$i<count($elenco_file);$i++){
echo $elenco_file[$i]."<br>";
}
closedir($handle);
}
?>
--- End Message ---