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: sd0t1
  • Content: Threads
  • Order by date
  1. sd0t1

    Help - Call to a member function on a non-object

    I am getting a fatal error "Fatal error: Call to a member function setStopTime() on a non-object in C:\wamp\www\FindXML.php on line 39" Line 39 is $m->setStopTime ( $attributes->time ); Line 40 is $m->setStartTime ( $startTime ); Can anyone help me understand this. The start and stop times...
  2. sd0t1

    need some clarification on inserting and retrieving text

    I'm trying to insert our HR Policy into MySql, section by section. I'm having trouble displaying it on the screen with the proper formatting. Can someone help me clarify the proper way to take a paragraph of text, insert it into the database. Then retrieve it and display it on the screen with...
  3. sd0t1

    User login tracking

    Does anyone know a way to reliably track the login and logout events for a user? I am tasked with creating a 'time and attendance' app. I need to be able to tell when a user logged in and logged out. I looked at LDAP, but evidently it's unreliable. My users use XP mostly. I thought about...
  4. sd0t1

    question about running two scripts on one directory

    I have situation where we have 2 departments (department1 and department2). Say both are on the same government domain, but are different departments. Now say if they share data between their two systems via a shared directory that each department sends flat files to. Basically each department...
  5. sd0t1

    mysql monitor login error

    I am having trouble logging into to my mysql monitor. Here is my problem. when I run it from the "start menu" I goes right to asking me for the password to my root account. Any thing other than the password kicks me out.I can log into this just fine. Then I created some new users. Then when I...
  6. sd0t1

    Need help parsing an inserting an xml document

    Here's the task. I need to read the xml file below into a database. One row per defendant. However the xml file doesn't necessarily put all the defendants data on one row. The way I know how to parse xml with simplexml generated the following. 3 rows per defendant and now i'm trying to figure a...
  7. sd0t1

    Is this possible with PHP?

    Is it possible to play a file that's located outside your web server on another server by generating links to the file location? File type is .asf. Example: if the path is (hostname is computer1) "C:/hearings/2011/April/14th/hearing.asf". How do I allow this file to be accessed and downloaded...
  8. sd0t1

    Is this possible with PHP?

    I have 2 departments. One that requests files from another location in the city (archives). When archives receives these requests they scan the documents to a shared network directory. Then they email the staff to notify them that their request is scanned and ready for viewing. Well I am...
  9. sd0t1

    Am I doing something wrong here, it's a simple query and it's not work

    I have a simple query that consistantly returns the wrong results which makes me think I'm missing something here. The query is: SELECT * FROM `helpdesk` WHERE user = 'smith' OR mgr = 'smith' AND complete = '2' This should return all rows with smith as the user or the manager and only if the...
  10. sd0t1

    Upload/download manager.

    thread434-1246898 I have created a upload/download script that stores .pdf's in as blobs. The problem is they get corrupted when I try to open or save(then open) them. I read what Jpadie said about storing these .pdf's in a file structure vs. a blob and am greatly considering changing to a...
  11. sd0t1

    works on local dev, but not when I upload to production server

    I'm using WAMP in my dev enviornment and everything is fine. When I upload to production server (hosted on Mediatemple.net) my app doesn't work. The part that doesn't work is the AJAX. I use AJAX to break up a 100+ question application into 8 sections. Basically the user loads the main page...
  12. sd0t1

    AJAX radio button problem

    Here is my problem. After the user fills in the form objects, it is entered into the database via an AJAX event and not a form submission. I simply pass the value of each form object by id to a page that inserts the data Because I pass the values by getElementId I am having trouble with the...
  13. sd0t1

    Is this the best way to handle this?

    I have a court case number, complaint number and court division I need to check if exist in table. If it does exist, I need to retrieve the case_id. If it does not exist, I need to insert the three fields (generating an autonumber case_id) and retrieve the case_id This is what I came up with...
  14. sd0t1

    access 2007 subform update problem

    I'm trying to create a form that enters evidence for trials. it's a form on top and a datasheet subform on bottom. I have created 2 queries to tie in all the data fields from 4 tables that have all necessary info. Case Query contains fields from CASE and DEFENDANT tables, Summary Query contains...
  15. sd0t1

    Stored Procedures

    I'm just now getting into using Stored Procedures. Mainly cause a developer on my new project is suggesting it. As I've been doing my research and going through tutorials I keep running across older articles that claim they are bad and to keep my scripts in PHP. I need some more opinions on...
  16. sd0t1

    stored prcedures giving me the blues

    I'm new to stored procedures. I found plenty of tutorials, but not any really good ones that started from beginner lever and worked indepth enough or either to indepth and assumed I knew more than I know. I'm not sure what I'm doing wrong here. delimiter // CREATE PROCEDURE showUser( in jistag...
  17. sd0t1

    tackling a new problem. automatically creat events every other Friday

    I'm building a custom financial budgetting application. The part I'm stuck on is I want the system to automatically insert my pay every other Friday, plus my wife's on the 15th and 31st of each month. I don't know the best way to tackle this problem. Any help would be appreciated. I created a...
  18. sd0t1

    Dompdf question

    I know this isn't a dompdf form, but since I was turned on to Dompdf here I thought I may get pointed in the right direction. First let me say that I've posted this issue in the dompdf forum but they haven't responded and I notice that quite a few posts go with out answer over there. So...
  19. sd0t1

    Just can't figure out ARRAYS

    Hi guys, I need a little help. I have sat down and studied arrays, but evidentially not good enough. I found a function that covers my receiving page. It has a piece of code that looks like this: ...WHERE schedule.id IN ('".implode("', '", $id)."')"; And this code takes my $id Array and...
  20. sd0t1

    Why won't this sql statement work???

    I doesn't give an error, it just does not return any rows. Here is the search I'm doing. I have an 'Offender' table that has id, dob, ssn, first, last. I have a 'Schedule' table that has (Offender.id)oid, case#, (and other information related to that case) My search is a detailed search that...

Part and Inventory Search

Back
Top