> You say that in putty it is converted to a '?'? so, on linux, the file
> name is no longer what you intended it to be, so wouldn't you then need
> to call the file EXACTLY as it is on the linux server?
I thought this too at first, but if I run htmlentites() on the
filename it displays the  cha
> > Have you checked to see if that filename is what you think it is on the
> > Linux server?
>
> The character is shown as a question mark in putty. I've tried
> forcing a UTF-8 font to make sure it's not a rendering issue but it
> didn't seem to make a difference. I'm not convinced the encodin
On Tue, Oct 26, 2010 at 1:32 PM, Mari Masuda wrote:
>
> On Oct 26, 2010, at 10:10 AM, Marc Guay wrote:
>
>>> A windows server, or windows client to the same Linux server? I believe
>>> that this issue is starting to get a bit over my head, with the different
>>> operating systems involved and su
> Where is the filename coming from? Is it hard-coded in the script or is your
> script reading it from a directory listing?
The filename is being read from the file via scandir(). File created
on Windows, transferred to *nix.
> Have you checked to see if that filename is what you think it is on
> I think one way to do this is something like this (untested):
This is a good idea, but I'm stubborn and believe it can be solved
without adding more code. Thanks, though, I'll probably end up using
it once I've ruined every other possibility.
Marc
--
PHP General Mailing List (http://www.php.
Where is the filename coming from? Is it hard-coded in the script or is your
script reading it from a directory listing?
Have you checked to see if that filename is what you think it is on the Linux
server?
Was Apache the web server both times, or was iis used on windows? If it was,
look for a
On Oct 26, 2010, at 10:10 AM, Marc Guay wrote:
>> A windows server, or windows client to the same Linux server? I believe that
>> this issue is starting to get a bit over my head, with the different
>> operating systems involved and such.
>
> Windows server. This is over my head, too. I'm gu
> Have you tried using the utf8 meta tag rather than using the htmlentities()
> function? That should solve the first issue, as I reckon the problem lies
> with the way your encoding the filename.
The page is being encoded in UTF-8. Without htmlentities() the
special character is displayed as a b
Have you tried using the utf8 meta tag rather than using the htmlentities()
function? That should solve the first issue, as I reckon the problem lies with
the way your encoding the filename.
Linux filesystems have far less limitations on filenames, so it could be that
windows is doing something
> A windows server, or windows client to the same Linux server? I believe that
> this issue is starting to get a bit over my head, with the different
> operating systems involved and such.
Windows server. This is over my head, too. I'm guessing that Windows
and Linux encode filenames different
On Oct 26, 2010, at 12:00 PM, Marc Guay wrote:
> Again, if it helps, a link formatted in the same way to the same file
> links correctly on a windows machine.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
A windows server, or w
Again, if it helps, a link formatted in the same way to the same file
links correctly on a windows machine.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> If I am understanding correctly, you are referring to a HTML specific issue
> where the HTML and browser configuration is displaying your characters
> improperly?
No, the browser is displaying the characters of the filename fine
(using htmlentities converts the ? unknown character into an Â.
On Oct 26, 2010, at 11:38 AM, Marc Guay wrote:
>> Are you using UTF-8?
>
> Could you be more specific? Do you mean in the browser/php header or
> in the filesystem? I created the file on a Windows machine,
> transferred them to a Linux machine, and the encoding of the page is
> UTF-8.
>
> I j
> Are you using UTF-8?
Could you be more specific? Do you mean in the browser/php header or
in the filesystem? I created the file on a Windows machine,
transferred them to a Linux machine, and the encoding of the page is
UTF-8.
I just noticed a strange thing which might shed some light. If I j
At 11:23 PM -0400 10/24/10, Paul M Foster wrote:
On Fri, Oct 22, 2010 at 12:35:43PM -0400, tedd wrote:
At 4:54 PM -0400 10/21/10, Marc Guay wrote:
>Toilet seat. Up or down. Same thing? Sort of.
No, everything down (seat and top) is the rule in my house.
You should see how women often r
On Tue, 26 Oct 2010 11:56:17 -0400
Marc Guay wrote:
>
> I have a directory with a bunch of PDFs in it that my webpage displays
> links to. All of the files have the french character  in them. The
> operating system is Linux (I did not experience this problem on a
> Windows machine). I don't wa
On Oct 26, 2010, at 10:56 AM, Marc Guay wrote:
> Hi folks,
>
> I've got a problem with character encoding that's threatening to kill
> my little brain. Here we go:
>
> I have a directory with a bunch of PDFs in it that my webpage displays
> links to. All of the files have the french character
Hi folks,
I've got a problem with character encoding that's threatening to kill
my little brain. Here we go:
I have a directory with a bunch of PDFs in it that my webpage displays
links to. All of the files have the french character  in them. The
operating system is Linux (I did not experience
On Oct 26, 2010, at 9:28 AM, Bob McConnell wrote:
> From: TR Shaw
>
>> On Oct 25, 2010, at 6:46 PM, Daniel P. Brown wrote:
>>> On Mon, Oct 25, 2010 at 18:38, wrote:
Is there any other function which checks whether this
address really exists?
>>>
>>> Of course not! Can you i
On Oct 26, 2010, at 8:49 AM, TR Shaw wrote:
> On Oct 25, 2010, at 6:38 PM, web...@blaettner.com wrote:
>
>> Hi, folks,
>>
>> I'm wondering how to checking existence of a given
>> mail address like f...@bar.com .
>>
>> At 1st I tried:
>>
>> if f (filter_var ($maddr, FILTER_VALIDATE_EMAIL) ===
Lorenzo Marussi wrote:
hi List,
I have written a library of php classes to manage database objects.
So my application now access to this library instead of accessing
directly to the database.
Now, I need to add an access control to my classes, like a check to a
$_SESSION variable.
A solution c
On Tue, Oct 26, 2010 at 08:49, TR Shaw wrote:
>
> On Oct 25, 2010, at 6:46 PM, Daniel P. Brown wrote:
>>
>> Of course not! Can you imagine the implications, insecurities,
>> and privacy concerns that would be associated with that? Some
>> mailservers will confirm or deny if a local address ex
From: TR Shaw
> On Oct 25, 2010, at 6:46 PM, Daniel P. Brown wrote:
>> On Mon, Oct 25, 2010 at 18:38, wrote:
>>>
>>> Is there any other function which checks whether this
>>> address really exists?
>>
>>Of course not! Can you imagine the implications, insecurities,
>> and privacy concerns
On Oct 25, 2010, at 6:38 PM, web...@blaettner.com wrote:
> Hi, folks,
>
> I'm wondering how to checking existence of a given
> mail address like f...@bar.com .
>
> At 1st I tried:
>
> if f (filter_var ($maddr, FILTER_VALIDATE_EMAIL) === false) {
>/* some sort of error handling code here */
On Oct 25, 2010, at 6:46 PM, Daniel P. Brown wrote:
> On Mon, Oct 25, 2010 at 18:38, wrote:
>>
>> Is there any other function which checks whether this
>> address really exists?
>
>Of course not! Can you imagine the implications, insecurities,
> and privacy concerns that would be associa
hi List,
I have written a library of php classes to manage database objects.
So my application now access to this library instead of accessing
directly to the database.
Now, I need to add an access control to my classes, like a check to a
$_SESSION variable.
A solution can be add this lines in f
Gary wrote:
> Jonathan Tapicer wrote:
>> You can use this class:
>>
http://www.webdigi.co.uk/blog/wp-content/uploads/2009/01/smtpvalidateclassphp.txt
>>
>> It may not work for some SMTPs.
>>
>> It uses the concepts explained here:
>>
http://www.webdigi.co.uk/blog/2009/how-to-check-if-an-email-addr
28 matches
Mail list logo