ok so i want to create a URL like this: www.blah.com/section.php?=news
except i only see how to do it the other way using mod_rewrite. So is there a way to do this using mod_rewrite?

i don't really understand what you are trying to do.
maybe you mean that:
you have an index.php file with an argument like "?act=news". Then you can include the news.php from the folder include or code or whatever.
The access to that folder can be restricted with htaccess. So nobody can get the files in there but has to use you index file.

Hope that helps. If not, try to explain it with an example.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.