Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

FILENAME versus filename.php


Recommended Posts

I have written a program that fits in into admin/orders.php, that adds more functionality to the searchbox. The program resides on a separate file in the admin folder and




in the appropriate spot in admin/order.php. adds the program nicely.


Other than important organizational reasons , what would be the advantage of defining the file in admin/filenames?


and using say:




Thank you for your assistance.

Oscommerce site:



OSC to CSS, http://addons.oscommerce.com/info/7263 -Mail Manager, http://addons.oscommerce.com/info/8120

Link to comment
Share on other sites

It fits in with the osC "scheme".


And if someone wanted to change the page name, it's easier and safer to edit a "filenames" file than the actual code file.


Mistakes in the filename file are easier to see and catch.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.


"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -


"Headers already sent" - The definitive help


"Cannot redeclare ..." - How to find/fix it


SSL Implementation Help


Like this post? "Like" it again over there >

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...