rotten69 20 Posting Whiz

Hey everyone,

I was doing a search on good tutorials on how to use the mail function. I thought it would be as easy as what PHP api tells me how to use it. I stored the value of mail() in a variable if the variable is true then I will get a message saying "success". Otherwise, a "fail" message will be given.

I get the success message displayed and get a warning as well about the port 25 and smtp.gmail.com. I suppose since it is just a warning, it isn't going to affect anything because the value of mail() is true which means it successfuly gets through. But unfortunately, I don't receive any Email.

Does anyone know how to send Emails using localhost and Gmail account without installing any Mail Client? or Just sending dummy emails?

Cheers,

rotten69 20 Posting Whiz

Cheers for the informative answer. So the HD isn't faulty, right? What do I use to hook it up with another computer? The only option I can think of is a USB connector. Is there any other option?

rotten69 20 Posting Whiz

Please anyone experienced with this problem.. I need this laptop to be working.. I think I got to read system msgs next time..

rotten69 20 Posting Whiz

everythin is connected and how is that a major issue? I tested the hardware pieces before. If you read earliers posts, I mentioned that I put an old HD in there and it worked fine.

rotten69 20 Posting Whiz

All I'm hoping is that the hard disk isn't faulty and can be fixed.

rotten69 20 Posting Whiz

Any idea how to resolve the problem?

rotten69 20 Posting Whiz

I don't get why someone would even bother defining a second colour... Is that in the case where if a colour that has !important rule defined on, fails then the second colour will be applied automatically?

rotten69 20 Posting Whiz

Yeah..

rotten69 20 Posting Whiz

Disk management.

rotten69 20 Posting Whiz

@JorgeM.. so what happens to the blue colour in this case? I never used the !important rule.

rotten69 20 Posting Whiz

hat options do you get when you hit the Esc key it says to hit

I get nothing. It is the screen as shown in the image which is frustrating.

rotten69 20 Posting Whiz

The required attribute is used to indicate that particular field is required and needs to be filled in. Think of it as an input validator.It has got nothing to do with language translation at all.

I hope this helps.

rotten69 20 Posting Whiz

Hi there,

You can use jQuery if you want some cool effects. have a look at jQuery

in pure javascript, you'd need something like the below code. This does what you want using ElementById. It is not gonna be hard then to work out what you exactly want to do.

 <script type="text/javascript">
    function hideMe()
    {
          document.getElementById('myDiv').style.display="hidden"   ;
    }
 </script>


   <body>

       <div id="myDiv"  onclick="return hideMe();">
               Hide me.
       </div>

   </body>

I hope this helps.

rotten69 20 Posting Whiz

@caperjack.. Have a look at the image I posted. That is basically what I get when I start the machine.

rotten69 20 Posting Whiz

I can't access the BIOS menu unfortunately. What if I plug in the old HD and insert the Win CD to get me to the set-up phase. Once I'm in there, I will unplug the old one and put the one I've havin a trouble with back in. Will that work at all without causing any new problems?

rotten69 20 Posting Whiz

I think there isn't an active partition and that is why the hard disk is recognised at all. I'm kindda stuck at the moment. Not having any idea what to do.

rotten69 20 Posting Whiz

I failed to explain it to you

hahaa.. Man, don't panic. it is all good. At least, you've tried explaining to me. Even though I didn't get it for the first time, someone may do.

Thanks for the effort.

rotten69 20 Posting Whiz

@JorgeM... I tried the win CD to get the phase that you're talking about. As you can see the image I posted, that is where the hard disk is stuck at and not going anywhere. I kept pressing ESC button/F8 button to get to the start-up menu and unfortunately, this didn't work.

@ kevin... it is well-connected to the hard disk port. That is the exact thought I had before, then I made sure it is connected and not coming off the port.

rotten69 20 Posting Whiz

Yeah, I inserted the win OS cd to do formatting on the hard disk but the hard disk isn't getting me anywhere and is stuck at the start-up. I uploaded the image of what I get when I start my machine. http://i.imgur.com/AYhHH.jpg
Is there any other way of formatting the hard disk? because I don't have access to the BIOS too. I thought of installing win7 on a usb but I never did it before. Any idea if this will work?

rotten69 20 Posting Whiz

I want to format it. I don't care anymore about the data it has. But, the issue I'm face at the moment is that my laptop doesn't start up. I can post an image of what really happens.

rotten69 20 Posting Whiz

Do you understand static variable in Java?

I defintely do. Static type makes the calling of a method or a variable easier. I still don't understand in JavaScript though. When would I ever have to use it?

rotten69 20 Posting Whiz

That's sort of a 101 on the 101 if you understand

I got no idea what you're talking about, mate.

rotten69 20 Posting Whiz

Hi everyone,

I had an issue today with my hard disk(internal hard drive). I was trying to partition the C drive.Eventually, I successfully paritioned it then I was asked a question then I pressed yes. Here is the problem. Everything changed from primary partition to simple volume. I was not sure what the simple volume is. I googled it and discovered it is dynamic volume. OK. I was trying to undo the operation but I couldn't find the right command for this. I really hoped that I had restored an early point to get OS to it. But unfortunately, I never did.

Then, I pressed restore to an early point of time. After this operation was done, it asked me to reboot the system. I did that. Then, It never wanted to work again!! when I start the machine, it gets stuck at the startup. All I can see is "HP, invent." That's in the middle and on the bottom, I see "press ESC to get the start up menu." I tried pushing every button and nothing seems to work. I took the internal hard drive out and put another one in to see what's happening. The old one works. I think the problem is with the HD then. Can I format it or get it working even?

I need urgent help. Thank you.

rotten69 20 Posting Whiz

Awesome. That sounds like you're an experienced programming guy. Welcome to the community.

rotten69 20 Posting Whiz

You don't ever use the word OR. Use this symbol || which means or. This symbol && means AND.

if($row['banned'] == 1 or $row['banned']== 2) {

}

What is the message you get when you run your code? Try putting values you're trying to check within single/double qoutes.

rotten69 20 Posting Whiz

@Taywin .. I'm still even confused by the code you posted..

rotten69 20 Posting Whiz

I know Java can be sometimes confusing when you're trying to learn something new about it. I think there is a problem with defining the array. However, Have a look the Java Tuturial website which explains one dimension and multi-dimension arrays.The link is here

Scroll down to the section mentioned below.

class MultiDimArrayDemo {
    public static void main(String[] args) {
        String[][] names = {
            {"Mr. ", "Mrs. ", "Ms. "},
            {"Smith", "Jones"}
        };
        // Mr. Smith
        System.out.println(names[0][0] + names[1][0]);
        // Ms. Jones
        System.out.println(names[0][2] + names[1][1]);
    }
}

Just if you post any piece of code next time, PLEASE ensure that you use the Code tags. Therefore, your post will be much easier to follow. Thanks.

rotten69 20 Posting Whiz

I picked something that may be causing your code to not work. On line 38 after the Else statement, you don't have braces. Try putting opening brace and a closing one and see how you go. Yeah, I agree with the other guys on putting the code in classes which is the beauty of Object Oriented Java programming.

rotten69 20 Posting Whiz

@godzab... it takes Two to Three days to get the hang of it. That would be awesome, man.

What confuses me is that people assign a function to a variable like the code below
var hug = function(male, female){return male + female};

that is what you call a closure function. What is the advantage of doing that?

rotten69 20 Posting Whiz

@zoreli.. I signed up for this course but I didn't have the time to sit down and follow the tutorials. Thanks for it anyway. I will see that as an encourgement towards taking the course with tutsplus.

rotten69 20 Posting Whiz

@barramedalb.. Thanks. We all hope to see the threads up in the forum.

rotten69 20 Posting Whiz

@barramedalb.. Thanks for the great ideas. Feel free to open a new thread and do a walk-through your idea/ideas if you can. Once your thread is on the go, post a link to it here so everyone will be able to access it easily and we are trying to keep them in one place for future reference. Preferably, to keep the format as this forum, posts will be easy to follow.

rotten69 20 Posting Whiz

Awesome, guys. Keep the thread going.It seems to be going a bit slowly but we are getting more people to join in and share their fantastic ideas.

Note: @James.. Please edit the first post in this thread and highlight the key points and guidelines such as if someone wants to take people through their idea/ideas, they can do so in a new thread then they post a link to them. Therefore, we will have easy access to them in this thread.

rotten69 20 Posting Whiz

Hi everyone,

I want to get started on learning jQuery Framework.I got the basics of the JavaScript at this stage. But now, I don't know where to start with jQuery.

Other than the jQuery.com website. Would you suggest easy-to-follow introductions to jQuery?
Is there a big difference between jQuery and jQuery for mobile? Would JQM work for desktop websites as well?

Cheers,

rotten69 20 Posting Whiz

You guys have got brilliant ideas and lots of ways that anyone can use to practise their Java knowledge. But what we are lacking/missing is that we don't have enough instructions on how you'd approach such an idea like making an email client or a game. Due to beginners' knowledge or amount of practice in Java programming, they may think it is a kinda difficult task to do.

What would be fantastic is to see someone who has got the time to take us through a simple idea.

cheers,

rotten69 20 Posting Whiz

@Sogo7.. Awesome answer. I was only wondering about that. I think that answers my query. Cheers!

rotten69 20 Posting Whiz

Hey everyone,

I'm posting this thread in this forum because I am not sure where else it should go to. Anyway, I'd like to straight jump to the question. I want to make the URL to my site look like mob.mysite.com. how do you achieve something like this? do I change the URL in the app depending on the device a user is using to access my website?

cheers

rotten69 20 Posting Whiz

what's this program supposed to do?

rotten69 20 Posting Whiz

True. You've got a lot of money to own a server but at the same time, you need to think about what sorts of problems you will be running into by just having your home server. What if someone tries hacking into the server? Is your server gonna be secure enough? What platform will it run on? These days, a lot of servers are running on Linux operating system. It is great that you can afford one but it is not going to be efficient. To answer your questions, you should be looking at a good PHP framework that gives you a good a feature such MVC which stands for Model View Controler for blog purposes and managing your web app.

To beat FaceBook, you would need to have a good service/product so users will use it constantly.That depends on what your business idea is!

rotten69 20 Posting Whiz

I didn't work with Ajax. But I still can help you with the logic. Store the name of an image in a variable and pass it to the function just to make the function use the new name if the old one has been changed.

I hope this helps a little.

rotten69 20 Posting Whiz

steeling a banana from a market stall... Same, same, same.

Hahaah.. That is a good line. Most of the torrent files I downloaded aren't useful.

rotten69 20 Posting Whiz

I'm dying to look for one. If anyone is using codePHP, webstorm or other editros and willing to share the key, PLEASE do so by sending me a PM.I don't want to cause any violation to DaniWeb's rules.

Cheers!

rotten69 20 Posting Whiz

Hey everyone,

I have posted a couple of threads looking for a plugin that gives some of the features of CakePHP if not all. However, the threads were going dead. I'm just looking for a good editor that is going to provide me an auto-completion code like HTML helpers, functions and stuff. I know of a couple of paid editors that can do what I wanted but I prefer to use free ones and don't want to pay a cent if I can get it for free. Kindda tight on money at the moment. LOL

I hope to hear from anyone who is using Cakephp framework!

rotten69 20 Posting Whiz

some good suggestions involving networking!

I can redirect you to a tutorial on networking. Check out this link It may be useful for what you need to do or even to get started with network programming.

rotten69 20 Posting Whiz

I think for restaurant you'd want static pages and won't be processing orders. so it should cost much. Again, it is dependent on the requirements.For example, how much graphic design you want done and how much coding you want done.

rotten69 20 Posting Whiz

You will have to go through the CSS file and see what is not working exactly. If you find any, then try to replace it with something else or if there is not an alternative way then it means it is not supported.

rotten69 20 Posting Whiz

P.S If you're being a little more specific, then we can help you and provide you some resources.

rotten69 20 Posting Whiz

What do you exactly mean by web design? Graphics and stuff or coding and styling web pages?

rotten69 20 Posting Whiz

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

rotten69 20 Posting Whiz

That all solves your problem, then mark the thread as solved to let others it is solved!