[PHP] Library question

2002-10-27 Thread Muhammad Khairuzzaman
Hi all.

I would like to know what does it mean by I need to have a certain library
to have access to a certain function such as encrypt and decrypt?

And how do I install these library?



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




[PHP] if conditional

2002-10-15 Thread Muhammad Khairuzzaman

Hello,

I would like to how to know how to create an if conditional with only one
condition. Can some one tell me the way to do this. This is my previos code
:


if (!name) {
print Pplease enter your name.;
}
exit;

if (!$email) {
print PPlease enter you e-mail
}
exit;

?



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




[PHP] POST method not allowed

2002-10-09 Thread Muhammad Khairuzzaman

Hi,

I'm having problem with processing my form file. It seems that everytime I
use the Post method to process the for the browser return :

Method Not Allowed
The requested method POST is not allowed for the URL /quote.php3.

And if i use a GET method, all the variables are returned as 0 (null , no
value) is there some configuration i miss configured or what?

i'm using PHP 4 and apache 1.3 on windows XP

thank u



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




[PHP] POST method not allowed

2002-10-09 Thread Muhammad Khairuzzaman

Hi,

I'm having problem with processing my form file. It seems that everytime I
use the Post method to process the for the browser return :

Method Not Allowed
The requested method POST is not allowed for the URL /quote.php3.

And if i use a GET method, all the variables are returned as 0 (null , no
value) is there some configuration i miss configured or what?

i'm using PHP 4 and apache 1.3 on windows XP

thank u




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




Re: [PHP] POST method not allowed

2002-10-09 Thread Muhammad Khairuzzaman


Timothy J Hitchens [EMAIL PROTECTED] wrote in message
006c01c26f7b$529a7530$0500a8c0@BAMBINO">news:006c01c26f7b$529a7530$0500a8c0@BAMBINO...
 Are you sure that .php3 files are being processed by PHP ???


 Timothy Hitchens (HITCHO)
 [EMAIL PROTECTED]

 HITCHO has Spoken!

Yes, i've tried *.php and *.php3



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




Re: [PHP] POST method not allowed

2002-10-09 Thread Muhammad Khairuzzaman


Timothy J Hitchens [EMAIL PROTECTED] wrote in message
006d01c26f7d$236b39a0$0500a8c0@BAMBINO">news:006d01c26f7d$236b39a0$0500a8c0@BAMBINO...
 Have you confirmed that they are php processed... eg made a phpinfo()
 page and run it?


 Timothy Hitchens (HITCHO)
 [EMAIL PROTECTED]

 HITCHO has Spoken!

Yes, done that too.



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




[PHP] Re: POST method not allowed

2002-10-09 Thread Muhammad Khairuzzaman

Ok, my bad, firstup i didnot set in httpd.conf to process *.php3 files. But
i already fix that. So, now all I'm getting is that when I I try to process
the data from a form whether I'm using GET or POST method,  the value that i
get processed form is still null.

I check in the error log file and this is what it say:
[Wed Oct 09 20:18:47 2002] [error] PHP Notice:  Undefined variable:  name in
e:\program files\apache group\apache\htdocs\test.php3 on line 3

Or is there something wrong in my code?

form method=GET action=test.php3

tr
  td width=50% style=border-style: none; border-width: medium
height=20
  pName: input type=text name=name size=20/p
  pnbsp;/p
  pinput type=submit value=Submit name=submitinput type=reset
value=Reset name=B2/p
/form

---
html
?php
print my name is $name;
?
/html



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




[PHP] Undefined variable

2002-10-09 Thread Muhammad Khairuzzaman

I'm trying to process data from a form, regardless whether I'm using GET or
POST method,  the value that i get in the processed form is still null.

I check in the error log file and this is what it say:
[Wed Oct 09 20:18:47 2002] [error] PHP Notice:  Undefined variable:  name in
e:\program files\apache group\apache\htdocs\test.php3 on line 3

Or is there something wrong in my code? Or something with my setting?

form method=GET action=test.php3

tr
  td width=50% style=border-style: none; border-width: medium
height=20
  pName: input type=text name=name size=20/p
  pnbsp;/p
  pinput type=submit value=Submit name=submitinput type=reset
value=Reset name=B2/p
/form

---
html
?php
print my name is $name;
?
/html





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




[PHP] Re: Undefined variable

2002-10-09 Thread Muhammad Khairuzzaman

Hi, thanks for the help!

I worked, but i dont get it, why use $_POST['name'] or $_GET['name'] when
the text from the internet and books I've read says just put a dollar sign
before the variable's name.

If it wouldn't be a burden can u pls xplain?



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