Borzoi 24 Posting Whiz

I have already done all that has been suggested. I can use that computer to connect to other computers but I just can't connect to it. I can't remember the error message I was getting when I try to connect to it so I'll have to get back to you with that.

Borzoi 24 Posting Whiz

Does it really? 4/2 = 2, 2 X 1 = 2. It's the same for me on my planet.

We learn CORLAT which translates as Parenetheses|Brackets, Indicies|Powers|Orders|Exponents, Division, Multiplication, Addition, Subtraction. But Div,Mult can be swapped as can Add,Sub.

I think the BIDMAS,BODMAS,PEDANT is a smokescreen. Unless you look at the second operator (indicies), there's very little that can go wrong.

CORLAT is another I've not heard of but it's the same order as BIDMAS so our results are the same.

Azmah commented: what's your planet? :D +0
Borzoi 24 Posting Whiz

I've set users which can connect and made sure they have passwords but it's the connection that isn't working, not the logging in. It doesn't even get to the log in prompt.

Borzoi 24 Posting Whiz

I was always taught BODMAS/BIDMAS:

(B)rackets
powers (O)f/(I)ndices
(D)ivision
(M)ultiplication
(A)ddition
(S)ubtraction

In some countries, replacing "Brackets" with "Parentheses" would be the case making it PODMAS/PIDMAS but I've never hear of PEMDAS. I'm assuming the "E" is representing another word for powers of or indices but why is the M and D switched?

The only time I was taught to do multiplication before division was when the sum was written as a fraction:

2x2
---
2

Rather than inline:

2x2/2

Using BIDMAS, it would make the answer to the first, 2 and the answer to the second, 1.

Borzoi 24 Posting Whiz

I've been trying to set up my computer so that I can remote in to it while I'm away from home but it doesn't seem to be working. At first, I thought the problem may be with my router not forwarding the ports properly or something like that but when I tried to test the connection internally (I.e.: within my home network) I found that I couldn't connect through remote desktop at all. At this point I figured it's a firewall issue but it didn't work even with the firewall completely turned off.

Remote Desktop services are running.
Remote Desktop is listening on the default port (3389).
Firewall is off so the ports are definitely not blocked.
Can ping the computer by both hostname and IP without problem.
Cannot connect through Remote Desktop by either hostname or IP.
Computer is on the same workgroup as all other computers on the network.
Other computers on the network can be remoted to without problem.
All computers are using XP Professional.

I just can't figure out what the problem could be. Is there anything I may have missed?

After I've sorted out the problem connecting to it internally, then I'll work on getting it to work externally.

Borzoi 24 Posting Whiz

I recently bought a 3DTV (today, in fact. Just waiting for it to arrive early next week) and the only thing I need is an HDMI cable which can carry a 3D signal since my current one is only v1.3 which I believe cannot carry a 3D signal. I know that in terms of picture quality, there is little to no difference between the top of the range and bottom of the range so the main thing I'm looking for is the durability. The reason why I didn't buy an HDMI cable with the TV is because the cheapest one they sold was £29.99 ($48.83).


Does anyone have any recommendations for a decent HDMI cable? I've set myself a budget of £15 (~$24) but obviously would prefer to spend a lot less.

Borzoi 24 Posting Whiz

Yes I did try that but the same "This account already exists" message comes up.

Since posting the original post, I have managed to resolve this. What seems to have happened is the phone somehow and for some reason set it as a Facebook account on the phone. I deleted the Facebook account which was on the phone and then I was able to re-add the e-mail account.

I'm not sure why it changed it to a Facebook account though but that seems to have been the issue.

Borzoi 24 Posting Whiz

My dad recently got an HTC Widfire and I was setting it up for him because he didn't want to ruin it, despite the setup being very simple. I had set up the e-mail using the default "Mail" app that came on the phone (not the Gmail one) and it worked fine but I noticed that it was connecting via POP3 but we wanted it as IMAP. I went into the account settings to change it to IMAP and changed all the settings. The phone then prompts me with a message that reads something like: (I can't remember the exact wording)

"Modifying these settings will remove the current email account."

I figured this to mean that it would remove the current email account and set up another one with the settings I just set so I clicked "OK" but that's when the problem started.

The new e-mail account didn't seem to set up. Whenever I go in to the mail app, it comes up with the default menu to add a new account and doesn't allow us to access the one on it. I've tried re-creating the account but get a prompt saying that account already exists on the phone and it seems that it is because the phone is receiving new e-mail notifications but when selecting them from the notifications menu, it comes up with the default menu again.

I had a look under the "Accounts and Sync" in the settings to see if the …

Borzoi 24 Posting Whiz

Why is Halloween the same as Christmas?

Because Dec 25 is Oct 31.

Borzoi 24 Posting Whiz

1. You always need an SSL certificate on an ecommerce site. There are several reasons for this - for example the https facility, and customer credibility. There are exceptions, such as when you operate within a specialist ecommerce hosting facility that provides this sort of facility even to independent websites, if they are physically located within that host's building (for example 1st Easy).

2. There is only one answer that can be given regarding web security - and especially that of ecommerce sites - the owner is most unlikely to be able to fix it, improve it, or audit it. Server security is a specialist field and the reason so many websites are exploited is that people think they can do it themselves. And, sometimes, they start with good intentions, but then it all slides. A test you can make: find websites running a popular ecommerce application for which plenty of info and support is available. Check to see if they have implemented the latest patches and upgrades (might require some specialist knowledge). A surprising number haven't, meaning they are open to attack by those with the knowledge and motivation.

Contract with an expert - or pay the price. When building your site you can follow the detailed security directives for your ecommerce app, that are given for all well-run projects / apps. Research server security and fix what you can. By the way, the security and security support your hosts provide is by far the most important thing you …

Borzoi 24 Posting Whiz

-You have no opening <head> tag.
-Remove the opening <body> tag on line 13.
-Move lines 15-33 into the body tag lower in the page.
-Move line 37 up so that is is in the <head> tag.

Just looking through the rest of it for any more errors.

Borzoi 24 Posting Whiz

Post the code you have now, with all the modifications.

Borzoi 24 Posting Whiz

I'm pretty sure session_start() should be before anything is outputted. You also have two <html> tags. Your first few lines should be like this:

<?php 
  session_start();
  error_reporting(E_ALL);
?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<?php include("includes/connection.php");?>
<title>PRIMA PAGINA</title>
Borzoi 24 Posting Whiz

Who thinks that LEGO Karate Kid should be the next LEGO video game to be made?

Based on the original trilogy, of course. It'll fit their 3 story format they've used. It may be hard in some parts to make it 2 player though. The tournament for example (unless they do it like with LEGO Star Wars on Episode 3 where player 2 controls the bad guy).

Other ideas:

LEGO Austin Powers
LEGO Back to the Future
LEGO Beverly Hills Cop
LEGO Spiderman

How about you guys?

Borzoi 24 Posting Whiz

You've commented out all the code, that's why. Line 5, remove the /*.

/* is the start of a multi-line comment. To end it, you need to put */ at the end. If you want to comment a single line, you should use //.

Borzoi 24 Posting Whiz

Most servers place index.html above index.php so if you've made your home page as index.php and the host automatically puts an index.html page up, then it'll be displaying index.html. Have a look on your host and see if there is an index.html file and if so, delete it so that index.php is the one that gets called upon.

Borzoi 24 Posting Whiz

I've had awful teachers before.

-English teacher which marked my coursework as wrong because I used a word that he never heard me say before.
-Maths teacher that taught us what we needed to know for the modular exam AFTER the exam.
-Maths teacher that constantly lost coursework and refused to admit it. Not the same as the previous.
-IT teacher that thought it would be a good idea to glue all the peripherals of the computers into their ports to stop students stealing them. The mouses were all old ball mice and people just stole the balls.

All of these from the same school.

Borzoi 24 Posting Whiz

You're welcome. Please mark the thread as solved.

Borzoi 24 Posting Whiz

What is the post stored as in the database? If it's stored as "text" and not varchar() then I believe you don't need the <br /> tags as line breaks are automatically placed which may be why your line breaks are doubling.

Borzoi 24 Posting Whiz

Using &nbsp; like that would only make it align correctly for the screen size you're viewing on. One thing you could do is wrap each part in it's own <p> tag and use CSS to set them all to the top of the div that they are already in then set each one's alignment.

Like this:

<div class="footer">
  <p style="position: absolute; top: 0px; width: 100%; text-align: left">&copy;Copyright 2011</p>
  <p style="position: absolute; top: 0px; width: 100%; text-align: center">Person McPerson</p>
  <p style="position: absolute; top: 0px; width: 100%; text-align: right">email@address.com</p>
</div>
Borzoi 24 Posting Whiz

The most secure way would be to invent your own encryption method (as long as it's not as simple as +1 to each character or something stupid like that). The downside to this is that it will take a while to code.

Borzoi 24 Posting Whiz

If you're using phpBB then there should be an option in the administrator settings somewhere to allow it. I haven't used the most recent version though so I don't know if the option has been removed.

Borzoi 24 Posting Whiz

Hello everyone.

I am currently building a website for a business I plan to start up sometime this year. I have a few questions as to what the requirements are for an e-commerce site and best practice for some parts. I will number the questions so that they can be answered by simply numbering the answers.

1. SSL Certificate
One thing I will likely be doing when the site launches is using a third party such as PayPal to handle payments to begin with. I know that PayPal uses it's own site/SSL Certificate to take the payment but would I still require an SSL Certificate on my site even if I don't hold any personal information at all?

2. Checkout
I will at some point have my own checkout system (at which time I will have a valid SSL certificate). What testing should I do to make sure it is as secure as possible?

3. Terms & Conditions/Privacy Policy
I know that I will need to specify exactly how any information held will be used and specify any and all activity which would result in a ban but I want to make sure I'm not missing anything. What things must I cover in the Terms & Conditions and Privacy Policy?

If I think of any other questions, I'll post them.

Borzoi 24 Posting Whiz

Even strong passwords are crackable and it won't stop the user being subjugated to phishing. I would go with ardav and only allow bbcode.

jonsca commented: Thank you +6
Borzoi 24 Posting Whiz

My mistake then. I always coded the page to check that the form was filled in and that the page was navigated to from the form.

Borzoi 24 Posting Whiz

Your if statement is doing nothing. If you want to check if something is in the variable then use this:

if (isset($send))

Also, there is no part of that code where you send the mail. Lines 25 and 26 wouldn't cause the mail to send as you're just putting it into a variable.

Borzoi 24 Posting Whiz

Anything, no matter how obvious to some, is usually helpful to someone.

Borzoi 24 Posting Whiz

I always use my own error messages and codes.

Borzoi 24 Posting Whiz

It's not the employees data, it's the data we require to apply for funding.

Borzoi 24 Posting Whiz

You could also use a VPN between the clients and your server so that the database cannot be compromised via the Internet.

That is something that I have considered and I'm researching into cheap/free VPN solutions.

Borzoi 24 Posting Whiz

From what I can tell, IE is running the "else" part of your if statement that starts on line 34 so try replacing lines 32 to 36 with:

$result1 = mysql_query($sql1);
$row1 = mysql_fetch_array($result1);
$num_rows = count($row1);
if ($num_rows>0){
$adv_id=$row1[0];

You could also try using echo instead of print but I doubt that would change the result. I'm going to keep looking through your code to see if I can find any other possible causes.

Borzoi 24 Posting Whiz

I'll have another look through your code for you and try to spot anything I may have missed.

Borzoi 24 Posting Whiz

I am happy to flag any spam I come across but I don't want a reward so I won't be PMing you the link to the post I flag. It's a nice idea to offer it to get newer members to start flagging bad posts though.

Borzoi 24 Posting Whiz

I'm currently building a website for a small charity and they've asked me if it was possible to make an admin area where they could access some of their work when they're out and about so they don't have to fill in forms twice. I can do this as I built the database that holds all the information they would input myself. I had made it using a MySQL database and built a front end for them using php so I can easily make it work online.

The database hold very sensitive information such as clients' home address, e-mail, full name, marital status etc. which obviously needs to be very secure. The computer the database is on currently does not allow network traffic from outside the internal network which means no internet access.

If I was to make it so it can accept connection from outside the internal network, what security measures and/or settings should be taken/set to assure that only people with accounts can access it?

I was going to code a timeout feature with the login as I found the workers tend to not lock their computer when the wander away from it, leaving everything logged in but I know I should do more to assure security of information.

Borzoi 24 Posting Whiz

Try replacing line 32 with

$result1 = mysql_query($sql1) or die(mysql_error());

and see if that causes an error message. Looking at your code, I can't see anything wrong with it but I get the feeling I'm missing something fairly obvious. Hopefully this will provide an error message and say what is wrong.

Borzoi 24 Posting Whiz

I believe you have found your problem. You do need the space after print. I am going to look through your code in detail though to see if I can find any other errors that may cause it.

Borzoi 24 Posting Whiz

I meant that

session_start();
      if(!isset($_SESSION['words']))
     {
      //session_register();
      $_SESSION['words']=array();
     }
     $iterator=count($_SESSION['words']);
     $_SESSION['words'][$iterator][] = wordCheck($lname , "lastname");
	 $_SESSION['words'][$iterator][] = wordCheck($fname , "firstname");
	 $_SESSION['words'][$iterator][] = wordCheck($addr , "address");
     $_SESSION['words'][$iterator][] = wordCheck($cty , "city");
     $_SESSION['words'][$iterator][] = wordCheck($stat , "state");
     $_SESSION['words'][$iterator][] = wordCheck($zip , "zipcode");
     $_SESSION['words'][$iterator][] = wordCheck($acode , "areacode");
     $_SESSION['words'][$iterator][] = wordCheck($phone, "telephone");
//      print_r ($_SESSION['words']);}
$_SESSION = array_unique($_SESSION);

should work.

When I said "first one" I meant the first part of code you posted.

Borzoi 24 Posting Whiz

The first one should be correct.

Borzoi 24 Posting Whiz

Could you post the PHP that calls the variables to be placed in the values? We could probably help if we saw the supposed problem code.

Borzoi 24 Posting Whiz

Could you please wrap any code in code-tags.

Borzoi 24 Posting Whiz

You can remove duplicate values from the array with array_unique(); .

$array = array_unique($array);
Borzoi 24 Posting Whiz

> Most threads are.

What?! Next you'll be sayin' there's no Santa Claus as well. :'(

I hate to break it to you...

Borzoi 24 Posting Whiz

The tutor was my old Computer Systems and Network Systems lecturer. The introduction was done by the department head who was the department head back when I was in college and he also taught me C++ programming. When he saw me in there he thought it was pointless.

I mis-read your post when I last read it. I thought you said that I should "teach the tutor of that course" not "teach or tutor that course" for some reason. I would love to teach IT but I'm not a qualified teacher/tutor/lecturer and because it's a course with an award at the end, the tutor must be qualified by law. If I could afford it, I would go on a course to become a qualified teacher but it's very expensive.

Next time I go in, I'm going to see if I can catch Mark (the department head) and see if he knows of a way I could become a teacher.

Borzoi 24 Posting Whiz

Where are you saving the .htaccess file? I was having trouble with mod_rewrite before and couldn't figure it out but it turned out that I had saved the file in the wrong place. I had saved it in the same folder as the server configuration files but it's supposed to be in the web root folder (with your index file etc).

Borzoi 24 Posting Whiz

The tutor probably teaches higher levels too. There's a possibility that the tutor will be one of the lecturers that originally taught me.

Borzoi 24 Posting Whiz

Back in 2004, I started a 2 year college course. This course was Btec National Diploma for IT Practitioners. That course is a level 3 qualification in computing (in case the course title wasn't obvious enough). I finished the course and passed, being the 4th best in the class.

Today, I start a new course which is part time. This is a Comptia A+ course which is a level 2 qualification in computing.

Does anyone see the problem here?

Yep, I'm going on a course which is a level lower than a qualification I obtained 5 years ago. I have tried explaining to the people sending me on this course that it's pointless as I already have a higher qualification in the same field but they just won't listen.

Can any of you think of an advantage of going on a lower level course than my current qualification in the same subject?

Borzoi 24 Posting Whiz

The horse is called Friday.

Borzoi 24 Posting Whiz

That's one I haven't heard before.

I don't know...

Borzoi 24 Posting Whiz

You've put a twist on a riddle I've heard before.

It's the cook. He wouldn't be cooking breakfast in the afternoon.

Borzoi 24 Posting Whiz

The Maid. There is no mail on Sunday