Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.
Read this post since it has some tips on what to base a site on. Basically, you need to have something tangible to base on before you create a site. Something local would be a local sports team, church groups, local bands (these generally love having sites), etc. If you don't know much about web...
I'm building a site and using sessions, I've done this a million times before and it worked fine.
What's happening is I'm using a single page to handle 3 submits, posting back to itself. On the first submit, a session is registered (session_register['user']; $_SESSION['user']=$user;).
I'm...
It's incredibly hard to come up with a website if there is no "real world" presence looking at it. Lethal's advice is very solid: ask around if some group needs a web presence. It's the best way to get hits/feedback on a site becaues you'll be making it for them.
Just trying to make something...
Not sure if this is the problem but:
$fileatt = "test.txt"; // Path to the file
// Should this be
$fileatt="./test.txt";
Might want to debug a little to see if it's actually opening/reading the file.
$dtally = mysql_query("SELECT Count FROM imgtally WHERE Directory=\"$td\" AND IMG=\"$img\"");
if (mysql_num_rows($dtally)>0) {
//update the table
}
else {
//add row to table
}
I think it is possible, but it would take a lot of search code to find what was being updated, as well as having the PHP know which fields changed. Someone who knows flatfiles better than I would probably be able to help you out.
I'm trying to figure out how to have a panel appear when you mouseover a link/image/whatever. Basically the panel contains a page that displays information or images.
Here's some examples:
http://www.the-underdogs.org/theme.php?id=9 (mouseover one of the game names)...
You can try using a flatfile in lieu of a DB, but for what you might want it may take a good while to code using it. I've never used coranato and don't know much cgi, so I can't offer any advice on those.
Had a problem with the ordering, here's the fixed code:
<?
$ff="/users/wensco/sites/inout/inoutdb.txt";
if (isset($_POST['update'])) {
foreach ($_POST as $name=>$value) {
if ($value=="on" || $value=="of") {
$somecontent.= $value . "\n";
}...
You mean like a textbox that would let you enter a reason why they're out or something along those lines? Wouldn't be too difficult, have to change some code to allow for the flatfile to store it correctly. Let me think about it and I'll post something.
Try this:
<...
Here is the working code. Try this out, I've tried it and it works great for me. Had to change to radio buttons, but it should work the same for what you want. :)
<?
$ff="/users/wensco/sites/inout/inoutdb.txt";
if (isset($_POST['update'])) {
foreach ($_POST as $name=>$value) {...
Sorry about that missing end echo statement, I must've overlooked it.
Edit: Reread your post and saw that it does show a blank, ok.
Try commenting out the first chunk of code, the whole if block. Run it with just the display and see if it shows data.
I'm debugging blind here, as I...