On Tue, Mar 3, 2009 at 12:21 PM, Kaushal Shriyan
wrote:
> On Tue, Mar 3, 2009 at 11:52 AM, Chris wrote:
>
>> Kaushal Shriyan wrote:
>>
>>> Hi,
>>>
>>> I have enabled allow_url_fopen & allow_url_include in php.ini file.
>>> is it a security issue ?
>>>
>>
>> allow_url_fopen means you can fetch pag
On Tue, Mar 3, 2009 at 11:52 AM, Chris wrote:
> Kaushal Shriyan wrote:
>
>> Hi,
>>
>> I have enabled allow_url_fopen & allow_url_include in php.ini file.
>> is it a security issue ?
>>
>
> allow_url_fopen means you can fetch pages:
>
> $page = file_get_contents('http://www.example.com');
>
> This
Kaushal Shriyan wrote:
Hi,
I have enabled allow_url_fopen & allow_url_include in php.ini file.
is it a security issue ?
allow_url_fopen means you can fetch pages:
$page = file_get_contents('http://www.example.com');
This is ok to enable - all it does is fetch the page. It does not
execute t
Hi,
I have enabled allow_url_fopen & allow_url_include in php.ini file.
is it a security issue ?
please help me understand about its implications.
Thanks and Regards
Kaushal
"Paul M Foster" wrote in message
news:20090219022913.gl18...@quillandmouse.com...
> On Wed, Feb 18, 2009 at 05:25:16PM -0600, Terion Miller wrote:
>
>
>
>> What about just accepting any date in to the system, and defaulting
>> to
>> the current date if any numptys/users try to set on
On Mon, Mar 2, 2009 at 6:36 PM, Ashley Sheridan
wrote:
> On Mon, 2009-03-02 at 09:30 -0600, Boyd, Todd M. wrote:
>> > -Original Message-
>> > From: Andrew Ballard [mailto:aball...@gmail.com]
>> > Sent: Saturday, February 28, 2009 12:05 AM
>> > To: a...@ashleysheridan.co.uk
>> > Cc: Boyd, T
On Mon, Mar 2, 2009 at 3:25 PM, Michael A. Peters wrote:
> And more and more people are using something like noscript to block it
> because XSS hacks are out of control. It is too easy to publish a website
> and too many web developers only care about their own data, they don't care
> about prote
On Mon, Mar 2, 2009 at 3:29 PM, Ashley Sheridan
wrote:
> There are a lot of free FTP Java applets out there, which you could
> easily integrate with a web page and your hosting. You'll have the
> advantage of a familiar interface, multiple uploads, queues, and
> progress bars. Worst case scenario
PJ wrote:
Well, I think 60+ checkboxes get kind of garbagy
I bet it is easier to select the fields you want from 4 columns of 15
checkboxes than from a big long list of 60 in a select.
But you might be right. I don't design for a living.
--
PHP General Mailing List (http://www.php.net/)
To
There isn't a BOTTOM, the solution looks something like this:
SELECT * FROM (SELECT TOP 10 * FROM (SELECT TOP 20 * FROM table WHERE
clause ORDER BY col) AS temp ORDER BY col DESC) as temp2 ORDER BY col
It's an awful mess, but was the only way I found to select results x to
y in a reliable mann
PJ wrote:
Michael A. Peters wrote:
PJ wrote:
Well, I think 60+ checkboxes get kind of garbagy
I bet it is easier to select the fields you want from 4 columns of 15
checkboxes than from a big long list of 60 in a select.
But you might be right. I don't design for a living.
Neither do I; it'
Shawn McKenzie wrote:
> PJ wrote:
>
>> Shawn McKenzie wrote:
>>
>>> PJ wrote:
>>>
PJ wrote:
> I'm sure this has been hashed over and over on the web, only I can't
> find anything that makes sense or the explanations given have been
> erroneous.
> Th
Michael A. Peters wrote:
> PJ wrote:
>
>> Well, I think 60+ checkboxes get kind of garbagy
>
> I bet it is easier to select the fields you want from 4 columns of 15
> checkboxes than from a big long list of 60 in a select.
>
> But you might be right. I don't design for a living.
>
Neither do I; it
On Mon, 2009-03-02 at 09:30 -0600, Boyd, Todd M. wrote:
> > -Original Message-
> > From: Andrew Ballard [mailto:aball...@gmail.com]
> > Sent: Saturday, February 28, 2009 12:05 AM
> > To: a...@ashleysheridan.co.uk
> > Cc: Boyd, Todd M.; PHP General list
> > Subject: Re: [PHP] Re: How importa
On Mon, 2009-03-02 at 15:02 -0800, mike wrote:
> Yes you can do it with only javascript but you'll need server
> components to deal with large files ... Which the OP does not have
> access to. Post and file limits could become an issue.
>
> Not to mention flash and java penetration is huge. I
PJ wrote:
> Shawn McKenzie wrote:
>> PJ wrote:
>>> PJ wrote:
I'm sure this has been hashed over and over on the web, only I can't
find anything that makes sense or the explanations given have been
erroneous.
This is what I am trying:
Choose Categories...
History
Paul M Foster wrote:
> On Mon, Mar 02, 2009 at 11:50:15AM -0500, PJ wrote:
>
>
>> I have a list of some 60 categories for a book database and am wondering
>> what would be the best approach for inserting and selecting the data.
>> My choices are to
>> (1.)simply use one field in a books table an
Anyone ever used these? I've run across them in the past when searching
and just saw them again today when I was searching for some stuff.
The vcl for php "framework" lacks any kind of good docs/tutorial and the
IDE looks like it is replicating a .net approach by using PHP/AJAX in
the vcl stuff (
Shawn McKenzie wrote:
> PJ wrote:
>> PJ wrote:
>>> I'm sure this has been hashed over and over on the web, only I can't
>>> find anything that makes sense or the explanations given have been
>>> erroneous.
>>> This is what I am trying:
>>>
>>> Choose Categories...
>>> History
>>> Temples
>>> Phara
mike wrote:
Yes you can do it with only javascript but you'll need server components
to deal with large files ... Which the OP does not have access to. Post
and file limits could become an issue.
Not to mention flash and java penetration is huge. I think flash is on
something like 96% of brow
Boyd, Todd M. wrote:
Before some of you newbies feel like being heroes and jump all over me:
I KNOW THIS IS A PHP-RELATED LIST. IF YOU DON'T LIKE MY QUESTION, DON'T
ANSWER IT.
Now that that's out of the way... I have a Javascript question (and
maybe a Browser/DOM question) for you folks. I'm no
On Mon, Mar 02, 2009 at 11:50:15AM -0500, PJ wrote:
> I have a list of some 60 categories for a book database and am wondering
> what would be the best approach for inserting and selecting the data.
> My choices are to
> (1.)simply use one field in a books table and enter the categories for
> each
Michael A. Peters wrote:
> PJ wrote:
>> I'm sure this has been hashed over and over on the web, only I can't
>> find anything that makes sense or the explanations given have been
>> erroneous.
>> This is what I am trying:
>>
>> Choose Categories...
>> History
>> Temples
>>
Yes you can do it with only javascript but you'll need server
components to deal with large files ... Which the OP does not have
access to. Post and file limits could become an issue.
Not to mention flash and java penetration is huge. I think flash is on
something like 96% of browsers now..
> -Original Message-
> From: Michael A. Peters [mailto:mpet...@mac.com]
> Sent: Monday, March 02, 2009 4:42 PM
> To: Boyd, Todd M.
> Cc: PHP General list
> Subject: Re: [PHP] Javascript question
>
> Boyd, Todd M. wrote:
> > Before some of you newbies feel like being heroes and jump all ove
That's the good thing about this, it does not require any hosting
changes. It's just text being sent via POST just like a normal form
submit, the PHP code portion just accepts the data and assembles the
file based off of it.
The Gears stuff is all client side, so it requires no server side stuff.
> -Original Message-
> From: Robert Cummings [mailto:rob...@interjinn.com]
> Sent: Monday, March 02, 2009 4:18 PM
> To: Boyd, Todd M.
> Cc: PHP General list
> Subject: Re: [PHP] Javascript question
>
> On Mon, 2009-03-02 at 16:11 -0600, Boyd, Todd M. wrote:
> > Before some of you newbies f
On Mon, 2009-03-02 at 16:11 -0600, Boyd, Todd M. wrote:
> Before some of you newbies feel like being heroes and jump all over me:
>
> I KNOW THIS IS A PHP-RELATED LIST. IF YOU DON'T LIKE MY QUESTION, DON'T
> ANSWER IT.
>
> Now that that's out of the way... I have a Javascript question (and
> mayb
On Mon, 2009-03-02 at 22:30 +0100, Jochem Maas wrote:
> Robert Cummings schreef:
> > On Thu, 2009-02-26 at 15:50 +0100, Ondrej Kulaty wrote:
> >> Your answer is neither relevant nor funny. :-|
> >
> > It was very relevant. You cannot easily ascertain the time at which a
> > particular line of scri
Before some of you newbies feel like being heroes and jump all over me:
I KNOW THIS IS A PHP-RELATED LIST. IF YOU DON'T LIKE MY QUESTION, DON'T
ANSWER IT.
Now that that's out of the way... I have a Javascript question (and
maybe a Browser/DOM question) for you folks. I'm not sure this is
anything
> -Original Message-
> From: Shawn McKenzie [mailto:nos...@mckenzies.net]
> Sent: Monday, March 02, 2009 3:41 PM
> To: php-general@lists.php.net
> Subject: Re: [PHP] retrieve multiple select
>
> Shawn McKenzie wrote:
> > Michael A. Peters wrote:
> >> PJ wrote:
> >>> I'm sure this has been
Nitsan Bin-Nun wrote:
> I have just been wondering for the 20 zillion time why does people always
> stick together "20" and "zillion"? you can't just use "zillion times"? is
> that not enough for you?
Actually, instead of 20 zillion I would say 2 bazillion, or .2
gazillion. Now if I really wanted
Shawn McKenzie wrote:
> Michael A. Peters wrote:
>> PJ wrote:
>>> I'm sure this has been hashed over and over on the web, only I can't
>>> find anything that makes sense or the explanations given have been
>>> erroneous.
>>> This is what I am trying:
>>>
>>> Choose Categories...
>>> Hi
Wait, wait, wait... I know SQL Server doesn't have "LIMIT", but haven't you guys ever
used "TOP"? As in...
select top 10 * from some_table where some_column = 'some_value';
FWIW you have to do a similar thing in oracle.
select * from table where rownum <= 5; <-- get 5 rows.
to use a limit
Nitsan Bin-Nun wrote:
I have just been wondering for the 20 zillion time why does people
always stick together "20" and "zillion"? you can't just use "zillion
times"? is that not enough for you?
My server can handle 19 zillion multiple submits.
;)
--
PHP General Mailing List (http://www.php.
Robert Cummings schreef:
> On Thu, 2009-02-26 at 15:50 +0100, Ondrej Kulaty wrote:
>> Your answer is neither relevant nor funny. :-|
>
> It was very relevant. You cannot easily ascertain the time at which a
> particular line of script is processed. You especially cannot ascertain
> the specific ti
Michael A. Peters wrote:
> PJ wrote:
>> I'm sure this has been hashed over and over on the web, only I can't
>> find anything that makes sense or the explanations given have been
>> erroneous.
>> This is what I am trying:
>>
>> Choose Categories...
>> History
>> Temples
>>
PJ wrote:
> PJ wrote:
>> I'm sure this has been hashed over and over on the web, only I can't
>> find anything that makes sense or the explanations given have been
>> erroneous.
>> This is what I am trying:
>>
>> Choose Categories...
>> History
>> Temples
>> Pharaohs an
Shawn McKenzie wrote:
> PJ wrote:
>
>> I'm sure this has been hashed over and over on the web, only I can't
>> find anything that makes sense or the explanations given have been
>> erroneous.
>> This is what I am trying:
>>
>> Choose Categories...
>> History
>> Temples
>>
PJ wrote:
I'm sure this has been hashed over and over on the web, only I can't
find anything that makes sense or the explanations given have been
erroneous.
This is what I am trying:
Choose Categories...
History
Temples
Pharaohs and Queens
Cleopatra
Mu
Shawn McKenzie wrote:
> PJ wrote:
>> I'm sure this has been hashed over and over on the web, only I can't
>> find anything that makes sense or the explanations given have been
>> erroneous.
>> This is what I am trying:
>>
>> Choose Categories...
>> History
>> Temples
>>
PJ wrote:
> I'm sure this has been hashed over and over on the web, only I can't
> find anything that makes sense or the explanations given have been
> erroneous.
> This is what I am trying:
>
> Choose Categories...
> History
> Temples
> Pharaohs and Queens
> Cl
PJ wrote:
> I'm sure this has been hashed over and over on the web, only I can't
> find anything that makes sense or the explanations given have been
> erroneous.
> This is what I am trying:
>
> Choose Categories...
> History
> Temples
> Pharaohs and Queens
> Cl
Gevorg Harutyunyan wrote:
Hi Michael,
Thanks for info.
I use shared hosting and reason that they don't allow that extension is
that uploadprogress is still in beta.
I tried both apc and uploadprogress on my local PC and solutions that
they provide are very good for me.
I will be happy to cha
I'm sure this has been hashed over and over on the web, only I can't
find anything that makes sense or the explanations given have been
erroneous.
This is what I am trying:
Choose Categories...
History
Temples
Pharaohs and Queens
Cleopatra
Mummies
f
Hi Michael,
Thanks for info.
I use shared hosting and reason that they don't allow that extension is that
uploadprogress is still in beta.
I tried both apc and uploadprogress on my local PC and solutions that they
provide are very good for me.
I will be happy to change hosting provider and if you
On Monday 02 March 2009 20:50:56 Sancar Saran wrote:
> Hello list.
>
> I'm trying to implement someting on OO way.
>
> I got 2 classes
>
> class a {
> var $config = array();
> var $b = '';
>
> function __construct {
>$this->b = new b($this->config);
> }
>
> }
>
> class b {
> var $conf
I have just been wondering for the 20 zillion time why does people always
stick together "20" and "zillion"? you can't just use "zillion times"? is
that not enough for you?
On Mon, Mar 2, 2009 at 10:26 PM, Michael A. Peters wrote:
> mike wrote:
>
>> On Mon, Mar 2, 2009 at 7:45 AM, Boyd, Todd M.
mike wrote:
On Mon, Mar 2, 2009 at 7:45 AM, Boyd, Todd M. wrote:
Gears will allow you to do a lot of things. So will site-proprietary Firefox
extensions that go well outside the realm of basic client-server interaction
via webpages. I was under the impression that Gears requires a local
ins
one thing to note is the php-apc upload progress won't scale past one
server as far as i know.
if you have multiple webservers you'll be stuck.
you'd need some sort of ajax thing to actually check how many bytes
the file has written to, for example.
you also need to know how large the file is, w
Yeah, that's definitely true. I've just been bitten too many times by
a design that ended up being not flexible enough. :)
Waynn
On 2/28/09, Ashley Sheridan wrote:
> On Sat, 2009-02-28 at 16:08 -0800, Waynn Lue wrote:
>> Plus, last time I checked, adding an enum required a full rebuild of
>> the
Gevorg Harutyunyan wrote:
Hi guys
I need to create file upload progress bar using PHP and AJAX. I found two
Pecl extensions that support that may be used: "uploadprogress" and
"php-apc".
I asked my shared hosting provider to add that extensions, but my request
was declined, because "uploadprogre
> -Original Message-
> From: mike [mailto:mike...@gmail.com]
> Sent: Monday, March 02, 2009 12:59 PM
> To: Boyd, Todd M.
> Cc: PHP General list
> Subject: Re: [PHP] upload progress (was www.soongy.com)
>
> On Mon, Mar 2, 2009 at 7:45 AM, Boyd, Todd M. wrote:
>
> > Gears will allow you to
On Mon, Mar 2, 2009 at 7:45 AM, Boyd, Todd M. wrote:
> Gears will allow you to do a lot of things. So will site-proprietary Firefox
> extensions that go well outside the realm of basic client-server interaction
> via webpages. I was under the impression that Gears requires a local
> installati
Hello list.
I'm trying to implement someting on OO way.
I got 2 classes
class a {
var $config = array();
var $b = '';
function __construct {
$this->b = new b($this->config);
}
}
class b {
var $config = array();
function foo() {
switch($this->config['bar']) {
}
}
}
Andrew Ballard wrote:
> On Mon, Mar 2, 2009 at 11:50 AM, PJ wrote:
>
>> I have a list of some 60 categories for a book database and am wondering
>> what would be the best approach for inserting and selecting the data.
>> My choices are to
>> (1.)simply use one field in a books table and enter t
On Mon, Mar 2, 2009 at 11:50 AM, PJ wrote:
> I have a list of some 60 categories for a book database and am wondering
> what would be the best approach for inserting and selecting the data.
> My choices are to
> (1.)simply use one field in a books table and enter the categories for
> each book sep
I have a list of some 60 categories for a book database and am wondering
what would be the best approach for inserting and selecting the data.
My choices are to
(1.)simply use one field in a books table and enter the categories for
each book separated by a comma (or whatever) as a text field and th
On Mon, Mar 2, 2009 at 11:14, Richard Heyes wrote:
>
> Nope. Email addresses. I think.
Ah, yes, but remember --- you don't necessarily have to be
subscribed to send an email to the list (as evidenced by this very
email).
--
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.
> No, but coincidentally, the month that happens, your hosting goes
> up to $46.2M US per month, and you're locked into a contract for a
> minimum of three lifetimes. Weird.
Bummer. That makes it almost worth going back to 1and1. Almost.
> Are you using a dynamic signature, is that what yo
On Mon, Mar 2, 2009 at 10:30 AM, Boyd, Todd M. wrote:
>> -Original Message-
>> From: Andrew Ballard [mailto:aball...@gmail.com]
>> Sent: Saturday, February 28, 2009 12:05 AM
>> To: a...@ashleysheridan.co.uk
>> Cc: Boyd, Todd M.; PHP General list
>> Subject: Re: [PHP] Re: How important is y
Alan Bell wrote:
that would appear to be a scam of some sort, not sent by Alan Lord at
all, he can spell electronic and generally speaks English.
Alan.
Alan Lord wrote:
New Horizon!
i would like to introduce a good company who trades mainly in
electornic products.
Now the company is under sa
> -Original Message-
> From: mike [mailto:mike...@gmail.com]
> Sent: Monday, March 02, 2009 12:17 AM
> To: Gevorg Harutyunyan
> Cc: tedd; German Geek; php-general@lists.php.net
> Subject: Re: [PHP] www.soongy.com
>
> I have a basic demo here. The code is not at it's best, you have to
> hit
> -Original Message-
> From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
> Sent: Saturday, February 28, 2009 4:14 AM
> To: Andrew Ballard
> Cc: Boyd, Todd M.; PHP General list
> Subject: Re: [PHP] Re: How important is your Express or Web
> Editiondatabase? Please weigh in--
>
> I abs
> -Original Message-
> From: Andrew Ballard [mailto:aball...@gmail.com]
> Sent: Saturday, February 28, 2009 12:05 AM
> To: a...@ashleysheridan.co.uk
> Cc: Boyd, Todd M.; PHP General list
> Subject: Re: [PHP] Re: How important is your Express or Web Edition
> database? Please weigh in--
>
>
Please ignore the previous "New Horizon" message. It is spam and looks like
someone managed to hack into my hotmail account.
If you wish to, please update your records and use a...@lordies.co.uk in future.
Cheers
Al
_
Free photo
that would appear to be a scam of some sort, not sent by Alan Lord at
all, he can spell electronic and generally speaks English.
Alan.
Alan Lord wrote:
New Horizon!
i would like to introduce a good company who trades mainly in
electornic products.
Now the company is under sales promotion,all
On Sun, Mar 1, 2009 at 12:39 AM, Paul M Foster wrote:
> On Sat, Feb 28, 2009 at 06:54:25PM -0500, Andrew Ballard wrote:
>
>> On Sat, Feb 28, 2009 at 6:08 PM, Paul M Foster
>> wrote:
>> > On Sat, Feb 28, 2009 at 12:41:12AM +, Ashley Sheridan wrote:
>> >
>> >> On Fri, 2009-02-27 at 16:58 -0500,
New Horizon!
i would like to introduce a good company who trades mainly in electornic
products.
Now the company is under sales promotion,all the products are sold nearly at
its cost.
They provide the best service to customers,they provide you with original
products of
good quality,and what i
On Mon, Mar 2, 2009 at 09:17, Richard Heyes wrote:
>
> I see. You won't be wanting any of billion dollar empire when I make
> it then. Ho hum.
No, but coincidentally, the month that happens, your hosting goes
up to $46.2M US per month, and you're locked into a contract for a
minimum of three
2009/3/2 Daniel Brown :
> On Mon, Mar 2, 2009 at 05:55, Richard Heyes wrote:
>>
>> This is just a test to see who here still thinks I'm a dork.
>
> I still do, Richy.
I see. You won't be wanting any of billion dollar empire when I make
it then. Ho hum.
--
Richard Heyes
HTML5 Canvas graphing
On Mon, Mar 2, 2009 at 05:55, Richard Heyes wrote:
>
> This is just a test to see who here still thinks I'm a dork.
>
> --
> Richard Heyes
>
> HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari:
> http://www.rgraph.org (Updated February 28th)
I still do, Richy.
--
daniel.br...@par
Peter Ford wrote:
Michael A. Peters wrote:
I have absolutely no control over the source file.
The source file is an xml file (er, sort of, it doesn't follow any
particular DTD) and has a tag called VERBATIM_DATE in each record -
looks to be required in their output as every record so far has it
Per Jessen wrote:
Michael A. Peters wrote:
What I'm trying to do is write a preg matches for each case I come
across - if it matches the preg, it then parses according to the
pattern to get me an acceptable -MM-DD (not sure how I'll deal
with the season case yet ... but I'm serious, that ki
--
Richard Heyes
HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari:
http://www.rgraph.org (Updated February 28th)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Michael A. Peters wrote:
> I have absolutely no control over the source file.
>
> The source file is an xml file (er, sort of, it doesn't follow any
> particular DTD) and has a tag called VERBATIM_DATE in each record -
> looks to be required in their output as every record so far has it, but
> w/o
Michael A. Peters wrote:
This is what I have so far -
$pattern[] = "/^([0-9]{1,2})[\s-]([A-Z][a-z]*)[\s-]([0-9]{4,4})$/i";
$clean[] = "\\3-\\2-\\1";
$pattern[] = "/^([A-Z][a-z]*)[\s-]([0-9]{4,4})$/";
$clean[] = "\\2-\\1-01";
$foo = preg_replace($pattern, $clean, $verb_date);
If I were yo
2009/3/2 Rick Lim :
> Try
> set_time_limit (0);
>
While technically that would work, the user would likely cancel the
request, or send it multiple times, in 40 seconds.
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج
Michael A. Peters wrote:
> What I'm trying to do is write a preg matches for each case I come
> across - if it matches the preg, it then parses according to the
> pattern to get me an acceptable -MM-DD (not sure how I'll deal
> with the season case yet ... but I'm serious, that kind of thing i
I have absolutely no control over the source file.
The source file is an xml file (er, sort of, it doesn't follow any
particular DTD) and has a tag called VERBATIM_DATE in each record -
looks to be required in their output as every record so far has it, but
w/o a DTD hard to know - time of day
Try
set_time_limit (0);
-Original Message-
From: Ondrej Kulaty [mailto:kopyto...@gmail.com]
Sent: Sunday, March 01, 2009 11:19 PM
To: php-general@lists.php.net
Subject: [PHP] Re: Browser timeout
40 seconds is not very long execution time for timeout, if you have some
loop in the scrip
81 matches
Mail list logo