[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] php addslashes etc

2005-05-17 Thread Pieter Breed
t cannot unserialize. This piece of code, even though it doesn't use the db, shows the problem perfectly. The other funny thing is that not all arrays break when I am doing this. I have quite a lot of similar arrays that work find when you do this. This one however needs to work too

Re: [PHP] mysql + addslashes + stripslashes

2005-05-16 Thread Pieter Breed
I do suspect though, that the problem lies with how I am using addslashes and how I am not using it. Any definitive help would be much appreciated. pieter On 5/16/05, Petzo <[EMAIL PROTECTED]> wrote: > > Hi, > > My question is about the norlmal behaviour of PHP and MYSQL but I ca

[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

[PHP] I need unique max number

2004-08-18 Thread Pieter from SA
Hi all I have data in one field in a database, all is numbers that can be duplicated. 200, 200, 100, 50, 30. i need to get all data from this field, terminate the duplicates and get the max nuber that is not a duplicate, in the numbers above that would be 100. I had a look at array_unique, but

[PHP] Re: What's this

2004-06-17 Thread Pieter from SA
This type of action is used in a lot of files in "PHPbb". I need to change someting in the "Jump to" at the bottom of Search and memberlist pages. "Pieter From Sa" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi > > This has me conf

[PHP] What's this

2004-06-17 Thread Pieter from SA
Hi This has me confused, is this Java or a php class, a constant or what?, i have never seen this kind of action. In what type of file will i find the "S_MODE". Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Refresh and retry when using back button on IE

2004-06-02 Thread Pieter from SA
: The page cannot be refreshed without resending the information. Click retry to send the information again, or click cancel to return to the page that you were trying to view. This is very irritating. Can someone tell me how to resend the info automatically, please Thanks Pieter -- PHP

[PHP] Php ignores if statement

2003-11-22 Thread Pieter
I recently started coding online and i have the weirdest response, my code is: "; print (gettype($id)); if ($id = "add" ) { echo "is add"; exit; } if ($id = "own" ) { echo "id is own"; exit; } if ($id = "all" ) { echo "id is all"; exit; } ?> $id in this case = "own", but it

[PHP] start-condition stack underflow

2003-11-01 Thread Pieter W.D. Kroon
Fatal error: start-condition stack underflow Have not seen this error in 4 years of programming PHP. Came up in looping SMTP socket test. Anyone knows what this means? Thanks Buiten Westen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Trapping PHP errors

2003-01-13 Thread Pieter Claerhout
Hi all, is there a way to execute a custom function as soon as an error happens in PHP? I looked at the set_error_handler function, but it doesn't seem to trap all the errors. What I want to achieve is to execute a function that mails me the error everytime an error happens. Cheers, Pieter

[PHP] Re: PHP and MySQL

2001-09-10 Thread Pieter Philippaerts
We have never used mysql_pconnect. Regards, Pieter Philippaerts "Stefan De Wal" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > check your connection string and if it something like mysql_pconnect change > it in mysql_connec

[PHP] Re: PHP and MySQL

2001-09-08 Thread Pieter Philippaerts
Unfortunately, I can't access these settings. It's not our computer that hosts our website. Regards, Pieter Philippaerts "Richard Lynch" <[EMAIL PROTECTED]> wrote in message 01e501c138ce$f3008300$6401a8c0@Lynchux100">news:01e501c138ce$f3008300$6401a8c0@Lynch

[PHP] PHP and MySQL

2001-09-07 Thread Pieter Philippaerts
stops executing? Is there anything I can do to resolve this problem? Regards, Pieter Philippaerts -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]