-
Posts
272 -
Joined
Content Type
Forums
News
20th
EduGeek EDIT Conference
Blogs
Everything posted by My220x
-
Yep was a profile issue. Made a new account and all works fine.
-
Ok, I tried connecting on a different computer on my network and it worked fine. I then disabled Windows Firewall on my user account and tried connecting and no luck so I switched to a diff Windows user account and tried and it worked fine. This is seriously strange.
-
Yep, I have a PC down stairs, will test it on there soon.
-
FileZilla isn't the problem, I just tried SmartFTP and I get: [17:22:58] SmartFTP v4.0.1123.0 [17:22:58] Resolving host name "danlambert.info" [17:22:58] Connecting to 174.120.247.222 Port: 21 [17:22:58] An attempt was made to access a socket in a way forbidden by its access permissions. [17:22:58] Client closed the connection. [17:22:59] Active Help: No connection could be made because the target machine actively refused it. Connection closed. [17:22:59] Connect failed. Waiting to retry (30s)... [17:23:29] Connection attempt 2... [17:23:29] Resolving host name "danlambert.info" [17:23:29] Connecting to 174.120.247.222 Port: 21 [17:23:29] An attempt was made to access a socket in a way forbidden by its access permissions. [17:23:29] Client closed the connection. [17:23:29] Active Help: No connection could be made because the target machine actively refused it. Connection closed. [17:23:29] Connect failed. Waiting to retry (30s)...
-
Could you recommend another FTP client?
-
Just tried it and it didn't work
-
Hey, I use FileZilla to FTP into my websites and everything worked fine until I upgraded to the latest version of FileZilla and now I can't logon to any FTP server. The guys over at FileZilla says its a firewall problem and I have removed FileZilla from Windows Firewall and have re-added it but still no luck. If I logon to another user account I can FTP into a server fine but just not on my user account. Any ideas?
-
I'm trying to make a GUI in AutoIT and I am using GUICreate() but nothing ever shows. Any good tuts on it would be great.
-
Can anyone else help?
-
If you can do that, I would appreciate it.
-
My charger broke and need a new one, can anyone sell me one or tell me where to find one?
-
It's still for sale, I completly forgot about it. Gonk has made an offer but I am open to offers from others still.
-
Deffo interested.
-
open to all offers
-
I think im being blocked as well had to use https, bloody outrage!
-
Hey I got a flip ultra camcorder which is like a week old I got it from a relative but have no use for it. It records up to 60 mins and has only been used once or twice. It comes with original packaging, warranty etc and a nice carrying pouch as well. I believe its around £80 brand new and I will sell it for £65 with p&p not included. So, anyone interested?
-
Make it the 5th vote for the EduJoomla! My school went from some crappy frame based site to the EduJoomla site which looked like very pro.
-
Networking, Office and Programming Books For Sale
My220x replied to My220x's topic in Books and Manuals
I still have the Office 2007, Cisco and Networking Beginners book + HTML, XHTML and CSS Visual Quick Start Guide Sixth Edition if anyone is interested. -
Ok heres my version all 100% working: if(isset($_GET["page"]) && is_numeric($_GET["page"])) { $page = ceil($_GET["page"]); } else { $page = 1; } $perpage = 10; $querycount = "SELECT COUNT(*) FROM conversations WHERE display = \"no\""; $resultcount = mysql_query($querycount) or die(mysql_error()); $fetch_row = mysql_fetch_row($resultcount); $lastpage = ceil($fetch_row["0"] / $perpage); if($page < 1) { $page = 1; } elseif($page > $lastpage) { $page = $lastpage; } $startlimit = ($page-1)*$perpage; $query = "SELECT * FROM conversations WHERE display = \"no\" ORDER BY \"submit\" ASC LIMIT $startlimit, $perpage "; $result = mysql_query($query) or die(mysql_error()); if(mysql_num_rows($result) > 0) { ?> </pre><table id="latest" border="1"> Title Conversation Category Submitted On Author Action while($row = mysql_fetch_array($result)) { echo ""; echo "" . htmlentities($row["1"]) . ""; echo "" . htmlentities($row["2"]) . ""; $sql = "SELECT * FROM cats WHERE id = {$row["cat"]}"; // This is so I can show the categories name $catresult = mysql_query($query) or die("Error"); $catname = mysql_fetch_array($catresult); echo "" . $catname["1"] . ""; echo "" . date("jS \of F Y", strtotime($row["6"])) . ""; echo "" . htmlentities($row["8"]) . ""; echo "Accept / Reject"; echo ""; } echo " </table><br> ";<br> if($page == 1) {<br> echo "<<< ";<br> echo "<< ";<br> } else {<br> echo "<a href="%5C%22?page=1%5C%22" rel=""><<<</a> ";<br> echo "<a href="%5C%22?page=%22" . rel=""><<</a> ";<br> }<br> <br> for ($i=$page; $i<=$page+2; $i++) {<br>if ($i>0 && $i<=$lastpage) {<br> if ($page == $i) {<br> echo "<b>$i</b> ";<br> } else {<br> echo "<a href="%5C%22?page=%24i%5C%22" rel="">$i</a> ";<br> }<br>}<br>}<br> <br> if($page == $lastpage) {<br> echo ">>> ";<br> echo ">> ";<br> } else {<br> echo "<a href="%5C%22?page=%22." . rel="">>></a> ";<br> echo "<a href="%5C%22?page=%22" . rel="">>>></a> ";<br> }<br> } else {<br> echo "<p>No Conversations waiting approval</p>";<br> }<br>
-
Im going to do a bit more reading to fix it.
-
I recommended they ran a repair install but they have no disks so they have a guarantee on it anyway.
-
Hi, When my friend turns on the computer they get a BSOD which says SESSION3_INITIALAZATION_FAILED. and technical information: ***STOP 0x0000006f (0xC0000102, 0x000000000, 0x0000000, 0x00000000) Can anyone decipher this and help fix it?
-
Hi, Im creating a PHP script which displays records from a database and displays a certain number of records on each page. My code is below: if($_GET['cat'] && is_numeric($_GET['cat'])) { if($_GET['convo'] && is_numeric($_GET['convo'])) { $query = "SELECT * FROM conversations WHERE id = '{$_GET['convo']}' AND cat = '{$_GET['cat']}' AND display = 'yes'"; $result = mysql_query($query) or die("Error"); if(mysql_num_rows($result) > 0) { while($row = mysql_fetch_array($result)) { $query = "SELECT name FROM cats WHERE id = '{$row['cat']}'"; $results = mysql_query($query) or die("Error"); $data = mysql_fetch_array($results); echo "{$row["title"]} Category: " . htmlentities($data["name"]) . ""; echo " Submitted On: " . date("j \of F Y", strtotime($row["submit"])) . ""; echo " Author: " . htmlentities($row["author"]) . ""; echo " Rating: {$row["yes"]} like it and {$row["no"]} don't."; echo " Conversation: " . nl2br(wordwrap(htmlentities($row["text"]), 100)) . ""; } } else { echo "That conversation does not exsist."; } } elseif(!$_GET['convo']) { $query = "SELECT COUNT(*) FROM conversations WHERE cat = '{$_GET['cat']}'"; $result = mysql_query($query) or die("Query Error"); $rows = mysql_fetch_array($result); $r = $rows[0]; $rowsperpage = 10; $totalpages = ceil($r / $rowsperpage); if (isset($_GET['page']) && is_numeric($_GET['page'])) { $currentpage = (int) $_GET['page']; } else { $currentpage = 1; } if ($currentpage > $totalpages) { $currentpage = $totalpages; } if ($currentpage < 1) { $currentpage = 1; } $offset = ($currentpage - 1) * $rowsperpage; $query = "SELECT * FROM conversations WHERE cat = '{$_GET['cat']}' AND display = 'yes' LIMIT $offset, $rowsperpage"; $result = mysql_query($query) or die("Query Error"); echo "</pre><ul>"; if(mysql_num_rows($result) > 0) { while($row = mysql_fetch_array($result)) { echo "{$row['title']}"; } $range = 3; if ($currentpage > 1) { echo " << "; $prevpage = $currentpage - 1; echo " < "; } for ($x = ($currentpage - $range); $x < (($currentpage + $range) + 1); $x++) { if (($x > 0) && ($x <= $totalpages)) { if ($x == $currentpage) { echo " [$x] "; } else { echo " $x "; } } } if ($currentpage != $totalpages) { $nextpage = $currentpage + 1; echo " > "; echo " >> "; } } else { echo "This Conversation does not exsist."; } } else { echo "This conversation does not exsist"; } } else { echo "I am sorry but this category does not exsist"; } ?> Now if you do click on the next page link it says "This conversation does not exsist" however I want it to go to the next page can someone help me fix it please.
-
Hey, My parents recently switched over to Tiscali Broadband and every so often the connection becomes idle and disconnects. Does anyone know how to make it so the connection does not go idle? They are running Vista and the router is a Siemens Gigaset SE587 WLAN dsl . P.S. Please move to correct forum if you believe this topic doesnt belong here.
-
Yeah that was pretty funny.
