I tried that at first but it didn't work so I removed this,
[syntax=text]RewriteRule .* - [L][/syntax]
line because it looked suspicious and now it's working.
Problem is, it breaks the folder structure so it doesn't link the CSS file :/
Search found 789 matches
- Thu Dec 22, 2011 10:08 pm
- Forum: PHP
- Topic: .htaccess BUT keep index.php
- Replies: 5
- Views: 674
- Thu Dec 22, 2011 8:05 pm
- Forum: PHP
- Topic: .htaccess BUT keep index.php
- Replies: 5
- Views: 674
.htaccess BUT keep index.php
This is mainly an htaccess problem I guess but it has to do with PHP for now! So basically I want prettier URLs but I want to keep index.php in the URL! So normally you would have domain.com/home or domain.com/about BUT I want it like domain.com/index.php/home. I'm getting info from a database with ...
- Wed Dec 21, 2011 1:18 pm
- Forum: PHP
- Topic: Checking name of array(?)
- Replies: 11
- Views: 1247
Re: Checking name of array(?)
I'm checking with empty too so it shouldn't be a problem.
- Mon Dec 19, 2011 9:56 pm
- Forum: PHP
- Topic: Checking name of array(?)
- Replies: 11
- Views: 1247
Checking name of array(?)
I don't really know how to explain this so let's just dive into it. I have an array like this in my config file, [syntax=php] $db["default"]["hostname"] = "localhost"; $db["default"]["username"] = "root"; $db["default"]["pass...
- Mon Dec 19, 2011 12:54 pm
- Forum: PHP
- Topic: Long/Annoying PHP functions to shorten
- Replies: 2
- Views: 383
Re: Long/Annoying PHP functions to shorten
jacek wrote: htmlentities because I type it wrong every single time
I think we're all aware of that
![Laughing :lol:](./images/smilies/icon_lol.gif)
Just kidding
![Wink ;)](./images/smilies/icon_e_wink.gif)
- Fri Dec 16, 2011 2:31 pm
- Forum: General Chat
- Topic: I tried stuff...
- Replies: 6
- Views: 1207
Re: I tried stuff...
I don't consider myself bad at PHP but frankly the only reason I wanted a framework was because I've grown tired of how PHP looks... I know, weird reason right? So instead of doing something unnecessary because of a stupid reason I'm gonna finish my CMS and start re-learning JavaScript instead.
- Fri Dec 16, 2011 12:21 pm
- Forum: General Chat
- Topic: I tried stuff...
- Replies: 6
- Views: 1207
Re: I tried stuff...
I tried CakePHP too which seems to have a stupid naming rule. I was following a tutorial on how to create a blog with it (to learn CRUD in CakePHP) but I named my root folder CakeBlog so for some reason whenever the tutorial typed "Post" or "Posts" I had to type "CakeBlog&qu...
- Thu Dec 15, 2011 10:54 pm
- Forum: General Chat
- Topic: I tried stuff...
- Replies: 6
- Views: 1207
I tried stuff...
I tried CodeIgniter. Couldn't wrap my head around it Seems like overly much work even for the most advanced things. I also tried Ruby on Rails which I'm really enjoying just to bad my host is running the 1.8.3 version which is 4 YEARS OLD so if I actually wanna do something I have to switch host Bot...
- Thu Dec 15, 2011 3:17 pm
- Forum: General Chat
- Topic: Youtube PHP Tutorials
- Replies: 19
- Views: 2774
- Thu Dec 15, 2011 7:14 am
- Forum: General Chat
- Topic: I am still here !
- Replies: 2
- Views: 609
Re: BB code
http://www.pixel2life.com/forums/index. ... ge__st__20
There are a lot of BB Parser code snippets that you can try out yourself.
There are a lot of BB Parser code snippets that you can try out yourself.
- Tue Dec 13, 2011 11:49 am
- Forum: General Chat
- Topic: YouTube
- Replies: 5
- Views: 1120
Re: YouTube
Email the tube.
- Thu Dec 08, 2011 5:51 pm
- Forum: General Chat
- Topic: What is the best way to earn money easy and fast?
- Replies: 6
- Views: 1274
Re: What is the best way to earn money easy and fast?
Working in restaurants sucks!
- Thu Dec 08, 2011 3:32 pm
- Forum: Tutorials
- Topic: Blog_Tutorial get_posts function
- Replies: 2
- Views: 498
Re: Blog_Tutorial get_posts function
Are you Swedish?
- Thu Dec 08, 2011 10:04 am
- Forum: General Chat
- Topic: What is the best way to earn money easy and fast?
- Replies: 6
- Views: 1274
Re: What is the best way to earn money easy and fast?
Selling water... Seems like a quite decent idea actually. I mean, you're doing a good thing, it's like community service...
- Wed Dec 07, 2011 7:37 am
- Forum: PHP
- Topic: New Web Server Software AMPPS?
- Replies: 4
- Views: 530
Re: New Web Server Software AMPPS?
There's to few of them.
For Windows I know IIS7 and XAMPP. IIS7 is crap because it doesn't use Apache (go figure) so you can't do a bunch of cool HTACCESS stuff![Laughing :lol:](./images/smilies/icon_lol.gif)
For Windows I know IIS7 and XAMPP. IIS7 is crap because it doesn't use Apache (go figure) so you can't do a bunch of cool HTACCESS stuff
![Laughing :lol:](./images/smilies/icon_lol.gif)
- Tue Dec 06, 2011 11:43 am
- Forum: CSS / Styling
- Topic: Annoying issue.
- Replies: 6
- Views: 2341
Re: Annoying issue.
You could try placing the Java applet inside a div with a position: absolute and the z-index property. "Creating layers with the z-index: Elements must be positioned absolutely or be a descendant of that positioned element. An element with a higher z-index appears in front of an element with a ...
- Mon Dec 05, 2011 3:54 pm
- Forum: PHP
- Topic: PHP web gallery from BetterPHP.co.uk
- Replies: 6
- Views: 736
Re: PHP web gallery from BetterPHP.co.uk
If that is what you see when you open the page then your file does not have the .php extension or something is terribly wrong with your server.
- Mon Dec 05, 2011 1:58 pm
- Forum: PHP
- Topic: PHP web gallery from BetterPHP.co.uk
- Replies: 6
- Views: 736
Re: PHP web gallery from BetterPHP.co.uk
If that is the code you're trying to use then no wonder it doesn't work. It's all commented out
!
![Laughing :lol:](./images/smilies/icon_lol.gif)
- Sat Dec 03, 2011 10:52 pm
- Forum: Other
- Topic: LAMP server
- Replies: 9
- Views: 2347
Re: LAMP server
PHPmyadmin should be on localhost/phpmyadmin in your browser.
- Sat Dec 03, 2011 7:54 pm
- Forum: PHP
- Topic: Replacing words in different files
- Replies: 8
- Views: 833
Re: Replacing words in different files
Ooh, I didn't know I could use arrays with str_replace. Learn something new everyday...
Thanks a lot! Now it's working perfectly![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
Thanks a lot! Now it's working perfectly
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)