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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. mbrooks

    Help On URL Rewrites

    This should work. RewriteEngine On # Turn on the rewriting engine RewriteRule /sites/en_US/about/newsroom/([0-9]+)/([0-9]+) sites/en_US/about/newsroom?year=$1&month=$2 [L] M. Brooks http://mbrooks.info
  2. mbrooks

    iFrame Scrolling Without Body Scrolling

    I spoke too soon! The site works properly in Firefox and IE but in Safari on the iPad, the pages are not scrollable so I can see only the portion that fits the screen." This is due to a known issue specific to the iPad. Adding the following CSS attributes should resolve the issue...
  3. mbrooks

    Shell script to watch disk space

    This should work for you. You just need to configure CRON to execute this every couple minutes. https://github.com/nuxy/linux-sh-archive/blob/master/cron/disk-monitor.sh M. Brooks http://mbrooks.info
  4. mbrooks

    Directory and File Permissions

    Wrong file permissions set. It should be.. $ chmod 755 <directory> M. Brooks http://mbrooks.info
  5. mbrooks

    Help with modifying current navigation menu to add 'drop down' sub-menus ?

    There is an easier way to achieve what you are looking for. The jQuery plugin allows you to create unlimited menus/sub-menus with very little work involved. http://www.github.com/nuxy/EZ-Menu M. Brooks http://mbrooks.info
  6. mbrooks

    iFrame Scrolling Without Body Scrolling

    I tested your code in the latest versions of Firefox and Chrome and the only changes required are the addition/updating of CSS attributes (see below). html, body { height 100%; } iframe#main { overflow-y: auto; overflow: -moz-scrollbars-vertical; height: 100%; } Outside of...
  7. mbrooks

    Can access primary domain but not subdomains!!!!

    Based on what you described I think this is what you are looking for. Let me know if this works for you. RewriteEngine On RewriteCond %{HTTP_HOST} ^(subdomainA\.domain\.com)$ [NC] RewriteRule ^(.*)$ /folderA/$1 [L] RewriteCond %{HTTP_HOST} ^(subdomainB\.domain\.com)$ [NC] RewriteRule ^(.*)$...
  8. mbrooks

    Sort an html table by day of week.

    ..or you can save yourself the grief of having to deal with HTML and generate your table using nothing more than JSON. Supports row/column level callbacks, column sorting, checkboxes, and much more. https://www.github.com/nuxy/Tidy-Table M. Brooks http://mbrooks.info
  9. mbrooks

    webpage script for mandatory text box

    Save yourself the pain and frustration and just use a library to do this. You can create a dynamic HTML form from a JSON object that includes support for AJAX/POST methods and form field validation using Regular Expressions. It cannot get any easier than this. Full IE7 support too...
  10. mbrooks

    jquery, $(this) , how to process form?

    Save yourself the trouble and create a dynamic form using JSON. Also handles validation using REGEX. WebForm-Toolkit M. Brooks http://mbrooks.info
  11. mbrooks

    Javascript Widgets

    You can set-up each widget to either float freely or you can lock them into a specific position. A demo of use can be accessed below. http://mbrooks.info/widgets M. Brooks http://mbrooks.info
  12. mbrooks

    Javascript Widgets

    For those of you that might actually find this useful. Gratis Widget Toolkit A web-based widget toolkit that creates customizable objects which can load content from any web-based application using asynchronous requests. Widgets work like miniature windows. They can be moved, shaded, locked...
  13. mbrooks

    how to insert this

    Here you go. <?php // Make a MySQL Connection mysql_connect("localhost", "usrname", "pwd") or die(mysql_error()); mysql_select_db("phpstorelocator") or die(mysql_error()); // Create a MySQL tables in the selected database mysql_query("CREATE TABLE `slstate` ( `stateID` int(10) unsigned NOT...
  14. mbrooks

    SSH::NET::PERL - works but hangs for 5 minutes

    Are you running this script as root? Also, what is the permissions of the /root/id_rsa? It should be 600. M. Brooks http://mbrooks.info
  15. mbrooks

    how to insert this

    If you have an account access to the database, on the command-line do Create a new database $ mysqladmin -u <user> -p create <database> Import the database from file $ mysql -u <user> -p <database> < <filename> M. Brooks http://mbrooks.info
  16. mbrooks

    sendmail masquerade envelope only

    1) Add this to your sendmail.mc define(`confCW_FILE', `-o /etc/mail/local-host-names')dnl FEATURE(masquerade_envelope)dnl 2) Rebuild the file % m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf 3) Create a file called /etc/mail/local-host-names and add the domain names you want to masquerade...
  17. mbrooks

    PERL compile on FreeBSD 7.0

    Install Perl using the FreeBSD Ports Collection. A lot easier. http://freebsd.org/ports M. Brooks http://mbrooks.info
  18. mbrooks

    To become a web host do we have to purchase a static IP

    You need at least one IP address. Whether you purchase it from provider or use your home routers external IP address. You will have to use something. But keep in mind that Apache requires a single IP address when Virtual Hosting and multiple if you plan to use unique SSL certificates for each...
  19. mbrooks

    Install a module on a remote nix server

    1. Create a directory in your cgi-bin called lib. 2. Please the MIME directory in this directory. 3. Add the following lines in your perl script. use lib qw( ./lib ); use MIME::Lite; This should work if done correctly. M. Brooks http://mbrooks.info
  20. mbrooks

    Install a module on a remote nix server

    The user account on the remote server must have the proper permission to do so. Since the package is MIME::Lite, you will not have to compile. Just move the directory MIME-Lite-x.x.x/lib/MIME to be local to your application and use the use lib pragma. M. Brooks http://mbrooks.info

Part and Inventory Search

Back
Top