I have a page that people (without technical knowledge) can upload and
change news web links (via the php script) dynamically. It has worked fine
on our other server, but this week we changed servers and now it doesnt.
What it is doing is replicating the links (in no order - its not like my var
is just getting duplicated) so that there are many duplicate links, but not
all of them are. The links are stored in a textarea and when the form is
submitted, the links get messed up. i have 2 other pages that are doing the
same thing. (they arent links. they are just text) if i click submit,(it
submits to it's self) it takes the good links and runs it through a php
function where the are recorded in a database. then the form is refreashed
and the links go bad. when i comment out the recording part, just going to
an empty function still makes it do it. If i just hit the refreash button in
the browser, it doesnot occur. i am stumped as to why this is occuring. it
is not a special char in the list itself. i think the problem has to do with
when the form is submitted, the data is changed. 2 1511
In article <c7**********@n ews-int.gatech.edu> , Brad Esclavon wrote:
[snip story on a problem]
I'm affraid nobody will be able to help you if you don't code...
-- http://home.mysth.be/~timvw http://host107.ipowerweb.com/~madpundi/bad.php
here is the link to the source. i made a submit button that does nothing,
other than submit and refreash the form. when you click it, it makes the
"link1" textarea data go bad.
"Brad Esclavon" <gt*****@mail.g atech.edu> wrote in message
news:c7******** **@news-int.gatech.edu. .. I have a page that people (without technical knowledge) can upload and change news web links (via the php script) dynamically. It has worked fine on our other server, but this week we changed servers and now it doesnt. What it is doing is replicating the links (in no order - its not like my
var is just getting duplicated) so that there are many duplicate links, but
not all of them are. The links are stored in a textarea and when the form is submitted, the links get messed up. i have 2 other pages that are doing
the same thing. (they arent links. they are just text) if i click submit,(it submits to it's self) it takes the good links and runs it through a php function where the are recorded in a database. then the form is refreashed and the links go bad. when i comment out the recording part, just going to an empty function still makes it do it. If i just hit the refreash button
in the browser, it doesnot occur. i am stumped as to why this is occuring. it is not a special char in the list itself. i think the problem has to do
with when the form is submitted, the data is changed.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: R. Rajesh Jeba Anbiah |
last post by:
Many people often ask the question related to form validation. Here is
my style. It just gives the idea; but not exactly what I do in
development.
Comments are welcome.
------------->8---------------------
|
by: julie.siebel |
last post by:
Hello all!
As embarrassing as it is to admit this, I've been designing db driven
websites using javascript and vbscript for about 6-7 years now, and I
am *horrible* at form validation.
To be honest I usually hire someone to do it for me, grab predone
scripts and kind of hack out the parts that I need, or just do very
minimal validation (e.g. this is numeric, this is alpha-numeric, etc.)
|
by: Bill |
last post by:
I'm using the POST method to submit a simple form html page with yes/no
and checkbox fields to an asp response page which stores the values in
a new dim string, then uses it to build a new table using ADO. I'm
getting sometimes correct values, sometimes null values (when I know I
pass a valid default value) and other times multiple values! I know
what the values coming over are because I do a response.write to see it
before the error...
|
by: whisher |
last post by:
Hi.
I've managed this simple snippet:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Register</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script language="JavaScript" type="text/JavaScript">
var usernameError = 'Invalid String username';
|
by: ak1dnar |
last post by:
Hi, I got this scripts from this URL
There is Error when i submit the form.
Line: 54
Error: 'document.getElementbyID(....)' is null or not an object
What is this error.
Complete Files
| |
by: bcanter |
last post by:
I have a PHP form that submits information via e-mail, I know that it work fine. My problem is that I want a msgbox to pop up when you submit the form and I can't seem to make it work. I want the form to be sent no matter what the answer is to my msgbox, if they answer yes then it will open a window with another form, if they answer no then the msgbox goes away. Right now I'm not sure how to get the form action to respond to the part that mails...
|
by: underground |
last post by:
I found this form on the scripts. However when I attemp to open the php file on the sever I get a error message Parse error: syntax error, unexpected $end on line 238
<?
/**
* Main.php
*
* This is an example of the main page of a website. Here
* users will be able to login. However, like on most sites
* the login form doesn't just have to be on the main page,
* but re-appear on subsequent pages, depending on whether
* the user...
|
by: William Gill |
last post by:
I hope I can state this clearly enough.
I am redoing some of my html(php) forms. I'm trying to break things
into three functions on a self processing php page:
1) show the form (and populate fields if there were errors)
2) validate form data
3) process form data
2 and 3 are no problem, but 1 is. The page with the form displayed
should validate as html 4.01 strict (actually all iterations of the page
|
by: Geoff Cox |
last post by:
Hello
I'm having a problem loading a frameset file using an include in a php
file.
Nothing is displayed and when I look at the source code I see that
<html>
<head>
<title></title>
|
by: Lelu |
last post by:
Hi, My HTML form is generating some blank email
responses; does anyone see anything wrong with the scripts?:
function isFormVarExcluded(thisForm, strToCheck)
{
var strExcludeVars = thisForm.elements.value;
var arrExcludeVars = strExcludeVars.split(",");
for (var j=0; j<arrExcludeVars.length; j++)
{
if (arrExcludeVars == strToCheck) return true;
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |