Ashley Sheridan schreef:
On Tue, 2009-12-08 at 17:32 +0100, Jochem Maas wrote:
Hi Allen,
gonna be a bit ruthless with you :).
1. your not filtering your input (your open to include being hacked)
2. your not validating or error checking (e.g. does the include file exist??)
3. keeping
LinuxManMikeC wrote on 2009-12-07 22:48:
Instead of hard coding cases you can validate and constrain the input
with a regex. Much more flexible when adding content. I would also
add code to make sure the file exists, otherwise fall through to the
default.
In huge sites with a lot of include
LinuxManMikeC wrote on 2009-12-07 22:48:
Instead of hard coding cases you can validate and constrain the input
with a regex. Much more flexible when adding content. I would also
add code to make sure the file exists, otherwise fall through to the
default.
In huge sites with a lot of
Hi Allen,
gonna be a bit ruthless with you :).
1. your not filtering your input (your open to include being hacked)
2. your not validating or error checking (e.g. does the include file exist??)
3. keeping large numbers of content pages with numerical filenames is a
maintenance
nightmare and
On Tue, 2009-12-08 at 17:32 +0100, Jochem Maas wrote:
Hi Allen,
gonna be a bit ruthless with you :).
1. your not filtering your input (your open to include being hacked)
2. your not validating or error checking (e.g. does the include file exist??)
3. keeping large numbers of content
I have been using includes for my content for a while now with no problems.
Suddenly it has stopped working, and it may or may not be from some changes
I made in my code structure.
I use default.php for most or all of my pages within a given directory,
changing the content via page numbers in the
Hi Allen
Allen McCabe wrote on 2009-12-07 21:03:
I have been using includes for my content for a while now with no problems.
Suddenly it has stopped working, and it may or may not be from some changes
I made in my code structure.
I use default.php for most or all of my pages within a given
On Mon, 2009-12-07 at 21:14 +0100, Kim Madsen wrote:
Hi Allen
Allen McCabe wrote on 2009-12-07 21:03:
I have been using includes for my content for a while now with no problems.
Suddenly it has stopped working, and it may or may not be from some changes
I made in my code structure.
Instead of hard coding cases you can validate and constrain the input
with a regex. Much more flexible when adding content. I would also
add code to make sure the file exists, otherwise fall through to the
default.
On Mon, Dec 7, 2009 at 1:14 PM, Kim Madsen php@emax.dk wrote:
Hi Allen
I faced the same problem many times. The reason turned out to be an
additional character outside /td tags.
HTML formating software like Dreamweaver, HTML Tidy, Notepad++ will be
helpful in these cases. Above all use HTML Validatior extension for firefox.
Any ways this question has got nothing to
The atmosphere is weird now so you all may think I am out there. . but
this is a sincere question-
(and not due to dumb oversight of my HTML code)
I have a mysterious f character (Yes, just the letter f )
appearing in my HTML between these two seemingly benign HTMl tags:
My source file
On Jul 9, 2009, at 5:50 PM, Govinda govinda.webdnat...@gmail.com
wrote:
The atmosphere is weird now so you all may think I am out there. .
but this is a sincere question-
(and not due to dumb oversight of my HTML code)
I have a mysterious f character (Yes, just the letter f )
-Original Message-
From: Govinda [mailto:govinda.webdnat...@gmail.com]
Sent: Thursday, July 09, 2009 5:51 PM
To: PHP-General List
Subject: [PHP] mysterious f character appearing. Why??
The atmosphere is weird now so you all may think I am out there. . but
this is a sincere
Govinda wrote:
I have a mysterious f character (Yes, just the letter f )
appearing in my HTML between these two seemingly benign HTMl tags:
On same computer, do a view source in other browsers too - IE, Chrome,
Safari etc. F still there? There could be a FireFox addon module
Phpster wrote:
On Jul 9, 2009, at 5:50 PM, Govinda govinda.webdnat...@gmail.com wrote:
The atmosphere is weird now so you all may think I am out there. . but
this is a sincere question-
(and not due to dumb oversight of my HTML code)
I have a mysterious f character (Yes, just the
-Original Message-
From: Eric Wood [mailto:e...@interplas.com]
Sent: Thursday, July 09, 2009 9:17 PM
To: php-general@lists.php.net
Subject: Re: [PHP] mysterious f character appearing. Why??
Govinda wrote:
I have a mysterious f character (Yes, just the letter f
problem was solved, it was just a simple typo and sometimes all it
takes is
a fresh pair of eyes. The confusing part comes in when it prints to
the
screen and your mind looks in that area of the code and finds nothing
because it actually somewhere else and because it is outside of a
tag the
HallMarc Websites wrote:
problem was solved, it was just a simple typo and sometimes all it takes is
a fresh pair of eyes. The confusing part comes in when it prints to the
screen and your mind looks in that area of the code and finds nothing
LOL - I wanted to display generated XML on
Hello All, I am hoping someone can help me with a problem I am having with
PHP (3.23.49) and mysql (4). My objective is to fill a table with data from
a database. My problem is that I cannot figure out why I get a gap
(noticeable with about 20 records) at the top of the page (just below the
text
On Friday 31 January 2003 02:00, Lightfirst wrote:
Hello All, I am hoping someone can help me with a problem I am having with
PHP (3.23.49) and mysql (4). My objective is to fill a table with data
from a database. My problem is that I cannot figure out why I get a gap
(noticeable with about
For some (yet) unknown reason, when some text is being entered into a form,
a mysterious / is being appended. It's almost as if some XML functionality
is bein added w/o my intention. For example, I might echo br and the
html source will show br /. I might have an end anchor tag /a that
comes
-
From: Gaylen Fraley [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 18, 2002 10:49 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Mysterious /
For some (yet) unknown reason, when some text is being entered
into a form,
a mysterious / is being appended. It's almost as if some XML
: Friday, January 18, 2002 10:49 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Mysterious /
For some (yet) unknown reason, when some text is being entered
into a form,
a mysterious / is being appended. It's almost as if some XML
functionality
is bein added w/o my intention. For example,
st/23IVGHQ61RJGO/
-Original Message-
From: Gaylen Fraley [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 18, 2002 10:49 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Mysterious /
For some (yet) unknown reason, when some text is being entered
into a form,
a mysterious / i
I'm stumped on this one.. I set up PHP 4.04/Apache/Mysql 3.23
on my Windows 98 box for development purpouses. Its been
working flawlessly for 2-3 years now (using the same
configuration files, etc).
However, as of 3 days ago, i can't get it to execute a simple
select * from table query. Here's
to explain it to a colleague.
I should 'pretend' to send a letter to php-general
next time :p
-greg
-Original Message-
From: Greg Schnippel [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 22, 2001 9:48 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Mysterious MYSQL Error..
I'm stumped on this one.. I
Do you know if you've even made a valid database connection? Try
echoing $this-database as well. If that is null, you haven't
connected to your database; perhaps the username, password and or
permissions were changed, so that you're unable to connect from your
PHP program.
- steve
27 matches
Mail list logo