Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by riffy

  1. riffy

    applet question

    just a clarification that the value in the url parameter has to be a relative path, not an absolute one as I have listed so something like: ../Viewlets/Basic.viewlet/Basic.exe since the page calling the viewlet is in the same parent directory (Private) but different folder called pages Arif
  2. riffy

    applet question

    Hi guys, I hope everyone is doing well. I haven't posted in awhile because I had started medical school but I had to come home for a family emergency and have a temporary job. Anyway I have a question regarding applets using html. I'm posting the code below and I'll explain the problem after...
  3. riffy

    adding backslashes in form

    Hi guys, I have a multi-page form and as the user proceeds through each step, the variables from the previous page(s) are carried over into the next page. The final page inserts all values into a mysql database. However, I can't seem to get the apostrophes to work. It seems that thru each step...
  4. riffy

    querying two tables

    I have a question in getting values from two tables and checking to see whether they are equal. The first table is called "A". The second table is called "B". Users get assigned a group_id number associated with their user_id in table "B". If they have been...
  5. riffy

    php redirects

    what do you mean by that? don't we have to set it equal to some value?
  6. riffy

    php redirects

    i know sleipnir if you are referring to the $HTTP_REFERER variable..it was a typo in my post, i have it as all caps in my code...
  7. riffy

    php redirects

    thanks for all your help guys, however i'm still having trouble... on another page i have this code <? include &quot;config.inc&quot;; $sql = &quot;SELECT * FROM information&quot;; $result = mysql_query($sql); $row = mysql_fetch_array($result); extract($row); $referer =...
  8. riffy

    php redirects

    thanks DR the following is the code to one of the pages on the site i'm working on: <? include &quot;config.inc&quot;; $emailcheck = $email; $sql = &quot;SELECT * FROM information&quot;; $result = mysql_query($sql); $row = mysql_fetch_array($result); extract($row); if ($email == $emailcheck)...
  9. riffy

    php redirects

    Hi guys, How do I redirect a user to another page using PHP? Header (&quot;Location: &quot;); ??? Arif
  10. riffy

    referer question

    it didn't work smashing it's like it's not even reading that line, the page just loads as if there is no check for referer
  11. riffy

    referer question

    Hi guys, I have a page in which I'm checking to see if the user came through the referring page or not. $HTTP_REFERER = 'http://test.philipslighting.com/nam/events/lightfair/request.php'; $referer = $HTTP_REFERER; if (!($referer)) { header (&quot;Location: emailcheck.php&quot;); exit; }...
  12. riffy

    request.getParameter problem

    I have a statement: String strName = request.getParameter(&quot;gameName&quot;); gameName is the name of the input box on the previous page the sql query I have is: <% strQuery = &quot;SELECT * FROM videogames WHERE &quot; + strName + &quot;LIKE '%VName%'&quot;; rs =...
  13. riffy

    check code

    yes i kind of figured that sleipnir however everything works until the SQL2 statements in the echo statement that follows that call to the database, the part when the U_email is being incorporated into the sentence doesn't seem to work at all...even though i have checked that U_email field...
  14. riffy

    check code

    can someone please check this code and tell me if it's ok? basically it's checking whether to send an email or not... after the user is done taking all 9 quizzes, an email is sent listing the user's scores...however, in my code, the email is never sent, it's not even accessing the tables for...
  15. riffy

    Simple POST problem I can not figure out

    <?$Age = 1?>; the ; should be after 1 <?$Age = 1; ?> <input type=&quot;hidden&quot; name=&quot;test&quot; value=&quot;<? print $Age; ?>&quot;> that should work

Part and Inventory Search

Back
Top