Hi John,
your first example looks right. Can you send us the code you use to list
the records. I would expect the problem in there, because in your second
example basically the FetchStatement is not doing anything as the
statement has not been executed.
You need to loop through the result set arr
It's not always the best idea to hop onto a mailing list owned by the
developers of a scripting language and accuse them of making 'stupid'
decisions.
If you feel that this issue is major, perhaps you should either join the
developers list and make the suggestion in a nicer manner, or gain CVS
ac
Dear Ladies and Gents,
That error message "Unable to fork" is stupid, because fork is not supported
under Windows, as it is a Unix command to fork two processes. Windows uses
multi-threading instead.
They should just rename the error message to "Identified PHP4 error".
:0)
-- Jason
-Orig
Hello?
"Bhala" <[EMAIL PROTECTED]> wrote in message
9a3rjt$5gj$[EMAIL PROTECTED]">news:9a3rjt$5gj$[EMAIL PROTECTED]...
How you set up apache so that it will run in the background when I start
windows & will shut down when I exit windows???
--
PHP Windows Mailing List (http://www.php.net/)
To
n\m about that I got every thing to work now
"Joe Brown" <[EMAIL PROTECTED]> wrote in message
9add21$1fv$[EMAIL PROTECTED]">news:9add21$1fv$[EMAIL PROTECTED]...
> You need php4apache.dll only if you are running php as a module of Apache,
> not as a CGI or executable. php.exe does not require php4
Hey all,
I would like to enable my users to upload binary data into the database --
into MySQL blobs. I/e they could upload images, or word documents,
etc. However, my network administrators have told me that they have PHP
file uploads disabled for security reasons.
My question to you is th
> >Hi,
> >
> >I have the same problem, I don't understand the problem.
> >
> >
> >
> >"Keith Stevenson" <[EMAIL PROTECTED]> wrote in message
> >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> >> Hi,
> >> Im having a Problem running an application from a PHP page using the
> >> Exec() function (as w
php-windows Digest 4 Apr 2001 22:02:00 - Issue 527
Topics (messages 6489 through 6517):
Is Sybase supported on Windows?
6489 by: Javier Boluda
Re: mail() Function and time
6490 by: Marck D. Pearlstone
6501 by: Marck D. Pearlstone
Re: free hosting with php
6
Hi,
You've probably already looked into this, but I just wanted to be sure:
have you checked the persmissions on "Application.exe" ? I believe PHP uses
IUSR_Computer (where Computer is your computer name) to exec() anything so
if IUSR_Computer doesn't have the rights to read+execute the p
Hi,
I have the same problem, I don't understand the problem.
"Keith Stevenson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
> Im having a Problem running an application from a PHP page using the
> Exec() function (as well as all the other program exec
The good news is that I'll soon be able to move the bulk of my stuff away
from NT (hurray!), but I am left with the following problem.
I need to build a system which handles user authentication via a mysql
database - the authentication to be done at the authentication headers level
rather than co
I don't know why it would matter, but you only have to
session_register("SESSION"); once. So put that line under the if statement
so that it is only run the first time they open the browser:
mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 04, 2001 2:01 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP
Sorry, still NOTHING. I really have NO idea
what could be the reason for this. It can't be any other
setting in the php.ini ?! ..
I have still NO idea at all what could have been the
reason for it but after copying the distributed php.ini
from php.net and changing the session.save_path it work
I'm attempting to work on a little oracle search...
My problem is that if I put the OCIExecute BEFORE the OCIFetchStatement
line, I get one error ( Warning: OCIFetchInto: ORA-01002: fetch out of
sequence in d:\InetPub\wwwroot\etc. ) but if I put OCIExecute AFTER the
OCIFetchStatement I get a diff
>CGI Error
>The specified CGI application misbehaved by not returning a complete set of
>HTTP headers. The headers it did return are:
This is usually because php didn't output anything.
Favourite causes are:
the file did not exist
php.exe, one of the php dlls or php.ini don't have file permissi
Here, try this little rework... it's a new one... because the last one was
bad...
Counter initialized, please reload this page to see it
increment";
} else {
echo "You have been to this page $count times during this
session";
$count++;
session_register("count");
}
?>
--
good point. never think you were NOT stupid
if something doesn't work cause usually you are.
But unfortunately in this case I still am stupid.
No, John it doesn't work. The strange thing is that
I'm being told that $PHPSESSID is a undefined
variable but in the ssession directory a file is generate
I know this may sound stupid, but do you have a directory already
established called C:\Programme\Apache Group\Apache\cgi-bin\php4\sessiondata
Maybe try making a fresh directory...
-
John Asendorf - [EMAIL PROTECTED]
Web Applications Developer
http://www.lcounty.com - NEW FEA
thanks John but nope, still the same...
just some -maybe helpful- more info:
php.ini:
session.save_handler = files
session.save_path = C:\Programme\Apache
Group\Apache\cgi-bin\php4\sessiondata
session.use_cookies = 1
session.name = PHPSESSID
""Asendorf, John"" <[
Don't forget session_destroy (); at some point...
-
John Asendorf - [EMAIL PROTECTED]
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Aut insanit homo, aut versus facit
> -Original Message-
> From:
Try this little rework...
Counter initialized, please reload this page to see it
increment";
} else {
echo "Waking up session $PHPSESSID";
$count++;
session_register("count");
}
echo "The counter is now $count ";
?>
-
John Asendorf - [EMAIL PROTECTED
CGI Error
The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers it did return are:
-Original Message-
From: Phil Driscoll [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 04, 2001 1:42 PM
To: Conover, Ryan; [EMAIL PROTECTED]
Subject: Re: [P
>I am having a problem with PHP 4.0.4pl1 and IIS 5. New pages I create are
>giving a CGI Error. No matter what I have . on that page. Anyone else come
>across this problem.
And the CGI error says...?
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dton
Hi,
I just figured out that my session-management is
not working. I have a small, simple script to test
this:
Counter initialized, please reload this page to see it
increment";
} else {
echo "Waking up session $PHPSESSID";
$SESSION["count"]++;
}
echo "The counter is now $SESSION[count] "
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
(talks to self),
On 04 April 2001 at 13:47:05 +0100 (which was 13:47 where I live)
Marck D. Pearlstone wrote to James Moore and made these points:
JM>> One option is to set your own valid date header using the extra
JM>> argument to mail.
MDP> Do
I am having a problem with PHP 4.0.4pl1 and IIS 5. New pages I create are
giving a CGI Error. No matter what I have . on that page. Anyone else come
across this problem.
Ryan Conover
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
actually, it did work. its a workaround. but it works.
> >In that case, add 'To:' header also to your $headers variable... see the
> line
> >added/changed by me below (marked with *> ).
> Sorry - no success. I'm sure that Bcc in the additional headers bit is
> broken on Windows.
>
> Check out th
>In that case, add 'To:' header also to your $headers variable... see the
line
>added/changed by me below (marked with *> ).
Sorry - no success. I'm sure that Bcc in the additional headers bit is
broken on Windows.
Check out the bugs database - there are a few open bugs on this - search for
bcc.
Hello, I've just installed Apache and PHP, and adapted the Apache
httpd.conf file to include pointers to PHP. Apache works, says it
triomphant in my localhost, but as soon as I try to read any .php file in
MSIE 5.5 I get a 'file not found' (404). It goes even so far that an
index.php is not fo
In that case, add 'To:' header also to your $headers variable... see the line
added/changed by me below (marked with *> ).
Regards, | Linux
Urmil Parikh | Is it really safe to turn on your computer?
-Original Message-
thank you for your help, but i seem to be still doing somet
>You have to include *all* address in $to variable, including those
appearing in
>'Bcc:'. The mail server will take care of hiding those addresses.
Are you sure about this? And if so, exactly how do you do it. AFAIK sending
BCC headers is simply broken in the Windows version of PHP.
Cheers
--
Ph
tnx,
it works now.
the solution:
$to = "[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]";
$headers = "To: [EMAIL PROTECTED]\n";
$headers .= "Bcc: [EMAIL PROTECTED], [EMAIL PROTECTED]\n";
$headers .= "From: [EMAIL PROTECTED]\n";
mail( $to, $subject, $body, $headers );
t.
> >You have to
Hi,
You have to include *all* address in $to variable, including those appearing in
'Bcc:'. The mail server will take care of hiding those addresses.
Regards, | Linux
Urmil Parikh | Is it really safe to turn on your computer?
-Original Message-
I cant seem to get bcc to work,
I cant seem to get bcc to work, ive tried it all,
changeing case of the letters, putting emails between<>,
copy&pasteing successful headers from my normal mail
client.. but it just doesnt feel like working, the person
$to receives the email. but the bcc dont. all of the emails
im using as test are
you can find at www.f2s.com
25mb free space
5mb mysql db space
-Original Message-
From: Vlad Bejenaru aka BJ [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 8:35 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] free hosting with php
can any one help me to find free hosting were i c
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi James,
On 02 April 2001 at 16:01:54 +0100 (which was 16:01 where I live)
James Moore wrote to David Elliott and made these points:
>> Date: Fri, 30 Mar 2001 13:42:59
>>
>> it should be.
>>
>> Date: Fri, 30 Mar 2001 13:42:59 +0100
>>
>> I h
Hello,
I'm trying to connect via PHP to Sybase from Win'98 Having Personal Web Server and
I get the following error:
Fatal error: Call to unsupported or undefined function sybase_connect()
I haven't found any dll named *sybase* in order to configure PHP with Sybase for
Windows.
Is there a
php-windows Digest 4 Apr 2001 09:34:10 - Issue 526
Topics (messages 6468 through 6488):
Re: Win2k IIS5 PHP404 : trouble with extensions dir
6468 by: John Broglio
6469 by: Phil Driscoll
tutorial example problem
6470 by: Vlad Bejenaru aka BJ
6472 by: Daniel Be
Honestly, it is hard to understand the question but if you are asking how to
obtain more than 1 result set out of a mysql_query I suggest
mysql_fetch_row.
example:
$query = mysql_query("SELECT * FROM TableName", $conn);
while($query_data = mysql_fetch_row($query))
{
echo("Value1:" . $query_
39 matches
Mail list logo