Search found 8 matches
- Mon Jul 18, 2005 11:07 am
- Forum: PHP - Security
- Topic: Using real_escape_string() on a int field
- Replies: 47
- Views: 20079
Re: Using real_escape_string() on a int field
I've got a small question, do I need to use real_escape_string on post and get if the data type in the database is a integer. Is there anyway that someone could get evil code into a integer field, and would real_escape_string help in anyway? You've got the PHP function is_numeric if you want to che...
- Sat Jul 16, 2005 3:48 am
- Forum: PHP - Code
- Topic: image into title of link
- Replies: 4
- Views: 397
Re: image into title of link
What kind of info do you mean?ddragas wrote:Hi all
Is it possible to put image into title of link?
- Sat Jul 16, 2005 3:47 am
- Forum: PHP - Code
- Topic: Navigating page with PHP code :(
- Replies: 3
- Views: 397
- Sat Jul 16, 2005 3:03 am
- Forum: PHP - Code
- Topic: echo html tags
- Replies: 2
- Views: 312
Re: echo html tags
is it generally a good idea to echo html tags or is it better to use them normally (echo '<tr>' compared to <tr>)? i'm working with dynamic tables, and echo makes things a bit more nice (no need to break php into <?php ?> parts). your opinions/suggestions are welcome. I think it depends on what you...
- Sat Jul 16, 2005 1:36 am
- Forum: PHP - Code
- Topic: Converting from ?id=blah to ?blah [56k warning]
- Replies: 17
- Views: 1147
I can only use PHP for this... if you havent guessed already. Mod rewrite isn't PHP either. Multiviews is. You'll have to add this to a .htaccess file; RewriteEngine On Options MultiViews (sometimes +Multiviews) Than you'll have to use a code like <?php function parseMultiviews() { $get = array(); ...
- Fri Jul 15, 2005 3:47 pm
- Forum: PHP - Code
- Topic: PHP File Manager
- Replies: 10
- Views: 1342
One thing I might suggest is not changing your directory. You can just as easily update the path of the directory your trying to open, and it has less overhead. Is the purpose of this script to be applicable to an arbitrary server or is it solely to access files on the server on which the script is...
- Fri Jul 15, 2005 3:40 pm
- Forum: PHP - Code
- Topic: Converting from ?id=blah to ?blah [56k warning]
- Replies: 17
- Views: 1147
- Fri Jul 15, 2005 3:34 pm
- Forum: PHP - Code
- Topic: PHP File Manager
- Replies: 10
- Views: 1342