Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

PHP Includes


  • Please log in to reply

#1
dovemouse

dovemouse

    Member

  • Member
  • PipPip
  • 26 posts
I am designing a site for free-running group and im trying to figure out a PHP script for the articles page.

Basically i either want to make the page to include all files within a directory or all files with a certain file name pattern. So that all i need to do is upload the php file of the article and the script will do the rest.

I thought about it and there must be a way to us the include function with a wildcard but i have no luck.

Please help.
  • 0

Advertisements


#2
Allsortgroup

Allsortgroup

    I SPAMMED Too Much!

  • Banned
  • PipPipPip
  • 905 posts
Use mysql.

Thats what i do for my news!

:whistling:
  • 0

#3
dovemouse

dovemouse

    Member

  • Topic Starter
  • Member
  • PipPip
  • 26 posts
[bleep] i thought that might be the reply, i have no idea how to use it :whistling:
  • 0

#4
Allsortgroup

Allsortgroup

    I SPAMMED Too Much!

  • Banned
  • PipPipPip
  • 905 posts
Ok, well my games system runs off of it and so does my news system.

I can just add the image url into mysql and then put the id like 1 or sumpthing, then it will display it at image.php?id=1 or 2 etc...

Have a look at...

http://www.allsortshop.com

http://www.google.co...GGLG:en&q=mysql

http://www.mysql.com/

http://dev.mysql.com/

:whistling:
  • 0

#5
ScHwErV

ScHwErV

    Member 5k

  • Retired Staff
  • 21,285 posts
  • MVP
There are tons of pre-made news submission scripts on the net. Just download, modify, upload. Its simple.

http://www.hotscripts.com

While you are at it, learn from the scripts. Thats what I do. I learn easier by looking at what other folks have done.

ScHwErV :whistling:
  • 0

#6
dovemouse

dovemouse

    Member

  • Topic Starter
  • Member
  • PipPip
  • 26 posts
Thanks a lot :whistling:
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP