>I try to figure out what the best option is to escape my data. I have an UTF-8
>website so actually it's fine to work with the original
characters (and no need for htmlentities() or
>htmlspecialchars()).
I'm going to assume you just worded that badly because otherwise there are red
flags expl
A plugin would be nice because it's one of those things that you just set up
once and forget about. Another option would be to use a view helper, but you
have to remember to call it for each one of your headers:
headerTag('I am an H1', 1) ?>
I use a plugin on my website that doesn't quite do wha
Maybe you should go with an action controller helper that checks the request
and, if not SSL, redirects the user to the same page but with HTTPS.
You can then invoke your custom helper from within any controller that needs
it, probably something like this:
public function preDispatch()
{
$thi
You shouldn't have to call stripslashes on data coming out of the database,
unless you somehow double-escaped it when being inserted. To be sure, your
SQL query should look something like this (in MySQL):
INSERT INTO table SET lastname = 'O\'Reilly';
If you accidentally are double-escaping, your
Hi all,
I try to figure out what the best option is to escape my data. I have an
UTF-8 website so actually it's fine to work with the original characters
(and no need for htmlentities() or htmlspecialchars()). Nevertheless all my
data comes from a database and the data is inserted with all quotes e
Currently i have them setup like the following:
project
application
public
admin
index.php
www
index.php
blog
index.php
each index.php has its own bootstrapper which defines its own
application bootstrap class, and possibly use
Hi!
I'm searching for a solution to implement SSL redirection within Zend
Framework applications.
I've already found this posting:
http://www.mail-archive.com/fw-general@lists.zend.com/msg10878.html
but wondered if someone has a solution for controlling the SSL
enforcement on a per controll
I would like to integrate dynamic text replacement into one of my web sites.
Here is an article about it on A List Apart:
http://www.alistapart.com/articles/dynatext/
Basically it will dynamically replace tags with an image in the font I
have chosen. What do you readers suggest I encapsulate thi
jörg,
You can create your own view helper. Check out this article
http://devzone.zend.com/article/3412
Shaun
On Fri, Feb 19, 2010 at 3:35 PM, pankraz wrote:
>
> hi,
>
> i (zf newbie) am trying to implement an own view helper for my radio
> buttons.
>
> my problem: i am not able to integrat
hi,
i (zf newbie) am trying to implement an own view helper for my radio
buttons.
my problem: i am not able to integrate it in my form.
my question: how/where do i overwrite the standard viewhelper ("FormRadio")?
regards
jörg
--
View this message in context:
http://n4.nabble.com/Custom-view
They look like 3 distinctly different sites so why not use different
public roots? I am currently working on a site with a .com and .com.au
domain where aside from some locale and some translation between us/uk
english (like color vs colour) the sites are the same so I use the
same document root. I
I am getting a 200 / empty page. In response to monkeboy, I get this
at work and from home (2 different ISPs) so I don't think that it is a
problem on my end. And neither my home nor office network has changed
in the last few weeks just prior to this problem popping up.
Mark
On Fri, Feb 19, 201
Similar to the question asked earlier to subdomains... does it always
make sense to have all entries into an application be from within the
public folder?
An example of this would be a site with 3 subdomains - www.mydomain.com,
admin.mydomain.com, and blog.mydomain.com.
I think it make sense
No, because Zend_Locale forces you to use a cache.
You can select the overhead from loading locale infos by the time the cache
is active.
Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com
- Original Message -
From: "keith Pope"
To: "Zend Framewo
I will be adding some logging to the site to see what the problem could
be, are you just getting a 200 / empty page? or is it a 404 or 500 error?
-ralph
Jason Austin wrote:
I, too, am experiencing similar issues on ff3.6 on osx. It seems to
have only happened since the commenting system was p
Hi,
I am working on an application that allows the user to input text in
many languages, I was thinking of using Zend_Locale inside my Language
objects so I could easily get left-to-right info etc, however would
this be a large overhead having many locale objects instantiated all
using different l
By the way, some Apache configurations already include the REQUEST_MICROTIME
parameter
Errr... I mean, REQUEST_TIME.
Regards,
- Nicolas
Nicolas Grevet wrote:
[...] but a simple timer could be build as a
Zend_Controller_Plugin where in the routeStartup() you set a parameter
to the value of mi
[...] but a simple timer could be build as a
Zend_Controller_Plugin where in the routeStartup() you set a parameter
to the value of microtime and then at the end of your layout, subtract
the value from routeStartup() from the current value of microtime().
Yeah, except that the routeStartup() is
Hi All,
Wondering if anyone has seen this (I know the article itself is related to
PHPIDS, but includes ZF):
https://www.sektioneins.de/en/advisories/advisory-022009-phpids-unserialize-
vulnerability/index.html
It highlights some possible exploitable flaws in Zend_Log and
Zend_Log_Writer_Mail d
If you're looking to detect slow database queries so that you know
where to target further profiling efforts, you should probably start
by looking Zend_Db_Profiler. It will allow you to time each query and
optionally filter the results so you only display those that pass a
specified time threshold
You will also probably need to enable wild card sub-domains? no?
Thanks
Dan
On 19 February 2010 14:23, Rob Keplin wrote:
> I would look into Zend_Controller_Router_Route_Hostname for this:
> http://framework.zend.com/manual/en/zend.controller.router.html#zend.controller.router.routes.hostna
I would look into Zend_Controller_Router_Route_Hostname for this:
http://framework.zend.com/manual/en/zend.controller.router.html#zend.controller.router.routes.hostname
This way, you can route the page to a specific controller/action when a
subdomain is present, and retrieve what language they
Hello,
Can you show your index.php?
2010/2/19 Laurens van Vliet :
> I have a website that I made with ZF and it is running on a server. Because
> I want this website to be multilanguage, I made some subdomains for the
> different languages on the webserver.
> Lets say the site is running now on
I have a website that I made with ZF and it is running on a server. Because I
want this website to be multilanguage, I made some subdomains for the different
languages on the webserver.
Lets say the site is running now on en.mywebsite.com. In this directory all the
application code, data and lib
I guess this was the interesting part:
In terms of the general use cases [...] you will see no discernible difference.
Regards,
- Nicolas
Саша Стаменковић wrote:
So, which one is better in terms of performances?
Regards,
Saša Stamenković
On Thu, Feb 18, 2010 at 7:37 PM, Ralph Schindler
25 matches
Mail list logo