Re: [PHP] Re: Good Forum...

2002-07-16 Thread Tshering Norbu

Martin,
I have downloaded INVISION, installed everything correct, but I cannot (even
as administrator/moderator)) see where the posts by members go to? Only
posts by administrator appear. Any idea where the new posts by members go to
and how an administrator can approve them?
Thanks.
NOBBY

- Original Message -
From: Martin Clifford [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, July 15, 2002 6:41 PM
Subject: [PHP] Re: Good Forum...


Invision Board is the best PHP based BB that I've seen so far.  If you're
familiar with Ikonboard written in Perl, this is the same thing optimized
for PHP.  Not to mention that the installation is a BREEZE!  You can get a
copy FREE at http://www.invisionboard.com, and you can check out a sample of
what it can do in the forums link below.  Good Luck!

Martin Clifford
Homepage: http://www.completesource.net
Developer's Forums: http://www.completesource.net/forums/


 [EMAIL PROTECTED] 07/15/02 06:26AM 
phpbb is a good forum or phorum

both are free to use :)

i hope you can use one of those ;)


JJ Harrison\ writes:

 What is a good php-based forum?

 I would have used vBulletin but my group a non-profit so we obviously
can't
 afford it.

 Part of what I require is users to be stored in a db table using md5() or
 anouther function. What I would do is expand the table with more user info
 for use with my whole site.


 --
 JJ Harrison
 [EMAIL PROTECTED]
 www.tececo.com



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: Good Forum...

2002-07-16 Thread Tshering Norbu

Martin,
I think I have got it. Thanks.

Best Regards,
NORBU
(SOLUTION FOR YOUR WEB DESIGN  DEVELOPMENT, SOFTWARE   HARDWARE, NETWORK 
INTERNET)
--
WEBMASTER
DrukNet / Bhutan Telecom / BTNIC
PO Box 134
Thimphu BHUTAN
Phone: Work 326997
   Home (on request)
Email: [EMAIL PROTECTED]
  [EMAIL PROTECTED]
- Original Message -
From: Tshering Norbu [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 16, 2002 6:47 PM
Subject: Re: [PHP] Re: Good Forum...


 Martin,
 I have downloaded INVISION, installed everything correct, but I cannot
(even
 as administrator/moderator)) see where the posts by members go to? Only
 posts by administrator appear. Any idea where the new posts by members go
to
 and how an administrator can approve them?
 Thanks.
 NOBBY

 - Original Message -
 From: Martin Clifford [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Monday, July 15, 2002 6:41 PM
 Subject: [PHP] Re: Good Forum...


 Invision Board is the best PHP based BB that I've seen so far.  If you're
 familiar with Ikonboard written in Perl, this is the same thing optimized
 for PHP.  Not to mention that the installation is a BREEZE!  You can get a
 copy FREE at http://www.invisionboard.com, and you can check out a sample
of
 what it can do in the forums link below.  Good Luck!

 Martin Clifford
 Homepage: http://www.completesource.net
 Developer's Forums: http://www.completesource.net/forums/


  [EMAIL PROTECTED] 07/15/02 06:26AM 
 phpbb is a good forum or phorum

 both are free to use :)

 i hope you can use one of those ;)


 JJ Harrison\ writes:

  What is a good php-based forum?
 
  I would have used vBulletin but my group a non-profit so we obviously
 can't
  afford it.
 
  Part of what I require is users to be stored in a db table using md5()
or
  anouther function. What I would do is expand the table with more user
info
  for use with my whole site.
 
 
  --
  JJ Harrison
  [EMAIL PROTECTED]
  www.tececo.com
 
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php





 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Debate Scripts

2002-03-06 Thread Tshering Norbu

Hello list,
Do you think I can get 'debate' scripts somewhere? It should be like this:
Only administror posts a particular topic to be debated on. Rest of the
users participate on 'FOR' and ' AGAINST' the topic.

Thanks heaps
NOBBY


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Debate scripts

2002-02-17 Thread Tshering Norbu

Dear List,
Is there PHP scripts which I can use to conduct online debate at my website.
Say, I set a topic to debate on and people can post 'for' or 'against' it. I
think it needs to be different from the threaded discussion forum.

Could anyone suggest me where I can get it?

Thanks

NOBBY


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Scripts to provide free emails

2001-12-04 Thread Tshering Norbu

Hi list,
Anyone got or know scripts to give free email accounts? I work in ISP and am thinking 
about giving free emails to people.
Thanks a lot in advance.

NOBBY



Re: [PHP] PHP-ASP

2001-10-25 Thread Tshering Norbu

Is the PHP code you provided below working, I need something like than and i
wonder if i  could use it.
NOBBY
(ps:  sorry, i can't show u ASP equiv of it coz I do not know)

- Original Message -
From: MrBaseball34 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 25, 2001 9:24 PM
Subject: [PHP] PHP-ASP


 Can anyone show me the ASP equivalent to this PHP code I
 cut from a Weather script? I need to know how to get the
 response from the server into a string array fo process
 each line.

 $weather_url = http://iwin.nws.noaa.gov/iwin/tx/hourly.html;;
 $city_name = AUSTIN;
 exec ($wget_command $weather_url, $raw_contents);

 // We got the weather data we needed, so we can proceeed

 $located = 0;
 foreach ($raw_contents as $line)
 {
   // line may wrap in editor
   if (preg_match
(/^$city_name\s+\S+\s+(-*\d{1,3})\s+(\d{1,3})\s+(\d{1,3})\s+
 (\D+)(\d*)\S*\s+(\d{2}\.\d{2})([FRS]{1})/, $line, $regs))
   {
 $temp = $regs[1];
 $dewpoint = $regs[2];
 $humidity = $regs[3];
 $wind_direction = trim($regs[4]);
 $wind_speed = $regs[5];
 $pressure = $regs[6];
 $pressurechg = trim($regs[7]); // Falling, Rising, Steady
 $located = 1;
 break 1;
   }
 }

 --
 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]



-- 
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]




[PHP] Premature end of script headers

2001-10-24 Thread Tshering Norbu

Hi list,
What/why  this error:

[Wed Oct 24 17:03:33 2001] [error] [client 127.0.0.1] Premature end of
script headers: c:/php4win/php.exe


Thanks,
NOBBY



-- 
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]




[PHP] NEXT Page and BACK Page

2001-10-23 Thread Tshering Norbu

Dear list,
I would like to query only the last 50 records/rows (order by ID desc) in
the following script file which uses MySQL, and I want to have NEXT page for
the 50 rows earlier than last 50 queried and go on. I think I can use
JavaScript for BACK page to go back. Could you pl add for me the script to
implement NEXT page.

Here is the script file:

html
body
?php
$db = mysql_connect(localhost, root, root);
mysql_select_db(penpal,$db);
if ($id)

$result = mysql_query(select * from penpal where id = $id,$db);
$myrow = mysql_fetch_array($result);
printf(bID:/b %s\nbr, $myrow[id]);
printf(bName:/b %s\nbr, $myrow[name]);
printf(bAge/Sex/Location:/b %s\nbr, $myrow[asl]);
printf(bDescription:/b %s\nbr, $myrow[description]);
printf(bEmail:/b %s\nbr, $myrow[email]);
} else {
$result = mysql_query(select * from penpal order by id desc, $db);
if ($myrow = mysql_fetch_array($result)) {
do {
   printf(a href = \%s?id=%s\%s %s/abr\n, $PHP_SELF, $myrow[id],
$myrow[name], $myrow[asl]);
} while ($myrow = mysql_fetch_array($result));
}   else {
echo Sorry, no records;
   }
}
?
/body
/html



Thank you in advance.

NOBBY


-- 
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]




[PHP] NEXT Page and BACK page

2001-10-22 Thread Tshering Norbu

Dear list,
I would like to query only the last 50 records/rows (order by ID desc) in the 
following script file which uses MySQL, and I want to have NEXT page for the 50 rows 
earlier than last 50 queried and go on. I think I can use JavaScript for BACK page to 
go back. Could you pl add for me the script to implement NEXT page. 

Here is the script file:

html
body
?php
$db = mysql_connect(localhost, root, root);
mysql_select_db(penpal,$db);
if ($id)

$result = mysql_query(select * from penpal where id = $id,$db);
$myrow = mysql_fetch_array($result);
printf(bID:/b %s\nbr, $myrow[id]);
printf(bName:/b %s\nbr, $myrow[name]);
printf(bAge/Sex/Location:/b %s\nbr, $myrow[asl]);
printf(bDescription:/b %s\nbr, $myrow[description]);
printf(bEmail:/b %s\nbr, $myrow[email]);
} else {
$result = mysql_query(select * from penpal order by id desc, $db);
if ($myrow = mysql_fetch_array($result)) {
do {
   printf(a href = \%s?id=%s\%s %s/abr\n, $PHP_SELF, $myrow[id],
$myrow[name], $myrow[asl]);
} while ($myrow = mysql_fetch_array($result));
}   else {
echo Sorry, no records;
   }
}
?
/body
/html



Thank you in advance.

NOBBY




[PHP] Undefined variable

2001-10-19 Thread Tshering Norbu

Dear list,

I test the  following script on local web server and it runs fine. But when
I upload the script to the real web server I get the following
error/message, but the script works fine. Do you know why?

Here is the error/message I get:

Undefined variable : id in test.php on line 6


And here is the script file (test.php):

html
body
?php
$db = mysql_connect(localhost, root, root);
mysql_select_db(penpal,$db);
if ($id)

$result = mysql_query(select * from penpal where id = $id,$db);
$myrow = mysql_fetch_array($result);
printf(bID:/b %s\nbr, $myrow[id]);
printf(bName:/b %s\nbr, $myrow[name]);
printf(bAge/Sex/Location:/b %s\nbr, $myrow[asl]);
printf(bDescription:/b %s\nbr, $myrow[description]);
printf(bEmail:/b %s\nbr, $myrow[email]);
} else {
$result = mysql_query(select * from penpal order by id desc, $db);
if ($myrow = mysql_fetch_array($result)) {
do {
   printf(a href = \%s?id=%s\%s %s/abr\n, $PHP_SELF, $myrow[id],
$myrow[name], $myrow[asl]);
} while ($myrow = mysql_fetch_array($result));
}   else {
echo Sorry, no records;
   }
}
?
/body
/html



The id field in my table has the attribute: id tinyint (4)

Thanks in advance
NOBBY


-- 
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]




Re: [PHP] A simple PHP form not working

2001-09-25 Thread Tshering Norbu

Is this the correct mail function config in php.ini ?

[mail function]
SMTP   = smtp01.druk.net.bt   ;for win32 only
sendmail_from = [EMAIL PROTECTED] ;for win32 only
;sendmail_path =  ;for unix only, may supply arguments as well (default
is sendmail -t)


Here, I have smtp01.druk.net.bt  as my SMTP server which exsits and
[EMAIL PROTECTED] as my own  just to test. I tried those and still no
luck -:)

Thank you david.

NORBU


- Original Message -
From: David Robley [EMAIL PROTECTED]
To: Tshering Norbu [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, September 25, 2001 12:32 PM
Subject: Re: [PHP] A simple PHP form not working


 On Tue, 25 Sep 2001 12:56, Tshering Norbu wrote:
  Hi list,
  I can not get the form (from thesitewizard) working. When I submit the
  form, I get this error: Warning: Failed to Connect in c:\Program
  Files\Apache Group\Apache\htdocs/druknet/feedback/feedbacksend.php on
  line 2.  My PHP conf with Apache has no problem. What am I doing
  wrong? Sorry, I am a beginner in PHP.
  Here are 2 php files:
 
  feedback.html
 
  HTML/BODY
 
  FORM method=post action=feedbacksend.php
  Email: INPUT name=email type=textbr
  Message:br
  TEXTAREA name=message
  /textareabr
  input type=submit value=Submit
  /FORM
 
  /BODY/HTML
 
 
 
  feedbacksend.php
 
  ?php
  mail([EMAIL PROTECTED], Feedback Form Results,$message, From:
  $email);
  (Location:thankyou.html);
  ?

 Line 2 appears to be the mail() function - have you correctly configured
 the mail section of your php.ini?

 --
 David Robley  Techno-JoaT, Web Maintainer, Mail List Admin, etc
 CENTRE FOR INJURY STUDIES  Flinders University, SOUTH AUSTRALIA

Do the joke. Get the laugh. Move on.


-- 
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]




[PHP] A simple PHP form not working

2001-09-24 Thread Tshering Norbu

Hi list,
I can not get the form (from thesitewizard) working. When I submit the form,
I get this error: Warning: Failed to Connect in c:\Program Files\Apache
Group\Apache\htdocs/druknet/feedback/feedbacksend.php on line 2.  My PHP
conf with Apache has no problem. What am I doing wrong? Sorry, I am a
beginner in PHP.
Here are 2 php files:

feedback.html

HTML/BODY

FORM method=post action=feedbacksend.php
Email: INPUT name=email type=textbr
Message:br
TEXTAREA name=message
/textareabr
input type=submit value=Submit
/FORM

/BODY/HTML



feedbacksend.php

?php
mail([EMAIL PROTECTED], Feedback Form Results,$message, From:
$email);
(Location:thankyou.html);
?





Thanks.
NORBU



-- 
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]




Re: [PHP] A simple PHP form not working

2001-09-24 Thread Tshering Norbu

I did try that before too and here is what I got/get :

Warning: Failed to Connect in c:\Program Files\Apache
Group\Apache\htdocs/druknet/feedback/feedbacksend.php on line 2

Warning: Cannot add header information - headers already sent by (output
started at c:\Program Files\Apache
Group\Apache\htdocs/druknet/feedback/feedbacksend.php:2) in c:\Program
Files\Apache Group\Apache\htdocs/druknet/feedback/feedbacksend.php on line 3


I am sorry to bother you,  Jason.

NORBU





- Original Message -
From: Jason G. [EMAIL PROTECTED]
To: Tshering Norbu [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, September 25, 2001 10:35 AM
Subject: Re: [PHP] A simple PHP form not working


 First of all, you need to type

 header(Location: thankyou.html);
 exit;

 Try that...

 -Jason Garber
 deltacron.com


 At 09:26 AM 9/25/2001 +0600, Tshering Norbu wrote:
 Hi list,
 I can not get the form (from thesitewizard) working. When I submit the
form,
 I get this error: Warning: Failed to Connect in c:\Program Files\Apache
 Group\Apache\htdocs/druknet/feedback/feedbacksend.php on line 2.  My PHP
 conf with Apache has no problem. What am I doing wrong? Sorry, I am a
 beginner in PHP.
 Here are 2 php files:
 
 feedback.html
 
 Email:
 Message:
 
 
 
 
 feedbacksend.php
 
 ?php
 mail([EMAIL PROTECTED], Feedback Form Results,$message, From:
 $email);
 (Location:thankyou.html);
 ?
 
 
 
 
 
 Thanks.
 NORBU
 
 
 
 --
 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]


 --
 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]




Re: [PHP] How to include in PHP?

2001-03-14 Thread Tshering Norbu





?php
include ("file.php");
?


NOBBY



 - Original Message -
 From: Costas [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, March 14, 2001 4:37 PM
 Subject: [PHP] How to include in PHP?


  Im new to PHP and want to know if it is possible to reference PHP
scripts
  from a html page,  the equivalent to an % include% tag in asp.
 
  If so what is the syntax?
 
  Thanks
 
 
 
  --
  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]



-- 
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]




Re: [PHP] Want to learn PHP

2001-01-31 Thread Tshering Norbu

I am also new to PHP. I think  www.wdvl.com  has good resources.

NOBBY


- Original Message -
From: Patrick L. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 31, 2001 2:55 PM
Subject: [PHP] Want to learn PHP


 I've been struggling with perl,  till someone said why not give PHP a
shot.

 Where do I start?

 Aside from manuals,  are there any online courses/tutorials which will get
me going?


 TIA

 Patrick L.

 www.choozart.com




 --
 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]


-- 
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]




Re: [PHP] Beginner in php!

2001-01-24 Thread Tshering Norbu

Here is collection I got from this list;

www.editplus.com
www.codecharge.com
www.phpedit.com
www.ultraedit.com

NOBBY

- Original Message -
From: kaab kaoutar [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 24, 2001 4:28 PM
Subject: [PHP] Beginner in php!


 Hi guys!

 I'm working on an NT workstation, i used to work with asp, but i heard a
lot
 about php! that i decided to start working with it !
 so i'm using PWS4 and i'm wondering which free php editor is more suitible
 for me ? and also what links to get free more tutorials, i got one of
phpnet
 but still 

 Regards
 _
 Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


 --
 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]


-- 
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]




Re: [PHP] Ping

2001-01-10 Thread Tshering Norbu

Hello DaViper,
Where do I get those 2 files from? The PHP I am running is 4.0.0


- Original Message -
From: DaViper [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 10, 2001 3:07 PM
Subject: Re: [PHP] Ping



 Code to show ping results on a webpage included in the 2 -files ping.php
 and output.php

 Greets,


 DaViper

 Maybe this can help you
 At 15:03 10/01/2001 +0600, you wrote:
 Dear list,
 I have this proposal: I work in ISP where we have a web site. On our web
 site, we would like to ping, say 3 other distant web sites at every
 interval of 10 minutes. We would like to have the result like say " The
 internet is down" message displayed on our homepage if the PING doesn't
 get reply. If there is a reply, then nothing should be displayed. So I
 would like to know the PHP functions/code to do that (i.e the PING
 function). I am sure that can be done in PHP. Could someone please
 instruct me how to go about it.
 Thanks.
 
 NOBBY







 --
 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]


-- 
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]