Re: [PHP] a questoin about the # char
On Thu, Jun 12, 2008 at 10:05 PM, Robert Cummings [EMAIL PROTECTED] wrote: CVS conflict?? :) Actually, I should say... the backup file due to a CVS conflict or auto merge. Which is funny to see when you're editing a Vim-backup of a backed-up file and it gets swept up by an automated CVS commit script. You wind up with something like the following: #.a.php.bak.swp~ This happened when I was double-checking a function in a script I was working on about a year ago. The file looked like a toddler's drawing of a choo-choo train in the TTY. -- /Daniel P. Brown Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just $59.99/mo. with no contract! Dedicated servers, VPS, and hosting from $2.50/mo. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] a questoin about the # char
On Thu, Jun 12, 2008 at 8:18 PM, Sebastian Camino [EMAIL PROTECTED] wrote: Hello, I want to know what the # char does. On a website I was working at, I tried to open a file with a # in it's name and I got an error. So I'd really appreciate any help to know how to avoid the error and what does the character do. Thanks a lot Sebastian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Assuming you are talking about the filename which contains '#' char, I think its the filesystem which is not supporting the file name with '#' character. what is the filesystem?
[PHP] a questoin about the # char
Hello, I want to know what the # char does. On a website I was working at, I tried to open a file with a # in it's name and I got an error. So I'd really appreciate any help to know how to avoid the error and what does the character do. Thanks a lot Sebastian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] a questoin about the # char
On Thu, Jun 12, 2008 at 8:18 PM, Sebastian Camino [EMAIL PROTECTED] wrote: Hello, I want to know what the # char does. On a website I was working at, I tried to open a file with a # in it's name and I got an error. So I'd really appreciate any help to know how to avoid the error and what does the character do. That's pretty vague there, Sebastian. What error are you getting? What operating system? How are you attempting to open the file? What is the file name? Details, man! ;-P -- /Daniel P. Brown Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just $59.99/mo. with no contract! Dedicated servers, VPS, and hosting from $2.50/mo. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] a questoin about the # char
Inside a php script the '#' denotes the beginning of a comment. I don't know that it has any use at all in the address line. What specifically is the error? I'd guess that php would ignore the rest of the line following the '#' and so this could generate any number of errors depending on what information is carried in the address and what that info is for. I'm not aware of any way to scan the address within php, this might need to be done with a proxy of some kind. If it can be done or if you can talk to the owner of the site you're trying to get the file from, you might try replacing the '#' with a '%23'. -Allen Hello, I want to know what the # char does. On a website I was working at, I tried to open a file with a # in it's name and I got an error. So I'd really appreciate any help to know how to avoid the error and what does the character do. Thanks a lot Sebastian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] a questoin about the # char
Sebastian Camino wrote: Hello, I want to know what the # char does. In a url it's an anchor tag (http://www.w3schools.com/HTML/html_links.asp). In php it's used to mark a comment. ?php # this is a comment and not executed. ? It means nothing specific in a filename. -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] a questoin about the # char
On Fri, 2008-06-13 at 11:10 +1000, Chris wrote: Sebastian Camino wrote: Hello, I want to know what the # char does. In a url it's an anchor tag (http://www.w3schools.com/HTML/html_links.asp). In php it's used to mark a comment. ?php # this is a comment and not executed. ? It means nothing specific in a filename. CVS conflict?? :) Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] a questoin about the # char
On Thu, 2008-06-12 at 22:03 -0400, Robert Cummings wrote: On Fri, 2008-06-13 at 11:10 +1000, Chris wrote: Sebastian Camino wrote: Hello, I want to know what the # char does. In a url it's an anchor tag (http://www.w3schools.com/HTML/html_links.asp). In php it's used to mark a comment. ?php # this is a comment and not executed. ? It means nothing specific in a filename. CVS conflict?? :) Actually, I should say... the backup file due to a CVS conflict or auto merge. Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php