@tereško basically i am asking how would i implement an exchangeable authentication layer with out knowing the implementation details? (with exception to i specify a permission name)
i still do not know how you would protect a controller method from an unauthenticated user with out know the implementation of the authentication, and how to swap one method of username/password (mysql backed) with intranet windows/com based user logins
if use is not authenticated (aka. anonymous) then it has access to only a specific set of parts: like "login" and "change password". Unauthenticated user IS just another user
@MadaraUchiha I usually have no idea where to begin. With essentials like basic understanding of HTTP missing...why even bother explaining anything? You can't always start from scratch...
if use is not authenticated (aka. anonymous) then it has access to only a specific set of parts: like "login" and "change password". Unauthenticated user IS just another user
Hell, I tried logging in as a different user an receive : Notice: Undefined index: admin_menu ' and know I can't find that admin_menu variable back :-( argh
Anyone knows why the admin_menu alwyas gets triggerd? http://pastie.org/private/g1sneiht6zf54eozgeqrw
Well...you assigned one menu to "admin_menu" and the other to "whatever_menu". So you probably hat {$admin_menu} and {$whatever_menu} in your template somewhere. And either one of these always wan't set.
Uh. Delicious...haven't used that for ages. :D But I guess most of the old bookmarks are still nice. ;)
Currently creating a form generator system where an admin can select field he wants to use a c lient can login fill in the fileds add files create a pdf and a zip file with the files.
I would like to show him visible checkpoints. But a week ago I had to show hem also a part of it and he says 'yeah but there are still weird debug characters in it.. ' yeah fcourse there are... Im working on it. I can't show you fancy stuff if the back-end isn't ready yet.
@Duikboot My experience with most frameworks is: First steps are extremely sluggish, because you have no clue what you're doing. At some point it starts getting really productive. And some time after that you realize that the framework is either to unflexible for your needs or it's so flexible that even the easiest things take ages. ;)
It's a question of how much guidance you need. For beginners it's way too complex most of the time. For advanced users it might be the right dose of guidance to build a good application. But if you reach a certain level of understanding and have a clear idea of how something should be done...frameworks usually become a pain.
Or, as I mentioned, the framework provides so many opportunities to twist it the way you want to, that you start asking yourself why you use it at all. :D
I guess so. I know many people who have a fix set of libraries they use for their applications, but usually write everything else from scratch...or reuse something from an older project, because they know it worked there.
You can get the extension for Windows at
http://downloads.php.net/pierre/
It's one of the php_http-5.3-*-x86.zip files. Check which PHP you have installed and pick the right one, e.g. my PHP is a php-5.3.6-nts-Win32-VC9-x86, so I needed php_http-5.3-nts-svn20091125-vc9-x86.zip.
Download the ...
@Trufa as of php5.4 you can simply uses the built-in webserver and sqlite for a database. that would be more than enough environment for any small development projects
@Trufa for anything bigger you want to have a dev enviroment that's close to your actual production server. and production servers are most of the time Linux
@Trufa that's where vagrant comes in. it's supereasy to set up virtual machines with it. so instead if messing with a WAMP, you just use a linux vm. that will also save you from relying on extensions being available on windows.
I thought you could load PHP extensions via .htaccess. I recall I was able to do so under my college's web hosting, it did use suExec so would that allow it? The PHP docs say it can only be loaded via php.ini
@Gordon because I don't have time to setup a jenkins to run a matrix of 4 different PHP versions and then compatibilize it with the pull request process on GH :P
I run a jenkins, yes, but it's mainly about code quality. Travis gives me much better results for failures ;) (because of how I can expand the build matrix)
So I have four tables. Each table has a single id for the previous table id. So my in click table has an id and an id for the ad from which it came. In the ad table, it has an id for the ad and one for the campaign it's from. So here's an example.
Table4 -
id company table_id
11 hp ...
@MadaraUchiha Don't get me wrong, there's nothing wrong with dual booting. But imho it's just pretty pointless on my rig - I have 8GB RAM and Linux for development purposes, with Netbeans (which sucks up RAM) runs perfectly with 4GB given to it. And sometimes I prefer to switch to Windows, so ALT+TAB instead of reboot is better.
hi can anyone give me a solution or help me how to get only the array values that are filled in an not the 0 ones.
["test"]=> string(0) ""
["stack"]=> string(1) "0"
["over"]=> string(1) "0"
["flow"]=> string(1) "1"
["iscool"]=> string(1) "wrahefj"
I don't want to receive the ones that are NOT 0 or "";