Love Fuel?
Donate
About
Forums
Discussions
Login
FuelPHP Forums
Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
WanWizard
a.k.a. WanWizard
Discussions
4
Comments
8243
Activity
Multiple session drivers of the same type
Yes, you can, but you need to pass a custom configuration: $secondsession = \Session::factory( array ( 'driver' => 'db', 'db' => array ( 'cookie_name' => '…
Comment by
WanWizard
June 2011
permalink
How to change to the development branch?
looks ok to me?
Comment by
WanWizard
June 2011
permalink
How to change to the development branch?
What does git branch tell you?
Comment by
WanWizard
June 2011
permalink
How to Fight CSRF?
I just checked, and I don't have that problem in my code. When the view is generated, I add the token input field to the form, with the value of fetch_token(). When the form is submitted, I call check_token(), and it that passes, the form is v…
Comment by
WanWizard
May 2011
permalink
How to Fight CSRF?
The one you brought up. But you can add it to the original issue as a comment, to keep everything in one place.
Comment by
WanWizard
May 2011
permalink
How to Fight CSRF?
Can you also create a ticket for this?
Comment by
WanWizard
May 2011
permalink
Global cache on/off
Caching is not implemented yet, it something we're going to dive in to when everything works the way we want.
Comment by
WanWizard
May 2011
permalink
Last insert id
It's stored as a property of the connection, but it's a protected property and as far as I can see no method to retrieve it. You can create an issue for this on https://github.com/fuel/core/issues so someone can have a look at it.
Comment by
WanWizard
May 2011
permalink
How to Fight CSRF?
Can you create an issue for this at https://github.com/fuel/core/issues?
Comment by
WanWizard
May 2011
permalink
Rewrites using IIS
Correct, .htaccess is Apache specific. IIS doesn't have any URL rewriting capabilities out of the box, you will have to install a module for that. If you Google for "iis url rewriting" you'll get tons of info on this subject...
Comment by
WanWizard
May 2011
permalink
how can i extend orm model ?
You can even put your model extension in another package, like I did here: https://github.com/WanWizard/fuel-nestedsets (not finished yet).
Comment by
WanWizard
May 2011
permalink
How to upload , resize and save an image
No, develop is a different branch. If you don't use git, you can download it at https://github.com/fuel/core/zipball/develop. otherwise go to the core directory, and type 'git checkout develop' to switch to the develop branch.
Comment by
WanWizard
May 2011
permalink
Uploading Class Behaviour
Ben, Could you add this as a feature request on github, with a clear definition of the use-case? I'll have a look at it once my laptop has been reanimated by Mr. Dell... I looked at it, but there are numerous ways you can add file input field…
Comment by
WanWizard
May 2011
permalink
How to Fight CSRF?
What's your 'csrf_expiration' (in app/config/config.php)? I've noticed this kind of behaviour with it's set to zero. I assume that should mean 'indefinitely', but in reality it will expire directly. I thought I fi…
Comment by
WanWizard
May 2011
permalink
Noob Question: 'No input file specified' message
I agree with you that the forum function of PyroCMS are very basic. But that's what's been chosen. I know Phil is travelling at the moment, not sure if he has a lot of time while on the road. I'm sure Dan reads the forums, so if he h…
Comment by
WanWizard
May 2011
permalink
How to Fight CSRF?
I don't use the parameter, as I use the default form field name, but
Comment by
WanWizard
May 2011
permalink
hacked seclib in fuel ?
I don't remember changing any code, but I'll have a look once my development environment is back online (laptop has died on me).
Comment by
WanWizard
May 2011
permalink
Noob Question: 'No input file specified' message
I think Phil and Dan have some fastcgi experience, maybe they can be of some help. I've never used it.
Comment by
WanWizard
May 2011
permalink
How to Fight CSRF?
Instead of trying to invent this yourself, why not use the Security class? Fetch a token, and store it in the form. When the form is submitted use check_token() to validate the token. See http://fuelphp.com/docs/classes/security.html
Comment by
WanWizard
May 2011
permalink
Db:update Syntax
From the session db driver: // update the database $result = \DB::update($this->config['table'])->set($session)->where('session_id', '=', $this->record->get('session_id'))->execute($this->…
Comment by
WanWizard
May 2011
permalink
Mimetype by extension?
$this->mimes = Config::load('mimes'); echo $this->mimes['docx'];
Comment by
WanWizard
May 2011
permalink
database cache
Caching hasn't been implemented yet, it is there for future use.
Comment by
WanWizard
May 2011
permalink
ORM inserts with relationships
For me it's not entirely clear what you mean by 'passed from the lists table to the related one on insert'. Could you show some code to illustrate this?
Comment by
WanWizard
May 2011
permalink
Simple query builder question
The query builder escapes all values passed.
Comment by
WanWizard
May 2011
permalink
order_by random?
The query builder's identifier quote method can't deal with functions without parameters (it identifies a function by looking for a double quote, not by brackets). I suggest you'll report this as an issue https://github.com/fuel/core…
Comment by
WanWizard
May 2011
permalink
More Comments
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
About
Username
WanWizard
Joined
January 2011
Visits
2,389
Last Active
12:50PM
Roles
Administrator