Search found 3 matches
- Sat Sep 24, 2011 2:02 pm
- Forum: Tutorials
- Topic: template system.. rewrite/substr
- Replies: 5
- Views: 1964
Re: template system.. rewrite/substr
Ohh.. btw.. i think it gets the value.. it was just not posted by me.. this is my init file.. <?php if (empty($_GET['page'])){ header('Location: home'); die(); } $core_path = dirname(__FILE__); $pages = scandir("{$core_path}/pages"); unset($pages[0], $pages[1]); foreach ($pages as &$pa...
- Sat Sep 24, 2011 1:59 pm
- Forum: Tutorials
- Topic: template system.. rewrite/substr
- Replies: 5
- Views: 1964
Re: template system.. rewrite/substr
I really dont know how to get around this.. http://www.sfsc.se/news thats the url for listing headlines.. when i click the link i get to the start again =) The links point to a location that does not have a page variable in the URL, and since you have if (empty($_GET['page'])){ header('Location: ho...
- Fri Sep 23, 2011 12:47 pm
- Forum: Tutorials
- Topic: template system.. rewrite/substr
- Replies: 5
- Views: 1964
template system.. rewrite/substr
Hi First of all, just wanna say thanks for creating a site that ppl with no skills whatsoever can understand! Now. As the newb i am i have some issues trying to add a news-script i downloaded to the basic template system im using from this site. I've searched but i didn't find anything(dont really k...