On 11-12-15 02:50 AM, Ross McKay wrote:
On Wed, 14 Dec 2011 07:59:46 -0500, Rick Dwyer wrote:
Can someone tell me which of the following is preferred and why?
echo "$page_name";
echo "".$page_name."";
[...]
Just to throw in yet another possibility:
echo<<$page_name
HTML;
I love HEREDO
On Wed, 14 Dec 2011 07:59:46 -0500, Rick Dwyer wrote:
>Can someone tell me which of the following is preferred and why?
>
> echo "$page_name";
>
> echo "".$page_name."";
>[...]
Just to throw in yet another possibility:
echo <<$page_name
HTML;
I love HEREDOC for slabs of HTML, sometimes SQL, e
On 14/12/11 16:48, Al wrote:
On 12/14/2011 7:59 AM, Rick Dwyer wrote:
Hello all.
Can someone tell me which of the following is preferred and why?
echo "$page_name";
echo "".$page_name."";
When I come across the above code in line 1, I have been changing it
to what you
see in line 2 for no
On 12/14/2011 7:59 AM, Rick Dwyer wrote:
Hello all.
Can someone tell me which of the following is preferred and why?
echo "$page_name";
echo "".$page_name."";
When I come across the above code in line 1, I have been changing it to what you
see in line 2 for no other reason than it delineate
On 12/13/2011 5:43 PM, Nils Leideck wrote:
Anyone?:-(
is my description too unclear?
On 11.12.2011, at 11:25, Nils Leideck wrote:
this is my first post to the PHP general list.
I have an issue with a variable variable
(http://php.net/manual/en/language.variables.variable.php)
My use c
Anyone?:-(
is my description too unclear?
On 11.12.2011, at 11:25, Nils Leideck wrote:
> this is my first post to the PHP general list.
> I have an issue with a variable variable
> (http://php.net/manual/en/language.variables.variable.php)
>
> My use case:
>
> I have an array called $myAr
Holy mother of multidimentionality there are a ton of suggested
solutions to this scenerio on the array_unique manual page..
http://php.net/manual/en/function.array-unique.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, Dec 12, 2011 at 1:06 PM, David Savage wrote:
> Would "ksort($sortarr,SORT_STRING)" on a 1 dimensional array with a key
> comprised of
> a person's name,
> "-", and
> time stamp
> I..E. (key: david savage-2011-12-12 14:43:00)
> actually delete duplicate keys from the array, if there were
On Mon, Dec 12, 2011 at 16:06, David Savage wrote:
> I thought I posted this in the php.net web site under the "ksort" user notes,
> but I don't know if it would be approved to be placed in the web site.
>
> Would "ksort($sortarr,SORT_STRING)" on a 1 dimensional array with a key
> comprised of
>
I thought I posted this in the php.net web site under the "ksort" user notes,
but I don't know if it would be approved to be placed in the web site.
Would "ksort($sortarr,SORT_STRING)" on a 1 dimensional array with a key
comprised of
a person's name,
"-", and
time stamp
I..E. (key: david
On 12/12/2011 16:56, Floyd Resler wrote:
> If this was already discussed I apologize for the duplicate question. For
> some reason dates of -00-00 get converted to 11/30/-0001 with the date
> function. Is this be design or a bug?
>
> Thanks!
> Floyd
>
>
Hi,
In the past I have noticed t
Rasmus Lerdorf wrote:
This is fixed in PHP 5.4 by completely dropping support for the TZ
environment variable. PHP will always use UTC unless you explicitly set
it to something. It won't matter which timezone the system is running
in. This is the only reliable way to always have consistent behavi
This is fixed in PHP 5.4 by completely dropping support for the TZ
environment variable. PHP will always use UTC unless you explicitly set
it to something. It won't matter which timezone the system is running
in. This is the only reliable way to always have consistent behaviour
across all environme
I have another question.
Modules and plugins. How do they work, how are they loaded?
Thx,
Edi
2011.12.06. dátummal, 5:10 időpontban Laruence írta:
> Hi:
> a database should be a model, module is another concept. :)
>
> pls refer to : http://www.php.net/manual/en/class.yaf-loader.php
In OpenSuSE 12.1 i can reproduce this issue.
My workaround is to check the correct timezone.
On Tue, 15 Nov 2011 23:34:18 +0100, Geoff Shang
wrote:
Hi,
A couple of weeks ago, I discovered what I'm pretty sure is a PHP bug.
In addition, I looked in the PHP changelog and I haven't seen a
Hi:
a database should be a model, module is another concept. :)
pls refer to : http://www.php.net/manual/en/class.yaf-loader.php
sorry for dealy :)
thanks
2011/12/1 Moldován Eduárd
> Hey Laruence,
>
> I have another more questions.
> Modules and plugins. How do they work, how ar
On 12/02/2011 03:00 PM, Matt Neimeyer wrote:
> Is there (or is there a way to compile) a DOS CLI version of a fairly
> recent version of PHP? I have not been able to find one using the
> powers of Google.
>
> Not a Windows Command Prompt CLI but an actual CLI version of PHP that
> can be made to r
On Fri, Dec 2, 2011 at 1:30 PM, Dee Ayy wrote:
> The following code:
>
> $new_file =
> ADS_DIR_INTERNAL.'/'.$ad_info['id'].'_'.$ad_info['filename'];
> echo "NEW_FILE:[".$new_file."]\n";
> echo "file_exists Using
> VAR:[".file_e
Hello,
That worked like a charm! Thx!
I thought that the error reporting was on, sorry for that.
edi
2011/11/30 Laruence
> Hi:
> Yaf_Router::addRoute is not a static method.
>
> you should do like:
>
> $dispatcher->getRouter()->addRoute("regex", $route); //
> http://www.php.net/manua
Hi:
Yaf_Router::addRoute is not a static method.
you should do like:
$dispatcher->getRouter()->addRoute("regex", $route); //
http://www.php.net/manual/en/yaf-dispatcher.getrouter.php
btw: when you in development environ, it is useful to keep
error_reporting on and look at error_
Hey Laruence,
I have tried the below example, but did not really get it work.
My code looks like this:
public function _initRoute(Yaf_Dispatcher $dispatcher) {
$route = new Yaf_Route_Regex (
"#(.*)#",
array(
"controller" => "index",
I found a solution. It's a clumsy one, but it works.
Well I considered that a certificate is encoded in base64. So I remove de
the 1st and last lines, and decode it. Now we got a lot of binary
information, but at least the info is there and readable, so we can search
for it.
I opened this data in
On Mon, Nov 28, 2011 at 1:34 AM, Pierre Joye wrote:
> On Mon, Nov 28, 2011 at 5:51 AM, Tommy Pham wrote:
>
>> Can someone please confirm if you're able to create/drop MySQL
>> database on using phpMyAdmin with PHP 5.3.9RC2 or PHP5.4RC2?
>
> Please use the sqlsrv or mysql functions directly with C
On Mon, Nov 28, 2011 at 5:51 AM, Tommy Pham wrote:
> Can someone please confirm if you're able to create/drop MySQL
> database on using phpMyAdmin with PHP 5.3.9RC2 or PHP5.4RC2?
Please use the sqlsrv or mysql functions directly with CREATE/DROP
queries in a little script, it will be easier to d
On Sun, Nov 27, 2011 at 7:32 AM, Pierre Joye wrote:
> hi,
>
> I just uploaded two zip for sqlsrv and 5.4. I did not test them and
> they are no official builds, only for testing purposes (so is 5.4 :).
>
> you can find them at http://www.php.net/~pierre/
>
> Cheers,
>
Hi Pierre,
I really appreci
HI:
Yaf designd a route statck to proviods the ability for extends route process.
you can add new route into stack by calling
Yaf_Router::addRoute(or addConfig),
when a request coming , Yaf will call the top route in the stack at
the first time, as pseudo codes like:
while ($route
Well, she is new to Wincache at least:
Jenny Lawrence
http://forums.iis.net/t/1174639.aspx
Keith Davis (214) 906-5183
-Original Message-
From: Pierre Joye [mailto:pierre@gmail.com]
Sent: Sunday, November 27, 2011 6:20 PM
To: Keith Davis
Cc: Tommy Pham; php-general@lists.php.net; p
On Mon, Nov 28, 2011 at 1:07 AM, Keith Davis wrote:
> Thanks Pierre! And thanks Tommy for bringing that up. I've been discussing
> the Wincache issue for some time and also brought it up with the new MS
> person assigned to it, but I had completely forgot to check sqlsrv and that
> would have b
Thanks Pierre! And thanks Tommy for bringing that up. I've been discussing the
Wincache issue for some time and also brought it up with the new MS person
assigned to it, but I had completely forgot to check sqlsrv and that would have
been a big problem for us.
Keith Davis (214) 906-5183
-
hi,
I just uploaded two zip for sqlsrv and 5.4. I did not test them and
they are no official builds, only for testing purposes (so is 5.4 :).
you can find them at http://www.php.net/~pierre/
Cheers,
On Sat, Nov 26, 2011 at 9:43 AM, Tommy Pham wrote:
> Hi everyone,
>
> 5.3.9RC2 works fine with
On Sun, Nov 27, 2011 at 2:39 PM, Pierre Joye wrote:
> hi,
>
> On Sat, Nov 26, 2011 at 9:43 AM, Tommy Pham wrote:
> > Hi everyone,
> >
> > 5.3.9RC2 works fine with all my apps so far. 5.4RC2 broke with sqlsvr
> > and its PDO in addition to Wincache, which I've already brought to MS'
> > attentio
hi,
On Sat, Nov 26, 2011 at 9:43 AM, Tommy Pham wrote:
> Hi everyone,
>
> 5.3.9RC2 works fine with all my apps so far. 5.4RC2 broke with sqlsvr
> and its PDO in addition to Wincache, which I've already brought to MS'
> attention.
Please report a bug at http://pecl.php.net/package/sqlsrv
http://
Hello Jim Lucas,
Am 2011-11-22 08:49:49, hacktest Du folgendes herunter:
> Use the XML output option and parse returned data.
Fsck! -- Forgotten about it! :-S
Thanks, Greetings and nice Day/Evening
Michelle Konzack
--
# Debian GNU/Linux Consultant ###
Now, if you have ANY idea who I am
Does anyone know who this guy is, as he seems to have forgotten :p
--
Thanks!
-Shawn
http://www.spidean.com
Thanks,
Ash
http://www.ashleysheridan.co.uk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.
On Tue, 15 Nov 2011 21:40:59 -0600, Shawn McKenzie
sent:
On 11/14/2011 11:51 AM, George Langley wrote:
Am concerned over the number of posts that appear to be from people...
...
You're messing with the wrong guy!
You forgot your punctus percontavius. ⸮
--
PHP General Mailing List (http://
On 11/14/2011 11:51 AM, George Langley wrote:
> Am concerned over the number of posts that appear to be from people
> trying to over-inflate their self-importance. If you are the world's
> best coder, then help those of us who aren't. If you happen to know a
> better way to do something that I'm st
Jim Giner wrote:
> Actually, no it doesn't, since I have a well-developed sense of all of
> that, but that's not helping to answer the OP's question now, is it? Stay
> on point.
Probably it helps the OP about as much as your statement that 'I don't know
what the problem here is. Personally I n
Actually, no it doesn't, since I have a well-developed sense of all of
that, but that's not helping to answer the OP's question now, is it? Stay
on point.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jim Giner wrote:
>
> "drive view" wrote in message
> news:cam4sn2ip7yncw2-2soq-vjk8suer7u5x96fvpeqoitkkcaj...@mail.gmail.com...
>> Hi,
>>
>> I'm a novice to MySQL and am currently facing the following difficulty.
>> I'm trying to update a table with a row of data the primary key of which
>> is
>
Thanks alot for your help. I set the auto increment as suggested and it
worked.
Regards
Toni
On Sun, Nov 13, 2011 at 10:43 PM, drive view wrote:
> Hi,
>
> I'm a novice to MySQL and am currently facing the following difficulty.
> I'm trying to update a table with a row of data the primary key
"drive view" wrote in message
news:cam4sn2ip7yncw2-2soq-vjk8suer7u5x96fvpeqoitkkcaj...@mail.gmail.com...
> Hi,
>
> I'm a novice to MySQL and am currently facing the following difficulty.
> I'm trying to update a table with a row of data the primary key of which
> is
> an ID which I believe is a
This really doesn't tell me what you are trying to do.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 11/05/2011 09:21 PM, Ethan Rosenberg wrote:
> Dear list -
>
> I have an associative array that will return a string representing an
> array index. I now need to convert this string into an actual array index.
>
> $test1 = array
> (
> "e1" => "[4][7]",
> "e2" => "[5][8]"
> );
>
> so.. $z = $t
On Thu, Nov 3, 2011 at 9:04 PM, Jim Giner wrote:
> Try reading the manual on "set_error_handler". I've never needed to do
> this
> kind of thing, but this sure looks like something that could do it.
> Basically, I'm imagining that it would open a file handle on some text file
> in some folder, th
Try reading the manual on "set_error_handler". I've never needed to do this
kind of thing, but this sure looks like something that could do it.
Basically, I'm imagining that it would open a file handle on some text file
in some folder, then append a write of mysql_error() to that file and
prob
I've always thought that it was pretty safe to store this kind of material
outside of the web-browser accessible path of your host. Of course, you
then have to be careful who has access to your site via ftp.
Let's see what comes of this question :)
--
PHP General Mailing List (http://www.
.Do you want to feel orgasms several times?
http://macrokid.ma.funpic.de/com.friend.page.php?jroyahoo_id=09ep0
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, Oct 28, 2011 at 7:19 PM, Daniel Brown wrote:
> On Fri, Oct 28, 2011 at 18:13, Paul Halliday wrote:
>>
>> Whats the difference between fetch_assoc and fetch_row?
>>
>> I use:
>> while ($row = mysql_fetch_row($theQuery)) {
>> doCartwheel;
>> }
>>
>> on just under 300 million rows and not
>
> i want to filter the array by [id] sub value?
>
The PHP manual is a source of infinite knowledge. A simple entry of "array"
in the "search for" field brings up just what you need. Have at it!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
On 10/26/2011 07:20 AM, Rick Dwyer wrote:
> Hello all.
>
> I inherited some PHP pages about a year ago. They have been fine all
> along but now a bunch of erroneous errors and results are popping up. I
> traced it to the way the variables were being used on the page... for
> example, the followi
Jason Pruim wrote:
> Now that I've managed to list 3 separate programming languages and
> somewhat tie it back into php here's the question...
>
> I have about 89 million records in mysql... the initial load of the page
> takes 2 to 3 minutes, I am using pagination, so I have LIMIT's on the SQL
>
Hi Stas:
> The next release is planned to be RC1 and is scheduled for November 10.
You want the DateTime DST fixing RFC
(https://wiki.php.net/rfc/datetime_and_daylight_saving_time) implemented
before RC1, right? If so, keep in mind that voting on it will start
tomorrow and finish on November 1.
Am 21.10.2011 08:49, schrieb Daniel Betz:
> Hello List,
>
> i am running PHP 5.3.8-FPM (with ondemand patch) in debug mode and got this
> error every time I post an reply in vBulletin Board:
>
> Warnung: String is not zero-terminated
> (Z.ý4 ý4 ú}
Hi,
Check http://nl3.php.net/manual/en/function.bindec.php
Probably you have a 32-bit CPU. See the link why that's a problem.
Loran
On Thu, 20 Oct 2011 11:08:52 -0400, michaelala...@gmail.com (Mike
Alaimo) wrote:
>Hello,
>
>I have two binary numbers which are quite long. 128 bits to be exact.
lol.
The last one:
500 23880 0.0 0.0 209136 10832 ?S21:23 0:01
/usr/local/websrv/php/bin/php-cgi --fpm --fpm-config
/usr/local/websrv/php/etc/php-fpm.conf
500 27195 15.0 0.1 210196 12644 ?S23:02 0:02
/usr/local/websrv/php/bin/php-cgi --fpm --fpm-config
On 10/20/2011 5:20 AM, sean chen wrote:
>> The red one is busy
My email client is color blind.
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/
C - (541) 408-5189
O - (541) 323-9113
H - (541) 323-4219
--
PHP General Mailing List (http://www.php.ne
On Thu, Oct 20, 2011 at 5:15 AM, Joseph Adenuga wrote:
>
> Dear Tommy,
>
> Good day to you. I'm trying to install Microsoft's Web Platform as advised
> in your last message below. But, I don't know which application to install
> from the list provided from the downloaded applications. Please whic
It's cause by eaccelerator module, when I remove this module, the php-cgi
works well.
Is there some compatible issue between eaccelerator and php?
Regards
Sean
2011/10/19 Sean Chen
> Hi,
>
> ** **
>
> I’ve got a problem when running PHP with nginx, there are several php-cgi
> processes and
On 10/19/2011 10:36 AM, Joseph Adenuga wrote:
>
>
>
> Dear All,
>
>
> I’m using Window XP operating system. I’ve just installed
> PHP 5.2.5 and Apache 2.2.8 over a week now. I’ve checked if Apache
> installation
> is okay with ‘localhost’ in my Firefox browser and it displays ‘It Works!’
> B
what did you name your file? If it didn't have a .php extension, it won't
work.
"Joseph Adenuga" wrote in message
news:1318859708.50026.yahoomailclas...@web29517.mail.ird.yahoo.com...
Operating System: Window XP
PHP Version: 5.2.5. with Apache 2.2.8
My Firefox browser returns (Output) the s
On Sat, Oct 15, 2011 at 03:01:44PM +0100, Alain Williams wrote:
> Well, that is what I think that I need. Please let me explain what I am
> trying to do
> and tell me how to do it or a better way of doing it.
> ..
I have solved it. The problem is basically one of ensuring that properties are
On Fri, 14 Oct 2011, you wrote:
> On 11-10-14 03:40 AM, David Robley wrote:
> >> I have a web page with a form with a text area. I enter:
> >>
> >> foo
> >>
> >>
> >> bar
> >>
> >> PHP processes the POST and inserts the record into MySQL.
> >>
> >> The database field is text.
> >>
> >> I use PDO
>
Mmm i'm trying to show a .flv but i dont know if i'm using the correct
headers and method.
$name = $file;
$fp = fopen($name, 'rb');
// send the right headers
header("Content-Type: video/x-flv");
header("Content-Length: " . filesize($name));
// dump the picture and stop the script
fpassthru($fp);
Stephen wrote:
> I have a web page with a form with a text area. I enter:
>
> foo
>
>
> bar
>
> PHP processes the POST and inserts the record into MySQL.
>
> The database field is text.
>
> I use PDO
>
> For testing I have removed any processing of the text area content.
>
> Now, no matter
On 13/10/2011 13:29, Nick Khamis wrote:
> Hello Everyone,
>
> I am trying to compile php from source using the following config:
>
> ./configure --prefix=/usr/local/php
> --with-apxs2=/usr/local/
> apache/bin/apxs
> --with-config-file-path=/usr/local/php
> --with-mcrypt=/usr/local/bin/mcrypt --wi
> Which previous post?
http://news.php.net/php.pecl.dev/8616
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi,
Which previous post? Also you have to use VC9 not VC10 to use your ext
against PHP releases. You can get it with the platform SDK 6.1
Cheers,
On Wed, Oct 12, 2011 at 10:51 PM, Peter Roth wrote:
> I am trying to build php_bcompiler.dll on Windows 7 using Visual Studio 10. I
> can compile it
Peter Roth wrote:
I am trying to build php_bcompiler.dll on Windows 7 using Visual Studio 10. I
can compile it OK, but it will not link. I have posted the build output error
messages in a previous post. I am wondering if building PHP from source code
would produce some files that would help me
It works thx a lot =)
On Tue, Oct 11, 2011 at 5:26 PM, Bastien Koert wrote:
> On Tue, Oct 11, 2011 at 11:00 AM, Ricardo Martinez
> wrote:
> > Hi!
> >
> > i'm was checking, readfile(); and fpassthru();
> >
> > With easy examples, i can use it for show a pic in the screen and
> download a
> > f
On Tue, Oct 11, 2011 at 11:00 AM, Ricardo Martinez wrote:
> Hi!
>
> i'm was checking, readfile(); and fpassthru();
>
> With easy examples, i can use it for show a pic in the screen and download a
> file, from outside of documentRoot. It works fine.
>
> The problem that i have now, is, i need can w
Hi!
i'm was checking, readfile(); and fpassthru();
With easy examples, i can use it for show a pic in the screen and download a
file, from outside of documentRoot. It works fine.
The problem that i have now, is, i need can work with it, inside of other
documents, but i'm getting all time error b
10:17 AM
To: php-general@lists.php.net
Subject: [PHP] Re: newline and return issues in string
On 10/11/2011 7:58 AM, ad...@buskirkgraphics.com wrote:
I have come across an issue with my string that I would like to find
a
faster way to resolve.
It seems there are new lines and returns at
et
> Subject: [PHP] Re: newline and return issues in string
>
>
>
> On 10/11/2011 7:58 AM, ad...@buskirkgraphics.com wrote:
> > I have come across an issue with my string that I would like to find
> a
> > faster way to resolve.
> >
> > It seems there are
On 10/11/2011 7:58 AM, ad...@buskirkgraphics.com wrote:
I have come across an issue with my string that I would like to find a
faster way to resolve.
It seems there are new lines and returns at different positions of the
string.
First I exploded on the new line explode(“\n”, $ string)
This
On Mon, 2011-10-10 at 22:15 +0100, Tim Streater wrote:
> On 10 Oct 2011 at 19:30, Ashley Sheridan wrote:
>
> > Jim Giner wrote:
> >
> >>
> >> ""QI.VOLMAR QI"" wrote in message
> >> news:cab7l6ey9rkfwtmprpe0fk3doo5s1c5jyhpnbt5rjj0f_eb5...@mail.gmail.com...
> >>> Alguem sabe se, e como eu posso
On 10 Oct 2011 at 19:30, Ashley Sheridan wrote:
> Jim Giner wrote:
>
>>
>> ""QI.VOLMAR QI"" wrote in message
>> news:cab7l6ey9rkfwtmprpe0fk3doo5s1c5jyhpnbt5rjj0f_eb5...@mail.gmail.com...
>>> Alguem sabe se, e como eu posso trabalhar com as portas do computador
>> com
>>> php no windows?
>>>
>>
Jim Giner wrote:
>
>""QI.VOLMAR QI"" wrote in message
>news:cab7l6ey9rkfwtmprpe0fk3doo5s1c5jyhpnbt5rjj0f_eb5...@mail.gmail.com...
>> Alguem sabe se, e como eu posso trabalhar com as portas do computador
>com
>> php no windows?
>>
>> Do someone know if, and how, I could work with Computer logic
""QI.VOLMAR QI"" wrote in message
news:cab7l6ey9rkfwtmprpe0fk3doo5s1c5jyhpnbt5rjj0f_eb5...@mail.gmail.com...
> Alguem sabe se, e como eu posso trabalhar com as portas do computador com
> php no windows?
>
> Do someone know if, and how, I could work with Computer logical ports with
> PHP on Windo
>I am looking for a way to download a C based application binary, from
> an Apache / PHP server, via a client side Web Browser, and execute it
> seamlessly on the client side PC without storing it permanently on the
> client side
> hard disk drive. Temporary storage would be ok.
>
>I know t
On Sun, Oct 9, 2011 at 9:52 AM, Ricardo Martinez wrote:
> The files are, png, pdf and flv.
>
> Only users login can see or download it.
>
> thx ;>
>
> On Sat, Oct 8, 2011 at 11:16 PM, Shawn McKenzie >wrote:
>
> > On 10/08/2011 03:40 PM, Ricardo Martinez wrote:
> > > Hi List!
> > >
> > > I need to
The files are, png, pdf and flv.
Only users login can see or download it.
thx ;>
On Sat, Oct 8, 2011 at 11:16 PM, Shawn McKenzie wrote:
> On 10/08/2011 03:40 PM, Ricardo Martinez wrote:
> > Hi List!
> >
> > I need to access files outside the DocumentRoot.
> >
> > I've been looking for info and
On 10/08/2011 03:40 PM, Ricardo Martinez wrote:
> Hi List!
>
> I need to access files outside the DocumentRoot.
>
> I've been looking for info and documentation, and I've read that it can be
> done using symbolic links and another way is by using headers.
>
> I want to know, what do you think, w
"Access files" for use in the running script? Or "access files" meaning
executing a script?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>>
> There is more to SQL injection than getting the quoting correct. In my
> understanding, prepared statements handles the other problems associated
> with queries and SQL injection beyond just quoting. Here's a good
> tutorial on how this works:
>
> http://www.youtube.com/watch?v=bORZlmyDw0s
On Fri, Oct 07, 2011 at 12:46:52AM -0400, Govinda wrote:
> http://stut.net/2011/09/15/mysql-real-escape-string-is-not-enough/
>
> Hi everyone
>
> I have read many many articles and blog posts in the last few days to
> bolster my (still mostly newbie) understanding of the factors that
> play
On 07/10/2011 05:46, Govinda wrote:
Hi everyone
I have read many many articles and blog posts in the last few days to bolster my (still mostly
newbie) understanding of the factors that play in to preventing various methods of SQL injection
prevention.. and by now I am well aware that most eve
http://stut.net/2011/09/15/mysql-real-escape-string-is-not-enough/
Hi everyone
I have read many many articles and blog posts in the last few days to bolster
my (still mostly newbie) understanding of the factors that play in to
preventing various methods of SQL injection prevention.. and by
Hi.
On Wednesday 05 Oct 2011 at 00:04 Mark Kelly wrote:
> I'd be interested in any ideas folk have about these issues, or any others
> they can envisage with this proposal.
Thank you all for joining in here - it's been a fascinating read so far.
Mark
--
PHP General Mailing List (http://www.ph
On Tue, Oct 4, 2011 at 8:01 PM, Jeremiah Dodds wrote:
> On Tue, Oct 4, 2011 at 9:25 PM, Tommy Pham wrote:
> > There would be a difference in performance since the the expression has
> to
> > be reevaluated, including the function FROM_BASE, every time versus one
> time
> > evaluation of prepared
On Tue, Oct 4, 2011 at 9:25 PM, Tommy Pham wrote:
> There would be a difference in performance since the the expression has to
> be reevaluated, including the function FROM_BASE, every time versus one time
> evaluation of prepared statement.
This is true, but it should be pointed out that for a l
On Tue, Oct 4, 2011 at 6:10 PM, Stuart Dallas wrote:
>
> On 5 Oct 2011, at 02:02, Tommy Pham wrote:
>
> On Tue, Oct 4, 2011 at 5:51 PM, Stuart Dallas wrote:
>
>> On 5 Oct 2011, at 01:13, Tommy Pham wrote:
>>
>> On Tue, Oct 4, 2011 at 4:49 PM, Stuart Dallas wrote:
>>
>>>
>>> On 5 Oct 2011, at 00
On 5 Oct 2011, at 02:16, Jeremiah Dodds wrote:
> On Tue, Oct 4, 2011 at 8:10 PM, Stuart Dallas wrote:
>> Prepared statements incur an additional hit against the DB server to prepare
>> the statement.
>
> But only once, right? This could, of course, still be a downside
> depending the nature of
On Tue, Oct 4, 2011 at 8:15 PM, Tommy Pham wrote:
> On Tue, Oct 4, 2011 at 6:07 PM, Jeremiah Dodds
> wrote:
>>
>> On Tue, Oct 4, 2011 at 7:51 PM, Stuart Dallas wrote:
>> > As for the overhead I very much doubt there's much difference between
>> > that and the overhead of prepared statements.
>>
On 5 Oct 2011, at 02:07, Jeremiah Dodds wrote:
> On Tue, Oct 4, 2011 at 7:51 PM, Stuart Dallas wrote:
>> As for the overhead I very much doubt there's much difference between that
>> and the overhead of prepared statements.
>
> Probably not. As an aside, I'm really struggling to find a case whe
On Tue, Oct 4, 2011 at 8:10 PM, Stuart Dallas wrote:
> Prepared statements incur an additional hit against the DB server to prepare
> the statement.
But only once, right? This could, of course, still be a downside
depending the nature of your app.
--
PHP General Mailing List (http://www.php.ne
On Tue, Oct 4, 2011 at 6:07 PM, Jeremiah Dodds wrote:
> On Tue, Oct 4, 2011 at 7:51 PM, Stuart Dallas wrote:
> > As for the overhead I very much doubt there's much difference between
> that and the overhead of prepared statements.
>
> Probably not. As an aside, I'm really struggling to find a ca
On 5 Oct 2011, at 02:02, Tommy Pham wrote:
> On Tue, Oct 4, 2011 at 5:51 PM, Stuart Dallas wrote:
> On 5 Oct 2011, at 01:13, Tommy Pham wrote:
>
>> On Tue, Oct 4, 2011 at 4:49 PM, Stuart Dallas wrote:
>>
>> On 5 Oct 2011, at 00:45, Tommy Pham wrote:
>>
>>> On Tue, Oct 4, 2011 at 4:11 PM, Stu
On Tue, Oct 4, 2011 at 7:51 PM, Stuart Dallas wrote:
> As for the overhead I very much doubt there's much difference between that
> and the overhead of prepared statements.
Probably not. As an aside, I'm really struggling to find a case where
it'd be worth base64-encoding the queries like that
On Tue, Oct 4, 2011 at 5:51 PM, Stuart Dallas wrote:
> On 5 Oct 2011, at 01:13, Tommy Pham wrote:
>
> On Tue, Oct 4, 2011 at 4:49 PM, Stuart Dallas wrote:
>
>>
>> On 5 Oct 2011, at 00:45, Tommy Pham wrote:
>>
>> On Tue, Oct 4, 2011 at 4:11 PM, Stuart Dallas wrote:
>>
>>> On 5 Oct 2011, at 00:04
On 5 Oct 2011, at 01:13, Tommy Pham wrote:
> On Tue, Oct 4, 2011 at 4:49 PM, Stuart Dallas wrote:
>
> On 5 Oct 2011, at 00:45, Tommy Pham wrote:
>
>> On Tue, Oct 4, 2011 at 4:11 PM, Stuart Dallas wrote:
>> On 5 Oct 2011, at 00:04, Mark Kelly wrote:
>>
>> > Hi.
>> >
>> > On Tuesday 04 Oct 2011
901 - 1000 of 39948 matches
Mail list logo