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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: trufla
  • Order by date
  1. trufla

    A newbie's conditional statement

    Aaah, thanks guys. I will try your fixes and see what works. Tarwn, thanks for your explanation. I figured I had gone wrong in the logic somewhere but didn't think of the condition always resulting in true. Uuuuummmm, well I shall try and use your insight to get a true or false result. Cheers!
  2. trufla

    A newbie's conditional statement

    Maybe I have done this incorrently but I am trying to say: PageID is not equal to 2. Put that fact into a variable called page 2. Then in the If statement say: If page2 (i.e. Request.QueryString("PageID") <> 2) Then //Do this.... It was just to save doing If...
  3. trufla

    A newbie's conditional statement

    Hello, could someone help? I have a simple if statement for error handling that basically states: If a page exists display the page, if it does not display an error. I cannot get this to work. The logic escapes me for some reason and it is doing my head in! Dim page2, page3, page4, page5...
  4. trufla

    create variables to store array values

    neemind, I realised it is EmaiBody = EmailBody & mode_a(i), not +
  5. trufla

    create variables to store array values

    Don't think I want to do that actually, I think I need to do somethign like this: Dim EmailBody For i=LBound(mode_a) to UBound(mode_a) EmailBody = mode_a(i) However, the array simply overwrites the values so only the last one is output. How can I Add each value to EmailBody without...
  6. trufla

    create variables to store array values

    Hi, I am struggling to work out how to grab and contain array values in variables so that they can be used to form an email enquiry. I am knew to checkbox processing and asp arrays in general! This is my code so far, and it outputs the array values to screen, but I need to put these values...
  7. trufla

    Embedded Flash causing Javascript onload to be ignored?

    I am having trouble rendering rounded corners on a div that is a navigation bar. The code works fine in every page except a page which has flash embedded in it. It appears that an onLoad event that is in the HTML is ignored when there is a Flash movie embedded in the page. I am using a script...
  8. trufla

    VPN problems with Norton

    Hiya, I have been connecting to my uni via VPN all of last night with no issue whatsoever. This morning whenever I try to connect through my VPN connection Norton pops up a message: Rules automatically created for the program: Windows explorer. The VPN does not connect and tries to redial...
  9. trufla

    Hello! Got a problem chaps! I ha

    Cheers! will give that a try!
  10. trufla

    Hello! Got a problem chaps! I ha

    Hello! Got a problem chaps! I have this code to create a wap site from one card. <?xml version="1.0" encoding="UTF-8"?> <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="/"> <wml> <card id="Stories" title="Dingley Dell News">...
  11. trufla

    dllhost.exe

    I am keeping an eye on the task manager and researching any thing that looks a bit dodgy for security as a whole. I noticed a process dllhost.exe and looked it up on the internet. Some say it is part of the OS, others say it is part of IIS. I run IIS for testing ASP, and I have been informed...
  12. trufla

    Group By Order by

    PHV I love you! Can I just ask, (pardon the ignorance) why do I need to specify both attributes in the ORDER BY, GROUP BY? Trufla
  13. trufla

    Group By Order by

    Hiya! I am writing a query to group by a particular set of attributes and order by another set of attributes. What I want is an alphabetical list of species name, but grouped into the species family. i.e. Duck -------- Garganey Goosander Woodduck...
  14. trufla

    Restrict access to pages

    So I guess what I am asking is, how would you code: "Look in $_POST If not in $_POST, look in $_SESSION If not in $_SESSION, get values from the user." I understand what you are saying now, but I do not know how to approach coding it.
  15. trufla

    Restrict access to pages

    Anyone?
  16. trufla

    Restrict access to pages

    sleipnir214 (Programmer) Aug 18, 2004 Your script is assuming that the values its looking for must be in either $_POST or $_SESSION. This is not a valid assumption -- suppose that your user is going to a protected page and must login for the first time -- the values will be in neither place...
  17. trufla

    Restrict access to pages

    Now I AM confused. Are you saying that I need another function of some sort in the same script? What is to stop that from knackering up? I mean if the script is run before the user inputs their details, How can I specify a default value? I do not think I want it to be a default value, it...
  18. trufla

    Restrict access to pages

    So the code is saying //if a value is entered into textfield 'email_ID', then $uid will hold that value, else get the value from $SESSION['email_ID'] that was specified earlier in the session ID or use a default value already accounted for ? if (isset ($_POST['email_ID'])) { $uid =...
  19. trufla

    Restrict access to pages

    I did try this code but I got another error: Parse error: parse error, unexpected T_ELSE in c:\easyphp1-7\www\folder1\tmpi0l7m2nir1.php on line 13
  20. trufla

    Restrict access to pages

    sleipnir214 I am a noob! I am using the ternary operator? Have you just coded "$uid = isset($_POST['email_ID']) ? $_POST['email_ID'] : $_SESSION['email_ID']; by doing this: if (isset ($_POST['email_ID'])) { $uid = $_POST['email_ID']; else { $uid = $_SESSION['email_ID']; } sorry, at...

Part and Inventory Search

Back
Top