php-windows Digest 6 Sep 2007 11:37:49 -0000 Issue 3323
Topics (messages 28432 through 28447):
Re: path + filename
28432 by: John Mertic
28436 by: Gustav Wiberg
php5ts.dll errors
28433 by: Sean
28434 by: Stut
28435 by: Sean
28438 by: Stut
28439 by: John Mertic
28441 by: Sean
28446 by: John Mertic
space in filenames when uploading?
28437 by: Gustav Wiberg
28440 by: Stut
28442 by: Gustav Wiberg
28443 by: Gustav Wiberg
28444 by: Stut
28445 by: Gustav Wiberg
Re: n00b cannot start MySQL
28447 by: Bento Fernandes
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 ---
That once again is entirely determined by the browser; PHP only gets
what's the the $_FILES['frmNewsDocument'] array.
That said, perhaps in the onsubmit event of the form you could stick
some javascript in that pushed the full path into another hidden form
variable.
On 9/5/07, Gustav Wiberg <[EMAIL PROTECTED]> wrote:
> Hi!
>
>
> From a browse/file-button in a html-form, how Do I retrieve the actual name
> including the path to it???
>
> I don't want just filename.doc.
>
>
> This would returnthe filename only...
> $doc = $_FILES['frmNewsDocument']['name'];
>
>
> I want to retrieve c:\program\filename.doc
>
>
> Best regards
> /Gustav Wiberg
>
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.485 / Virus Database: 269.13.5/990 - Release Date: 2007-09-04
> 22:36
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
--
John Mertic "Explaining a joke
is like dissecting a frog: you
[EMAIL PROTECTED] understand it better,
but the frog dies in the
process."
-Mark Twain
--- End Message ---
--- Begin Message ---
Hi!
Yes I thought so, so I did exactly what do you typed.. A little bit of
Javascript did the trick! Thanx again!
Best regards
/Gustav Wiberg
-----Original Message-----
From: John Mertic [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 05, 2007 5:26 PM
To: Gustav Wiberg
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] path + filename
That once again is entirely determined by the browser; PHP only gets
what's the the $_FILES['frmNewsDocument'] array.
That said, perhaps in the onsubmit event of the form you could stick
some javascript in that pushed the full path into another hidden form
variable.
On 9/5/07, Gustav Wiberg <[EMAIL PROTECTED]> wrote:
> Hi!
>
>
> From a browse/file-button in a html-form, how Do I retrieve the actual name
> including the path to it???
>
> I don't want just filename.doc.
>
>
> This would returnthe filename only...
> $doc = $_FILES['frmNewsDocument']['name'];
>
>
> I want to retrieve c:\program\filename.doc
>
>
> Best regards
> /Gustav Wiberg
>
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.485 / Virus Database: 269.13.5/990 - Release Date: 2007-09-04
> 22:36
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
--
John Mertic "Explaining a joke
is like dissecting a frog: you
[EMAIL PROTECTED] understand it better,
but the frog dies in the
process."
-Mark Twain
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.485 / Virus Database: 269.13.5/990 - Release Date: 2007-09-04 22:36
--- End Message ---
--- Begin Message ---
-- I have Apache 2.0.59 (and the error was occuring before on apache
1.3 too) runnng on windows 2003 and 2000 servers. Every so offten (5 or
6 times a day), I get a
-------
Application error of Faulting application Apache.exe, version
2.0.59.200, faulting module php5ts.dll, version 5.2.3.3, fault address
0x000958dc.
-----
It happens if I have all or no modules loaded in PHP. Has anyone else
had this problem?
I've used diffrent versions of PHP, diffrent versions of Apapche and
default config files to make sure it wasn't a setting I had, but still
get the error no matter what.
--- End Message ---
--- Begin Message ---
Sean wrote:
-- I have Apache 2.0.59 (and the error was occuring before on apache
1.3 too) runnng on windows 2003 and 2000 servers. Every so offten (5 or
6 times a day), I get a
-------
Application error of Faulting application Apache.exe, version
2.0.59.200, faulting module php5ts.dll, version 5.2.3.3, fault address
0x000958dc.
-----
It happens if I have all or no modules loaded in PHP. Has anyone else
had this problem?
I've used diffrent versions of PHP, diffrent versions of Apapche and
default config files to make sure it wasn't a setting I had, but still
get the error no matter what.
This is usually caused by mismatched DLLs. Make sure all your PHP
binaries are from the same release. If I were you I'd actually delete
everything to do with PHP from the system (except maybe php.ini), then
get everything fresh from the ZIP download no php.net.
-Stut
--
http://stut.net/
--- End Message ---
--- Begin Message ---
Stut wrote:
> Sean wrote:
> > -- I have Apache 2.0.59 (and the error was occuring before on apache
> > 1.3 too) runnng on windows 2003 and 2000 servers. Every so offten
> > (5 or 6 times a day), I get a
> >
> > -------
> >
> > Application error of Faulting application Apache.exe, version
> > 2.0.59.200, faulting module php5ts.dll, version 5.2.3.3, fault
> > address 0x000958dc.
> >
> > -----
> >
> >
> > It happens if I have all or no modules loaded in PHP. Has anyone
> > else had this problem?
> >
> > I've used diffrent versions of PHP, diffrent versions of Apapche and
> > default config files to make sure it wasn't a setting I had, but
> > still get the error no matter what.
>
> This is usually caused by mismatched DLLs. Make sure all your PHP
> binaries are from the same release. If I were you I'd actually delete
> everything to do with PHP from the system (except maybe php.ini),
> then get everything fresh from the ZIP download no php.net.
>
> -Stut
Yep, have done that as well, with no luck. Even down to wiping out one
of my machines and building the server from scratch.
don't think it makes a diffrence, but I have 4 production servers
behind a Cisco content switch - around 700,000 visitors and 10 million
page views a month.
--
--- End Message ---
--- Begin Message ---
Sean wrote:
Stut wrote:
Sean wrote:
-- I have Apache 2.0.59 (and the error was occuring before on apache
1.3 too) runnng on windows 2003 and 2000 servers. Every so offten
(5 or 6 times a day), I get a
-------
Application error of Faulting application Apache.exe, version
2.0.59.200, faulting module php5ts.dll, version 5.2.3.3, fault
address 0x000958dc.
-----
It happens if I have all or no modules loaded in PHP. Has anyone
else had this problem?
I've used diffrent versions of PHP, diffrent versions of Apapche and
default config files to make sure it wasn't a setting I had, but
still get the error no matter what.
This is usually caused by mismatched DLLs. Make sure all your PHP
binaries are from the same release. If I were you I'd actually delete
everything to do with PHP from the system (except maybe php.ini),
then get everything fresh from the ZIP download no php.net.
-Stut
Yep, have done that as well, with no luck. Even down to wiping out one
of my machines and building the server from scratch.
don't think it makes a diffrence, but I have 4 production servers
behind a Cisco content switch - around 700,000 visitors and 10 million
page views a month.
Sounds like you're hitting a bug. It's not going to be easy to find tho!
Sorry I can't help further.
-Stut
--
http://stut.net/
--- End Message ---
--- Begin Message ---
Follow the instructions at
http://bugs.php.net/bugs-generating-backtrace-win32.php to generate a
backtrace and send that to http://bugs.php.net.
John
On 9/5/07, Stut <[EMAIL PROTECTED]> wrote:
> Sean wrote:
> > Stut wrote:
> >
> >> Sean wrote:
> >>> -- I have Apache 2.0.59 (and the error was occuring before on apache
> >>> 1.3 too) runnng on windows 2003 and 2000 servers. Every so offten
> >>> (5 or 6 times a day), I get a
> >>>
> >>> -------
> >>>
> >>> Application error of Faulting application Apache.exe, version
> >>> 2.0.59.200, faulting module php5ts.dll, version 5.2.3.3, fault
> >>> address 0x000958dc.
> >>>
> >>> -----
> >>>
> >>>
> >>> It happens if I have all or no modules loaded in PHP. Has anyone
> >>> else had this problem?
> >>>
> >>> I've used diffrent versions of PHP, diffrent versions of Apapche and
> >>> default config files to make sure it wasn't a setting I had, but
> >>> still get the error no matter what.
> >> This is usually caused by mismatched DLLs. Make sure all your PHP
> >> binaries are from the same release. If I were you I'd actually delete
> >> everything to do with PHP from the system (except maybe php.ini),
> >> then get everything fresh from the ZIP download no php.net.
> >>
> >> -Stut
> >
> > Yep, have done that as well, with no luck. Even down to wiping out one
> > of my machines and building the server from scratch.
> > don't think it makes a diffrence, but I have 4 production servers
> > behind a Cisco content switch - around 700,000 visitors and 10 million
> > page views a month.
>
> Sounds like you're hitting a bug. It's not going to be easy to find tho!
> Sorry I can't help further.
>
> -Stut
>
> --
> http://stut.net/
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
--
John Mertic "Explaining a joke
is like dissecting a frog: you
[EMAIL PROTECTED] understand it better,
but the frog dies in the
process."
-Mark Twain
--- End Message ---
--- Begin Message ---
"John Mertic" wrote:
> Follow the instructions at
> http://bugs.php.net/bugs-generating-backtrace-win32.php to generate a
> backtrace and send that to http://bugs.php.net.
>
> John
>
> On 9/5/07, Stut <[EMAIL PROTECTED]> wrote:
> > Sean wrote:
> > > Stut wrote:
> > >
> > >> Sean wrote:
> > >>> -- I have Apache 2.0.59 (and the error was occuring before on
> > apache >>> 1.3 too) runnng on windows 2003 and 2000 servers. Every
> > so offten >>> (5 or 6 times a day), I get a
> > > > >
> > >>> -------
> > > > >
> > >>> Application error of Faulting application Apache.exe, version
> > >>> 2.0.59.200, faulting module php5ts.dll, version 5.2.3.3, fault
> > >>> address 0x000958dc.
> > > > >
> > >>> -----
> > > > >
> > > > >
> > >>> It happens if I have all or no modules loaded in PHP. Has anyone
> > >>> else had this problem?
> > > > >
> > >>> I've used diffrent versions of PHP, diffrent versions of
> > Apapche and >>> default config files to make sure it wasn't a
> > setting I had, but >>> still get the error no matter what.
> > >> This is usually caused by mismatched DLLs. Make sure all your PHP
> > >> binaries are from the same release. If I were you I'd actually
> > delete >> everything to do with PHP from the system (except maybe
> > php.ini), >> then get everything fresh from the ZIP download no
> > php.net.
> > > >
> > >> -Stut
> > >
> > > Yep, have done that as well, with no luck. Even down to wiping
> > > out one of my machines and building the server from scratch.
> > > don't think it makes a diffrence, but I have 4 production servers
> > > behind a Cisco content switch - around 700,000 visitors and 10
> > > million page views a month.
> >
> > Sounds like you're hitting a bug. It's not going to be easy to find
> > tho! Sorry I can't help further.
> >
> > -Stut
> >
> > --
> > http://stut.net/
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
Thanks, but tried the bug forum -- they pretty much told me to get lost.
Really the only thing on our site that we are using PHP for is virtual
includes. - I have more robust applications running on other machines.
--
--- End Message ---
--- Begin Message ---
Build the backtrace and send it to me. I'll see what I can do....
John
On 9/5/07, Sean <[EMAIL PROTECTED]> wrote:
> "John Mertic" wrote:
>
> > Follow the instructions at
> > http://bugs.php.net/bugs-generating-backtrace-win32.php to generate a
> > backtrace and send that to http://bugs.php.net.
> >
> > John
> >
> > On 9/5/07, Stut <[EMAIL PROTECTED]> wrote:
> > > Sean wrote:
> > > > Stut wrote:
> > > >
> > > >> Sean wrote:
> > > >>> -- I have Apache 2.0.59 (and the error was occuring before on
> > > apache >>> 1.3 too) runnng on windows 2003 and 2000 servers. Every
> > > so offten >>> (5 or 6 times a day), I get a
> > > > > >
> > > >>> -------
> > > > > >
> > > >>> Application error of Faulting application Apache.exe, version
> > > >>> 2.0.59.200, faulting module php5ts.dll, version 5.2.3.3, fault
> > > >>> address 0x000958dc.
> > > > > >
> > > >>> -----
> > > > > >
> > > > > >
> > > >>> It happens if I have all or no modules loaded in PHP. Has anyone
> > > >>> else had this problem?
> > > > > >
> > > >>> I've used diffrent versions of PHP, diffrent versions of
> > > Apapche and >>> default config files to make sure it wasn't a
> > > setting I had, but >>> still get the error no matter what.
> > > >> This is usually caused by mismatched DLLs. Make sure all your PHP
> > > >> binaries are from the same release. If I were you I'd actually
> > > delete >> everything to do with PHP from the system (except maybe
> > > php.ini), >> then get everything fresh from the ZIP download no
> > > php.net.
> > > > >
> > > >> -Stut
> > > >
> > > > Yep, have done that as well, with no luck. Even down to wiping
> > > > out one of my machines and building the server from scratch.
> > > > don't think it makes a diffrence, but I have 4 production servers
> > > > behind a Cisco content switch - around 700,000 visitors and 10
> > > > million page views a month.
> > >
> > > Sounds like you're hitting a bug. It's not going to be easy to find
> > > tho! Sorry I can't help further.
> > >
> > > -Stut
> > >
> > > --
> > > http://stut.net/
> > >
> > > --
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
>
> Thanks, but tried the bug forum -- they pretty much told me to get lost.
> Really the only thing on our site that we are using PHP for is virtual
> includes. - I have more robust applications running on other machines.
>
> --
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
--
John Mertic "Explaining a joke
is like dissecting a frog: you
[EMAIL PROTECTED] understand it better,
but the frog dies in the
process."
-Mark Twain
--- End Message ---
--- Begin Message ---
Hi!
When using file-upload. IS there a restriction of uploading filenames when they
have space in it? I would like to be able to upload those files as well...
like my name
gustav wiberg.jpg
Best regards
/Gustav Wiberg
--- End Message ---
--- Begin Message ---
Gustav Wiberg wrote:
When using file-upload. IS there a restriction of uploading filenames when they
have space in it? I would like to be able to upload those files as well...
like my name
gustav wiberg.jpg
Have you tried it? Your first step with questions of a "will this work"
nature is to try it before asking here.
-Stut
--
http://stut.net/
--- End Message ---
--- Begin Message ---
Hi!
Of course I have tried it! Therefore I asked... :-) (I always try things first
if I know what to test)
The problem is that normal files (with no spaces) are uploaded and displayed as
I want to. Files with spaces doesn't seem to be displayed.
I think it could be something with paths or so on...
Best regards
/Gustav
-----Original Message-----
From: Stut [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 05, 2007 6:01 PM
To: Gustav Wiberg
Cc: '[EMAIL PROTECTED]'
Subject: Re: [PHP-WIN] space in filenames when uploading?
Gustav Wiberg wrote:
> When using file-upload. IS there a restriction of uploading filenames when
> they have space in it? I would like to be able to upload those files as
> well...
>
>
> like my name
> gustav wiberg.jpg
Have you tried it? Your first step with questions of a "will this work"
nature is to try it before asking here.
-Stut
--
http://stut.net/
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.485 / Virus Database: 269.13.5/990 - Release Date: 2007-09-04 22:36
--- End Message ---
--- Begin Message ---
Hi!
Another step on the way.. I don't get any tmp-file with
$_FILES['frmPicture']['tmp'] when I try to upload files with spaces... What
could that be?
Best regards
/Gustav Wiberg
-----Original Message-----
From: Stut [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 05, 2007 6:01 PM
To: Gustav Wiberg
Cc: '[EMAIL PROTECTED]'
Subject: Re: [PHP-WIN] space in filenames when uploading?
Gustav Wiberg wrote:
> When using file-upload. IS there a restriction of uploading filenames when
> they have space in it? I would like to be able to upload those files as
> well...
>
>
> like my name
> gustav wiberg.jpg
Have you tried it? Your first step with questions of a "will this work"
nature is to try it before asking here.
-Stut
--
http://stut.net/
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.485 / Virus Database: 269.13.5/990 - Release Date: 2007-09-04 22:36
--- End Message ---
--- Begin Message ---
Gustav Wiberg wrote:
Of course I have tried it! Therefore I asked... :-) (I always try things first
if I know what to test)
The problem is that normal files (with no spaces) are uploaded and displayed as
I want to. Files with spaces doesn't seem to be displayed.
I think it could be something with paths or so on...
I apologise, I made an incorrect assumption based on what you sent.
What do you mean by "doesn't seem to be displayed"? Show us code.
-Stut
--
http://stut.net/
-----Original Message-----
From: Stut [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 05, 2007 6:01 PM
To: Gustav Wiberg
Cc: '[EMAIL PROTECTED]'
Subject: Re: [PHP-WIN] space in filenames when uploading?
Gustav Wiberg wrote:
When using file-upload. IS there a restriction of uploading filenames when they
have space in it? I would like to be able to upload those files as well...
like my name
gustav wiberg.jpg
Have you tried it? Your first step with questions of a "will this work"
nature is to try it before asking here.
-Stut
--- End Message ---
--- Begin Message ---
Hi again!
Se my other mail regarding tmp_name....
Best regards
/Gustav Wiberg
-----Original Message-----
From: Stut [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 05, 2007 6:12 PM
To: Gustav Wiberg
Cc: '[EMAIL PROTECTED]'
Subject: Re: [PHP-WIN] space in filenames when uploading?
Gustav Wiberg wrote:
> Of course I have tried it! Therefore I asked... :-) (I always try things
> first if I know what to test)
> The problem is that normal files (with no spaces) are uploaded and displayed
> as I want to. Files with spaces doesn't seem to be displayed.
>
> I think it could be something with paths or so on...
I apologise, I made an incorrect assumption based on what you sent.
What do you mean by "doesn't seem to be displayed"? Show us code.
-Stut
--
http://stut.net/
> -----Original Message-----
> From: Stut [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 05, 2007 6:01 PM
> To: Gustav Wiberg
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: [PHP-WIN] space in filenames when uploading?
>
> Gustav Wiberg wrote:
>> When using file-upload. IS there a restriction of uploading filenames when
>> they have space in it? I would like to be able to upload those files as
>> well...
>>
>>
>> like my name
>> gustav wiberg.jpg
>
> Have you tried it? Your first step with questions of a "will this work"
> nature is to try it before asking here.
>
> -Stut
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.485 / Virus Database: 269.13.5/990 - Release Date: 2007-09-04 22:36
--- End Message ---
--- Begin Message ---
Start Mysql from command prompt go to start > run >
C:\> "C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqld" --console
--- End Message ---