Jump to content

edwind

Members
  • Content Count

    7
  • Joined

  • Last visited

Everything posted by edwind

  1. Thankyou JamesB. I had come to realise the error with the quotes but I had no idea about the missuse of the WHERE attribute. Thanks for that too but the problem I have is to call captions and prices to accompany their images placements in a table. They will not always follow an array numerically so the integer method will be unsuitable I guess.Also, having corrected all the instances of double quotes, I now get denied access because of;[error]Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\Inetpub\vhosts\weekdayweddings.ne
  2. I cannot get past this error code;Parse error: syntax error, unexpected T_LNUMBER, expecting ',' or ';' in C:\Inetpub\vhosts\weekdayweddings.net\httpdocs\asptestquerypage\Index.php on line 34The code I've used is <?php$user_name = "";$password = "";$database = "";$server = "localhost:3306";$con = mysql_connect($server, $user_name, $password);if (!$con) { die('Could not connect: ' . mysql_error()); }mysql_select_db("testcall", $con);$result = mysql_query("SELECT * FROM Stock No");$result = mysql_query("SELECT * FROM Price");while($row = mysql_fetch_array($result)) echo "<table border=
  3. edwind

    login script shaky

    Hi, Having finally found a workable login script that allows me to have multiple usernames and passwords in a database for members area I now find that once someone has logged in, all they have to do is copy the address bar of the browser then they can share that url with others who are not members for easy access. Surely there is way around this?
  4. Thankyou for your response. I have to apologize. I am afraid I used an asp script not php. I need to ask this question elswhere.
  5. Hi, I'm currently using an excellent php script to password my page but once 'in' the user can copy the url from the address bar and reuse it anytime (including sharing it) without logging in again. Surel this is nt right? How can I protect my page ensuring that every visit needs to login?
×
×
  • Create New...