My problem is, that although I am setting up the security, 13 year old boys are doing the web pages. To make it easy for them we are using Front page. If I use java to check that the person has logged in, or direct them to the login page, front page can still work with the page as an html page. If I use php, I have to alter the extension, and then FP does not let anyone work with the page in design mode. I have to get these pages so that they are user friendly for young boys. I debated wrapping the html page in a header page template with the php code, but that would mean I would have to personnally maintain the setup & placement of each page in the web. I could not use show the boys how to use the FP navigation system. Any ideas from anyone on how I can move out of php security checking and (alot of other php code) and back into simple html pages, without too much hassel, but still keep my security in tact? [i:98146cc62a]PS. darksat, can you take over the world some other day, I have just come from a forun where a group of hostile, ballistic people have been attempting to take over the world for the last week. I need a break from world domination[/i:98146cc62a] wenda
Do you mean java or javascript, java requires a java applet
I will take what ever would work. I am not sure which I mean, it probably is javascript come to think of it, I think that is the titles I have at home. I have just spent one and a half months learning the ins and outs of php, so I could go from 0 to 50 in record time.. (saving going to 100, for a later date).. My mind is fried on php and for the most part I am happy with it, but this is one element of php I do not want to continue it's use in. But I am too brain dead to really get into another language & learn it from top to bottom. So I am hoping I can have a quick if statement in ?javascript? that says look at that session, if "A" let them into the page.. if "B" take them to the login page. In javascript simple basic, I have found and can understand the syntax of the if statement, and I have found something about cookies (but my understanding is cookies are not as good as sessions since people are now not allowing them to be created and stored on their pc's.) But as for sessions.. I have not seen anything. Wenda
Javascript dosnt support sessions as far as I know. and Java applets are way harder than PHP to do. and more CPU intensive. Looks like your stuck with PHP sorry.
ick, yuck, and plthhhhhhhh...... The things we do to try to keep our kids safe.. And we will probably get hacked anyway for the sheer pleasure of idots with too much time on their hands... Well I better get busy working on a header template.. I just pull the FP design window away from them and teach these kids HTML code.. It took them all summer just to give me a background & header and I swear they didn't listen to a word I said.. I have headers that take up the entire page & you have to scroll down to see anything or relevence.. And rather then deciding on a central theme for a template, I am getting a design for every page. But, I am still pleased as punch with their efforts. :lol: Wenda
oops typo.. I meant to say "can't" ... I just can't pull FP design window away from them.. (teach me for not doing a preveiw check.) Wenda
you can use front page on php pages. php is seperated by: [code:1:648551dd5a] <?php echo "some code here"; ?> [/code:1:648551dd5a] as long as that code isn't munged by the front page program, you will have no problem. i use front page and php all the time.
Wow! I have tried.. I first tried to leave it with an htm extension, and the php would not work.. I then read that the htm extension was the problem I changed the extension & bingo my php code would work.. But... now I have the pages with a php extension.. As soon as I do that, I can not get the FP to let me get out of the code window and back into looking at it in the design window.. The button for the option just vanishes! So I am left with doing my Html code on these pages as if I word in a basic text editor!.. The kids are use to MS Word, I want it to be as MS Word like as possible for them. Wenda
ah okay. the webhost needs to do this: set the server to parse .htm as php. thats all. he can do it by using as addtype declaration.
That will work if you have your own server. if not just use the PHP pages to include the HTML content.
Oh!! Thank-you, thank-you, Thank-you :D Thank-you, thank-you, Thank-you :D Thank-you, thank-you, Thank-you :D Huh? I thought I made a post last night, but must have not hit the submit button. Anyway, in it I said I did not have my own server, but that was the answer to my prayers so I would ask my web host. The worst they could say was no.. Right? So I did and they told me if I had the linex package, then they could do it for me. (which is what I had, their other package was windows.) I went to bed & woke up and they were asking for a test page to try it out.. And it worked! it really, really worked.. !!! I love it, just love it... I will be dancing all day.. By the way, Did I say Thank-you :!: :lol: :!:
Congratulations.
Copyright 2008, All Rights Reserved. Thanks for visiting a Performance Marketing Group Network Website. Advertise Here. Get A Free Link. Please visit one of our other quality websites.:
