Hello,
Do you know of any good ways to filter out javascript from html code?
I've seen this code
http://kallahar.com/smallprojects/php_xss_filter_function.php but I
found some old discussions about it saying that it wasn't really secure.
There most be some safe way to filter out xss without
Hi,
Do you guys how search engines like cookies? One site I'm working on now
requires the user to select which region he/she is from on the start
page. That value is stored in a cookie. So without cookies you can't get
past the start page. Does this leave the search engines at the start
page?
asking for injections. Turn your globals off,
use $_POST[var_name] and filter all user input.
Just my opinion, I am sure some will disagree.
Richard L. Buskirk
## Show me a man with no fear, I will point out the date on his tomb stone. ##
--
Hälsningar Emil Edeholt
Karlsson & N
Hi!
I've been trying Nessus to search for sql injections and other security
issues. I'm quite sure Nessus is missing a lot of possible sql
injections (and maybe other stuff too). Are there any other tools that I
can install on my server that searches a bit more carefully? What do you
use and
Hi!
I have a website where people can upload photos and it creates previews.
My problem is with pictures with big dimensions like 12000px height for
example where the script times out. I've seen other sites that seems do
be able to do this faster. I use gd to scale the image. Is there a
faste
Hi,
Thanks for your sugestions. I ended up using the Luhn algorithm. Simple
but I think it will work for me.
http://en.wikipedia.org/wiki/Luhn_algorithm
Emil
George Pitcher wrote:
Emil,
have you looked at the 10-digit ISBN verification, which has just been
replaced by the 13-digit EAN syst
Hi
Sorry if this is considered off topic. Please ignore the post in that case.
My site uses ten digit numbers as ID:s for our products. I would like
the last digit to be a verification/check digit. I was just about to
just make some simple function that would add the other values together
int
Hi,
I'm about to add some simple calendar functions to my application, and
I'm thinking of how I should implement recurring events. Are there one
standard way most people use that works well? I guess you have some kind
of emitter event that creates the recurring events and a group id that
hol
Hi,
Thanks for your answer. Are you sugesting - what I think is called - a
multi-master replication? Since I would like to keep two sources in sync
and want to be able to make changes on both servers. I know very little
about replication. Maybe I'm making a bigger problem of this than it
woul
nd if I've made changes on both
computers I have no simple way to merge the structures like I can in svn.
How do you handle this in your projects?
Best Regards Emil Edeholt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
I would like to render some fonts into images, for captions on a site.
What tools should I use to get the best looking render? Do you guys use
the built-in tools PHP has, or are there third party libraries that does
a better job?
Thanks!
Kind regards Emil
--
PHP General Mailing List (ht
Hi
What (preferably open source) tools are the best for unit testing php?
JUnit is not available for PHP from what I can see?
Thanks for your time!
--
Best Regards Emil Edeholt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks for your help Dave and Rob. I will start using output buffering a
lot more now.
Regards Emil
Robert Cummings wrote:
Cons of output buffering:
- tncy weency time overhead
- memory overhead since buffered content remains in memory
until flushed.
Cheers,
Rob.
-
Hi!
My php project would get a much cleaner code if I could set cookies
anywhere in the code. So I thought of output buffering. But I can't find
any articles on the cons of output buffering. I mean it most be a reason
for it being off by default?
Kind Regards Emil Edeholt
--
PHP Ge
rkill. It would be really neat with a small php library under LGPL or
BSD or similiar license.
Any ideas?
--
Regards Emil Edeholt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi!
What do you guys use to develop ajax applications and do you have any
good articles on the subject?
I've just about finished an ajaxish site but it wasn't fun. A lot of
nesting javascript inside php calls, having to write the logic both in
javascript and php and so on. The source looks u
Roman Neuhauser wrote:
That's not what I asked. Does Thunderbird tell you why it marked
something as spam? If it does, use that information. If it does not,
you're crazy for using it. Either way, your question belongs into a
Thunderbird mailing list, along with the exact full message. Full means
Are you sure? The email is very short and is something like this (but in
swedish):
Hello,
Your order is now available.
Regards Emil
Jochem Maas wrote:
it's not the script. it's the content of the email (possibly in conjunction
with 'bad' mail headers, etc)
--
Häl
e:
Surely Thunderbird provides an interface to query and modify its spam
filters? Or is it an automated email black hole without even a log file?
--
Hälsningar Emil Edeholt
Karlsson & Novak Medical AB
Telefon 090-154830
Mobil 070-3758222
E-post [EMAIL PROTECTED]
--
PHP General Mail
Hi,
When I send mail via PEARs Mail class they are sorted as spam by
Thunderbird. Do you have any ideas why? I can't figure it out.
function send_mail($to,$from,$subject,$body)
{
$recipients = $to;
$headers = array();
$headers['From']= $from;
$headers['To'] = $to;
imeout every 3 seconds to update status
7. perl file forwards the saved data to a php file, so that it can make
necessary operations on the raw data.
It works fine this way.
--Aras
--
Hälsningar Emil Edeholt
Karlsson & Novak Medical AB
Telefon 090-154830
Mobil 070-3758222
E-post [EMA
Hi
Sorry if this is considered off topic, but do you know of any code
examples/libs with a flash/php file uploader with progress bar?
I've googled for a while but the scripts I find won't work. I'm using
Firefox 2 and Flash player 9 on an intel Mac if that tells you anything?
Or should I as
Hi,
I hope this is not too off topic but I have a problem when I use mail().
When I add the header Content-Type: text/plain; charset=UTF-8 the body
of the mail is encoded fine but the subject is not encoded. I've tried
to utf8_encode() and utf8_decode() the subject text but neither helps.
An
Hi!
I'm trying to make thumbnails of uploaded jpegs via GD. It works fine on
most jpegs but doesn't seem to work on canon jpegs (tried both a
consumer canon and one of the finer DSLRs). When I resaved the canon
jpeg in my imaging application GD could handle it.
Any ideas of how to solve this
Hi again
Sorry if I was unclear what I wanted was of course what Jon Anderson
said. I wanted what was pictured in the image I posted (the look of
wrapping a canvas over a frame) with some kind of fake or simple 3d
rendering. The pear libs for doing it seems like what I was looking for,
I hope
Hi
Thanks, but what I meant with wrapping around a frame was this:
http://www.proformat.se/gfx/pic_006_kilram.jpg
Not just a normal frame around the image.
Emil
Emil:
Yes, that can be done by simply merging images (i.e., watermark). For
example:
http://xn--ovg.com/watermark
The texture i
Hi
I would like to output an image from php where an input image is
textured and wrapped around a frame. Like when you assemble a canvas on
a frame (on, not under). So I get a sort of canvas looking texture on
the image and that the edges of the image are wrapped around the sides
of the frame
Hi,
I've never used bar codes before. And now I need to print out bar codes,
and I've been told it should be in the format K39 Normal (I could have
misunderstood since I can't find that on google. Maybe Code 39 Normal?).
Any idea how to find that bar code font or what it's called? And what
sh
28 matches
Mail list logo