Re: [PHP] FrameSet Problem with PHP, Pls Help!
Hello Jack, I'm not sure I follow exactly what you are doing but I think you can make this work by passing the variable data in all url links to each php page in the frameset - frame tags. I haven't found a limit to the number of times these links can be nested. The other issue that might be causing a problem - If any html output is sent to the browser before the FRAMESET FRAME tags, the FRAME info is ignored. Good Luck, Mike Dear all I had designed a Index.php, this page is made of different Frames by using UltraDev.The Frame included are Top, Left and Main. In my Left Frame which i used left.php, i had use JavaScript to make a Menu. Top Frame is a Banner and Main is just some content. When i browse preview it, the page just go Perfect! Then Later on. I had a Login.php page which will let user login before they can access my Internal Website. In my Login.php Page, the user will type in the Username and Password, and i had set to post these two var to Index.php. and in Index.php just before the html tag, i add a scrpt: ? requrie (check.php)? This Check.php is actually the script which will verify the Username and Password passed from Login.php. Once ? requrie (check.php)? and add into Index.html, then there is nothing shows up, not even frames, menu or any Banner!! Could someone pls help me with this!! I'm Stuck!!! Thx a lot!! Jack [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] -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Michael Seely 408-777-9949 -- 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] Opening a new window.
HI Brandon, It's actually easy to do this is PHP. A FORM tag will take a TARGET window attribute that will let you control what happens after the form is processed. The resultant page can appear in a new window, in the parent window, to the same window the form was used, to the full browser window or to some named frame, i.e., TARGET=_blank or _parent or _self or _top or FrameName. If you don't want to use the normal INPUT TYPE=SUBMIT tag to make the window change happen, you can use a .gif or .jpg image to start the page change. IMAGE TYPE=IMAGE NAME=SUBMIT SRC=CoolButton.jpg WIDTH=20 HEIGHT=12 HSPACE=4 BORDER=0 ALT=Do It/FORM Obviously, since you are using php, you can make this very simple, just to make the window change or you can make the form processing do extra things, i.e., remember the persons name, some ID, ... Another not well known fact is that you can have multiple FORMS on a single page. I've seen a calendar that uses this technique with dozens of forms to make edit buttons for each event. Different INPUT type=hidden tags were used in each form to pass the date and event ID info. Good Luck Mike I wanted to know how I could have php open a window. Like can I have it print out some javascript to open a new window? Instead of someone having to click a link. Thanks Brandon -Original Message- From: Mark Charette [mailto:[EMAIL PROTECTED]] Sent: Friday, December 14, 2001 2:08 PM To: PHP User Group Subject: RE: [PHP] Opening a new window. I would use target=_blank in the anchor tag so it would work just fine _without_ javascript ... Mark C. -Original Message- From: Mehmet Kamil ERISEN [mailto:[EMAIL PROTECTED]] I would use javascript for that. --- Brandon Orther [EMAIL PROTECTED] wrote: Does anyone know how I could have php open a new windows with the url I specify? Thanx, Brandon -- 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] -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Michael Seely 408-777-9949 -- 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] Remote_User and Password reset
Hi Folks, I know I can get $REMOTE_USER info. How can I reset the remembered user name and password in the browser for a specific URL from a PHP program? -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Michael Seely 408-777-9949 -- 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] Reading a web page as a text string
HI Folks, How can I read a html page as a text file? I saw a demo of someone doing this on a Mac using AppleScript. The example sent a zip code as a variable attached to the remote site url. This resulted in a web page being sent back with the city and state info included. He then read the page as a text string, parsed out the city and state info and used it. How could this be done with PHP? I think the sending the url and zip code variable could easily be done with a form. How do you read the html page that is returned? Any ideas. Thanks. -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Michael Seely 408-777-9949 -- 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 can I do this !! color text in html
This should work. You can also use html code to use a style sheet ref. ? ECHO FONT COLOR='#2378A0' SIZE='3'Hello Word/FONT; ? i have txt file have this words -- bla bla bla [phpcode] ? echo 'hello word'; ? [/phpcode] bla bla bla --- now I want to convert the code that are between [phpcode] and [/phpcode] to colorized code .. How I can do that -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Michael Seely 408-777-9949 -- 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] php hosting
HI - I've been using http://www.tierranet.com/services/ for several years. Good tech support. Lots of extras. Anybody know of good reliable hosting that supports php, and has a control panel to go with it? thanks, Heidi = Heidi Belal ICQ# 32127109 A bus stops at a bus station. A train stops at a train station. On my desk I have a work station... __ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.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] -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Michael Seely 408-777-9949 -- 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] PHP Redirect in the middle of code?
HI You can put the header function anywhere in the php code as long as the logic sends it as the very first output for the page in html. Conditional redirects are no problem. [EMAIL PROTECTED] (George Pitcher) writes: Andrew, I am in a similar position witha Lasso site, which I am considering php-ing. I need to do conditional redirects. George P, Edinburgh - Original Message - From: Andrew Penniman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 10, 2001 3:37 PM Subject: [PHP] PHP Redirect in the middle of code? I am trying to figure out how to use PHP to redirect the user to a new location *after* processing and most likely outputting a bunch of code. Because this redirection would happen late in the game I can't use header(Location: .$redirect_to); You should probably look at ouput buffering; the php manual has a section on the subject at http://uk.php.net/manual/en/ref.outcontrol.php and Zeev Suraski wrote an article at Zend http://zend.com/zend/art/buffering.php -robin -- 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] -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Michael Seely 408-777-9949
Re: [PHP] Adopt A Newbie (ME)
HI I don't know why you are like G.Bush. But I have a vision that formed while scanning some of the lists recent postings. I see a man shoveling snow, again, from the sidewalk. While this is going on a kid is running around building a snow man, making a fort, throwing snow balls, hollering at friends, in general, having fun. Keep the fun going as long as you can. If you get good enough, you can hire someone else to do the shoveling. Good Luck... WHY AM I GEORGE BUSH!?!?!? -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message - From: B. van Ouwerkerk [EMAIL PROTECTED] To: Tim [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, August 02, 2001 10:27 AM Subject: Re: [PHP] Adopt A Newbie (ME) At 10:23 2-8-01 -0400, Tim wrote: I hereby nominate Kyle as the official George W. Bush of the PHP General mailing list. Anyone second it? I do. Wanne setup a voting site for this ;) -- 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] -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Michael Seely 408-777-9949 -- 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] Fun Question - What if...
HI FOLKS, Imagine you had a PC Laptop, PHP installed, and a Ricochet/Sierra Wireless AirCard 400 - 128 kbps NIC card. What boom pow applications can you imagine setting up and running in this environment? What else would you need, if anything? Thanks - Mike -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Michael Seely 408-777-9949 -- 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] PHP_SELF (code snip)
HI You can figure this out so you can work with one file. It's much easier to maintain. Here is an example. It's a simple RSVP form. ***Change line 100 to use your own email address to receive the information. I wrote this a while back so I'm not bragging about the html format or coding but it works. It uses a more primitive series of IF's to test the input rather than the IF - ELSEIF - ELSE series I described earlier. In this example, remember the first time through, pg is blank (which is 2). Good Luck. HTML HEAD TITLE RSVP /TITLE /HEAD BODY BGCOLOR=WHITE LINK=BLUE VLINK=BLUE ALINK=ORANGE text=BLACK BASEFONT SIZE=3 DIV ALIGN=CENTER TABLE WIDTH=60% BGCOLOR=#0099FF TRTD BRBRBR ? IF($pg==1) { if ($fi!='' and $last!='' and $em!=) { $pg=2 ; } else { if($fi==) { echo BRH3 ALIGN=CENTERFONT FACE=Sans-serif COLOR=WHITE SIZE=3Please fill-in your first name./FONT/H3 ; } ; if($last==) { echo BRH3 ALIGN=CENTERFONT FACE=Sans-serif COLOR=WHITE SIZE=3Please fill-in your family name./FONT/H3 ; } ; if($em==) { echo BRH3 ALIGN=CENTERFONT FACE=Sans-serif COLOR=WHITE SIZE=3Please fill-in your email address./FONT/H3 ; } ; } } ? ? IF($pg2) { ? form action=?echo $PHP_SELF? method=POST DIV ALIGN=CENTER TABLE width=60% CELLPADDING=3 TRTD VALIGN=TOP COLSPAN=3 FONT FACE=comic sans ms, Sans-serif COLOR=WHITE SIZE=4B Member RSVP /FONT BRBR FONT FACE=comic sans ms, Sans-serif COLOR=BLACK SIZE=3B Please fill-in each line. /B/FONTBR /TD/TR TRTD align=right width 30%FONT FACE=comic sans ms, Sans-serif COLOR=BLACK SIZE=3B Name/B/FONT/TD TD align=left width 70%FONT FACE=comic sans ms, Sans-serif COLOR=BLACK SIZE=2BFirst/BBRFONT SIZE=4INPUT NAME=fi size=20 VALUE=? Echo $fi?/TD TD align=leftFONT FACE=comic sans ms, Sans-serif COLOR=BLACK SIZE=2BFamily/BBRFONT SIZE=4INPUT NAME=last size=20 VALUE=? Echo $last?/TD/TR TRTD align=right FONT FACE=comic sans ms, Sans-serif COLOR=BLACK SIZE=3BE-Mail Address/B/FONT/TDTD COLSPAN=2 align=leftFONT SIZE=4INPUT NAME=em size=44 VALUE=? Echo $em?/TD/TR /TABLE BR HR INPUT TYPE=HIDDEN NAME=pg VALUE=1 BRINPUT TYPE=submit VALUE= Next /FORM DIV BRBR ? }? ! End of pg1.! ? IF($pg==2) { ? FONT FACE=comic sans ms, Sans-serif COLOR=BLUE SIZE=3 BIs this correct? BRUse Back-Button to make a change or Send It! BRBR/B/FONT DIV ALIGN=CENTER TABLE border=0 CELLPADDING=0 CELLSPACING=0 WIDTH=65% trTD BGCOLOR=#FFF8DC WIDTH=12 #160; /TD TD BGCOLOR=#FFF8DC BRBRFONT FACE=comic sans ms, Sans-serif COLOR=BLUEFONT SIZE=4BDIV ALIGN=CENTER RSVP /B ?echo BRHR; echo FONT SIZE=2Name:BFONT SIZE=4 $fi $last /BBRHR; echo FONT SIZE=2Email:BFONT SIZE=4 $em /BBRHR; echo BRBR; ? /TD TD BGCOLOR=#FFF8DC WIDTH=12 #160; /TD/TR /TABLE DIV ALIGN=center form action=?echo $PHP_SELF?? method=POST input type=hidden name=em value=?echo $em? input type=hidden name=fi value=?echo $fi? input type=hidden name=last value=?echo $last? input type=hidden name=pg value=3 input type=submit value= Send It! /DIV/FORM BRBR ? }? ! End of pg2.! ? IF($pg==3) { ? ? /* Mail results to this address */ $mailTo = [EMAIL PROTECTED]; /* set the subject*/ $mailSubject = RSVP; /* Add From Header*/ $mailHeaders = From: User Group Web Server/n; /* Message */ $mailBody = Name : $fi $last\n; $mailBody .= E-mail : $em\n\n; /* send mail*/ mail ($mailTo, $mailSubject, $mailBody, $mailHeaders); ? BRBRBRBRBRDIV ALIGN=CENTER FONT FACE=comic sans ms, Sans-serif COLOR=WHITE SIZE=4BRBYour RSVP Was Sent! - - Thank You! BRBR BRBR /B/FONT /TD/TR/TABLE BRBR ? }? ! End of pg3.! /TD/TR /TABLE /BODY /HTML Thanks for your input, but I still dont really understand your logic/technique. If you may, please send me a basic one textarea form, as too how you use this logic. I guess my main stumbling block is how you move from a blank form ($pg=1) to $pg=2. I may have to go back to a 2 file format to get this done. Thanks for listening Gerard Michael J. Seely wrote: Yes... I like using pg=1, 2, 3, ... to keep track of where I want the page to go next. It seems easy that way. Good Luck. So far this message and another who mentioned $HTTP_POST_VARS[] made a small light go off in my head. Not enough to get the script woriking, but it made me think. Its not clear, but I sort of came up with another way, but I dont know if its doable . In my form I have a hidden element called 'post' with a value of 1. After the end of the form I echo $post. If its a first time view, there is nothing to output, thats normal. If I submitted the form it echoes 1, thats to be expected. Now, Im able to tell if the form has been posted or not. Enter some logic.. if ($post = 1 $Age = ) {echo NO;} else {echo YES;} Now here is what
Re: [PHP] PHP_SELF
I do this sort of thing all the time. The format I use typically follows this logic. The PHP file has four IF-ELSEIF-ELSE sections. pg=1 or blank is the initial form pg=2 is the error check looking at input values. If it passes, pg is set to 3. If not, set to 1. The advantage of this is the original input values can be saved and displayed with Value=? ECHO..? sequences so the use doesn't have to input everything if they make a mistake. The error can be highlighted with a color or text!!!. pg=3 shows a visual verification page. The user can scan the input and use the back button to make changes or click OK to proceed. pg=4 is the action step - send an e-mail including the input, post input to a database or ??? The sections are written in this order - 2, 4, 3, 1. IF($pg=2) { do the error checking e.g., if fields A, B, and C are not blank = OK e.g., if a value is 100 = not OK IF OK, $pg=3; IF not OK, $pg=1; } ELSEIF($pg=4) { do the action stuff. } ELSEIF($pg=3) { show an html page in a nice format showing the input values IF they like it, the form submit button sets pg=4, and uses hidden fields to copy all of the input values to pg 4. } ELSE { Show the initial input form. use INPUT TYPE=HIDDEN NAME=pg VALUE=2 } The form can include error check and input tags like this: ? IF(($pg=1) and ($val3==)) { ECHOFONT COLOR=REDRequired./FONTBR; } ? TEXTAREA WRAP=SOFT NAME=val3 COLS=50 ROWS=5? ECHO $val3; ?/TEXTAREA INPUT TYPE=RADIO NAME=v2 VALUE=6 ?IF($v2==6) { ECHO CHECKED; } ? 6 INPUT TYPE=RADIO NAME=v2 VALUE=7 ?IF($v2==7) { ECHO CHECKED; } ? 7 and so on. Hope this is useful... Im trying to introduce some logic into a form.I am unsing $PHP_SELF as the target. form action=\$PHP_SELF\ method=\POST\ type=\multipart/form-data\ I have a text area that the user inputs their age. What I want is that if the field is blank, to stop the script and send the user back to fill in their age. My problem now is that if I go to the blank application form, The script interprets the form as being blank and spits out the error. Ideal scenario, a blank form is presented to the user, and when the form is submitted, do the logic check and act accordingly. Is it possible using $PHP_SELF as the target, or do I have to use 2 files: a form 'front end' with the php logic in the 'backend'?? if ($Age = ) { echo Please go back and enter your age.; } exit(); Thanks Gerard -- 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] -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Michael Seely 408-777-9949 -- 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] Drop Down Menu
You need to do something like this: With a little PHP work you can make the menu content and url links data driven. HTML HEAD TITLEPage Title/TITLE SCRIPT LANGUAGE = JavaScript!--- //hide script from old browsers function MakeArray() { this.length = MakeArray.arguments.length for (var i = 0; i this.length; i++) this[i+1] = MakeArray.arguments[i] } var url = new MakeArray(pg0.htm, pg1.htm, pg2.htm, pg3.htm); function jumpPage(form) { i = form.SelectMenu.selectedIndex; if (i == 0) return; window.location.href = url[i+1]; } //end hiding contents --- /SCRIPT /HEAD BODY BGCOLOR=WHITE TABLE BGCOLOR=#D0D0D0 BORDER=0 CELLSPACING=0 CELLPADDING=5 BORDERCOLOR=WHITE WIDTH=100% TRTD FORM ACTION= METHOD=POST TABLE BORDER=0 TRTDFONT FACE=Verdana, Arial, Helvetica, San-Serif SIZE=+1 B #160;Menu Options #160; /B/FONT/TD/TR/TABLE FONT FACE=Verdana, Arial, Helvetica, San-Serif B A HREF=pg0.htmBack/A #160; #160; SELECT NAME=SelectMenu onchange=jumpPage(this.form) OPTION SELECTEDSelect Section #160; #160; #160; #160; #160; OPTIONPage 1 OPTIONPage 2 OPTIONPage 3 /SELECT /FORM /TDTD ALIGN=RIGHT VALIGN=TOP FONT SIZE=-2 FACE=Sans-serif2/1/2001/FONT/TD/TR/TABLE /BODY /HTML I have the following question : if i make a selection in the drop down menu and click on submit button then the color will send to form2.php I want not click on the submit button i make a selection in the drop down menu then the color will send automatic to form2.php, how can I do this form method=POST action=form2.php tdselect size=1 name=color optionblue/option optionlicht/option optionred/option optionyellow/option /select/td input type=submit value=Next name=Go /form -- 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] -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Michael Seely 408-777-9949
[PHP] PHP and Apache on OS X insight?
Hello, I'm getting ready to buy OS X and try to setup Apache with PHP. Anyone have any words of wisdom. Everything I've seen so far make it seem like a hot setup. Is it worth getting OS X server? Thanks Much -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Michael Seely 408-777-9949 -- 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] PHP and Apache on OS X insight?
Hello, I'm getting ready to buy OS X and try to setup Apache with PHP. Anyone have any words of wisdom. Everything I've seen so far make it seem like a hot setup. Is it worth getting OS X server? Thanks Much -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Michael Seely 408-777-9949 -- 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] HTML tags in database fields
HI I know this isn't elegant but it will work. Just put in extra close tags after the field input. /I/I/B/B/FONT etc. Browsers will ignore the extra close tags. Hello. I wrote a comments application that allows the use of some HTML tags for text formatting (ib). I ran into a problem of users not closing the tags (/i/b), so when I display a page with all the comments, if the user did not close the b tag then all the text in the other comments is bold. Is there a solution to this? -- Ivan R. Quintero E.* (507)228-3477 Aptdo 1263* (507)228-9105 Balboa, Ancon * 612-1103 Republic of Panama * -- 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] -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Michael Seely 408-777-9949 -- 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] Security issue with index.php3
HI If I make a file called index.php3 in a directory and have several other files 'hidden' in that same directory, is it possible for anyone to get the names of these files? How would they do this? How can I stop a spider or robot from finding these hidden files? Thanks - Mike -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Michael Seely 408-777-9949 -- 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] PHP and .htaccess
HI I have a directory that works like this. The owner of each listing in the directory clicks on a little box that appears before their name and info in the directory. An Enter User Name and Password page is shown ( a simple form, can look as you like) The imbedded listing number is used to find their data record. The input user name and password is compared to the saved versions - if they match, an edit form is opened. If not, "Try again". It works well. No magic. p.s. the test looks for a match of a 'master' user name and password first. If this is used, the refresh shows the related specific user name and password in the input boxes. This provide an easy look-up function. Hi all, We're all familiar with the skanky little box the web browser pops up to get your username/password in response to a 401 from the web server. What I want is the same functionality, except through a login web page instead. I know how cookie-based or session-based logging in works with PHP, but I would actually prefer (since it's more general) an HTML-only solution if there is one. Or maybe there's something I can do to configure the server (Apache) to redirect to a login page if a 401 is generated. Anyt thoughts? Help would be much appreciated. Les Neste 678-778-0382 http://www.lesneste.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] -- '' Michael Seely[EMAIL PROTECTED]408-777-9949 -- 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]