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...
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...
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
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...
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...
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"...
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...
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)...
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...
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...
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...
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...
Hi all,
As promised, here is my other problem. I have the following values stored in a database:
+----+----------------+-------------------------------------------------+
| ID | PLACE_NAME | ADDRESS |...
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 |...
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...
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...
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...
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 |...
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
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.