php-general Digest 25 Nov 2009 20:31:08 - Issue 6460
Topics (messages 300088 through 300099):
Class not returning value
300088 by: Pieter du Toit
300089 by: Peter Ford
300090 by: Pieter du Toit
300091 by: Pieter du Toit
Re: function not returning query
Hi
This is my first class and it does not work, i do a return
$this-responseArray; with the public function getResult() method, but get
nothing. Can someone please help me.
Thsi is how i create the object
$number = new Smsgate($cell_numbers, $message, 27823361602, 27);
$result =
Pieter du Toit wrote:
Hi
This is my first class and it does not work, i do a return
$this-responseArray; with the public function getResult() method, but get
nothing. Can someone please help me.
Thsi is how i create the object
$number = new Smsgate($cell_numbers, $message, 27823361602,
Sorry i found the problem, need to do this:
public function getResult()
{
$this-processRequest();
return $this-responseArray;
}
Pieter du Toit pie...@lpwebdesign.co.za wrote in message
news:57.90.5.88fec...@pb1.pair.com...
Hi
This is my first class and it does not
Thanks for th reply Peter
i call this method on success
$this-sendSMS();
But i sorted the problem with this:
public function getResult()
{
$this-processRequest();
return $this-responseArray;
}
Peter Ford p...@justcroft.com wrote in message
On Tue, 2009-11-24 at 23:27 -0800, Allen McCabe wrote:
If I were to loop through my inputs, I could just exclude any
problematic names, eg.:
foreach ($_POST as $var = $val)
{
if ($var != filter.x || $var != filter.y)
{
$var = $val;
}
}
Like that?
On Tue, Nov 24, 2009
There are a couple of ways that you can do this:
1. Store the post values in the $_SESSION variable then echo them back to the
screen. Be careful with this as it can lead to XSS. Strip html, etc
2. Send the post values back to the form as part of the query sting. This
solution is limited to the
Hello Raymond,
thank you for your hint. I will go with sessions. Thanx for the note
regarding XSS.
Kind regards, merlin
Raymond Irving wrote:
There are a couple of ways that you can do this:
1. Store the post values in the $_SESSION variable then echo them back
to the screen. Be careful
check these options
*-pass arg, -passin arg*
the PKCS#12 file (i.e. input file) password source. For more information
about the format of *arg* see the *PASS PHRASE ARGUMENTS* section in *
openssl*(1) http://www.openssl.org/docs/apps/openssl.html#.
*-passout arg*
pass phrase source to encrypt
After a long delay, I've finally got mail working. I had decided to
move on in the book that I'm working through (Head First PHP MySQL)
but doubled back to address the mail issue again. This is how I
finally got it to work:
1. Switched to XAMPP for linux rather than using my existing versions
of
Merlin Morgenstern wrote on 2009-11-24 18:38:
This is not so easy. I am doing some checking with php on the values and
if one failes php returns via GET to the form with the help of header
location:
$parameter = demo=this;
HEADER(Location:/test.html?error=1.$parameter);
It looks like using XAMPP wasn't strictly necessary. I tried running
this example again using my previous versions of mysql and apache and
it worked fine. So the key is to configure Sendmail as described at
the URL I gave.
On Wed, Nov 25, 2009 at 10:58 AM, James Prentice prentice@gmail.com
Hi,
I have been trying for the last couple of hours to determine the
encoding of a text file (.txt in windowz).
I have this code:
$contents = file_get_contents($config['txt_dir'] . $file);
$encoding = mb_detect_encoding($contents,
UTF-8,ISO-8859-1,WINDOWS-1252); //,Windows-1255
hi guys,
this morning I got complains from website owner and tons of visitors -
nobody was able to access the website. it will just timeout.
I contacted hosting company for more info but they said the virtual
privet server, where the website is, has a lot of traffic and 512MB of
RAM is not
On Nov 25, 2009, at 4:32 AM, Ashley Sheridan wrote:
On Tue, 2009-11-24 at 23:27 -0800, Allen McCabe wrote:
If I were to loop through my inputs, I could just exclude any
problematic names, eg.:
foreach ($_POST as $var = $val)
{
if ($var != filter.x || $var != filter.y)
{
$var =
Hey all,
I'm looking for a good Wiki to maintain documentation on a
large commercial web site that is always growing.
DokuWiki is the only one I've installed and used at any
length, so before I just use that one again I'd like to hear
from the peanut gallery what other suggestions you'd
On Wed, 2009-11-25 at 16:38 -0600, LAMP wrote:
hi guys,
this morning I got complains from website owner and tons of visitors -
nobody was able to access the website. it will just timeout.
I contacted hosting company for more info but they said the virtual
privet server, where the website
LPAC - Arts for Youth - Seat OrdersI am getting the following error message,
but ONLY on a page where I am querying multiple tables, and I don't see the
correlation:
*
*
*Warning*: Unknown: Your script possibly relies on a session side-effect
which existed until PHP 4.2.3. Please be advised that
Hello,
on 11/25/2009 05:53 AM Tanveer Chowdhury said the following:
Hi all,
I have an apache server and for that I created CA as the signing authority
using openssl.
Now I created a php page which will generate client certificates with key
and will sign by CA. Now the output is in .pem
On Nov 25, 2009, at 2:42 PM, Skip Evans wrote:
Hey all,
I'm looking for a good Wiki to maintain documentation on a large
commercial web site that is always growing.
DokuWiki is the only one I've installed and used at any length, so
before I just use that one again I'd like to hear from
Or DoS back at em. :-D
On Wed, Nov 25, 2009 at 3:57 PM, Ashley Sheridan
a...@ashleysheridan.co.uk wrote:
On Wed, 2009-11-25 at 16:38 -0600, LAMP wrote:
hi guys,
this morning I got complains from website owner and tons of visitors -
nobody was able to access the website. it will just timeout.
On Wed, Nov 25, 2009 at 3:57 PM, Ashley Sheridan
a...@ashleysheridan.co.uk wrote:
On Wed, 2009-11-25 at 16:38 -0600, LAMP wrote:
hi guys,
this morning I got complains from website owner and tons of visitors -
nobody was able to access the website. it will just timeout.
I contacted hosting
Hi,
I have been trying for the last couple of hours to determine the
encoding of a text file (.txt in windowz).
I have this code:
$contents = file_get_contents($config['
txt_dir'] . $file);
$encoding = mb_detect_encoding($contents,
UTF-8,ISO-8859-1,WINDOWS-1252); //,Windows-1255
Well, if you want to get really extreme, you could use TiddlyWiki:
http://www.tiddlywiki.com/
It's a wiki contained in a single HTML file. No database. No server side
scripting. No server! hah
-TG
- Original Message -
From: Skip Evans s...@bigskypenguin.com
To: TG
24 matches
Mail list logo