Sorry, I'm just an inexperienced novice, how would I make it more secure?
Adding the AND just gives an error with every code whether the email field in the db is empty or not.
Announcement
Collapse
No announcement yet.
Search Result
Collapse
99 results in 0.1065 seconds.
Keywords
Members
Tags
-
Last edited by Seanie; Fri 20 Jan '12, 4:10am.
-
Restricting content based on content of db table.
Hi,
I'm trying to create a basic script where a user inputs their email, and a unique code which is then checked to see if it exists on the DB, if it does their email is added to the field....
-
they are now though?
I dont understand how it could work before, its not isolated to this script, every other database adding script I have on the site isn't working in the same way. (apart...
Leave a comment:
-
i never even noticed those before.
But to answer your question they're defined in the form, when the user inputs into the form, hits submit it should carry it through to the database....
Leave a comment:
-
just tried it, changed a few bits as you suggested and still getting the problem.
Its getting a bit ridiculous now
Leave a comment:
-
anyone got any idea, it'd suck if we had to go back to manually managing archives
Leave a comment:
-
Sorry I've only just come back to you, I've been really busy with work and have only just had a chance to test this, and unfortunately i still only get:
INSERT INTO release_sched(act, title,...
Leave a comment:
-
That form leads onto this page
HTML Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Leave a comment:
-
Sorry I should have just posted the entire page in the first palce.
the act is defined on the previous page from a form:
HTML Code:<?php chdir('/home/seanrobe/public_html/urapopstar/promote');
Leave a comment:
-
HTML Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
Leave a comment:
-
Oh yrah sorry they're pulled from a form that's just before this code. I just noticed I hadn't copied the complete script. It worked fine on my previous server, I'm wondering if I need to update the...
Leave a comment:
-
right i've done this and am getting:
INSERT INTO release_sched(act, title, type, release_date, taken_from) VALUES('', 'test', '', '', '')
Leave a comment:
-
-
nope, it runs as if its working normally but nothing gets added to the database
Leave a comment:
-
PHP problem - database not updating?
Hey,
I recently moved servers and one of my scripts isn't updating the database on the new server when a user submits to it.
It was working fine before but for some reason its not now....
Leave a comment: