rotten69 20 Posting Whiz

Hi all,

I haven't changed anything in the config file in phpMyAdmin folder. I don't know why the WAMP server gives me this error. Although everything was working perfectly yesterday. Does anyone know how I can fix this problem?

You don't have permission to access /phpmyadmin/ on this server.

Cheers,

rotten69 20 Posting Whiz

Query went pretty smooth. Thanks, pal.

rotten69 20 Posting Whiz

I created a foreign key on a table just using this statement. When I wanted to drop it, phpMyAdmin didn't allow me to do so. Would anyone suggest a nice way of getting away with it?

ALTER TABLE `likes` ADD CONSTRAINT (fk_user_id) FOREIGN KEY REFERENCES `users` (user_id);

This line worked fine and created an index instead of creating a foreign key. And, I wanted to drop it and create a foreign key. Unfortunately, it didn't want to be dropped.

The message I got from phpMyAdmin is below:

SQL query:

ALTER TABLE `likes` DROP INDEX `fk_user_id`

MySQL said: Documentation
#1553 - Cannot drop index 'fk_user_id': needed in a foreign key constraint

Cheers,

rotten69 20 Posting Whiz

Thanks folks.

rotten69 20 Posting Whiz

Hi everyone,

I'm just wondering why this method below causes an infinite loop to happen. I thought it would run once and then stop. Anyone can explain this? that'll be great.

public String printer(String s){
		if (s.length() >= 5){
			System.out.println("I'm  " + s + " And my length = " + s.length());
		}
		return printer(s);
rotten69 20 Posting Whiz

Salam alikum.. That works. You should run it before you submit your assignment brother.
Your assignment spec is saying that you need to have a method that compares Max and Min values.

Good luck, ya5y

rotten69 20 Posting Whiz

where would you store user's password? Simple solution--> Encrypt then store in a cookie?

rotten69 20 Posting Whiz

Oh I get what you mean. I think you're tryin to achieve something but it is not workin in firefox, Right?

rotten69 20 Posting Whiz

No. I meant PHP cookie.

setcookie() ....

I am thinking to store user's info(log-in and password)...

rotten69 20 Posting Whiz

What if I want to use a server-side cookie, Will it also be stored on the server for a period that's specified before creation? Will it be easily accessible?

rotten69 20 Posting Whiz

Thanks buddy ... This info is quite helpful.

rotten69 20 Posting Whiz

Oh well, thanks for the info on Java frameworks.

rotten69 20 Posting Whiz

I'm still unsure about whether I should use a server-side or client-side session. If the session is stored on my server, does it take some space from the server?

rotten69 20 Posting Whiz

You couldn't be more mistaken. There is a number of Java frameworks that let you build dynamic websites and have direct support of Ajax/jQuery. Did you ever tried Wicket or Tapestry?

No, I have not tried any Java framework for web development. There are also frameworks called Spring and struts to add to the list you had.

rotten69 20 Posting Whiz

hahaah.. yeah I just realised that I answered my last question in the previous post. Any security concerns about client or server side sessions?

rotten69 20 Posting Whiz

There are a few ways of making brochures:
1- Without flash, by using photoshop to edit your images and javascript or Jquery or combination for the flipping animation. Or maybe, HTML5 which has cool features.

2-With flash, by using photoshop to edit your images and swish/flash5 or 6 or whatever version you have. Considering flash softwares, you need to have a look at the features that they provide you. For example, the effects and animations that come with the software.

I have a photoshop software that is the fifth version and has animation tab in it. But, unfortunately, I haven't tried it yet.

I hope this gives you an idea.

rotten69 20 Posting Whiz

File --> Save as.. has solved the problem. Anyway, thanks for the links. Greatly appreciated.

rotten69 20 Posting Whiz

That'll be so great if you could just post a link to a downloadable version.

cheers,

rotten69 20 Posting Whiz

G'day everyone,

I'm just wondering about what's actually the best option out of these PHP sessions(server-side) and JavaScript sessions(client-side)?

If the server-side session is not stored on client's machine, where else would it be stored? Are there any pros and cons of each option?

Thanks folks.

rotten69 20 Posting Whiz

I am not familiar with that system, but some of us might be. Try posting the piece of code that is problematic and what error you get when it is run .

cheers

rotten69 20 Posting Whiz

HAHA.. POST your code and tell us which part is wrong/not workin'

Cheers,

rotten69 20 Posting Whiz

Is that even a question? and Are we supposed to do the coding for you?

PLEASE POST your question and the code that you have a problem with so we can HELP YOU.

Thanks.

rotten69 20 Posting Whiz

Yes, Content management systems are implemented using PHP for example, Drupal.

rotten69 20 Posting Whiz

You can achieve a lot of things by using PHP within a short period of time, whereas Java takes so much time if you're starting to program in it. Of course, there are some exceptions(Pro Java programmers).

rotten69 20 Posting Whiz

i have read 2 courses of java but now working in Php, php is much more easier and FASTER then Java

Absolutely!

rotten69 20 Posting Whiz

Both of them are FANTASTIC Languages. If you're developing highly dynamic websites, then PHP is your primary choice(NOTE that I'm not saying you can't develop websites in java , but java is a little harder than PHP to get your head around.) Each of them has its own use. Java is mostly used for developing applications. Do a bit of research and see what suits you most.

I'm learning both and finding PHP a lot easier than JAVA. it's just a personal opinion.

If you need any website or anything to get you started, then all you have to do is to give us a yell ;p...

Good luck, buddy.

rotten69 20 Posting Whiz

Post the code and the exact error message. PLEASE use the [ CODE ] tags.
Thanks.

rotten69 20 Posting Whiz

Smalltalk might be a new language to you!!

rotten69 20 Posting Whiz

I found a few JavaScript hacks that work well on YouTube. Can I ask why you want to use hacks in a browser? Is it just fun or something else?

Google should give a list of browser hacks. Have you tried asking "our brother" Google?

rotten69 20 Posting Whiz

And Again, it all depends on what services you WILL provide your clients/people.

We can help you more if you're more specific about the question.

rotten69 20 Posting Whiz

I don't know if any of us knows what the requirements are for sourceforge site. All I can suggest is to contact them and ask them about their website. You'd need a database and dynamic pages that can be made by using PHP, ASP.NET or other technologies.

I hope this helps you a little bit.

rotten69 20 Posting Whiz

Thanks for the links. But I don't seem to find a downloadable version of the docs.

rotten69 20 Posting Whiz

Hey everyone,

I'm wondering if there is an HTML doc for html 4 and 5. A doc that has all the attributes and tags like the JDK for java. Please post a link to a site if there is one.


Thanks.

rotten69 20 Posting Whiz

We don't know what your code is and what exactly the message that you're getting.

rotten69 20 Posting Whiz

@jessie.. That's a good way of learning new concepts and cementing them in the brain. However, I must admit that it takes more time than how much you want to put into learning things.

I like your way by the way. Does anyone know how else new concepts can be cemented in one's brain? As you learn new things, the old things you know, are kindda getting dusty!

rotten69 20 Posting Whiz

it's hard to solve a problem without experinmanting with things. A handy tool that you may want to use for debugging HTML, JavaScript and CSS. It's a firebug add-on in Firefox browser.


I'm glad you found something that helped you with the problem you had.

rotten69 20 Posting Whiz

I think That should serve sastokes's needs then. I should give that add-on a go.
thanks for the website.

rotten69 20 Posting Whiz

Maybe because you've got the attribute min-height(do you really need this?) Remove it and see what it looks like.

cheers,

rotten69 20 Posting Whiz

I'd be amazed if there are programs that understand what the code does and makes flowcharts for programmers. There are some softwares you can use to create flowcharts for your program. I'm putting a link here to site that has free softwares. I did download the flowchart making software but I haven't used it yet.

The website.

rotten69 20 Posting Whiz

True.

rotten69 20 Posting Whiz

It seems like it. He's welcome again to ask questions related to his code or any question.

Thanks.

rotten69 20 Posting Whiz

I meant to say that using $_REQUEST to pass the value to another page will solve the problem.


@simplypixie .. I ain't sure what the guy is really trying to achieve. But, it seems like the problem is solved on his side.

rotten69 20 Posting Whiz

@ ardav... Thanks pal for sharing this website. I think it'll help many of us with how to ask proper questions and being nice to others ;p

rotten69 20 Posting Whiz

Oh. it's somewhere in his code.. have a closer look.. the line's number is around 20th

rotten69 20 Posting Whiz

@swissknife.. NO, I do not want to suggest anything.

Good luck..

rotten69 20 Posting Whiz

You aren't alone, ardav. I don't understand why I got downvoted for!!! haha it's too funny when one states facts that appear to be too obvious ;p

rotten69 20 Posting Whiz

I'm lost now. Where is what?

rotten69 20 Posting Whiz

I think he wants to pass the value of the variable id from a file to another. $_GET[] should work.

rotten69 20 Posting Whiz

Wow. I never realised that.

rotten69 20 Posting Whiz

I hope all your problems are solved. If yes so, please kindly mark the thread as solved.