Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by W0nkey

  1. W0nkey

    IIS with Apache

    umm, where's the question? 'Now what I need to do is check IIS port and to point it to another port in order to run ASP files on IIS' Change the port then. As long as you realise the webpages it serves will no longer be available using http://www.domain.com and instead you need to use...
  2. W0nkey

    [MOD_REWRITE] How to rewrite this simple URL?

    I don't know if this will work, but check http://httpd.apache.org/docs/misc/rewriteguide.html and find the 'Trailing Slash Problem' section ...
  3. W0nkey

    Prevent 404 Error

    I have written a php cms that allows users to create a virtual name for each menu entry eg. home.html instead of things like index.php?page=1. The ErrorDocument is then pointing to a php script which is responsible for finding the correct content and presenting it to the user. I noticed the...
  4. W0nkey

    this script is ticking me off

    If you only specify a filename it will look in it's current directory (which is where download.php is located). Try, readfile( '../directory2/test.zip' );
  5. W0nkey

    Character Replacement

    I should have mentioned, I think ereg or preg look like the way to achieve this, but I'm a bit stuck on writing the regular expression ...
  6. W0nkey

    Character Replacement

    I am taking a string and trying to convert it into a url friendly version. In short, I need spaces changed to "_" and only letters and numbers. e.g "Special's Menu Today?" -> "Specials_Menu_Today.html" I can use str_replace for some parts or make an array of valid/invalid characters, but I'd...

Part and Inventory Search

Back
Top