On Sun, 30 Oct 2011 17:24:07 -
"John Allsopp" wrote:
> Hi
>
> I'm afraid I've fallen a little out of touch with PHP dev, so a stupid
> question for you.
>
> I want to write a script that requests a URL and then reads that
> website .. I'm interested to map web structures. My web host is
> s
Dont get me wrong, I love programming! But what an absolute pain in the
ass it is when you re-use old code only to discover something "less well
made".
You all know about this right?
You go into your homemade library of code to re-use some piece that you
already are using 12 other places in produ
On Tue, 21 Dec 2010 10:32:21 -0500
Adam Richardson wrote:
> 1. Turn off magic_quotes_gpc if on, as its use has been deprecated.
> 2. Use prepared statements.
> 3. Don't worry about stripping slashes ever again :)
Thank you for a very enlightening answer. I guess I misunderstood
the "PDO automati
On Tue, 21 Dec 2010 00:32:19 -0500
Paul M Foster wrote:
> On Tue, Dec 21, 2010 at 05:31:15AM +0100, Rico Secada wrote:
>
> > Hi.
> >
> > In an article about SQL Injection by Chris Shiflett he mentions the
> > following in a comment: "The process of escap
hes are removed.
So what's the mistake here and what's the correct way to do it?
Kind regards
Rico
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ebugging a
nightmare.
Anyone with experience in this behavior?
Thanks and best regards
Rico
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 22 Nov 2010 09:27:28 +0800 (SGT)
vince samoy wrote:
Hi Vince.
This is not a Wordpress mailing list. This is the general users PHP
mailing list.
> Hi guys,
>
> I was wondering if this is the right place that this question of mine
> might get an answer. I'm currently working on a website
On Tue, 16 Nov 2010 12:16:25 +0530
Himani Aggarwal wrote:
> Hi Folks, is it possible to install PHP on IIS? If yes, can someone
> please guide me on how to go about doing it? Thanks
Now, why would you wanna do something crazy like that?! :)
--
PHP General Mailing List (http://www.php.net/)
T
On Wed, 27 Oct 2010 10:52:58 +0200
Jordan Jovanov wrote:
> Hello All,
>
> I finished with coding and now I am on the part when need to write
> documentation. But I don't know how to write correct documentation.
> Does have some rules or standard for writing documentation for PHP?
> Or maybe hav
On Mon, 25 Oct 2010 22:56:37 -0400
Paul M Foster wrote:
> Bear in mind, an "error" is *never* that a query returned no data or
> data the user might consider bad.
This is an important point. When is an "error" an actual error? When is
it something that *needs* to be logged and mailed?
> Paul
>
On Mon, 25 Oct 2010 00:26:23 -0700
"Tommy Pham" wrote:
> > -Original Message-
> > From: Rico Secada [mailto:coolz...@it.dk]
> > Sent: Sunday, October 24, 2010 9:06 PM
> > To: php-general@lists.php.net
> > Subject: [PHP] Best practice for if (!$
DB_ERROR);
This way making sure that every single db execute gets a valid check
and at the same time return some kind of valuable db error to the user
and end the script.
How do you deal with db execution checks?
Thanks in advance!
Best regards.
Rico.
--
PHP General Mailing List (http://
On Thu, 21 Oct 2010 10:55:14 -0400
Paul M Foster wrote:
> On Thu, Oct 21, 2010 at 04:05:50AM +0200, Rico Secada wrote:
>
> > Hi.
> >
> > I am working on a small system where I am both trying to avoid code
> > duplication and at the same time I am trying to k
Hi.
I am working on a small system where I am both trying to avoid code
duplication and at the same time I am trying to keep the presentation
logic separated from the application logic.
I am using sessions and are avoiding "headers already sent" problem by
keeping the HTML out of the application.
On Sat, 12 Sep 2009 00:43:50 -0400
Paul M Foster wrote:
> (Or maybe I've completely misread what you're trying to do.)
Yes you did, but never mind :)
> Paul
>
> --
> Paul M. Foster
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
st regards.
Rico.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 24 Nov 2008 15:13:32 -0500
Al <[EMAIL PROTECTED]> wrote:
> Try debug_backtrace()
Thanks for your reply.
I get an empty array:
array(0) { }
> Rico Secada wrote:
> > Hi.
> >
> > This post has also been posted on the Debian list.
> >
> >
.0-8+etch13
ii php5-gd 5.2.0-8+etch13
ii php5-imagick0.9.11+1-4.1
ii php5-memcache2.0.1-1.1
ii php5-mysql 5.2.0-8
+etch13
ii php5-pgsql 5.2.0-8+etch13
Any help in understanding what is going on would be greatl
looks pretty straightforward with php's caveat to be careful to use octal...
chmod ("/somedir/somefile", 0755); // octal; correct value of mode
--
-
Click here for Free Video!!
http://www.gohip.com/free_video/
<[EMAIL PROTECTED]> wrote in me
im definitely not a guru, but perhaps this might help
http://www.php.net/manual/en/html/function.chmod.html
http://www.php.net/manual/en/html/function.chown.html
those are the doc pages on usage of similar process for setting permissions
(i believe)
GL
--
--
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Sunday 23 September 2001 17:01, rico wrote:
>
> > The problem is in the final formatting in arrayprocr.php. I notice that
> > whenever a new is added to the final table, it gets pushed further
> > down the page, al
nope, no go...still getting extra lines after taking out all instances of \n
--
-
Click here for Free Video!!
http://www.gohip.com/free_video/
"Rico" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAI
wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Sunday 23 September 2001 17:01, rico wrote:
>
> > The problem is in the final formatting in arrayprocr.php. I notice that
> > whenever a new is added to the final table, it gets pushed further
> > d
oops, forgot to add the files in
--
-
Click here for Free Video!!
http://www.gohip.com/free_video/
"Rico" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Attached are the files in
the final table, it gets pushed further down
the page, almost as if a has been added for each new ...but there
is not.
I've looked it over, it looks clean. The resulting HTML in arrayprocr.php
is clean and devoid of any "extra 's or 's.
Why would this be happening? an
ill stands.
--
-
Click here for Free Video!!
http://www.gohip.com/free_video/
"Rico" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> never mind hehe
>
> --
> -
never mind hehe
--
-
Click here for Free Video!!
http://www.gohip.com/free_video/
"Rico" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have an intermediate process that a
I have an intermediate process that allows you to add table rows with input
fields; and while this works, for some reason, it is adding extra white
space before the table, even though the generated html does not show
additional 's or 's.
whats going on?
attached are the files in question.
TIA
28 matches
Mail list logo