2007/1/30, speedy <[EMAIL PROTECTED]>:
Hello PHP crew,
As a followup to:
http://bugs.php.net/bug.php?id=22879
That's not a bug, just an user doing things the wrong way and blaming the
language.
I've stumbled upon this problem in a way:
function f()
{
global $arr;
foreach($arr as $
2007/1/30, speedy <[EMAIL PROTECTED]>:
Hello Martin,
> Tuesday, January 30, 2007, 8:45:50 PM, you wrote:
>
> function f()
> {
>global $arr;
>
>foreach($arr as $k=>$v) {
>$v->do_something();
>}
> }
>
> I don't see y
If you want to do it in one regular expression, without listing each case,
you can use a lookahead assertion:
/^(?=.*8.*)[0-9]{4}$/
The assertion (?=.*8.*) checks that the following matches the expression
contained (.*8.*) which fails if there is not an 8.
2007/2/9, Peter Lauri <[EMAIL PROTECTE
2007/2/9, Martin Alterisio <[EMAIL PROTECTED]>:
If you want to do it in one regular expression, without listing each case,
you can use a lookahead assertion:
/^(?=.*8.*)[0-9]{4}$/
The assertion (?=.*8.*) checks that the following matches the expression
contained (.*8.*) which fails if t
barophobia escribió:
Hi!
I was thinking about asking for recommendations for a lightweight database
class. But I realized I hadn't thought much about what my requirements are
so I decided instead to ask the list to critique my own class. I don't need
anything as robust as ADOdb and I always use
On Thu, 15 Feb 2007, Ashish Rizal wrote:
You need to put a session_commit(); here, so session gets writen.
header("Location: $adminAddress");
exit();
}
--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18
-
Lic. M
it to an HTML file.
The advantages are that it doesn't have to query database and generate
the HTML code again, but my question is: Is it good approach? Shouldn't
we optimize database instead of restoring the data on harddrive?
Thank you for ideas,
Martin Zvarik
--
PHP General Ma
Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-Original Message-
From: Martin Zvarík [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 25, 2007 12:50 PM
To: php-general@lists.php.net
Subject: [PHP] PHP+MySQL website cache
I did a benchmark with and without caching to HTML file and it's like:
0.0031 sec (with) and 0.0160 sec (with database)
I know these miliseconds don't matter, but it will have significant
contribution in high-traffic website, won't it?
Martin
--
PHP General Mailing List (htt
in 300 files, can I?). So I decided to put the cache
in database table - For each URL Name (news/, products/ etc) a Cache
(which will be an array of all HTML blocks).
Martin
[EMAIL PROTECTED] napsal(a):
Quoting Martin Zvarík <[EMAIL PROTECTED]>:
I did a benchmark with and without c
Difference: You don't call file as http://www.myweb.com/ but instead you
use the path like c:\some.txt or ../some.txt etc.
PHP 5
=
echo file_get_contents("some.txt");
PHP 4
=
$fp = fopen("some.txt", "r");
echo fread($fp, filesize ("some.txt"));
fclose($fp);
Another solution
Is it posible to run apache with PHP4 and PHP5 on different virtual
domains?
--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18
-
Lic. Martín Marqués | SELECT 'mmarques' ||
Centro de Telemática|
e many HTML parsers out there if you
want to do more complex stuff.
Martin
---
M5 napsal(a):
I am trying to write a regex function to extract the readable (visible,
screen-rendered) portion of any web page. Specifically, I only want the
text between the tags, excluding any
steve wrote:
As a newbie, is storing an image in a dB a "good" thing or a "bad" thing?
I tend to go with "depends". We actually store files in a DB in
development, as those machines are separate from the grid. Since some
are windows, linux, and MacOS, it is far easier to store in a DB than
ha
Alain Roger wrote:
Hi,
It's amazing that my previous post has raised so much consideration about
the fact to store or not pictures into DB.
It was nice, wasn't it? :-D
However, none of those posts answered to my question... How can i retrieve
and display those pictures to my PHP pages ?
??
Robert Cummings escribió:
On Sat, 2007-03-03 at 11:02 +0100, Alain Roger wrote:
I know how to do that for 1 picture. But i want to display the pictures as
thumbnail... so several pictures on the same PHP pages, with some texts.
therefore, your solution does not correspond to what i need.
You n
On Sat, 3 Mar 2007, steve wrote:
Also, when you hit the 1024 image limit you have to think about
directory schema to store the images, as the linux filesystem (and also
on other 32 bit systems) will start getting slow, until things like ls
will just give you an error.
We have a system (I didn't
Robert Cummings escribió:
On Mon, 2007-03-05 at 14:48 -0500, markw@mohawksoft.com wrote:
Yea, and 1+1 = what ever the engineer or the business requirements want it
to be, right?
Once again it depends. What base are we working in? Are we working in
some kind of odd algebraic space? 1+1 only eq
Tijnema ! escribió:
On 3/7/07, Bruce Gilbert <[EMAIL PROTECTED]> wrote:
I just need to add code to print something different, say "foo" if the
output is a multiple of 5 or 10 for example. How do I go about doing
this?
I've seen that question a lot, what i use is fairly simple
if( intval($numb
Don Don escribió:
Hi all, i am building a system using php and am trying to separate the html
codes from the php codes (i.e. placing them in separate files), I am from the
java struts/spring background and seem to be finding it difficult doing that at
the moment with php.
I've got a regi
2007/3/10, Dave Goodchild <[EMAIL PROTECTED]>:
Hi guys, I have just read 'Programming PHP' (O'Reilly) and although I
think
it's a great book, I am confused about variable variables and references -
not the mechanics, just where you would use them.
The subject of variable variables is explained
Tijnema ! wrote:
Hi,
Is there any way i can limit the transfer speed when using CURL?
I'm uploading a file to a server, and i don't want the script to f***
up all
bandwidth.
man renice
P.D.: This is not a PHP question.
--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37,
tedd escribió:
At 8:14 AM +0800 3/12/07, [EMAIL PROTECTED] wrote:
Dear All,
What different between 4 and 5 ?
Edward.
1
No! -1 :-D
Unless we are talkaing about absolute difference (distance between).
--
select 'mmarques' || '@' || 'unl.edu.ar' AS email;
--
Robert Cummings escribió:
On Mon, 2007-03-12 at 10:21 +0200, Haydar Tuna wrote:
Hello,
Most important change is Object Oriented Features. PHP 5 support
Object Oriented programming features.
I think you mean supports "more" OOP features. PHP4 had plenty of OOP
support also.
But it wa
Robert Cummings escribió:
On Mon, 2007-03-12 at 14:18 -0300, Martin Marques wrote:
But it was quite crappy.
Don't blame the tool. I've never had a problem with the amount of OOP
support in PHP4.
That's just taste. I started feeling very comfortable when I got to us
Vieri escribió:
Hi
The following code:
Change here:
echo "A = " . (int)$a;
--
select 'mmarques' || '@' || 'unl.edu.ar' AS email;
-
Martín Marqués | Programador, DBA
Centro de Telemática| Administrador
bruce escribió:
Hi...
I know this is off topic.. I'm looking for a good Ajax Mailing list for Ajax
discussions. I've seen a few via google, but not alot of traffic.
Best I know of are the Mozilla JavaScript and DOM mailling lists.
There's an AJAX list, but I mainly use the JS one:
https://l
Dani Dws escribió:
I just want to know if the mail function works from a localhost (local
server)?
I've checked my php.ini all the setting are right but the mail function
is not sending any mail, any idea?
How are you using it?
--
select 'mmarques' || '@' || 'unl.edu.ar' AS email;
-
On Sat, 17 Mar 2007, Wasantha De Silva wrote:
Dear all,
I want get a help from you for some php codes.
Use google. There is plenty of code out there.
--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18
-
Lic. Martí
On Mon, 19 Mar 2007, Richard Lynch wrote:
The MySQL developers spent a zillion hours making the LAST_INSERT_ID()
function be tied to YOUR database connection.
You get *your* LAST_INSERT_ID(), not some random one from some other
database connection.
That's why http://php.net/mysql_insert_id ta
2007/3/20, Jochem Maas <[EMAIL PROTECTED]>:
Robert Cummings wrote:
> On Tue, 2007-03-20 at 11:52 +0100, Jochem Maas wrote:
>> ok, I tried it in a whole number of variations -
>> no joy.
>>
>> you should use php5 if you want this kind of reference
>> stuff - in php5 it just works, php 4 will give
2007/3/23, Jochem Maas <[EMAIL PROTECTED]>:
Martin Alterisio wrote:
> 2007/3/20, Jochem Maas <[EMAIL PROTECTED] >:
>
> Robert Cummings wrote:
> > On Tue, 2007-03-20 at 11:52 +0100, Jochem Maas wrote:
> >> ok, I tried it in a whole nu
On Tue, 27 Mar 2007, Mario Guenterberg wrote:
Hi...
I try to connect in the last hours and the results are timeouts.
Excelent connection here.
--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18
-
Lic. Martín Marqué
On 4/3/07, clive <[EMAIL PROTECTED]> wrote:
> Does anyone knows any IDE for PHP like VisualStudio.net?
Second the use of eclipse. Look at easyeclipse.org - they have all the
necessary plug-ins and add-ons in easy an easy to install package. Packages
available for Linux, Mac and Windows. Incl
2007/4/4, James Tu <[EMAIL PROTECTED]>:
I've cross posted this to the MySQL list...
Here's my original post.
> Is there some quick way to do the following in MySQL? (I know I
> can use PHP to search through the result set, but I wanted to see
> if there's a quick way using some sort of query)
I have a dilemma on a design where I humbly ask your help. I'm working on
the model part of a web application (not to be understood in the "web2.0"
way, but in a more general way, where anything mounted on HTTP is a web
application) done in PHP5 following the MVC design pattern. But the strong
poi
2007/4/8, Paul Novitski <[EMAIL PROTECTED]>:
At 4/7/2007 09:49 AM, Martin Alterisio wrote:
>The solution I presented is to access, and act upon, a database as if
they
>were PHP arrays, meaning that a table is presented as an array of
records.
This implies to me that you'll
Ólafur Waage escribió:
Lets say i have a login system. This system authenticates the user via
mysql, when the user is authenticated, i set a session variable to let the
system know the user is authenticated. ie. $_SESSION["authenticated"] =
true;
Lets also say i know that's how the system works,
Ben Liu escribió:
What's the prescribed method for redirecting a user forcibly to from the
non-SSL secured version of a page to the SSL-secured version? Is this
handled at the web server level or at the script level. I found this by
googling:
This should be done with the rewrite instruction o
Tijnema ! escribió:
On 4/9/07, Martin Marques wrote:
Yes:
Don't use transparent session id, or even better, save the
authentication in a cookie on the client (seperated from the session
array).
And then the user would crack the cookie
I know they are encrypted, but trust me, co
2007/4/9, Lester Caine <[EMAIL PROTECTED]>:
Martin Alterisio wrote:
> I have a dilemma on a design where I humbly ask your help. I'm working
on
> the model part of a web application (not to be understood in the "web2.0
"
> way, but in a more general way, where any
Tijnema ! escribió:
On 4/9/07, Martin Marques wrote:
So what? The user authenticated himself, so what is he gonna crack?
Yes, but i guess you're not only storing if the user has
authenticated, also storing a username?
And if that's not the case, then you could authenticate by
Davi escribió:
Sessions are stored in the temporary's server folder... So... If I known my
session ID and where it's stored, I can do something...
Have you tried it? I mean, as a non-root, non-apache user. :-P
--
select 'mmarques' || '@' || 'unl.edu.ar' AS email;
-
Tijnema ! escribió:
Who said firefox is legal? :P
I believe that what firefox can do is limited, some things that are
illegal are not possible. I don't know exactly what's illegal, i
searched for it a few years ago, and that's what i found then.
Explain how it would be illegal to modify cooki
Stut escribió:
As with most things these days it probably breaches the DMCA. But
frankly speaking, if doing that works then the developers of the
application, and by extension the company, deserve everything they get.
DMCA is a real piece of crap.
--
select 'mmarques' || '@' || 'unl.edu.ar' A
2007/4/9, Tony Marston <[EMAIL PROTECTED]>:
""Martin Alterisio"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>I have a dilemma on a design where I humbly ask your help. I'm working on
> the model part of a web application (not to be
2007/4/10, Richard Lynch <[EMAIL PROTECTED]>:
On Sat, April 7, 2007 11:49 am, Martin Alterisio wrote:
> The solution I presented is to access, and act upon, a database as if
> they
> were PHP arrays, meaning that a table is presented as an array of
> records.
I don't
2007/4/11, Roman Neuhauser <[EMAIL PROTECTED]>:
# [EMAIL PROTECTED] / 2007-04-09 19:45:41 -0300:
> Thanks but that's not what I'm looking for. As I said before, my problem
> isn't to find an implementation of an ORM, but that the concept I'm
working
> on will use a very restricted API (array ope
Greg Donald escribió:
On 5/9/07, bruce <[EMAIL PROTECTED]> wrote:
from my reading.. i thought yahoo's user interface (yui) components where
for interfacing with yahoo am i missing something here??
Yes. :)
The Yahoo! User Interface (YUI) Library is a set of utilities and
controls, written
Brad Sumrall wrote:
I got 5 IP breaking Federal Regulations.
Hehehehe
Do you think you are not being logged?
Yeah, and I bet those IP are from Kathmandu. :-D
--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18
-
L
Lisa A escribió:
> Does anyone know of an image gallery I can use on multiple pages of a
> website. I'd like to be able to click on the thumbnails and see a larger
> image.
> Hopefully something simple and easy to install.
gallery2
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
2007/11/21, Simeon F. Willbanks <[EMAIL PROTECTED]>:
>
> Hello,
>
> I am trying to increase my knowledge and understanding of OO and OO
> Design Patterns. I'd like to request a critique of a program that
> extracts MySQL table information and translates it into XML. In the
> program, I tried to a
2007/12/1, Christoph Boget <[EMAIL PROTECTED]>:
>
> Why does
>
> sprintf( '%.03f', 0.1525 )
>
> return 0.152 while
>
> sprintf( '%.03f', 0.1575 )
>
> return 0.158?
>
Welcome to the world of f floating point numbers. Discrete mathematics,
leave all hope, ye that enter.
It's the way fl
2007/12/2, tedd <[EMAIL PROTECTED]>:
>
>
> To me, good structure starts at the function level. Like the lattice
> of a crystal, coding grows and reflects the most basic element. Keep
> that element consistent and you'll find that it will be reflected in
> everything you do.
>
> How's that for philo
2007/12/2, tedd <[EMAIL PROTECTED]>:
>
> Oh yes, it's very much like fractals, but the term "fractalism" is
> usually reserved for art forms based on fractals.
>
> However, one could conclude that all crystalline forms are a
> "real-world" examples of fractals. In similar vein, all repetitive
> pro
2007/12/4, Kevin Schmeichel <[EMAIL PROTECTED]>:
>
> Here's some unexpected behavior:
>
> // ?> what?
> ?>
>
> This will output "what?" - I expected no output, as is the case if the
> inline comment was a /* */ comment. Is this a bug?
>
Expected behavior. Read the manual:
http://php.net/manual/
It's not supposed to be practical, it's just a way to handle errors. You
shouldn't rely on try/catch for algorithm implementation.
You create exceptions for errors and unexpected behavior. Then in some other
part of the system you use try/catch to prevent the code from terminating
abruptly. You ca
Please let me do a little explanation of the title first. Japanese is an
interesting language where context is vital to the meaning of a word.
Sayonara usually means a simple "good bye", but within a different context
can mean "we'll probably never meet again".
To understand this mail you'll have
"I liked the php
development market because it was safe, but now I doubt its safety".
That's all. I don't think that rant may be of use to anyone, but at least it
felt nice to let go of some steam.
Best Regards and Happy New Year,
Martin Alterisio
he future (... ok, that was kind of The
> Godfather's script, lol).
>
> Enjoy your holidays,
>
> Rob
>
We'll see... for now I'll follow the stupid decision of finally doing what I
intended when I began this whole dance of software development. I hoping
with all my heart that this will go well and I'll never have to work in web
development again. If not, well, I'll come back to whatever it's that's
being used in that specific moment, be it PHP or whatever may come.
Just know that I'm not leaving for some petty reason. And I really hope that
someone else could find anything sensible in the things I posted in the
first mail, and keep on building on top of them.
Best Regards and Happy New Year,
Martin Alterisio
2007/12/31, Richard Lynch <[EMAIL PROTECTED]>:
>
> On Sun, December 23, 2007 3:50 pm, Martin Alterisio wrote:
> > It's not supposed to be practical, it's just a way to handle errors.
> > You
> > shouldn't rely on try/catch for algorithm implementation.
Hello,
the problem is in this part of code $key -> $value
This notation means that you are trying to access property $value on the
object $key.
Just replace it with $key => $value and you will get the result as expected.
Martin J
jekillen wrote / napísal(a):
Hello;
I have this sect
I got an update from tzdata on a Debian server due to a daylight saving
change here in Argentina.
The problem is that, even when the system sees the correct time, php
keeps giving me the *old* hour.
$ date
mié feb 6 09:03:57 ARST 2008
$ echo ""|php5
08:04
What can my problem be?
BTW, I di
Nathan Nobbe escribió:
On Feb 6, 2008 6:13 AM, Martin Marques <[EMAIL PROTECTED]> wrote:
I got an update from tzdata on a Debian server due to a daylight saving
change here in Argentina.
The problem is that, even when the system sees the correct time, php
keeps giving me the *old
Nathan Nobbe escribió:
On Feb 6, 2008 12:13 PM, Martin Marques <[EMAIL PROTECTED]> wrote:
see what you have as the value for the date.timezone ini setting.
I've already checked that, and it's not set.
then you should probly set it ;)
It has the right TZ set. I
Richard escribió:
Hello, I don't know if this is possible with PHP alone but this is what
I'm trying to do :
My script would check say for example 10 or 20 different http:// site
addresses and collect some text from each page.
My problem is that it takes quite a long time to query so many si
Jochem Maas escribió:
Martin Marques schreef:
Nathan Nobbe escribió:
On Feb 6, 2008 6:13 AM, Martin Marques <[EMAIL PROTECTED]>
wrote:
I got an update from tzdata on a Debian server due to a daylight saving
change here in Argentina.
I doubt that debian stable is pushing newer versi
Pastor Steve escribió:
Greetings,
I am getting an error when I am trying to upload a PDF file through a
script.
When I do a print_r($_FILES) I get the following:
Array
(
[userfile] => Array
(
[name] => document.pdf
[type] =>
[tmp_name] =>
pt onto the production server, running
php5 on RH4, it finnished without problems.
To be honest, I don't even have an idea where the problem can be. I
would be very thankful for any suggestions.
thank you
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I might have not read your post thorougly,
but it's important to know, that Header sends a HTTP request to the
browser - you are not hiding the destination URL.
So, calling header("location: in PHP is basically same as redirect using JS.
Martin
Zoran Bogdanov napsal(a):
Hi,
I
Joe napsal(a):
Is it possible to use a PHP operator as a callback? Suppose I want to add two
arrays elementwise, I want to be able to do something like this:
array_map('+', $array1, $array2)
but this doesn't work as "+" is an operator and not a function.
I can use the BC library's math function
dr() = Internet host name for?
When IP changes the hostname does too and vice-versa?
What's the difference between these two values?
And why do I need both of them?
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
pos() each one?
The basic browsers for Win, Mac, and Linux - others would be unknown.
And then only to check for OS.
I tryed get_browser() but that thing is way too slow for my needs: 0.09 sec.
Thanks in advance,
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
Martin Zvarík napsal(a):
Hello,
anyone has a good function for getting a user's browser, OS and crawler
detection ?
I have looked at google etc, but I ran only into long list of
ineffective ereg()s functions or not checking if it's crawler...
Is it possible to make an array lis
It works as expected on my PHP 5.2.4
LKSunny napsal(a):
";
}
//i don't know why, when run this code, on 91.3 after expect is 91.2,
however..91.2001
//who can help me ? and tell me why ?
//Thank You.
?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
e! Hey,
the chance of getting me hit by bus is higher than someone cracking my
15 letter password with numbers! Thank you powweb for keeping me secure.
Thanks for reading my story,
now, does someone know a better hosting alternative?
Martin
--
PHP General Mailing List (http://www.php.net
That's an awful looking website, but thanks for reply.
I am looking for rather a US hosting company.
Andrew Williams napsal(a):
go to www.willandy.co.uk <http://www.willandy.co.uk> best value for money
On Sat, Jan 24, 2009 at 3:03 PM, Martin Zvarík <mailto:mzva...@gmail.com>
I should have said in the beginning it's a small website and I am not
looking for a dedicated server.
Howewer, I decided to move to Lypha.com
Thanks for all your fruitful* comments :)
Martin
PS: PHP mailgroup rulz
*) that was in dictionary
--
PHP General Mailing List (http://www.ph
Ashley Sheridan napsal(a):
On Sat, 2009-01-24 at 10:14 +0200, Dora Elless wrote:
That's why I am sending this email only to people I know and care
about.
And they send to a mailing list. Come again?
Ash
www.ashleysheridan.co.uk
The sad thing though is that there will be always people who b
Thodoris napsal(a):
Y
In cgi i can use perl ,c etc
suppose i use perl
now how efficiency differs?
How cgi written in perl and php is differ in working in context of web
service?
other difference?.
but their differ.
On Thu, Feb 5, 2009 at 6:45 PM, Jay Blanchard
wrote:
[snip]
can any
Nathan Rixham napsal(a):
Ashley Sheridan wrote:
On Thu, 2009-02-05 at 09:44 +1100, Chris wrote:
PHP wrote:
Hi all,
I am seeking some knowledge, hopefully I explain this right.
I am wondering what you think is faster.
Say you have 1000 records from 2 different tables that you need to
get fro
path
which it should request, am I right?
If so, than it's not really secure, since the user will be able to test
and try all other filenames and get somewhere I don't want him to go - I
know I might be too careful,
BUT I am interested how PROs do this.
Your comments will be app
Martin Zvarík napsal(a):
Hi,
there are two choices (example):
1) file_redirect.php?src=file/root.jpg --- shows an image
2) .htaccess --- if is requested file/root.jpg than redirect to
"xyzfile/root.jpg"
In both cases I can restrict the access to some files only.
If we talk abou
;,
$ipaddr)) {
return $clientIP = $ipaddr;
}
}
}
return $clientIP = $_SERVER['REMOTE_ADDR'];
}
I doubt you find better solution than what you use now, but let me know
if so,
Martin
Ian napsal(a):
Hi,
I am busy buil
ning on the same session. If NOT
than it would call (could be HTTP request also) a PHP script on the
windows server.
What's the deal?
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Guys, I have not seen a poll where you need to input your email address
- and if I would I would not vote - because it's a waste of my time...
if you want me to vote you do everything you can to make it as pleasant
as possible -- certainly that isn't requirement of an email validation.
Andre
tedd napsal(a):
At 1:49 AM +0100 2/19/09, Martin Zvarík wrote:
Guys, I have not seen a poll where you need to input your email
address - and if I would I would not vote - because it's a waste of
my time... if you want me to vote you do everything you can to make
it as pleasant as pos
tedd napsal(a):
At 5:10 PM +0100 2/19/09, Martin Zvarík wrote:
tedd napsal(a):
At 1:49 AM +0100 2/19/09, Martin Zvarík wrote:
Guys, I have not seen a poll where you need to input your email
address - and if I would I would not vote - because it's a waste of
my time... if you want me to
tedd napsal(a):
At 5:28 PM +0100 2/19/09, Martin Zvarík wrote:
tedd napsal(a):
At 5:10 PM +0100 2/19/09, Martin Zvarík wrote:
tedd napsal(a):
At 1:49 AM +0100 2/19/09, Martin Zvarík wrote:
Guys, I have not seen a poll where you need to input your email
address - and if I would I would not
Chris napsal(a):
Martin Zvarík wrote:
tedd napsal(a):
At 5:28 PM +0100 2/19/09, Martin Zvarík wrote:
tedd napsal(a):
At 5:10 PM +0100 2/19/09, Martin Zvarík wrote:
tedd napsal(a):
At 1:49 AM +0100 2/19/09, Martin Zvarík wrote:
Guys, I have not seen a poll where you need to input your email
Chris napsal(a):
Martin Zvarík wrote:
Chris napsal(a):
Martin Zvarík wrote:
tedd napsal(a):
At 5:28 PM +0100 2/19/09, Martin Zvarík wrote:
tedd napsal(a):
At 5:10 PM +0100 2/19/09, Martin Zvarík wrote:
tedd napsal(a):
At 1:49 AM +0100 2/19/09, Martin Zvarík wrote:
Guys, I have not seen a
Ashley Sheridan napsal(a):
On Thu, 2009-02-19 at 23:34 +0100, Martin Zvarík wrote:
Chris napsal(a):
Martin Zvarík wrote:
Chris napsal(a):
Martin Zvarík wrote:
tedd napsal(a):
At 5:28 PM +0100 2/19/09, Martin Zvarík wrote:
tedd
Chris napsal(a):
Terion Miller wrote:
Need syntax help when it comes to using a timestamp.
What I'm trying to say in my query WHERE clause is to select records
if the
timestamp on the record is in the past 7 days from NOW()
$query .= " WHERE stamp < NOW()-7 "; I have no clue here on this ...
Micah Gersten napsal(a):
Martin Zvarík wrote:
Chris napsal(a):
Terion Miller wrote:
Need syntax help when it comes to using a timestamp.
What I'm trying to say in my query WHERE clause is to select records
if the
timestamp on the record is in the past 7 days from NOW()
$
nly true
template system.
Martin
Thanks for any help you can provide :)
Matt.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
7;m trying to achieve was not clear!
Why it works on your local server is probably caused by different
versions/settings, but I bet there's an error somewhere in your script.
Consider sending it here, I'll take a look.
Cheers,
Marc.
Martin
--
PHP General Mailing List (htt
t to mention the XSS on MySQL or inside comments right? Isn't
mysql_real_escape_string(), strip_tags() enough?
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jochem Maas napsal(a):
Martin Zvarík schreef:
What's the point?
If user puts in a search input something like alert('I am super
hacker');
And the website outputs:
You are searching for:
then what? it shows an alert(), who cares?
replace the alert() with some c
Michael A. Peters napsal(a):
Martin Zvarík wrote:
What's the point?
The point is detailed on the (not fully complete) description page I
just put up -
http://www.clfsrpm.net/xss/
Yeah, I just had a quick look...
"The browser will only execute script in source files from the
wh
Jan G.B. napsal(a):
2009/3/15 Martin Zvarík :
"The browser will only execute script in source files from the white-listed
domains and will disregard everything else, including embedded and inline
scripts. "
wtf, can't you just take care of the INPUT and type
strip_tags
1301 - 1400 of 1924 matches
Mail list logo