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 !
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...
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...
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...
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.
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...
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...
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.)
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...
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...
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
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="select fname, sname from mytable where key='somekeyval'";
$result=mysql_query($sql,$conn)...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.