Banderson 29 Junior Poster in Training

Yes you can use variables to build your query. One way is to build your form, validate whether or not fields in your form are blank and if so do not process those fields. The fields that are activated use them for your query. You can also put all the database and form fields in an array and process them that way.

Also since you are using PDO you can also look into prepared statements and transactions.

There are several ways to do this. These are just a couple of possibilities.

Banderson 29 Junior Poster in Training

I usually use GDChart if I need to generate a graph or chart in PHP. Also if you need have a way to manipulate the chart in a browser you could use PHP to update the values or you could use JQuery. What you use depends on the type of manipulation you require.

The Extension is Here:
http://pecl.php.net/package/GDChart

Banderson 29 Junior Poster in Training

There is documentation on it if you use the symbol as intended with an @see in JAVADOC

Click Here

Banderson 29 Junior Poster in Training

PHP can read text files with any separator you input.
The text files needs to be read access on your server to be read.
However, you do know this will expose your passwords and acccount information to anyone that finds the path to this text file on your server, right?

In other words, I highly recommend you do not store sensitive information in a text file.
As cereal said, use Facebook's API. It has been tested for security and you will be within the boundries of the developer's agreement.

Banderson 29 Junior Poster in Training

This code is encrypted. You will need a key or hash to decrypt, echo will not work. That simple.
It's not that easy :). Has the developer given you permission?

Even if you figure out how to decrypt it , unless it is your code your illegal. It is called reverse engineering.
You do it to any of my apps and I am coming after you with lawyers to get what you got.

I also know this code belongs to :
paymentmedium.com

With error code:
This script is locked for paymentmedium.com domain name. Your details submitted to Admin.

Who are you trying to fool?

Banderson 29 Junior Poster in Training

Wow Dani, I am sorry to hear this. I have been a member here for a few days. I do not post a lot, but I do frequent the forums. Personally I enjoy this forum more than Stackoverflow.

Looking at your examples, I believe it is the way the answers are linking to Daniweb.

Example 1 : Link Text is "Here"
Example 2 : Doesn't add up at all to me. DaniWeb should clearly be on top in this case.
Example 3: Is the entire link instead of link text.
Example 4: Another entire link instead of link text.
Example 5 : This one doesn't add up either.

I would contact Google and find out why these results are being displayed like this. Maybe they can give you some insight. As a last resort you could always block any referer you wish.
Eventually the linking would stop. I think this could possibly hurt even more short term, but increase traffic like it was in the future.

Banderson 29 Junior Poster in Training

Have a look:
Click Here

veedeoo commented: thanks for sharing Mr. Banderson +8
Banderson 29 Junior Poster in Training

Yes you can use curl to do this. If it is a very large video then you will probably have to increase memory on your PHP installation or you can crash the server
if your php locks and can't close the connection. Being on shared hosting I would not attempt this. Your host techs will notice it almost immediately through bandwidth tranfers.

If you want to really do this, then you will need to be hosted in a cloud or a dedicated server and you will have direct access to your server.
And yes be careful about copyrights or you can end up with a hefty fine.

Banderson 29 Junior Poster in Training

This is a framework. You can't just execute it. It is for development. If you want to work with it then you have to go to your IDE and import the library, which is the jar file and then import the packages from the library into your code as needed.

Banderson 29 Junior Poster in Training

Here is the way it is suppose to be done. When a user registers the password is hashed and salt is applied to that hash and the hash goes into the database with the salt. Now when the user signs in you apply the same algorithm to the password and you match the hash not the plain password. As others have stated do not use encrypt on passwords with codeIgnitor. If a knowingly user gains access to your database they could easily decrypt all your passwords with a rainbow table attack to find your encryption key. Use encrypt for your sessions not passwords.

I am left to wonder why you are reinventing the wheel. Many developers have already created systems that have been time tested and are proven to work for frameworks like CodeIgnitor. That's why we design classes for other developers to build upon. Developers want to move forward, building better, safer and faster apps, not spin our wheels. Here is the one I use in all my apps, commercial and private.

http://haseydesign.com/flexi-auth/

iamthwee commented: solid +14
Banderson 29 Junior Poster in Training

You will need to pass the variables to the int(speed) of your Timer animation in the ActionListener of your Timer class. Your timer class will also need to implement KeyListener.
The Timer class has a setDelay method. setDelay() will not affect setInitialDelay(). So if you want your monster to begin moving at startup or when the event is fired you will set this up in your setInitialDelay() After the event is fired then you can use setDelay to control the monsters speed(Delay between the firing of your events such as keyPressed in your example)

Banderson 29 Junior Poster in Training

I haven't used C in years, but if I remember correctly you need to use

@@IDENTITY

to retrieve the Last ID.

Anyone more familiar, correct me if I'm wrong.

kvprajapati commented: Correct. +7
Banderson 29 Junior Poster in Training

Hi, This will show you how to create a login form using swing.

Please be aware that this form does not connect to anything.
( eg. A URL or a database)


This is just a little advanced example of one of the many things you can do in swing.

A working example of this script can be downloaded at:
http://programmers-paradise.net/forum/viewtopic.php?t=9

And Yes before I start getting attacked with accusations of deprecated values I am aware of one in this code.

:rolleyes:

Banderson 29 Junior Poster in Training

Hi mystique.
Personally, I recommend SmartFTP :rolleyes: