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 Mike Lewis 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
  • 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

    update!!! I turned magic_quotes_gpc back on and now it works.
  3. sd0t1

    need some clarification on inserting and retrieving text

    ok, let me see if I follow. I added this line to my Apache conf file: AddDefaultCharset utf-8 My webpage meta tag is: <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> I changed my MySql data table from 'latin1_bin' to 'utf8_general_ci' My php.ini had magic_quotes_gpc...
  4. 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...
  5. sd0t1

    User login tracking

    Hmmm, they login upon arrival, out at lunch, back in after lunch and out at the end of the day. However, your batch script idea is interesting. Are you saying create a .txt file somewhere with all my users name in it. Then upon login I can write a script to capture username and current time...
  6. 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...
  7. sd0t1

    question about running two scripts on one directory

    That's what I thought, but I needed an expert opinion. So thanks for responding.
  8. sd0t1

    mysql monitor login error

    Vacunita, thanks. That was exactly what I was doing wrong. The book I'm reading was very clear on how exactly to implement the syntax to login.
  9. 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...
  10. 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...
  11. sd0t1

    New to Open Source - PHP

    The sites that I used that helped me are as follows. I was a true PHP newbie. I had did a little VB about 5 years prior in college but nothing to brag about. www.tizag.com was a good site for newbies http://www.w3schools.com/php/default.asp was also excellent. If you've used MS products for 12...
  12. sd0t1

    Need help parsing an inserting an xml document

    Ok, I'm slowly figuring out SOME of how this code works section by section as I attempt to modify it. I really appreciate your help and I promise I'm trying to figure this out myself before I post. I'm just too new to OOP and right when I think I've made some sense of the code I find a section...
  13. sd0t1

    Need help parsing an inserting an xml document

    ok, I was pulled away from this project but now I'm back. I see what you mean about the logical entities. I think I may need the actual .asf file to be the logical entity. Here’s why, please tell me what you think. While in general sessions court there is always one defendant to each case...
  14. sd0t1

    Need help parsing an inserting an xml document

    Wow, thanks Jpadie. I really appreciate this. It's going to take me a couple days to decipher all this, but I've learned so much over the years by deciphering examples you've given me and others on this board. I'm going to try and comment your code and maybe that will tell if I understand it...
  15. sd0t1

    Need help parsing an inserting an xml document

    These hearing are all for lower courts (misdemeanors) so these are actually one to one. One defendant per case but you are correct for the attorneys. It would be rare but possible. Now what is more likely is, one defendant and multiple cases. However they are usually listed in one field...
  16. 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...
  17. sd0t1

    Is this possible with PHP?

    Great information as usual. From your example it sparked me to just go back and relearn about requesting pages and I found a great article that I would recommend to anyone trying to figure out how all that works. Here is the link, apptools.com/phptools/force-download.php. I finally have a...
  18. sd0t1

    Is this possible with PHP?

    I understand and I got it all working. It's actually pretty slick. I didn't do the file:// notation to make it explicit, but I'm about to go back and change that as it seems like a good idea. All this brings me to another problem and question. I always have trouble with download scripts, I can...
  19. sd0t1

    Is this possible with PHP?

    Jpadie, how are you pal. I thought it should be possible, however I couldn't make it work. I think I figured it out though. Do I have to put any files that i want a user to be able to download on a directory inside a web root? In my testing, that's the only way I can make this work. My...
  20. 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...

Part and Inventory Search

Back
Top