Re: [PHP] javascript ?

2001-07-25 Thread Angel Behar


Thanks for the answer but I must admitt that my knowldege of javascript it
is almost none, and I really don't know how to use the hide(), show() etc,
functions, so if somebody can point me to some site or can give an example
of how it works I'm sure I can work around the problem.

Thanks in advance.


- Original Message -
From: Morten Winkler Jørgensen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 23, 2001 11:06 PM
Subject: Re: [PHP] javascript ?


 Only use hide(), show(), block(), etc. if you want an ordinary
 htmlpage to be shown. If you on the other hand want the values of form
 elements to change you should do something like this:


 SCRIPT LANGUAGE=javascript
 function fillForm(){
 document.form_name.txt.value =
document.form_name.a_selection.value;
 }
 /SCRIPT

 FORM NAME=form_name METHOD... ACTION
 SELECT NAME=a_selection onChange=fillForm();
   OPTION VALUE=pickupPick up
   OPTION VALUE=GotoGo to
 /SELECT
 BR
 INPUT TYPE=text NAME=txt VALUE=
 FORM

 AB I want to create a form which once you select a radio button or a drop
down
 AB menu display the proper fields according to the selection.

 AB Let say that we have two options : To go and Pick Up. If the user
select to
 AB go then automatically display the address field, zip field etc, if the
user
 AB select pick up display the time field etc.






 Kind regards,
 Morten Winkler



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

2001-07-23 Thread Angel Behar

Hi !!!

I know maybe this is not the right place to make this question but I have
been a PHP user for long time and this list had been very helpful.

I want to create a form which once you select a radio button or a drop down
menu display the proper fields according to the selection.

Let say that we have two options : To go and Pick Up. If the user select to
go then automatically display the address field, zip field etc, if the user
select pick up display the time field etc.

I 've been looking a lot of javascript sites but can't find something
similar to that I want.

Hope any of you can help me.

Thanks in advance.

Angel.



-- 
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] Killing session cookies, caches and everything.

2001-01-31 Thread Angel Behar

 Try doing SetCookie(SESS_ID, ''); as well.

I try it but doesn't  work either...

If someone fix this please help, I'm very worried right now.

Thanks again.





-- 
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] CGI ERROR on IIS4 and PHP 4.0.4pl1

2001-01-26 Thread Angel Behar

Hi !!

I'm running PHP under IIS4 and PHP 4.0.4pl1 and all my scripts work perfect
but one that try to access  a DBF database via ODBC.

I set all the permission on php.exe , the database and the script.

the error I receive is :

The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers it did return are:

I've been reading a lot of threads obou this and I set all the privileges
and still not working, and as I said earlier all my scripts work but this.

I appreciate any help.

Thanks in advance.

Angel.


-- 
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] killing the session

2001-01-11 Thread Angel Behar

Hi !!!

I'm using php 4.0.3pl1 with session support and I can't KILL the session, I
unregister all the variables then I session_destroy() the session but if I
push the back button I still have the session working.

I had been reading all the documentation and cant' find the straight answer
to this.

My app it's a shopping cart app so the client once check out if he push the
back button still have the cart content.

Please help me, I'm in a hurry.

Thanks in advance.


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