[PHP] Re: Class not returning value

2009-11-25 Thread Pieter du Toit
cfc...@pb1.pair.com... > 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. >> >&g

[PHP] Re: Class not returning value

2009-11-25 Thread Pieter du Toit
Sorry i found the problem, need to do this: public function getResult() { $this->processRequest(); return $this->responseArray; } ""Pieter du Toit"" wrote in message news:57.90.5.88fec...@pb1.pair.com... > Hi > > This is my first

[PHP] Class not returning value

2009-11-25 Thread Pieter du Toit
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 = $number->g

[PHP] Re: Variable post as array

2008-03-05 Thread Pieter du Toit
Thanks Colin this will help me, like i said im just trying to help its not my code and i dont work with photos like this, but i Do appreciate your patience with me. "Colin Guthrie" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Pieter du Toit wrote: >> T

[PHP] Re: Variable post as array

2008-03-05 Thread Pieter du Toit
code to work with photos, i normally use move_uploaded_file and put the path in the databse, but it look like this code puts the photo in the database as binary or something. "Colin Guthrie" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Pieter du Toit

Re: [PHP] Re: Variable post as array

2008-03-05 Thread Pieter du Toit
hat variable are you passing as the parameter? > > > > -Original Message- > From: Pieter du Toit [mailto:[EMAIL PROTECTED] > Sent: 05 March 2008 13:36 > To: php-general@lists.php.net > Subject: [PHP] Re: Variable post as array > > This is my problem > > Warning:

Re: [PHP] Re: Variable post as array

2008-03-05 Thread Pieter du Toit
FILES); to see all the values in the variable? > > Its difficult to see whats going on as you posted your whole file. > > > > -----Original Message- > From: Pieter du Toit [mailto:[EMAIL PROTECTED] > Sent: 05 March 2008 12:38 > To: php-general@lists.php.net > Subj

[PHP] Re: Variable post as array

2008-03-05 Thread Pieter du Toit
This is my problem Warning: fopen() expects parameter 1 to be string, array given in /usr/www/users/zululr/marketplace/myzululand/specials_proc.php on line 49 "Colin Guthrie" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Pieter du Toit wrote: >> H

[PHP] Re: Variable post as array

2008-03-05 Thread Pieter du Toit
;Colin Guthrie" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Pieter du Toit wrote: >> Hi >> >> I have this weird problem, when i select a file to upload, the variable >> arrives as an array at the action php file, this is the code, and the >> var

Re: [PHP] Re: Variable post as array

2008-03-05 Thread Pieter du Toit
Have you tried print_r($_FILES); to see all the values in the variable? > > Its difficult to see whats going on as you posted your whole file. > > > > -Original Message- > From: Pieter du Toit [mailto:[EMAIL PROTECTED] > Sent: 05 March 2008 12:38 > To: php-general

Re: [PHP] Schedule tasks from server

2008-02-04 Thread Pieter du Toit
98% of the pages is PHP, and i dont know if all my code is *nix compatable, it should be, but i dont want to take the risk by moving, i already have to much to do still. "Paul Scott" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > On Mon, 2008-02-04 at

Re: [PHP] Schedule tasks from server

2008-02-04 Thread Pieter du Toit
I am using paradigmsolutions.co.za. I read about cronjobs, but aparently it is only available on unix or linux hosting, is this true? "Paul Scott" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > On Mon, 2008-02-04 at 16:30 +0200, Pieter du Toit wrote: >&g

[PHP] Schedule tasks from server

2008-02-04 Thread Pieter du Toit
Hi people Is there a way that i can schedule tasks on my webserver that will automatically fire on a certain time and date, without anyone visiting the website? This domain is hosted by a ISP and not by me. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Stop Download managers

2007-07-05 Thread Pieter du Toit
Hi Is there a way to stop download managers on my php webpages? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP not posting

2007-06-24 Thread Pieter du Toit
But why is the php code showing just like my code at the top when i right click the webpage and view source, i suspect this must be a php.ini setting or sonmething "Tijnema" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On 6/24/07, Pieter du Toit <[E

Re: [PHP] PHP not posting

2007-06-24 Thread Pieter du Toit
Nothing major here is the code: Name: "Stut" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Pieter du Toit wrote: >> I installed PHP5 on iis and i can see "hello world" and phpinfo. >> >> When i right click the

[PHP] PHP not posting

2007-06-24 Thread Pieter du Toit
Hi I installed PHP5 on iis and i can see "hello world" and phpinfo. When i right click the webpage and view source, i can see the php code, and the form does not want to post the form details. Will appreciate any help. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Spam using email on website

2006-11-06 Thread Pieter du Toit
Hi guys I have a website that is being crawled or whatever and i have a submission form for an event. I keep on getting random mail from this form. I have even disabled the submit button on the form, but keep on getting it. What can i do? -- PHP General Mailing List (http://www.php.net/) To

[PHP] Pause script

2006-03-27 Thread Pieter du Toit
Hi I want to pause script in php, in a while loop, so that a key must be pressed or a button must be clicked for the script to continue. Is this possible, i had a look at some functions, but it is not what i want. Can someone point me in a direction to search or maybe solve this problem for me

[PHP] max unique number

2006-03-07 Thread Pieter du Toit
Hi guys How do i get a unique max number from a mysql table column? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] htaccess file

2005-04-21 Thread Pieter du Toit
Is there any way that i can see if using htaccess file is enabled on server without contacting my isp. I created a htaccess file and ftp'd it to the server with the register_globals flag set to 0: this is the htaccess code # -FrontPage- IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* *

[PHP] Need urgent help on post php long code

2005-04-21 Thread Pieter du Toit
I have the following code: function display_setcom() { global $config; dsprint("display_setcom()"); dprint($_SESSION["logged_in"]); $user_id = $_SESSION["logged_in"]; $result = mysql_query("SELECT users.user_first_name, users.user_last_name, users.user_cell, users.user_idnom, users.user_email