Is there anyone local who knows about DansGuardian? I'm having
trouble logging into my work and I'm 95% positive it's because of DG.
It's probably some configuration thing I don't know about. Any help?
Guys,
I'm looking for some help with PHP5.2.x hacking on a web site to
cleanup how the user submitted search form is handled. Basically I
want to make it simple for the end user to a) refine their query, b)
not have to answer popups if they hit the reload button, and c) so I
can leanr more PHP. I found this nice reference:
http://us2.php.net/manual/en/language.variables.external.php
which has two sections by "wayne" and "Jonas Lindel" talking about how
you can take the results of a PHP …
[View More]POST request, stuff the vars into
your session, and redirect back to the same page without the POST vars
set, then complete the query.
The idea is so that when people hit the "back" or "reload" buttons,
they don't keep getting asked whether they want to resubmit their
data.
It's not strictly needed, but it would be a nice cleanup of the
interface.
Here's the snippet I'm trying to use, which bombs out with:
Fatal error: Cannot re-assign $this in .... on line 45
And the code I'm using is:
<?
// We want to put the search query into a session so we can restore it
// easily when users goto look at full_holdings.php and then return to
// the overall display page. We'll need to do a session_destroy in
// index.php I think. See the tutorial(s) at
// http://www.phpf1.com/tutorial/php-sessions.html
// http://us3.php.net/manual/en/book.session.php
session_start();
// Now see Jonas Lindel's & Wayne's code at
// http://us2.php.net/manual/en/language.variables.external.php for
// this *nice* trick.
//is there POST or GET data we should look at
if($_POST or ($_GET and (!isset($_SESSION['skipnextget'])))) {
//is there GET data?
if($_GET) {
$newgetarr = array();
foreach($_GET as $key => $value) {
if(is_array($value)) {
//if it's an array, convert it to comma separated
$newvalue = implode(',',$value);
} else {
$newvalue = $value;
}
$newgetarr[] = $key.'='.$newvalue;
}
$newget = implode('&',$newgetarr);
$_SESSION['skipnextget'] = 1;
}
foreach($_POST as $key => $value) {
$this[$key] = $value;
}
$_SESSION['postvars'] = serialize($this); //put POST in the session
header("Location: http://" .$_SERVER['HTTP_HOST']
. $_SERVER['PHP_SELF'] . '?\
' . $newget);
//reload page without POST data and shorter GET data
exit();
} else { //after reloading we'll come right to this spot
session_unregister('skipnextget');
if(isset($_SESSION['postvars'])) {
//load the POST variables from the session
// Error on this line below!
$this = unserialize($_SESSION['postvars']);
session_unregister('postvars'); //delete the session stuff we
//don't need anymore.
return $this;
}
}
[View Less]
I think the monitor/display controlling configuration file in my Aurora machine is /etc/X11/XF86Config
[root@kjones-sun etc]# cd X11
[root@kjones-sun X11]# ls
applnk proxymngr twm XF86Config-4 xinit xsrirc
fs rstart X XF86Config-4.rpmsave xkb
gdm serverconfig xdm XF86Config-5 Xmodmap
lbxproxy starthere XF86Config XF86Config_orig xserver
prefdm sysconfig XF86Config~ XftConfig xsm
It …
[View More]is too long to send to all. The question is what should it say?
Ken
[View Less]
I apologize in advance for spamming the list with my want ad.
I need to get rid of some CRT monitors and am wondering if anyone on
the list would be interested. They are as follows...
1x Gateway Vivitron (circa '95) 17"
1x Compaq MV940 19"
2x Digital re-branded Trinitron 21" (matched pair)
The 19" and 21" monitors can each run at 1600x1200 and the 21s have
dual input, which is nice. I used the 21s in a TwinView setup on my
main Ubuntu-based workstation at home for years until I got a LCD …
[View More]last
Christmas. I have power/video cables for all of them, so they are
ready to roll. I had them up on craigslist to try and sell them, but
haven't gotten any hits and it's just time to clear out the space.
The catch is that you would need to come pick them up from me in
Uxbridge.
Please respond to me privately so we don't spam the list.
Thanks,
Jared Greenwald
[View Less]
The issue with 60 Hz and the LCD was not flicker. I mentioned visual
defects. I meant things like missing pixels. I had to use the
analog connection because that was all that was available on the
PC that I had just bought.
I just looked at the setting now to see if I had really chosen
120 Hz which is still a harmonic of 60Hz. Unfortunately for
looking at the setting, I moved three years ago from the house
where the office had fluorescent lights. When I set up my computer
again in the new …
[View More]house, I must have somehow gone back to the default
60 Hz. There are no fluorescent lights around and there are none of
the visual defects I saw in the other house.
When I brought my unit back to Fry's electronics they had no such
problem in the store from the ceiling lights which were a good 15
or more feet away. They gave me a replacement anyway just to keep
me happy. I had not even suspected fluorescent lights at that point.
When I got the replacement home, it had the same problem as the
first one. I was about to give up on Samsung in disgust when I
asked around at work if anybody could figure out the problem.
Our computer hardware support person mentioned the fluorescent
light idea. I went home, changed the frequency and the problems
disappeared. The fluorescent lights in my home office were probably
only 4 feet from the LCD.
The cause of the problem might have been something completely different,
but I cannot come up with another explanation that fits the observations.
Maybe I had sympathetic 60 Hz fluctuations from my neighbor's ham radio.
Whatever was the cause, getting away from 60Hz seemed to be the solution.
/Steve
--
Steven Greenberg Email: steve(a)ssgreenberg.name
251 Holland Rd. Phone: (774)241-0095
Fiskdale, Massachusetts 01518-1231 Web: http://www.ssgreenberg.name
Other Email: s.greenberg(a)ieee.org ssg(a)alum.mit.edu
[View Less]
I have not been making the meetings. That does not mean my SUN ULTRA1
running Aurora Linux can no longer create 'interesting' problems. This time
the second SUN ULTRA running Gentoo is in cahoots.
I have a new SAMSUNG SyncMaster flat screen monitor. I have attached this
monitor via a Belkin SUN adapter to my ULTRA1's. It does not work!! The
monitor flashes a little square window saying something about "Not optimum
mode". It feels that it has not been configured correctly. The …
[View More]buttons on
the right of the monitor, which are there to set it up, also do not work
with the SUN's is attached.
The monitor works fine with PC type machinery. The Belkin worked fine with
a regular old tube monitor. (I have not dug out the old monitor to check
whether it still works. I suspect it does.)
Anybody have any ideas?
Ken Jones
kjones(a)ziplink.net
[View Less]
I have a Samsung SyncMaster 204B, but it is on a Windows PC.
As for the frequency, 60 Hz is not good in close proximity to
fluorescent lights.
I had a lot of visual defects in two different units, until I changed
to 120 Hz(I think).
/Steve
--
Steven Greenberg Email: steve(a)ssgreenberg.name
251 Holland Rd. Phone: (774)241-0095
Fiskdale, Massachusetts 01518-1231 Web: http://www.ssgreenberg.name
Other Email: s.greenberg(a)ieee.org ssg(a)alum.mit.edu
Please keep the other thread going, I'm going to use this thread so people
can see what books have been taken.
I went email by email and did it on a first come first serve basis...
Here's the list with names:
Hacking / Security Books:
"Secrets of a super hacker" by The Knightmare.
[S. Courtney] "Hackers Challenge: Test Your Incident Response Skills Using
20 Scenarios" (3rd Edition)
[S. Courtney] "Hacking Exposed: Network Security Secrets & Solutions"
"Web Hacking: Attacks and Defense"
…
[View More]Math Books:
[Frank Moody] "Discrete Mathematics and Its Applications" by Kenneth H.
Rosen
[Frank Moody] "Languages and Machines" Thomas A Sudkamp
[Alex Haley] "A Primer for Calculus"
Misc:
[Alex Haley] "Latex" Second edition
[Frank Moody] "The Latex Companion"
[Frank Moody] "Mips RISC Architecture"
"Database Systems"
"Creating Web Pages with HTML" (3rd edition)
[Frank Moody] "Operating Systems: Design and Implementation": Tanenbaum
(includes Minux 2.0 disk!!)
[Frank Moody] "PCI System Architecture" (Third Edition)
Programming Books:
[Alex Haley] "The C Primer" Third edition (this book is a bit dog eared)
[Alex Haley] "A First Book of Ansi C" (a bit dog eared but excellent)
"Tricks of the Game Programming Gurus"
"Practical Programming in Tcl and Tk"
"Virtual Reality Playhouse"
"Creating Turbo C++ Games" (The disk for this book is long lost)
[Keith Wright] "Linux Kernel Programming" (Third Edition)
"Using Java 1.1" (Third Edition)
"Using JavaBeans" (CD Long gone)
[S. Courtney] "Sams' Teach Yourself C++ in 21 Days" (Second Edition)
"Beginning Fedora 2" (Yeah it's 8 versions behind, but as a beginners guide
to red hat linux systems, it's great)
"User Interfaces In C++ And Object-Oriented Programming" by Mark Goodwin
"Gardens of Imagination: Programming 3d Maze Games in C/C++" (Disk long
gone)
"NetWarriors In C Programming 3d Multiplaery games" (CD Long gone)
[Ryan Pugatch] "Programming perl" (O'Reilly)
[Ryan Pugatch] "Learning Perl" (O'Reilly)
[Ryan Pugatch] "Perl by Example" (Ellie Quigley)
Thanks,
Tim.
--
I am weary of the allegiances of any politician who refers to their
constituents as "consumers".
[View Less]