php-windows Digest 20 Mar 2002 07:47:24 -0000 Issue 1054
Topics (messages 12684 through 12690):
Re: PHP 4.1.2 problems
12684 by: Shrock, Court
12687 by: C vd Veen
BDB transactions ?
12685 by: Sviss Cobazor
12686 by: C vd Veen
Not PHP specific, but need help anyways
12688 by: Randall Barber
12689 by: C vd Veen
PHP - mssql
12690 by: chris
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 ---
Did the include_path change in your php.ini? Verify your include_path
directive in your php.ini.
-----Original Message-----
From: Steve
To: [EMAIL PROTECTED]
Sent: 3/18/02 5:19 PM
Subject: [PHP-WIN] PHP 4.1.2 problems
I just updated my php instalation to 4.1.2 (the one witht he forced
redirect enabled). The problem i have is since i upgraded it on the
weekend....it will not include files using either include or require, it
keeps telling me that it can;t open them and it shows for some strange
unknown reason to me that they werent in my "C:\php4\pear" directory
which A: I don;t got a directory called php4 and B: before I upgraded my
include and require files always loaded.
Can anyone PLEASE tell me how I can get it so my includes will include
from their directory instead of some phantom directory? Or still have
the binary for php 4.1.1 or 4.1.0 that they can send me
Thanx
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
I also upgraded tot PHP 4.1.2. and kept the old php.ini file... that works
fine...
C vd Veen
"Steve" <[EMAIL PROTECTED]> schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I just updated my php instalation to 4.1.2 (the one witht he forced
> redirect enabled). The problem i have is since i upgraded it on the
> weekend....it will not include files using either include or require, it
> keeps telling me that it can;t open them and it shows for some strange
> unknown reason to me that they werent in my "C:\php4\pear" directory
> which A: I don;t got a directory called php4 and B: before I upgraded my
> include and require files always loaded.
>
> Can anyone PLEASE tell me how I can get it so my includes will include
> from their directory instead of some phantom directory? Or still have
> the binary for php 4.1.1 or 4.1.0 that they can send me
>
> Thanx
--- End Message ---
--- Begin Message ---
Hi NG.
I'm trying to test transactions by starting a transaction with "SET
AUTOCOMMIT=0" and "BEGIN".
After that I create a table and insert 2 rows. The 2nd row has an syntax
error so this would call for a rollback.
But the table gets created and the 1st row are inserted although my test
function never gets to call commit but instead calls rollback.
Anyone have an idea why this is?
~ Sviss.
--- End Message ---
--- Begin Message ---
PHP doesn't have a table, MySQL has....
"Sviss Cobazor" <[EMAIL PROTECTED]> schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi NG.
>
> I'm trying to test transactions by starting a transaction with "SET
> AUTOCOMMIT=0" and "BEGIN".
> After that I create a table and insert 2 rows. The 2nd row has an syntax
> error so this would call for a rollback.
> But the table gets created and the 1st row are inserted although my test
> function never gets to call commit but instead calls rollback.
>
> Anyone have an idea why this is?
>
> ~ Sviss.
>
>
--- End Message ---
--- Begin Message ---
Howdy--
I have a PHP script that creates links to external files that I want the user to save
to disk.
Specifically these are Postscript Printer Definition files (PPDs) which will be saved
on a Mac or a PC.
As it is, I use the following link:
<a href="http://www.mypage.edu/printer.ppd"> etc...
This browses to the file and shows up in the browser. What I want is when the user
chooses the link,
it brings up the "Save To Disk" dialog (for both Mac and PC).
Should I use the <a href="ftp:// etc.."> tag? I was under the impression you needed
an FTP server for that to work right.
Any hints, or a shove in the right direction please.
Thanks
RDB
--- End Message ---
--- Begin Message ---
You could winzip the file or make it an installation executable (.exe)
C vd Veen
"Randall Barber" <[EMAIL PROTECTED]> schreef in bericht
002501c1cf77$97e85c50$82c5bb80@246upbwork">news:002501c1cf77$97e85c50$82c5bb80@246upbwork...
Howdy--
I have a PHP script that creates links to external files that I want the
user to save to disk.
Specifically these are Postscript Printer Definition files (PPDs) which will
be saved on a Mac or a PC.
As it is, I use the following link:
<a href="http://www.mypage.edu/printer.ppd"> etc...
This browses to the file and shows up in the browser. What I want is when
the user chooses the link,
it brings up the "Save To Disk" dialog (for both Mac and PC).
Should I use the <a href="ftp:// etc.."> tag? I was under the impression
you needed an FTP server for that to work right.
Any hints, or a shove in the right direction please.
Thanks
RDB
--- End Message ---
--- Begin Message ---
Hi. I have a table that contains lots of names in mssql. and i want to make
a page
where each of theese individuals can login with that spesific username and
password.
So my question is : what is the proper (best) command to use for sending and
returning the info?
<?PHP
$link = mssql_connect($hostname,$username,$password);
$dblink = mssql_select_db($dbname, $link);
if ( $link && $dblink )
{
$query = "select * from members where user = '$user' and pass = '$pass'";
$result = mssql_query( $query );
if ( $result ) echo "correct login";
else echo "wrong login";
}
?>
This is not working... i have tried everything i can think of that can work
but with no luck.
So if someone have a solution for me... i would apriciate it :)
(and yes i do have defined all the vars in the script they are just not that
important here....)
-Chris
--- End Message ---