Search found 8 matches

by element
Mon Jun 06, 2011 9:10 pm
Forum: PHP
Topic: Code will not allow html to show.
Replies: 10
Views: 1545

Re: Code will not allow html to show.

Line 25. Syntax error
remove 1 ) :lol:
$_SESSION['username'] = htmlentities($_POST['username']);
by element
Mon Jun 06, 2011 5:56 pm
Forum: PHP
Topic: Code will not allow html to show.
Replies: 10
Views: 1545

Re: Code will not allow html to show.

In line 15 you have a : instead of ;
and in line 25 is a ) to much...
by element
Fri Jun 03, 2011 5:17 pm
Forum: General Chat
Topic: What is your favorite text editor?
Replies: 19
Views: 2905

Re: What is your favorite text editor?

Aptana Studio 3
... it´s free by the way :D
by element
Fri May 20, 2011 1:13 pm
Forum: PHP
Topic: Prevent Caching
Replies: 6
Views: 1093

Re: Prevent Caching

header("Expires: -1"); header("Cache-Control: post-check=0, pre-check=0"); header("Pragma: no-cache"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); usually you can also set the html meta tags <meta http-equiv="Conten...
by element
Wed May 18, 2011 11:15 pm
Forum: General Chat
Topic: Programming fun time
Replies: 44
Views: 6700

Re: Programming fun time

jacek wrote:who calls their table "users" :lol:
I do :? .... maybe I should change that :lol:
by element
Wed May 18, 2011 12:27 pm
Forum: PHP
Topic: Removing .php extension
Replies: 6
Views: 1161

Re: Removing .php extension

ok try to ckeck if the module is loadet...
use the phpinfo() funktion and than

under Apache->Loaded Modules... there must be a entry "mod_rewrite".
When it´s not loadet try to load it with "LoadModule rewrite_module modules/mod_rewrite.so" in youre htaccess file
by element
Wed May 18, 2011 11:08 am
Forum: PHP
Topic: Removing .php extension
Replies: 6
Views: 1161

Re: Removing .php extension

I dont know alot about these htaccess stuff but this following code works fine for me....
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php
by element
Mon May 16, 2011 7:35 pm
Forum: Introductions
Topic: Hey there
Replies: 5
Views: 1712

Hey there

Hi
my name is Ronny. I´m from Germany and I am 22 years old.
I hope to have a good time here and maybe I can improve my English and my PHP knowledge a little bit here with you.
:D