*smiles* Aye my board supports up to 1.5gb of 133 ddr ram.
Thanks for the reply though. Anyone else?
Quick update:
have re-installed windoews to no avail, nasty floppy drive is still runnning in ms-dos compatability mode.
Siberdude
siberdude@settlers.co.uk
http://settlers.co.uk
Help! recentrly obtained 1024mb of dimm ddr 133 ram in the form of two 512 chips, Great! installed them both, alongside a 128 i already had, the 128 is only 100 though. It caused windows to lockup at the second splash screen (the bottom bar froze) so i switched off, took out the 128, thinking it...
Can anyone tell me if this:
$sortby[200110241052] = $stuff[0];
$sortby[200110240935] = $stuff[1];
$sortby[200110252342] = $stuff[2];
foreach ($sortby, $i++)
{
print "<tr><td>$sortby[$i]</td></tr>";
}
would work? would i get a million and one <td>'s? or would it only enter the loop...
Sounds like a for or while loop going haywire :P
been there and played this game before.
Make sure if you have a loop that waits until a certern limit is reached, you have a last; in there too to kill it off.
This happens a lot when using multiple jumps with for loops, and with whiles. Major...
Any way to sort them with out hacing to turn them into seconds first? I'm not the server admin, so i can't install any modules. While this is a big pain in the ass, it forces me to do things the hard way and i learn more.
bassivally i want to be able to chronologically sort an array containing...
Hi. I have an array containing dates and times.
I want to sort them out, and place them in array in order (so the newest date is in slot0, and the oldest at the other end). I then want to use the date with another string from another array, containing related data and print this out in table...
after answering this several times. i thought it would be easier to write a quick FAQ for it.
it asumes the login form names the login field userid and the password field pass, and that your using flatfile database, with the users user name as the filename.
#!/usr/local/bin/perl
#this line...
Howdy all. I just moved from a IIS box to a unix one. i used to be able to deal with newlines with:
$mevar =~ /\n//gi;
but on the unix box this doesn't work! the \n char coems up as a square box and i can't for the life of me figure how to get rid of the bloody thing, so i can then use the...
make sure in your script you have the line:
print "content-type: text/html\n\n";
close to the top. this tells the brpwser what kind of file to expect from the script, i'm assuming here your going to be printing out html to a web browser?
hope this helps
Sib
Siberdude...
As far as i can see there, the only problem is your appending the file, not writing to it, so its adding to what was already in the file.
Having worked on a IIS server for the most part of my time, i never used flock or chmod, why are you using them here?
you can write to your own dat files...
Sure.. theortically, you send a test mail to the server, and act on the response.. if the mail is unreachable, or returned you should get an error message, i think
(bare with me here.. not used perl to send mail recently)
Myabe this will provoke someone bettered qualified into thought?
Hope...
Of course it can be done :)
a little javascript, that is triggerd on the form "submit"
don't actually use a submit button, use a normal button:
<button onclick="doScreen_Submit()">Submit</button>
<input name="screenW" type=hidden>
<input name="screenH"...
As far as i can tell, it doesn't read the file when appending or writing, just checks where the end is (when appending) and writes to there.
i've writtern a perl message board, and iuse append to add replies to posts, sometimes, on hot topics, these data files ceanget ot be 1000+ lines.. and it...
to be honest... i don't have the foggiest.. but when you find a good way of doing this I'll be very interested to read this thread.
I'm going to need to do exactly this in the not too distant furture (editing dat files for a perl based message board - big eek)
thanks :-)
Sib
Siberdude...
Don't you lay out the form as plain text?
e.g.:
<body document.print>
Name: Joe Bloggs
Age: 67
Location: South West Mongolia
Intrests: Pizzas
</body>
if this is the case, yes thats the way to do it. As far as i know theres no cgi command to do it.
if your needing to print the current...
First question:
to print the current date and time (from the server) you can use the built in function localtime:
$mydate = localtime(time);
this will produce a string in the format:
Sun Jun 24 08:03:23 2001
and you can hack it around as you see fit.
second question:
data from a form...
I run a forum (constantly in development)
the setup program, which requires user auth, runs in perl
Basically everything i run, uses a form
Using hidden inputs, i write the user name and password to hidden inputs in the form i'm using, call them the same as i did before, and then check user auth...
I started perl a little over a year ago.. i still use flatfile db (basically: lack of funds) i'd always used one server (ISS) and NEVER had any problems, apart from not being able touse libraries (lazy admins).
Perl, as far as i'm concerned will always be my favorite language. When i started...
Howdy all.. just got access to an ICOM server (MUCH better than the IIS one i was using).
problem is, where before on the IIS server i could search and destroy the \n charactor. Now its become an "
" (square) and i can't use search and replace ot deal with it any more.
Does anyone have...
lol that was jsut a typo... would have been obvios enough when i ran it and it told me "operator found where bareword expecting at line ###"
:P
Its fair enough, i've always used multiple \'s.. but u know what they say about something never everyday
Siberdude
siberdude@settlers.co.uk...
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.