Welcome Guest, Not a member yet? Register   Sign In
  PayPal Lib - one question
Posted by: El Forum - 10-14-2007, 03:18 PM - No Replies

[eluser]nikolaaa[/eluser]
Hi,

I didn't use long time this lib and forgot to use it Sad

Just tell me do I need to add url to my ipn code in paypal account or not?

Becuse without it my application doesn't work, and I know that it worked nice few months ago when I made it...
I just forgot what I done...


Thanks,
Nikola


  what is the industry standard when it comes to storing passwords?
Posted by: El Forum - 10-14-2007, 02:31 PM - No Replies

[eluser]Sally D[/eluser]
OK now I need to understand something what is the right way to store passwords in mysql

I did some searching and I came up with a concept called two way encryption where you would do some string manipulation with php and build a sercet key out of the username,lastname,birthdate or what ever and then use that key with the mysql function AES_ENCRYPT() and then store that in a blob field in a mysql database.

You can then retrieve the password with the mysql function AES_DECRYPT() using your secret key which is good because one of the down sides to doing md5($password) is that you can't retrieve it back if its lost or forgotten

There is one problem to the two way encryption method above, and it is that mysql has got to be configured with ssl support. I am not sure how to do that since. I want to start building something like right away I don't feel like modifying the server now.

so can you please tell me what the pro's do when they want to store a password in mysql thanks~


  Yet another upload_path problem
Posted by: El Forum - 10-14-2007, 01:39 PM - No Replies

[eluser]PoWah[/eluser]
I have upload_path defined

Code:
$config['upload_path'] = realpath(BASEPATH.'../static/images/katalogas/kategorijos/');
$this->load->library('upload', $config);

when I echo it I see "C:\wamp\www\ptvs\static\images\katalogas\kategorijos" and it is correct! Why I get an error "The upload path does not appear to be valid." ? I'm now coding on WAMP server under Windows.. tried to search the forum and I saw tons of similar posts but ... :/


  Another auth question (aka I need advice)
Posted by: El Forum - 10-14-2007, 01:13 PM - No Replies

[eluser]instantations[/eluser]
Hey guys,

I have an authentication dilemma. I need an auth system with:

- user roles (superadmin, admins, users...)
- "remember me" checkbox
- looping to the same page upon login (cause redirecting to some default page is so web 1.0... lol)
- extended user profile/settings
- registration with email validation
- forgotten password retrieval
(and I don't need top-notch security)

I have been trying FreekAuth Light and it doesn't seem to do it all (the looping thing is most important to me).

My question is:
Should I
1) code it myself (from scratch)
2) tweak FAL (I don't feel too confortable with that) (or maybe someone else already has)
3) use another existing library

Thanks in advance for your precious input,
Laurent


  Mysqli error when backing up DB using mysqli_utility
Posted by: El Forum - 10-14-2007, 01:00 PM - No Replies

[eluser]dik_[/eluser]
Hello all,

would anyone know why I'm getting this, trying to backup a DB:

Quote:A PHP Error was encountered

Severity: Warning

Message: mysql_field_type(): supplied argument is not a valid MySQL result resource

Filename: mysqli/mysqli_utility.php

Line Number: 191

Thanks for reading and any input Smile


  Multiple Views ?!?!
Posted by: El Forum - 10-14-2007, 11:05 AM - No Replies

[eluser]Unknown[/eluser]
Hello World,

Sorry my bad english...

Why CI don't work with multiples views in the controller ?? Only load the last view...

How do solution to this limitation ??

Wait Answer...

Thanks...


  Loading view with $data and $this->validation->set_fields($fields)
Posted by: El Forum - 10-14-2007, 08:43 AM - No Replies

[eluser]vclef[/eluser]
Hi,

I'm trying to create a form which includes some predefined data from the DB into dropdown menus along with text fields, text areas, etc. Then upon submission, the form is validated. If the validation fails, I want it to repopulate the fields. Just very typical form creation and submission.

My problem is this:

When the form is first loaded, I'd have something like this in the controller:

Code:
$data = array('heading' => 'My form');
<snip>
$data['categories']   = $this->CategoryModel->query();
$data['knownVendors'] = $this->KnownVendorModel->query();

$this->load->view('myform', $data);
Then in the view, I'll loop $data to build the dropdown menus for categories and knownVendors. Everything works fine here, until ....

... upon the form submission, I also do (as seen in the user's guide)
Code:
$fields['category'] = 'Catogory';
$fields['knownVendor'] = 'Known Vendor';

$this->validation->set_fields($fields);

Now, if I load view without the 2nd argument which is $data, the form won't build (obviously)
Code:
$this->load->view('myform');
. But if I load the view with $data, set_fields() doesn't re-populate my form.

Since I'm guessing everyone has to be doing the same thing I'm doing, could you tell me how it should be done? Maybe I'm not structuring the code right with CI. Please advise. Thanks.

--Henry


  CodeIgniter + FreakAuth on Progreso.pl server (login error in IE)
Posted by: El Forum - 10-14-2007, 06:39 AM - No Replies

[eluser]basu[/eluser]
I have a small problem with CODE IGNITER + FreakAuth 1.1 module, it is working propertly at temporary server (for tests windows & linux).
Problem starts when I run it on Progreso.pl Sever. Now programme let me log in to Firefox only but not on IE. It is working propertly on others IE servers- its working on Firefox -ok!.

Problem starts when I run it on Progreso.pl server IE is not working, but it works at other servers.

When you type your login and password it should send you to control panel but the problem is that it is doing nothing (it shows the same login panel) when you try login by Mozilla it works ok! after password it send you to control panel like it should.


  Connection to multiple database
Posted by: El Forum - 10-14-2007, 03:43 AM - No Replies

[eluser]isCode[/eluser]
I am trying to build a site which shows different Employees information from different
databases, say for manager information from manager database and stuff information from staff database. Now, if the user click on a particular Employee then it would show the details information from the associated database.

I want to do it by retrieving all the employee name from different databases and with the link pass the database name as parameter. Now the second controller pick it up and retrieve the database information based on the database name.

The problem with this approach is the whole site is developed without being using the multiple database connection and also I somehow don't like the approach.

So, any idea how to do this job effectively?


  Quick question: can I use composite primary keys?
Posted by: El Forum - 10-13-2007, 10:26 PM - No Replies

[eluser]Unknown[/eluser]
Is it possible to use composite primary keys in database tables with Code Igniter? I.e. there are multiple columns used as the primary key instead of a single ID column. I haven't been able to find any info on this in the docs or the forum search. Thanks!


Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Latest Threads
Update from 4.6.0 to 4.6....
by FlavioSuar
Today, 04:17 AM
Setting baseURL in Regist...
by petewulf1
Today, 03:20 AM
Sessions old files are de...
by InsiteFX
Yesterday, 10:30 PM
Ajax post failing with Ty...
by PaulC
Yesterday, 12:23 AM
intermittent smtp failure...
by InsiteFX
05-11-2025, 11:30 PM
MVC vs MVCS vs CodeIgnite...
by FlavioSuar
05-10-2025, 10:33 AM
CodeIgniter Shield 1.0.0 ...
by timesprayer
05-10-2025, 05:22 AM
Website Traffic Drop Afte...
by InsiteFX
05-10-2025, 04:23 AM
Magic login link not work...
by InsiteFX
05-10-2025, 04:16 AM
Is codeigniter 5 upco...
by InsiteFX
05-10-2025, 04:10 AM

Forum Statistics
» Members: 145,802
» Latest member: 88aaquest
» Forum threads: 78,388
» Forum posts: 379,447

Full Statistics

Search Forums

(Advanced Search)


Theme © iAndrew 2016 - Forum software by © MyBB