RE: [PHP-DB] Passing variables between html forms and updating sql table

2003-09-17 Thread Jennifer Goodie
> I need a secure way of updating mysql on the website, phpadmin is not > secure enough [snip] > $MySQLLink = mysql_pconnect ("davecp4", "root", "") >or die("Could not attach to database. Please try later or contact > [EMAIL PROTECTED]"); Please tell me you just took the password out of tha

Re: [PHP-DB] Passing variables between html forms and updating sql table

2003-09-17 Thread Jason Wong
On Thursday 18 September 2003 01:03, David wrote: > I need a secure way of updating mysql on the website, phpadmin is not > secure enough Why is phpadmin not secure enough? Or to put it another way, what are you doing differently that makes it more secure than php admin? > So I have created th

Re: [PHP-DB] Passing variables between html forms and updating sql table

2003-09-17 Thread David
Dear Jason I need a secure way of updating mysql on the website, phpadmin is not secure enough So I have created these pages in order: A page to choose the databases Next a page to choose the table Next a list of the records in the table Next to edit the page using textboxes and textareas I pass

Re: [PHP-DB] Passing variables between html forms and updating sql table

2003-09-17 Thread Jason Wong
On Wednesday 17 September 2003 23:42, David wrote: > Here is my original problem below as I am treated as spam. When it > reaches the next page, when the update query is run, it does not update > the database. *sigh* Could you please describe *exactly* what happens. Eg does your error messages

Re: [PHP-DB] Passing variables between html forms and updating sql table

2003-09-17 Thread David
Dear Jason Here is my original problem below as I am treated as spam. When it reaches the next page, when the update query is run, it does not update the database. Regards David Anagram Systems http://www.anagram-sys.co.uk/ http://www.web-planets.com/davec/techsitedb/ Dear all I am putting tog

Re: [PHP-DB] Passing variables between html forms and updating sql table

2003-09-17 Thread Jason Wong
On Wednesday 17 September 2003 22:34, David wrote: > I am putting together some pages where I will be able to update mysql > database using php pages. I am having a problem with updating. I put a > record into textboxes and when I press submit it passes the values to the > next page. The problem I

RE: [PHP-DB] passing variables

2002-12-09 Thread Mark
or it. Mark > <>< Ryan > > -Original Message- > From: Mark [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 09, 2002 10:51 AM > To: Ryan Jameson (USA); [EMAIL PROTECTED] > Subject: RE: [PHP-DB] passing variables > > > > --- "Ryan Jameso

RE: [PHP-DB] passing variables

2002-12-09 Thread Ryan Jameson (USA)
Ryan -Original Message- From: Mark [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 10:51 AM To: Ryan Jameson (USA); [EMAIL PROTECTED] Subject: RE: [PHP-DB] passing variables --- "Ryan Jameson (USA)" <[EMAIL PROTECTED]> wrote: > I missed the part where he was usin

RE: [PHP-DB] passing variables

2002-12-09 Thread Mark
--- "Ryan Jameson (USA)" <[EMAIL PROTECTED]> wrote: > I missed the part where he was using an image. Without a value > property, I don't see how it could pass anything at all > > A note on my recent post, to emulate register_globals do this: > > if (!empty($_SERVER)) > extract($_SERVER); >

Re: [PHP-DB] passing variables

2002-12-09 Thread Adam Williams
www.php.net/isset if !isset($var) { echo "var is not set to anything"; } else { echo "var is set to $var"; } On Mon, 9 Dec 2002, Edward Peloke wrote: > Hello all, > > I have a login/register screen for my php/mysql db. When the page opens, > the user sees the log in screen but I have a button

RE: [PHP-DB] passing variables

2002-12-09 Thread Edward Peloke
Thanks for all the help everyone -Original Message- From: Hutchins, Richard [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 11:14 AM To: [EMAIL PROTECTED] Cc: '[EMAIL PROTECTED]' Subject: RE: [PHP-DB] passing variables Eddie, whenever I start having problems with va

RE: [PHP-DB] passing variables

2002-12-09 Thread Hutchins, Richard
ope this helps and that I haven't misinterpreted your post. > -Original Message- > From: Ryan Jameson (USA) [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 09, 2002 10:44 AM > To: [EMAIL PROTECTED] > Subject: RE: [PHP-DB] passing variables > > > I m

Re: [PHP-DB] passing variables

2002-12-09 Thread Jason Wong
On Tuesday 10 December 2002 00:03, Edward Peloke wrote: > That's just it, for some reason the variable isn't being set. > > Here is the code: > When the page loads, the form loads under > if (!$login_clients and !$register_clients){ > > When I click the minus.gif image, I want the page to reload

RE: [PHP-DB] passing variables

2002-12-09 Thread Ryan Jameson (USA)
y, December 09, 2002 8:40 AM To: [EMAIL PROTECTED] Subject: RE: [PHP-DB] passing variables One of many possible things. Dependent on the version of PHP you are using, you might have register_globals set to off in your php.ini file, which is preferable. In which case you'll have to use If($_REQUE

RE: [PHP-DB] passing variables

2002-12-09 Thread Jonathan
One of many possible things. Dependent on the version of PHP you are using, you might have register_globals set to off in your php.ini file, which is preferable. In which case you'll have to use If($_REQUEST['variable']) Or If(isset($_REQUEST['variable'])) Second possible is: I've never reall

RE: [PHP-DB] passing variables

2002-12-09 Thread Ryan Jameson (USA)
be in either get or post. <>< Ryan -Original Message- From: Edward Peloke [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 9:03 AM To: [EMAIL PROTECTED] Subject: RE: [PHP-DB] passing variables That's just it, for some reason the variable isn't being set

RE: [PHP-DB] passing variables

2002-12-09 Thread Edward Peloke
r 09, 2002 10:09 AM To: [EMAIL PROTECTED] Subject: RE: [PHP-DB] passing variables I think you want: if (isset($variable)){} <>< Ryan -Original Message- From: Edward Peloke [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 8:33 AM To: [EMAIL PROTECTED] Subject: [PHP-DB

RE: [PHP-DB] passing variables

2002-12-09 Thread Ryan Jameson (USA)
I think you want: if (isset($variable)){} <>< Ryan -Original Message- From: Edward Peloke [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 8:33 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] passing variables Hello all, I have a login/register screen for my php/mysql db. When t

Re: [PHP-DB] passing variables from one page to another

2002-07-08 Thread Matthew K. Gold
: Rich Hutchins <[EMAIL PROTECTED]> To: Matthew K. Gold <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, July 08, 2002 5:39 PM Subject: RE: [PHP-DB] passing variables from one page to another > Just wanted to eliminate one possible problem area. If the query works, then >

RE: [PHP-DB] passing variables from one page to another

2002-07-08 Thread Rich Hutchins
ow us what's being parsed by the browser. -Original Message- From: Matthew K. Gold [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 5:07 PM To: Hutchins, Richard; [EMAIL PROTECTED] Subject: Re: [PHP-DB] passing variables from one page to another It works from the command line if I

Re: [PHP-DB] passing variables from one page to another

2002-07-08 Thread Matthew K. Gold
27;ve mentioned, I'm very new at this, so the answer could be very basic. thanks, Matt - Original Message - From: Hutchins, Richard <[EMAIL PROTECTED]> To: 'Matthew K. Gold' <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, July 08, 2002 4:35 PM Subje

RE: [PHP-DB] passing variables from one page to another

2002-07-08 Thread Hutchins, Richard
Matthew, have you tried running your query from the command line in MySQL? If you can do that successfully, that'll prove that the query is functioning properly and the problem can be tracked elsewhere. -Original Message- From: Matthew K. Gold [mailto:[EMAIL PROTECTED]] Sent: Monday, July

Re: [PHP-DB] passing variables from one page to another

2002-07-08 Thread Matthew K. Gold
t (""); ?> - Original Message - From: Daniel Brunner <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, July 08, 2002 4:04 PM Subject: Re: [PHP-DB] passing variables from one page to another > Hello!! > > How are you fetching t

Re: [PHP-DB] passing variables from one page to another

2002-07-08 Thread Daniel Brunner
after adding it. > > best, > > Matt > > - Original Message - > From: Martin Clifford <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Monday, July 08, 2002 3:47 PM > Subject: Re: [PHP-DB] passing variables from one page to

Re: [PHP-DB] passing variables from one page to another

2002-07-08 Thread Matthew K. Gold
onday, July 08, 2002 3:47 PM Subject: Re: [PHP-DB] passing variables from one page to another If that is your exact code, then you need to have an ending quote after the query is written. Like this: $query = "Select * from course, disc, instit, prof where course.CourseID = $CourseID an

Re: [PHP-DB] passing variables from one page to another

2002-07-08 Thread Martin Clifford
If that is your exact code, then you need to have an ending quote after the query is written. Like this: $query = "Select * from course, disc, instit, prof where course.CourseID = $CourseID and course.DiscID = disc.DiscID and course.InstitID = instit.InstitID and course.ProfID = prof.ProfID";

Re: [PHP-DB] Passing variables to/from Flash

2001-05-16 Thread Atanas Vassilev
Yeah, it really worked, only the "&" char I had to put it at the beginning of the string too and not only before the second and every consecutive name-value pair. So the right string I had to output was: "&var1=value1&var2=value2&var3=value3" Thank you for your help! Atanas Vassilev ""[EMAIL P

RE: [PHP-DB] Passing variables to/from Flash

2001-05-15 Thread [EMAIL PROTECTED]
afaik it's something like: var1=value1&var2=value2&var3=value3... > -Original Message- > From: Atanas Vassilev [mailto:[EMAIL PROTECTED]] > Sent: Dienstag, 15. Mai 2001 12:31 > To: [EMAIL PROTECTED] > Subject: [PHP-DB] Passing variables to/from Flash > > > I'm trying to send variables