Jump to content

straygrey

Members
  • Posts

    37
  • Joined

  • Last visited

Everything posted by straygrey

  1. I had Oracle 10g installed on my Windows XP C: drive with databases on F: My C: HDD had an unrecoverable hardware failure. I have now replaced the C: drive with another and installed Oracle 10g on this drive. My problem is that I cannot find a way to get the "new" 10g to "see" the databases on my F: drive. Please suggest how I address this problem.
  2. I have resolved the problem by doing a partial rewrite and eliminating most of the Javascript. Thank you all for your suggestions and help.
  3. Despite making these changes Amount & Reason still do not clear. In the web page they are defined as :- echo '<div style="position:relative;"><input type=text name="Amount" id="Amount" onBlur="CheckAmount()"></div>'; echo '<div style="position:relative;"><input type=text name="Reason" id="Reason" onBlur="CheckReason()"></div>';
  4. Please tell me how it should it be done. As you can see above I have attempted reset without success.
  5. I have tried that as well and still it fails. function ClearForm() { document.Adjustments.reset(); } and I have <title> Adjustments </title> as well as <form name="Adjustments" ID="Adjustments" method="get" action="InsertAdjustment.php"> in the HTML page.
  6. I have set document.all.Adjustments.reset(); as well as document.Adjustments.Amount.reset(); and I still have the same problem. I also do not understanding what help your <shudder> included. Please explain.
  7. I have written a Javascript script as follows:- function ClearForm() { document.getElementById("CardNumber").innerHTML = ""; document.getElementById("MemberName").innerHTML = ""; document.getElementById("Amount").innerHTML = " "; document.getElementById("Reason").innerHTML = " "; document.getElementById("Issue").disabled=true; document.getElementById("CardNumber").focus(); } and am confused as to why CardNumber and MemberName get cleared but Amount and Reason do not. All fields are defined in HTML as :- <input type=text with a name as well as an id. They are all defined within their individual <div>
  8. It does not give an error message. It waits for the :- <META HTTP-EQUIV="Refresh" CONTENT="120;URL=Administration.php"> and times out and I want to get there immediately not after 120 seconds but I cannot alter the META line as I want the 120 second timeout to happen if the users goes to tea in the middle of. The Header ("Location: ../MainMenu.shtml"); makes no difference. It still times out.
  9. I have a series of php & html that the user needs to go through to achieve a task and the last script in the scenario is a php. From that last php I need to return to the 1st in sequence and I am not getting there using the Header (Location: MainMenu.shtml) construct. Is there a better way? The scenario might look like MainMenu.shtml->u.shtml->ud.shtml->uu.php and on successful completion of uu.php return to MainMenu.shtml.  ???
  10. I am using $_SESSION["usrname"]=$_POST["username"] construct to set $_SESSION variables. My question is that the SSI variables are not getting displayed in php scripts and the $_SESSION data is not appearing in shtml even though I am attempting to use php within the shtml to retrieve same. The $_SESSION data works fine in php scripts called *.php and the server side includes(SSI) works fine in shtml pages called *.shtml but not vice versa.....:-( What have I forgotten to do to get both php and shtml to work the way I want?
  11. I am misunderstanding the PHP Manual, where it says:- mixed *mssql_query* ( string query [, resource link_identifier [, int batch_size]] ) Returns: A MS SQL result resource on success, *TRUE* if no rows were returned, or *FALSE* on error. and my code reads:-     $passwd = "";      // for debugging only     $insert = sprintf("INSERT INTO Users (FirstName, LastName, Usrname, Passwrd, AccessLevel, last_login, UserID)                         VALUES ('%s', '%s', '%s', '%s', '%d', '%s', '%d')",                             $FirstName, $Surname, $uname, $passwd, $accesslevel, $regdate, $_SESSION['UID']);     $Reply = mssql_query($insert, $link);     if ($Reply == FALSE)         {         $Message = sprintf("%s %d <br>Record not inserted. Please refer problem to Admin.", __FILE__, __LINE__);         trigger_error($Message, E_USER_ERROR, $link);         exit;         } Maybe on an insert, no rows would be returned and therefore I possibly should be checking for something other than "if ($Reply == FALSE)"?
  12. I need to rebuild PHP on my Ubuntu 6.06 system to include --with-oci8(Oracle access) but when using the following command I get errors. sudo ./configure --with-apxs=/usr/bin/apxs --with-libxml-dir=/usr/share/doc/ --with-mysql=/usr/local/src/mysql-5.1.11-beta-linux-i686/ --with-zlib --with-zlib-dir=/home/alf/download/tmp/zlib-1.2.3/ --with-oci8 checking for MySQL support... yes checking for specified location of the MySQL UNIX socket... no checking for MySQL UNIX socket location... no checking for mysql_close in -lmysqlclient... no checking for mysql_error in -lmysqlclient... no configure: error: mysql configure failed. Please check config.log for more information. I do have MySQL 5.0.22 installed and running so am loath to rebuild the source I have in /usr/local/src/mysql-5.1.11-beta-linux-i686/ Suggestions please.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.