php-windows Digest 7 Sep 2007 07:36:15 -0000 Issue 3324
Topics (messages 28448 through 28452):
Re: PHP 4/5 Differences.
28448 by: Bento Fernandes
Re: space in filenames when uploading?
28449 by: Armando
Re: php5ts.dll errors
28450 by: Sean
28451 by: John Mertic
Why are errors displayed?
28452 by: Gustav Wiberg
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 ---
What type of Script is it?
Bento Fernandes
http://www.goanwap.com
--- End Message ---
--- Begin Message ---
Strange... I just tried creating and writing to a text file by using a
filename with a space in it and it worked ok. Perhaps consider using
str_replace to convert spaces to the ascii value for a space (chr(32) I
believe) and give it a shot. Cheers.
Armando
Gustav Wiberg wrote:
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
--- End Message ---
--- Begin Message ---
"John Mertic" wrote:
> 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
> >
> >
I hate to ask more questions and thanks for the help so far. But going
though the process of doing the backtrace, it seems that it is for the
php.exe? we use the apache module for php, so I set the debug up to
look at Apache, however, it's not capturing the faulting module
information - is there a way to set it up for the module by chance? or
am I thinking this out all wrong?
--
--- End Message ---
--- Begin Message ---
Are you getting anything?
If not, do you have access to Visual Studio ( and experience using it
to debug )...
On 9/6/07, Sean <[EMAIL PROTECTED]> wrote:
>
> I hate to ask more questions and thanks for the help so far. But going
> though the process of doing the backtrace, it seems that it is for the
> php.exe? we use the apache module for php, so I set the debug up to
> look at Apache, however, it's not capturing the faulting module
> information - is there a way to set it up for the module by chance? or
> am I thinking this out all wrong?
>
--
--
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!
@session_start(); //This causes the web-browser NOT to show error
@$_SESSION["test"] = "test"; //I THOUGHT this would the web-browser NOT show
error, but I get this error:
Warning: Unknown:
open(C:\Program\php\sessiondata\sess_g4otsdj34b8npshe7dl5n6trv1, O_RDWR)
failed: Permission denied (13) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the
current setting of session.save_path is correct (C:\Program\php\sessiondata) in
Unknown on line 0
Is there any way of solving this problem? Or do I have to set full rights in
the session-data-folder independet which user is logged in on the web... (it is
NOT reachable anonymously) - you have to log on to the network. It's an intranet
Best regards
/Gustav Wiberg
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.485 / Virus Database: 269.13.8/993 - Release Date: 2007-09-06 15:18
--- End Message ---