Vinsanity Posted January 29, 2007 Share Posted January 29, 2007 i have the login script which work prefectly on itself but when i try to use the frame to create the main page and call out the login function, the login doesnt work and just display out some of the php login script. even i managed to get rid of this error then the function also canot work... below will be my code... hope somebody can help... thnk you...[attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/36132-login-with-frame-problem/ Share on other sites More sharing options...
Vinsanity Posted January 29, 2007 Author Share Posted January 29, 2007 below is the screenshot of the error...[attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/36132-login-with-frame-problem/#findComment-171579 Share on other sites More sharing options...
Wildhalf Posted January 29, 2007 Share Posted January 29, 2007 quick question.... From what you said i think your using frames.... Am i right??If the Script works without frames why don't you just use Tables instead... Quote Link to comment https://forums.phpfreaks.com/topic/36132-login-with-frame-problem/#findComment-171580 Share on other sites More sharing options...
chronister Posted January 29, 2007 Share Posted January 29, 2007 The file is .htm the php parser is not looking into the file to find php because it's not a php file, its an html file. Try renaming your top frame to a .php extension.also, I noticed that the file is running from C:\inetpub\wwwroot\..........It is opening it as a file, not as a webpage. As is, the php parser will completely be ignored this way. You have to load it as http://localhost/projects/... The webserver needs to serve the page so the php engine can grab it and parse out the php. Right now you are simply loading a file. Quote Link to comment https://forums.phpfreaks.com/topic/36132-login-with-frame-problem/#findComment-171681 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.