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!

Search results for query: *

  • Users: janet24
  • Content: Threads
  • Order by date
  1. janet24

    session adding in decimal

    I have a short program that adds some numbers in a web page and updates them using session variables. It seems to be working fine except for the decimal. when I add the totals it doesn't add the decimals. It just seems to add the whole number. I'm using CTYPE(("session"),decimal) Is there...
  2. janet24

    test asp form pages to email

    I'm trying to test an asp form that is sent to an email. Without having a hosting server, is there any other place I could test a file like this?
  3. janet24

    email form htm

    Is it possible to format the message that is being sent from a form through php code. Right not it's just listing the different fields. Can I add a rule or any other html formatting to the type? $subject = 'Team CSC Opportunity Registration Form'; $mailcontent = 'Opportunity Name: '.$name."\n"...
  4. janet24

    date

    Is there any way you can use the date command to insert the current data in a database through a form?
  5. janet24

    email form

    I'm sending a form using php. I want to send an receipt email to an email address that is entered in the form. It doesn't seem to work to just add a varible name that is filled out in the form and add it to toaddress. How would you do it then... $toaddress = $emailaddress;
  6. janet24

    md5 vs sha1

    I have a login script that I got from the web and it's working fine. When I change the MD5 to a SHA1 it doesn't work. Why wouldn't I be able to change it to SHA1, aren't they the same except how they save the password?
  7. janet24

    Resource id #3

    I'm missing something in this code to make it work. Right now the output is Resource id #3 My database has a username which is janet and a scorer which is 4. I want the results of the scorer where the user name is janet to be displayed. This should be easy for somebody but not me. <? $conn =...
  8. janet24

    session search

    Sorry I'm very new to PHP.I'm trying to use the session variable to update a database. It says I'm logged on but only inserts the data when I have the actual name in the code and not the session variable. It seems like this code should work but it's not updating the database. <...
  9. janet24

    sqli sql injection

    I've been reading up on sql injection. I have been however using sqli instead of sql. It says to use the bind function ....this is the example 1. $variable = "O'Reilly"; 2. // prepare the query 3. $query = $mysqli->prepare( "SELECT x, y, z FROM tablename WHERE user = ?" ); 4. 5. // bind a...
  10. janet24

    sql injection

    How would I fix this simple code to protect form SQL injection. Can I put the form values in an array and use mysql_real_escape_strinb(); ? <?php error_reporting(E_ALL); ini_set('display_errors', '1'); $userid=$_POST['userid']; $first=$_POST['first']; $last=$_POST['last']...
  11. janet24

    harddrive vs server

    I have 2 samples of code. The first one works on the server and my harddrive. The second one only works on my harddrive. What would be the reason for that? SAMPLE 1 <?php $userid=$_POST['userid']; $first=$_POST['first']; $last=$_POST['last']; $organ=$_POST['organ']; $email=$_POST['email']...
  12. janet24

    code question

    I'm just trying to put information from a form into a database. I have form information that is sent to code below. I've been working with this code with no results. It gives me an error only if I don't fill in the required fields. I've checked the connection with the mysql and it seems to be...
  13. janet24

    no error messages

    When I test my php pages on my current server, I get a blank page with no error message. When I test it on another server I get error messages. Can you turn the error messages on somehow in PHP on my current server?
  14. janet24

    connect to remote server

    I see there are a few questions like this already but I didn't understand them. I am very new at this. I installed MySQL and PHP on my Hard drive. I can connect to MySQL through localhost on my hard drive. We have a server at work at a remote location. He just installed MySQL and gave me a...
  15. janet24

    flash drag and drop

    I would like to create a graph that the viewer can actually make changes themselves and post it or save it on the web. I was thinking about using drag and drop so the person viewing the graph can actually drag the objects to make changes to the graph. My problem however is once they make...
  16. janet24

    drag and drop levels

    I have a drag and drop flash file that works fine. It contains questions and answers. You drag the correct answer in the correct place and it sticks. When I bring the same movie into a level of another movie it will drag but won't stop where it's supposed to. In other words it's stops working...
  17. janet24

    fomatting text

    I have this action script that I'm using the load from an xml file. It works fine except that later we had to put bullets in the code of the caption. Is there any way to do that with what I have already or do I have to start over with the coding and the xml files. blank_mc._alpha = 100...
  18. janet24

    bullets

    I'm pulling copy from an xml page into flash. I want to add bullets and some formatting like adding a space. Can you do that within the image source tags? <image source="images/sec_01_04.swf" title="Module 1 - INTRODUCTION I WANT BULLETS IN HERE???" subtitle="Course Outline" caption="This...
  19. janet24

    scroller xml

    I'm creating a text window with a scroll bar in flash. The text is coming from an xml file. On some pages there is lots of text and other pages there is only a little. Is there anyway the code can detect how much text that is being displayed so that the scroller only shows if there it too much...
  20. janet24

    scroll from xml

    I'm creating a flash training module and using xml to pull in my flash, title, subtitle and text. I have a scroll bar that I use for the text. Is there code I can use that will detect if the scroll bar is necessary and only have it appear when the type gets larger than the text window? It...

Part and Inventory Search

Back
Top