hey guys , today i visited my website and i saw someone insert more than 1000 query in my story table
my script is in php/mysql and i have captcha enabled and i wonder how he can do such a thing
a simple form and in another function , it checks $vars and validate them and then insert in database
im sure he is using a bot to do ...
I have a form that posts to a url which triggers file download. The server is ASP.NET MVC and I write out a CSV file.
What I want to do is have a jQuery/javascript submit the form instead of a form submit button.
For example, I created a link and attached a handler using jQuery to submit the form:
$(function() {
$("#mylink").clic...
I have a bound form in microsoft access that allows a user to add data to a table. I want to place a "cancel" button on the form, that if clicked, will stop the record commitment.
What is the command I need to cancel the record commitment?
...
Is there a way to make a form where it can simultaneously upload to several servers at once?
Currently in my web application, I am asking the users to type in some info + select a few files to upload.
Title, Description, Info, etc
File 0
File 1
File 2
File ...
On the backend, I'm using Pylons. Currently it accepts POST of (info + ...
I'm now reading this tutorial:
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/10
But I want to know more of it under the hood,like the design pattern/principles.
...
Hi all
Is it possible to pass a chunk of html content to a hidden field and how would I do this?
Thanks
Jonathan
...
Hi,
I have a URL /products/search where Products is the controller and Search is the action. This url contains a search form whose action attribute is (and should always be) /products/search eg;
<%using( Html.BeginForm( "search", "products", FormMethod.Post))
This works ok until I introduce paging in the search results. For example i...
hello, i have this code
<form action="index.php" method="get" class="search-form"><input type="text" size="35" name="search" class="searchBox" value="" /><input type="submit" value="Start Searching!" /></form>
and actually i convert the url with javascript
<script type="text/javascript">
$(document).ready(function() {
$('.search...
I'm trying to send a form with mootools and depending on the response from the php script do such or such thing. The thing is I fail to be able to use conditional statements inside of the onComplete part of the code.
I'm missing something really obvious probably, please help me :)
$('formName').addEvent('submit', function(e){
e.st...
I have a Windows Forms application in C# .NET. It contains a user-drawn control that also handles the keyboard focus. If a part of the control has the focus, a focus highlight border is painted around it. When the form that contains the control is deactivated, the focus border must disappear from the control, obviously. But the control d...
Hi,
Send e-mail from a form, here is the the link to basic HTML code:
W3 Schools
After writing a comment, name and email and clicking Send button the Outlook Express starts-
is it possible to send message immediately (using only HTML, maybe javascript)?
Or maybe is there something that can be done so that the Outlook Express doesnt as...
I've got a feedback HTML form, the results of which I need to send to an e-mail address. How do I do that in JavaScript?
...
I've set up a PHP standard contact form asking for name, email, comments.
The processing part of the form sanitizes the data and makes sure only a single email is entered, etc.
Still, I tend to get data filled out like so...
// ------------------ GARBAGE STARTS
Name: PQctQCulKkDyDIWrFsP
Email: [email protected]
Message: 5DPKep qbkb...
Let's say I have some classes:
class Resource(models.Model):
files = models.ManyToManyField("File")
class File(models.Model):
name = models.CharField(max_length=255)
file = models.FileField(upload_to="path/here")
In the Admin View, instead displaying the select multiple box, I want to display something like this:
Name of ...
Here's what I'd like:
Here's my code:
<?php
require_once ('Zend\Form.php');
class Sergio_Form_registrationform extends Zend_Form {
public function init(){
/*********************USERNAME**********************/
$username = new Zend_Form_Element_Text('username');
$alnumValidator = new Zend_Validate_Aln...
Here's my RegisterController:
public function saveforminformationAction(){
$request = $this->getRequest();
if($request->isPost()){
//I NEED HELP WITH THE getFormValues() METHOD.
$formResults = $this->getFormValues();
$db = $this->_getParam('db');
$data = array(
...
I have a complex classic ASP system that has worked well for years but has recently started having a strange and intermittent problem.
On some forms, folks will report that they click "Submit" but that the form just resets itself (or, perhaps, the browser just reloads the form - my users are probably not able to tell the difference).
M...
Hi all,
Update I was able to get this to work by creating a custom Label decorator, which extended Zend/Form/Decorator/Label.php. I added a setTagClass() method to it and overrode the render method to create the enclosing tag with the desired class. There might be a more elegant way to do it but this seems to work.
I'm looking for in...
I have a simple Ruby on Rails form which includes an authenticity_token. Unfortunatly, I missed that when you page cache this page then the Authenticity Token becomes invalid. I'm glad I figured it out however.
How do you solve caching in such a case?
...
How to create best form design in asp.net 3.5 ?
...