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: *

  1. davidshields

    mkdev tape - remove ?

    SCO Openserver 5.0 - is there an opposite of mkdev tape ? How do I do an rmdev tape ? I have a knackered DAT drive I want to replace but I would like to have a kernel clean of the original tape device. I know, I know, its a dumb question, but I haven;t supported SCO Openserver for about 9 years !
  2. davidshields

    OSR5 mkdev hd - I'm being thick ?

    Perhaps I should be looking at this a different way. 1) Assume I have a dead sco system (or at least a no-booter) on a hard disk - call this hard disk x 2) Assume I have a working Sco system on a machine, with disk mounted Primary IDE. Call this disk a, machine a. What steps should I take to...
  3. davidshields

    OSR5 mkdev hd - I'm being thick ?

    Thanks for the suggestion, but tried it with no success. mknod worked ok, and dtype reported following: 32 Unix 1k 40 Unix 1k 34 HTFS 42 HTFS but mounting 32 showd it was EXACTLY the same as /stand on first HD, and mounting 34 showed it was EXACTLY same as / on first hard disk, so they...
  4. davidshields

    OSR5 mkdev hd - I'm being thick ?

    Had an OSR5 system that died (couldn't boot, prolly trashed boot block). IDE disk. Ghosted a clients OSR5 system on new HD, planning to mount my old disk as slave on primary IDE in order to recover some old data. mkdev hd 1 0 reports disk params: Cyl 13228 Hd 15 Wr Reduce 0 Wr Precomp 65535...
  5. davidshields

    A complicated preg_replace() problem....

    Do you HAVE to preserve the original HTML ? If not you could have a regexp that strips out HTML, giving let's bring the house down Here we are in the center of town then one to highlight br and center. Just a thought. David.
  6. davidshields

    What's the story with $result ?

    Not only that (all of above) but if I have a query to get a bunch of stuff, then iterate thru it in a for loop or whatever, and need a subquery inside the loop (say extract something from person table that wouldn't have nicely fit with a join in outer query, I'll use $resultp, $rowsp for...
  7. davidshields

    Regexp problem ereg and strpos dont help

    ingernet - what I was trying to do was find out where a complicated regexp lived in a string. strpos lets me find where simple thing is in string, and ereg lets me extract a complicated regexp (but prior to 4.3 wouldn't tell me where it was). The annoying thing was (prior to 4.3) that ereg MUST...
  8. davidshields

    Regexp problem ereg and strpos dont help

    sleipnir - thanks mate - someone else pointed me at this too. Seemingly PREG_OFFSET_CAPTURE is post 4.3, and I'm using post 4.3 php, but with 4.0 manuals ! (silly me forgot to update manuals.)
  9. davidshields

    Regexp problem ereg and strpos dont help

    Hokay - strpos tells me where needle is in haystack. Lovely. ereg tells me that regexp is in haystack (and returns it to me). Lovely. Except... needle is a string. How do I find the offset into a string of a bloody regexp ??? Am I being really thick, or is this hard ? I want to find something...
  10. davidshields

    Local Shares - Completely stuck!

    Further Info - Clients may be Win98, so NT specific is no good. David.
  11. davidshields

    Local Shares - Completely stuck!

    I think my short answer is 'given path get share info'. Hokay - let me go into a bit more detail, perhaps you can tell me what I should be doing ! My app (php/mysql) is a training course booking system, running on an intranet. When a course is defined, user will want to set up a set of...
  12. davidshields

    WANNA LEARN PHP

    Bit vague there, aren't you ... 1) Use Google, search for PHP tutorial. 2) www.zend.com (they WROTE php) - tutorial bits and code library 3) phpbuilder.com 4) Loads more. 5-999) Study and practice it on a test machine. (You DO know how to set up apache / php / mysql dontcha? <g> Enjoy. David
  13. davidshields

    PHP/MYSQL

    If I get what you mean ... 2 cols in db called say fname and sname, do this in your php page ... <HTML header stuff ..> <?php // assume connection etc set up ok... $sql=&quot;select fname, sname from mytable where key='somekeyval'&quot;; $result=mysql_query($sql,$conn)...
  14. davidshields

    Local Shares - Completely stuck!

    I'm writing an ActiveX Control for my intranet html app. So far so good - I've sucessfully created an ocx so I'm, over 1st hurdle! However, my control requirement is to enumarate the LOCAL shares on this client machine. FileSystemObject allows me to enumerate shares on mapped local drives, so I...

Part and Inventory Search

Back
Top