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 Chriss 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: *

  • Users: LTeeple
  • Content: Threads
  • Order by date
  1. LTeeple

    submitOK - not working properly?

    Hi all, I have a form which enables the user to delete a field. Using javascript, I prompt the user with the: "Are you sure you want to do this? message. javascript code: submitOK = confirm( '\n Delete \"' + my_name + '\" ?\n\r It is highly recommended you do NOT delete any Cities.'); if...
  2. LTeeple

    $_SERVER['SERVER_PORT'] - is SSL always 443?

    Hi all, Regarding the variable $_SERVER['SERVER_PORT'] - when using SSL is the value always 443? I want to force a redirect to ssl for specific pages, and thought this would be a way to do it: if ($_SERVER['SERVER_PORT'] != 443) //redirect to https://page Is there a better way? Thanks...
  3. LTeeple

    PHP Formmail secure?

    Hi all, We suspect that our formmail cgi script was hijacked on our server, and am now looking into more secure options. Would the PHP experts out there say that PHP mail functions can be safer? Thanks for the tips. [cheers] Cheers! Laura
  4. LTeeple

    Building dynamic select list - can I specify selected option?

    Hi all, My code loops through an array, assigning each value as an option to one select list. I always want "Choose time: " to appear in the select list, so before I enter the loop, I start with that option (index of 0). From there, I start adding options to the select list: var = new...
  5. LTeeple

    document.form has no properties (but it does!!)

    Hi all, I am getting the ambiguous message "document.form has no properties". (But it does!) Here's my (relevant) HTML code: ... <body onLoad="getTimes(document.form.edit);"> <form name="edit" method="post" action="save.php?recid=9&tableid=18" onSubmit="return CheckForm(this)"> ...// all...
  6. LTeeple

    Checkbox array validation

    Hi all, I did a search, and did find some useful information, but I'm still getting a Javascript error. I have a checkbox array, and I want to validate to ensure at least one checkbox is checked before allowing user to submit the form. Relevant HTML code: <script language="javascript"...
  7. LTeeple

    Is SSL necessary in this scenario?

    Hi all, just a quick question. I browsed through the search for website security, but didn't have my specific quesiton addressed, so here goes: On a website, there is a basic form, requesting username, home address, phone number, etc. (no passwords or credit cards) This form submits to a...
  8. LTeeple

    Javascript arrays - populating select lists

    Hi all, My goal is to populate a javascript array from PHP/Mysql (done - working fine). From this javascript array, I wish to populate 2 select lists (using an onChange event). It seems that when I'm looping through the array, once a condition is met, it exists the looping structure (for)...
  9. LTeeple

    Spinoff - Informing your employer you're looking elsewhere

    Hi all, This thread is a spinoff of the "would you terminate employee?" thread, taking the flipside position of the employee. An employee is looking for work elsewhere, on his/her own time. One of the most appealing jobs requires a background check prior to the hiring decision. This means...
  10. LTeeple

    Javascript and dynamic forms... (again!)

    Hello all, I'm sure you're getting used to my dynamic form questions by now. Again, I am banging my head against the wall [banghead]. On this form, when the user changes a value from one select-one box, the next one down populates. When a user selects a value from the second select-one box, the...
  11. LTeeple

    Last resort - I need fresh set of eyes!

    Hi all, I am posting this as a last resort: I am truly baffled. My dynamic form isn't behaving quite as I want. Essentially, when I choose an option from one select list, it populates a second select list. When I choose and option from the second select list, it is supposed to populate a...
  12. LTeeple

    'this' keyword in reference to form processing using javascript

    Hi all, I did an advanced search for this particular subject, but didn't get any hits, so I will post the question: Can someone please explain to me exactly what the javascript term 'this' means, in the context of form processing? example: onSubmit="return checkForm(this)" and can I use...
  13. LTeeple

    More database headaches = Javascript/mysql

    Hi all, As promised, here is my other problem. I have the following values stored in a database: +----+----------------+-------------------------------------------------+ | ID | PLACE_NAME | ADDRESS |...
  14. LTeeple

    Javascript new Option fn with an apostrophe - causing grief

    Hi all, I'm working on a javascript function using PHP to populate a dropdown list from a database. I'm sure that my problem is actually in my javascript syntax, so I am posting in this forum. The key values I'm talking about appear in my database as follows: +----+-------------------+ | ID |...
  15. LTeeple

    Javascript Textarea innerHTML with Netscape 7.1

    Hi all, I have some text displayed in a textarea, drawn from a database using php, and put into the textarea using JS (a dynamic form scenario): document.form.edit_place_address.innerHTML = value; On this form, I want the user to be able to change the value in the textarea field. It works...
  16. LTeeple

    Dynamic, Contextual Multiple Select Lists

    Hi All, I'm back with a new Javascript problem. If anyone can point out some resources, or suggest how to tackle this, I'd appreciate it. What I need is a multi-language script: Javascript and PHP. (I only need help with the Javascript portion). Scenario: I have a select list multiple that is...
  17. LTeeple

    Javascript Dynamic Text Areas

    Hi All, I am working on a dynamic from where I want the user to be able to select an item from one html list and add it to another one on the same page. The user should be able to remove the list item at will. Here is a (basic!) example of what I'm doing: http://130.15.82.39/random/test.htm...
  18. LTeeple

    Lost in translation: Something changing a value mid-query!

    Hi all, I've encountered a problem I've never seen before. I am stumped! Any advice is appreciated. First off, here is my table description: +-----------------------+--------------+------+-----+ | Field | Type | Null | Key |...
  19. LTeeple

    SSH Logs?

    Hi all, given the prevalence of attempted attacks on my test server using various username/password combinations with ssh, I am curious if there are logs to record such activities? I am using Redhat Linux 9.0. Thanks for your time. [cheers] Cheers! Laura
  20. LTeeple

    Using PHP to capture access logs and create reports

    Hi All, First off, sorry if this has been posted elsewhere. I searched the forum but found nothing. I would like to know if it is possible to use php to search the httpd access logs to create helpful reports? It's tough on my eyes to pour over the logs. Thanks in advance [cheers] Cheers! Laura

Part and Inventory Search

Back
Top