Re: [PHP] remote scripting objects

2001-09-06 Thread Alfredo Yong
Ok, fine but what about something like this: say you have a page with a dropdown to select cities and a second dropdown to select places in the previously selected city. You change the cities dropdown and normally you reload all the page to fill in the places for the second dropdown. Say also

[PHP] Re: PHP Authentication on Apache

2001-09-03 Thread Alfredo Yong
Yes. It works. It is great. if(!isset($PHP_AUTH_USER) or $PHP_AUTH_USER != "myuser" or $PHP_AUTH_PW != "mypassword") { Header("WWW-Authenticate: Basic realm=\"Only authorizeds web\""); Header("HTTP/1.0 401 Unauthorized"); echo "ha!\n"; exit; } Lynn Holt wrote: > Hi al

Re: [PHP] MDB

2001-09-03 Thread Alfredo Yong
Man, this is a real value! I was in a trouble thinking how to publish data coming from the administration area. Thinking in programming visual basic interfaces, generate SQL inserts, etc. But now you can simply publish it and thats all! Browsing with google, I found this well written article f

[PHP] Re: virtual nulls include problem: It really happen

2001-09-02 Thread Alfredo Yong
Richard Lynch wrote (Many thanks Rick for this): >> <% virtual ("../../../../headlvl4.shtml"); %> >> >>This works fine for the header, but makes an error when the include >>built in function calls the php script that shows the main panel of the >>page: >> > > I don't see how the virtual() i

[PHP] Re: Newbie: PHP has encountered an Access Violation..More details!

2001-09-02 Thread Alfredo Yong
include your source. Michael Cronström wrote: > ...at 018D2466 > > what have I done wrong! > > Michael Cronström > [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

[PHP] Re: Problems with RELOAD on browsers

2001-09-02 Thread Alfredo Yong
Hi peke: May be you can try with a hidden "state" field in the form. I think it can be faster and more compatible because you don't need to load the session support. Pekesan wrote: > Hi... > I have a php url on wich in some steps through several forms (on the same > url) I do some interact

[PHP] Re: Database Function

2001-09-02 Thread Alfredo Yong
look here: http://www.bitmechanic.com/mail-archives/mysql/Jun1998/0387.html An extract: Write this: select * from table_name limit 100 select * from table_name limit 100, 100 select * from table_name limit 200, ( what number you want).. On Mon, 15 Jun 1998, Joe Walnes wrote:

[PHP] Re: Call to undefined function: dbase_open() in

2001-09-02 Thread Alfredo Yong
You need to load the dbase.so support module in your php. Like a dll in windows. Php has a lot of libraries, the idea is t load only those you need. I don't remember the syntax and the files to modify, check configuration manual or ask your system administrator. I had a similar problem, solved

[PHP] virtual nulls include problem

2001-09-01 Thread Alfredo Yong
Hi. I use allways the include built in function to conditionally select the php script that build the web page. I need to add a header at he beginning of an already working script, but the directive include don't work: So I'm using <% virtual ("../../../../headlvl4.shtml");