Re: [PHP] my paging task with PHP does not work. It uses cookie.

2007-09-19 Thread Patrik Hasibuan
> $options['maxdisplay']) { > $numlist = $options['maxdisplay'] + $start - 1; > } else { > $numlist = $numpages + $start - 1; > } > if($numlist > $numpages) { $numlist = $numpages; } > for($x=$sta

Re: [PHP] my paging task with PHP does not work. It uses cookie.

2007-09-19 Thread Patrik Hasibuan
Dear Brian, My problem is solved. thank you very much for your help. === On Wed, 12 Sep 2007 14:04:11 -0400 brian <[EMAIL PROTECTED]> wrote: > Patrik Hasibuan wrote: > > Dear my friends... > > > > I am trying to display the content of a table. Each page must content

Re: [PHP] my paging task with PHP does not work. It uses cookie.

2007-09-19 Thread Patrik Hasibuan
xecution at all (well, it affects > ofcourse, but affect is so small, you can't see it). > -- Patrik Hasibuan <[EMAIL PROTECTED]> Junior Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] my paging task with PHP does not work. It uses cookie.

2007-09-13 Thread Patrik Hasibuan
php.net. Would be so kind to give me a very simple code of sample? Thank you very much in advance. On Wed, 12 Sep 2007 11:58:04 -0700 mike <[EMAIL PROTECTED]> wrote: > On 9/12/07, Patrik Hasibuan <[EMAIL PROTECTED]> wrote: > > Dear my friends... > > > > I am t

[PHP] my paging task with PHP does not work. It uses cookie.

2007-09-12 Thread Patrik Hasibuan
echo "Employer:$namaprsh"; echo "Address:$alamat"; echo "City:$kota"; echo "Country:$negara"; echo "Postcode:$kodepos"; echo "Fax:$faks"; echo "Website:$url"; echo "Business Field:$comdesc"; echo "$iklan"; echo ""; } } else { echo "No Ad of job vacancy currently in our database, possibly ads-id wrong."; } } ?> -- Patrik Hasibuan <[EMAIL PROTECTED]> Junior Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] clickbank (merchandise provider) for creditcard based internet online transaction.

2007-09-03 Thread Patrik Hasibuan
friends in this mailing-list, has anybody ever get problem or find the disadvantage to use the service of clickbank? Thank you very much in advance. -- Patrik Hasibuan <[EMAIL PROTECTED]> Junior Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

Re: [PHP] Does JavaScript not work in php web file?

2007-08-26 Thread Patrik Hasibuan
codes works in php files. Yours code is also fine. > But check your calling function and defined functions. Calling function is > jsopsi and defined function is opsi. Please check. Other than this > everything is ok > > Warm Regards, > Sanjeev > http://www.sanchanworld.com/ &g

[PHP] Does JavaScript not work in php web file?

2007-08-25 Thread Patrik Hasibuan
"Non USA"; }else{ echo "Non USA"; } while( list($state,$statename) = mysql_fetch_row($klas) ) { echo "$statename ($state)"; } } else { echo 'No results found'; }

Re: [PHP] OOP in PHP

2007-08-15 Thread Patrik Hasibuan
Dear my friend, Jim Lucas. Thank you very much for your help. You've solved my problem one more time. I really appreciate your help. === On Wed, 15 Aug 2007 14:17:02 -0700 Jim Lucas <[EMAIL PROTECTED]> wrote: > Jim Lucas wrote: > > Patrik Hasibuan wrote: > >> Dear J

Re: [PHP] OOP in PHP

2007-08-15 Thread Patrik Hasibuan
ey",$konek); //$kueri=mysql_query($sqlnya,$konek); $kueri=mysql_query($sqlnya,$konek) or die('MYSQL QUERY ERROR ['.mysql_errno($konek).'] '.mysql_error($konek)); }else{ echo "I can't talk to the server"; exit(); } return $kueri; } } ?>

Re: [PHP] OOP in PHP

2007-08-15 Thread Patrik Hasibuan
Take a look below within your class. I > corrected it. > > try also using include_once instead of require > > and make sure that your error level and reporting are turned on so you can > see what is happening. > > > Patrik Hasibuan wrote: > > Dear my friends

[PHP] OOP in PHP

2007-08-15 Thread Patrik Hasibuan
it prints "koneksi berhasil (connection succeeded)" but it doesn't. Please tell me what is my mistake. Thank you very much in advance. -- Patrik Hasibuan <[EMAIL PROTECTED]> Junior Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] I am confused to mysql_query.

2007-08-01 Thread Patrik Hasibuan
Sorry, for my recklessness I missed, "$bdku=mysql_select_db("guru",$konek);" Es ist peinlich It's embarassing. But thanks for your help. = On Wed, 1 Aug 2007 15:15:43 +0700 Patrik Hasibuan <[EMAIL PROTECTED]> wrote: > Hi Sichta, > >

Re: [PHP] I am confused to mysql_query.

2007-08-01 Thread Patrik Hasibuan
anging around with this weird problem. On Wed, 1 Aug 2007 08:27:51 +0200 "Sichta, Daniel" <[EMAIL PROTECTED]> wrote: > Hi , > > Try this: > $hsl=mysql_query($stringsql,$koneksi); > > DS > > -Original Message- > From: Patrik Hasibuan [

Re: [PHP] global variable does not exist anymore?

2007-08-01 Thread Patrik Hasibuan
Thank you very much. === On Fri, 27 Jul 2007 00:26:24 -0500 (CDT) "Richard Lynch" <[EMAIL PROTECTED]> wrote: > It's register_globals, and you should fix this ancient script to not > rely on register_globals being "on" > > On Wed, July 25, 2007 5:30 pm,

Re: [PHP] global variable does not exist anymore?

2007-08-01 Thread Patrik Hasibuan
h as I used to find in httpd.conf > > " > > suseonthelap:/etc/apache2 # grep -n -r "global_variable" ./* > > suseonthelap:/etc/apache2 # > > " > > > I got used to find "global_variable=on" line in the httpd.conf. > > Try looking in php.i

[PHP] I am confused to mysql_query.

2007-07-31 Thread Patrik Hasibuan
list($gambarproduk)=$brsgbr; echo "urlgambar: $gambarproduk "; } } } ?> === -- Patrik Hasibuan <[EMAIL PROTECTED]> Junior Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] subtitute of mysql_error()

2007-07-31 Thread Patrik Hasibuan
Dear my friends What is the substitute of mysql_error() ? This line of my code does not work anymore: $hslgbr=mysql_query("$sqlgbr","$konek") or die ( mysql_error() ); Thank you very much in advance. -- Patrik Hasibuan <[EMAIL PROTECTED]> Junior P

Re: [PHP] $HTTP_POST_FILES always produces empty value.

2007-07-30 Thread Patrik Hasibuan
_dump($HTTP_POST_FILES); > > On Mon, July 30, 2007 7:00 am, Patrik Hasibuan wrote: > > Dear my friends > > > > I don't understand why $HTTP_POST_FILES always produces empty value. > > > > This is my code > > === > > //cgi/cgiprodukcatalogadmi

Re: [PHP] Re: $HTTP_POST_FILES always produces empty value.

2007-07-30 Thread Patrik Hasibuan
Hi David, it's solved. Your advise solved my problem. Thank you very much. === On Mon, 30 Jul 2007 22:03:06 +0930 David Robley <[EMAIL PROTECTED]> wrote: > Patrik Hasibuan wrote: > > > Dear my friends > > > > I don't understand why $HTT

Re: [PHP] Re: $HTTP_POST_FILES always produces empty value.

2007-07-30 Thread Patrik Hasibuan
Hi David, it's solved. Your advise solved my problem. Thank you very much. === On Mon, 30 Jul 2007 22:03:06 +0930 David Robley <[EMAIL PROTECTED]> wrote: > Patrik Hasibuan wrote: > > > Dear my friends > > > > I don't understand why $HTT

[PHP] $HTTP_POST_FILES always produces empty value.

2007-07-30 Thread Patrik Hasibuan
/srv/www/htdocs/tmpphp ; Maximum allowed size for uploaded files. upload_max_filesize = 100M === Please tell me, "where is my mistake?". Thank you very much in advance. -- Patrik Hasibuan <[EMAIL PROTECTED]> Junior Programmer -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] global variable does not exist anymore?

2007-07-25 Thread Patrik Hasibuan
t; "global_variable" switch as I used to find in httpd.conf > > " > > suseonthelap:/etc/apache2 # grep -n -r "global_variable" ./* > > suseonthelap:/etc/apache2 # > > " > > > I got used to find "global_variable=on" line in the httpd.conf. > > Try looking in php.ini > > Then leave it disabled, and code your script properly so it checks the > user input and validates it before using it. > > Cheers, > > Rich > -- > Zend Certified Engineer > http://www.corephp.co.uk > > "Never trust a computer you can't throw out of a window" > > > -- Patrik Hasibuan <[EMAIL PROTECTED]> Junior Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] global variable does not exist anymore?

2007-07-25 Thread Patrik Hasibuan
s I used to find in httpd.conf " suseonthelap:/etc/apache2 # grep -n -r "global_variable" ./* suseonthelap:/etc/apache2 # " I got used to find "global_variable=on" line in the httpd.conf. What should I do now? Please tell me. -- Patrik Hasibuan <[EMAIL PROTEC