Search results

  1. kbjradmin

    PHP Directory Listing Script

    i have this script that lists the files in a current directory as well as a directory structure of all the directories under a certain level. the first level of directories works fine, but below that it has problems. the page this is on is at http://cs.clark.edu/~jbrum4030/ctec122/directory.php...
  2. kbjradmin

    C# Console Application

    i know that in a c# console application, you can write text to the screen with: Console.WriteLine("text..."); but is there some way to then modify the text i have already writen? i am writing a program that processes information in batches and want to have a running total on the screen of many...
  3. kbjradmin

    PHP Parse Error

    i keep getting this error: Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/kbjr/public_html/tays_sis/contact/process.php on line 22 this is the line in question (line 22): $msg = "Name: $_REQUEST['name']\nEmail...
  4. kbjradmin

    boot windows xp computer in command prompt

    basically, what i want to know is, can it be done? i know in older windows operating systems (windows 98, for example), there was an option to boot in ms-dos mode. windows operating systems since then (such as XP) use "command prompt", not "ms-dos" (not that i see much of a difference...
  5. kbjradmin

    Unix Test Command

    is there any way to make the test command case-insensitive in bash? for example, making [ "abc" = "AbC" ] a true statement. Edit: nevermind, i figured it out.
  6. kbjradmin

    PHP Script Trouble

    i have a php script designed to build the code for an HTML format résumé. however, every time i run this script, the $resumeCode variable (where i'm storing the HTML) turns up empty. i tried dumping the value of the variable and it returned NULL. here is the script: <?php // sets category...
  7. kbjradmin

    Form Generator Website - Help Wanted

    I am planning to create a form/mailing script generating site. I know that's not much of a description, but i'm lazy. ;) If anyone thinks they may be interested in helping in the construction of such a site, post here or send me a pm.
  8. kbjradmin

    [1500¢] Javascript Image Slideshow

    I need a manual image slideshow that will change images on a mouse click-and-drag (somewhat like the iPhone interface with the drag to change screens [except not mac-like!]). If anyone thinks they can do this in an easy-to-configure way, I will pay 1500¢ for this. If you have any questions...
  9. kbjradmin

    unix script - run in same shell

    i know that a command can be forced to run in the current shell, as opposed to a new one, by placing a dot before it, ie. $ . somescript args is there any way to do this in the shebang line, so that the script always runs in the current shell, regardless of whether there is a dot...
  10. kbjradmin

    Unix Arrays

    Is there ANY way at all to tell whether or not a variable is an array in unix?
  11. kbjradmin

    Shops

    How do you add items to the shops?
  12. kbjradmin

    HTML links

    is there anyway to get rid of the dotted box that appears around links when they're clicked on?
  13. kbjradmin

    Disabled HTML Form and Javascript

    i have an html form. in it, there is a list of radio buttons, the last of which is 'other'. i have a text input that is to be disabled unless the 'other' radio button is selected. however, i can't seem to get the javascript to work. here's the form: <form name="contact" action="process.php"...
  14. kbjradmin

    PHP Help

    i am writing a script that will make someone able to easily created an html format resume; so i have blocks that represent different parts of a resume and you just piece it together. i'm making a block to create a one or two column list (depending on the length) of items. for some reason, its...
  15. kbjradmin

    Python Compiler

    i know this is a very unpopular topic, but does anyone know of a python compiler that is worth the time of looking into?
  16. kbjradmin

    Unix Default Color Change

    in unix, when you enter tput sgr0 it returns your color settings to default. is there anyway to change what those defaults are?
  17. kbjradmin

    Unix read command (bash)

    i'm working on a script that needs to read the variable $1, one character at a time and assign those characters to an array. i tried to use this line: echo $1 | read -n 1 -a chars however, everytime i try to read the variable $chars with echo ${chars }, it turns up empty. please help.
  18. kbjradmin

    Unix Shell Exit

    Is there any way to exit from the login shell if you aren't in it (ie. running a script)?
  19. kbjradmin

    Unix Shell Script

    i'm writing a shell script to make echoing in color easier. but i keep getting an error. there is a help message for explaining how the command works; and no matter what i do, the help keeps showing up instead of the rest of the script running. please help. the script is: #!/bin/bash # #...
  20. kbjradmin

    Unix Signals - Trap

    I am writing a lock script for unix, and don't want people to be able to simply ctrl-c out of it or using a different combination, so I am trying to trap all of the common exit/quit/abort/etc. signals. However, for some reason, I can't seem to trap the ctrl-d signal. this is the trap command i...
Top