Search:
Type: Posts; User: h3r0
Search :
Search took 0.02 seconds.
Hello,
I'm trying to do the following:
client.dcd -> client.php [works]
client.dcd?action -> client.php?act=action
This is what I have so far, but it is not working:
RewriteRule...
Hello,
I would like to create a counter that adds a decimal value to a number determined by another part of the script and the number will update every second. Basically to calculate the money...
Here's a link: http://cullmancrosscountry.com/gallery.php
I've got an error where I cannot enter any data into the forms using IE 7. All other browsers works fine.
I also cannot highlight the text manually (have to use Ctrl + a).
Any idea on a fix?
...
Hello again.
I have a syntax error and I can't figure it out. Here is my function:
function ditchtn($arr,$thumbname)
{
foreach ($arr as $item)
{
$chk = "/^".$thumbname."/";
alert(document.getElementsByName('address')[0].value)
is the charm. Thanks for your help :)
The first alert returns undefined.
The second doesn't even run.
This is the markup for the form:
<form action="register.php" method="post" onSubmit="return validateStep3()" name="step1"...
Hello. I am attempting to validate some form fields. The error is where I am assigning the variables:
var address = document.step3.address.value
var state = document.step3.state.value
...
Between my post and the one by toicontien, we have pretty much made it copy and paste? What more code is there?
You need to escape whichever quotes are causing the problem using a backslash: \
var one = 'i wasn't going to go';
This would break because the single slash is stopping the string in the the word...
The error is where I am assigning the variables:
var address = document.step3.address.value
var state = document.step3.state.value
var zip = document.step3.zip_code.value
var phone =...
Thanks for the reply. Yes the string length would be 0, but it would also be null if nothing was entered.
This is how it is being called:
<form action="next.php" method="post" onSubmit="return...
Hello, and thanks for help in advance.
I have the form submitting to my function "validateStep3" but for some reason it isn't running. is there a javascript debugger anywhere, or can anybody spot...
But how do I get the form to submit those two fields before it is completed? Basically, once pass2 is completed, I want it to run this function:
function checkPass() {
var pass1 =...
You could just do a meta redirect or change the headers using PHP.
Hello again,
I want to be able to check if the form fields "pass" and "pass2" match. How would I go about doing this? Basically, when the user completes the field "pass2" with the id of "pass2",...
Thank you:) That worked perfectly.
I'm trying to create a switch.
Basically, when you change a form select drop down, it runs a function to display more fields (inside a div that has display: none; ). This is what I have:
...
Hello,
I'm trying to calculate the time remaining left on an "auction". This is the code I have:
SELECT DATEDIFF(CURDATE(), endtime) AS timeleft FROM `auctions` WHERE `id` = '".$id."'...
I have the headers set as:
$headers .= "From: newuser@mysite.com\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
mail($email,"New User Registered",$message,$headers);
...
It has been fixed. Thanks. I missed a </div>. :/ Thanks :)
I have my left column set to float: left; and my right column set to float: right; however it doesn't appear to be working.
here's my design:
http://rosssssss.homelinux.org/test/
Any thoughts...