Hi everyone,
Can anyone here tell me why mysql_real_escape_string("asdasddas") returns an
empty string?
Just writing a data import...
Anyway, for security but also simply because i might have a ' in the string,
i need to escape it. Apparently it is good practice to use
mysql_real_escape_string()
On Sat, 21 Feb 2009 19:19:44 +1300, t...@ihostnz.com wrote:
>Can anyone here tell me why mysql_real_escape_string("asdasddas") returns an
>empty string?
Have you opened a connection to a MySQL database? It won't work without
an open connection.
--
Ross McKay, Toronto, NSW Australia
"Let the ladd
At 11:09 PM + 2/20/09, Nathan Rixham wrote:
Michael A. Peters wrote:
Nathan Rixham wrote:
it's all a bit pointless, the only way to ensure only one vote per
person is to get take and test a dns sample from each user.
anything else is going to be flawed
Hey now, what do you have agains
Michael A. Peters wrote:
Nathan Rixham wrote:
it's all a bit pointless, the only way to ensure only one vote per
person is to get take and test a dns sample from each user.
anything else is going to be flawed
Hey now, what do you have against us clones?
;)
and nobody noticed I said D
Nathan Rixham wrote:
it's all a bit pointless, the only way to ensure only one vote per
person is to get take and test a dns sample from each user.
anything else is going to be flawed
Hey now, what do you have against us clones?
;)
--
PHP General Mailing List (http://www.php.net/)
To u
Martin Zvarík wrote:
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:
Thanks a lot. Sorry but 5 minutes after sending this email i figured it out
myself. I didn't know how to answer my own message because i didn't get my
own message... Anyway, this worked for me:
Hope this helps someone else...
Thanks again.
Tim
Tim-Hinnerk Heuer
http://www.ihostnz.com
Bil
> -Original Message-
> From: th.he...@gmail.com [mailto:th.he...@gmail.com] On Behalf Of
> German Geek
> Sent: Friday, February 20, 2009 9:18 AM
> To: PHP General list
> Subject: [PHP] XML -> XSLT transformation using XSLTProcessor class
>
> Hi All,
>
> We are trying to import some xml da
Brian Dunning schreef:
> I should mention that I did try the ionCube online encoder, which I
> think is a great idea... but its runtimes failed to load on both of my
> test systems, requiring editing of php.ini. That's over the top for my
> users. I need something that's rock-solid and that will ne
All,
I am working on the design for an app that uses mobile phone texting to make
payments, but I am having some trouble finding out how the whole mobile
process works. I grow the CSC (common short code) set up and them acting as
a clearing house, but can anyone point me to some docs on how the pr
Hi All,
We are trying to import some xml data into the database. My idea was to make
an xslt and then transform the xml to php code which generates the queries
necessary and then gets evaled as php code for the actual import...
Anyway, i got it working (mostly)!
But i need to get the current ele
From: Terion Miller
Date: February 19, 2009 5:34:50 PM EST
To: Bastien Koert
Cc: PHP General
Subject: Re: [PHP] Two troublesome fields
I just tried this and now it's not inserting at all where before
everything
EXCEPT two fields go in...
$sql = "INSERT INTO workorders ( CreatedDate, Locatio
Shawn McKenzie wrote:
Daniel Kolbo wrote:
Shawn McKenzie wrote:
Daniel Kolbo wrote:
Hello PHPers,
I am quite ignorant about file system security. I was hoping you all
could help me understand things.
How does one restrict php script from going (reading, writing) files in
13 matches
Mail list logo