Hi,
I have a page (startPage.aspx) which transfers control to another page using an anchor tag i.e. (a href="newPage.aspx"). I would like to know how I can access some form element on startPage.aspx from the newPage.aspx in javascript? (eg: document.getElementById, etc). The element I am trying to access is an asp:HiddenField which does...
Hi, our company has made a website for our client. The client hired a webs security company to test the pages for security before the product launches.
We've removed most of our XSS problems. We developed the website with zend. We add the StripTags, StringTrim and HtmlEntities filters to the order form elements.
They ran another test a...
The aim is to show a form which will update the div on the page with the result
load this [page]
click the linkto show the form
submit the form
When submitting, the result does not show in the div if the form had been hidden.
after adding the code suggested in the below answers, I show the form, it gets submitted, but the data is n...
how can i recive an array from an html get form?
i would receive the value of same checkbox, they have all the same name "es. object"
...
Here is the HTML for my left column:
<div id="leftcolumn">
<ul id="mainnavigation">
<li><a href="#">Inicio</a></li>
<li><a href="#">Evaluaciones</a></li>
<li><a href="#">Docentes</a></li>
<li><a href="#">Soporte</a></li>
</ul>
<div id="loginarea">
Username...
ok here is the situation , I want to use a login form for e.g.
<form name="form1" method="post" action="sign.php">
Username:<br/>
<input name="myusername" type="text" id="myusername" /><br />
Password:<br />
<input name="mypassword" type="text" id="mypassword" /><br />
<input type="submit" name="Submit" value="Login"...
Test to see if a POST has occurred. If so then verify the credentials; if correct then redirect to the destination page; if incorrect then display the error message on the form page. Then output the form.
...
Is there a way to turn off the PHP functionality for Submitting a multidimensional array via POST with php?
So that submission of <input type="text" name="variable[0][1]" value="..." /> produces a $_POST like so...
array (
["variable[0][1]"] => "...",
)
NOT like so:
array (
["variable"] => array(
[0...
I have problem i`m trying post data with php and cURL but that not working.
How should looks correctly code if form is secure by random session id in input value, and have pieces of posting (stage )
<form name='p' method='post' action='/pl/Register.php'>
<input type='hidden' name='sid' value='wa12891300kv1283056988...
I have a mysql databased with many tables and fields. I would like to quickly generate a set of prototype forms based on the mysql database (or create table statements). Anyone have any suggestions? html form code would be great. Full PHP validation and insert updates would be even better. Also Zend framework code would be ideal.
I was...
Hello,
i want to use form authentication.i have 2 different application.both are at different machine.i want to use common form authentication. suppose i have 2 application called "app1" and "app2".
There is one form called CElaunch.aspx page in app2.and i want to use this page in app1. we cant navigate the this page directly ...
I have just implemented mysql_real_escape_string() and now my script won't write to the DB. Everything worked fine before adding mysql_real_escape_string():
Any ideas??
$name = mysql_real_escape_string($_POST['name']);
$description = mysql_real_escape_string($_POST['description']);
$custid = mysql_real_escape_string($_SESSION['custome...
I am trying to write a script that validates user input. Like: letter length more than 5 or password and reentered-password match. But how can I get which input box in the form was clicked? I used
$(function() {
$('#register input').keyup(function() {
if ($('#username').val().length < 5) {
$('a.username').text("...
hi, im looking for a script much like the one used on Saxton Hale Facts, can anybody point my in the right direction?
...
Hello everyone,
I am stuck since few days on a bug in my app, and I require help.
Main thread contains time consuming operation. To be more friendly with user, I created a static class Info, which contains to methods ShowInfo and StopInfo.
ShowInfo basically start a backgroundWorker. backgroundWorker operation is :
Create a form
sh...
i add elements like this.
i want this element to appear inside a div ..how do i do it..?
$form->addElement('text','first_name','First Name:');
...
I have a PHP generated form which consists of a list of items, each with a button next to them saying "Remove This" it outputs similar to below:
Item A - [Remove This]
Item B - [Remove This]
...
I wish to be able to click Remove This and it will detect which item it is, and then remove that from the database. Here's my code so far:
s...
Hi all,
I'm looking for a clean way to implement a login screen in my iPhone application. I'd like it to appear as a grouped UITableView section with rounded corners and a separator line below between rows (like e.g. the sections in the Settings app). However, I'd like to give it a slightly smaller cornerRadius than the default setting ...
I am learning PHP and SQL, and I'm trying to figure out how to select a record from a database.
I created a function called selectById()
Right now in the browser displayed is "Error:" but, no specific error was displayed.
// function selectById --------------------------------------------------------------------
function selectBy...
Hello all,
I have a form with two submit buttons.
The user fills field-A and hits submit.
Done that, some input fields will be filled with data.
After that first submission, the value on the field-A should not disappear.
How can we preserve this value after the first submission?
Should we, on the field-A value attribute, place:
va...