dare87 Posted December 19, 2007 Share Posted December 19, 2007 On my site when you go to http://trim-art.com:2095/3rdparty/squirrelmail/index.php it brings up a login box that you fill out and then takes you to squirrel mail. Is there a way to make a form in php that when you hit submit it will fill that login box in? I want the form to be on a page on the site not a link to the popup. Thanks Quote Link to comment Share on other sites More sharing options...
p2grace Posted December 19, 2007 Share Posted December 19, 2007 Just look at the source code for the form that pops up, create data that posts data to the same file using the same field names. Quote Link to comment Share on other sites More sharing options...
dare87 Posted December 19, 2007 Author Share Posted December 19, 2007 I don't have access to the source code. Quote Link to comment Share on other sites More sharing options...
p2grace Posted December 19, 2007 Share Posted December 19, 2007 You can't right-click and view source code? The file the form is submitting to would be shown in the html code. Quote Link to comment Share on other sites More sharing options...
dare87 Posted December 19, 2007 Author Share Posted December 19, 2007 you can "paste" and "select all" and when you view the source for the cancel page it doesn't work when you try to submit to the same place. would there be another way? Quote Link to comment Share on other sites More sharing options...
corbin Posted December 19, 2007 Share Posted December 19, 2007 That's the cpanel login coming up, not squirrel mail.... To make it so just squirrel mail's login would come up, you would need to put squirrel mail on your server somewhere where it's not protected by cpanel. Quote Link to comment Share on other sites More sharing options...
dare87 Posted December 19, 2007 Author Share Posted December 19, 2007 I can't move anything. I am on a shared server. I don't have any access to the mail client(s). Is there any way to make a form that would just fill that form out on submit? I just want a page on my site with the username, userPass and a submit button. When they submit I want it to load that page and auto fill the form and proceed to the squirrelmail app. is that possible? Quote Link to comment Share on other sites More sharing options...
corbin Posted December 19, 2007 Share Posted December 19, 2007 If you make the popup go away on that page, you'll be signing the visitor into CPanel, which is a horrible idea security wise. What I meant was, you could upload your own copy of squirrel mail to something like http://yoursite.com/smail/ and then they could go to that.... Only problem would be, squirrelmail would need to be able to access the mail database and server. Quote Link to comment Share on other sites More sharing options...
dare87 Posted December 19, 2007 Author Share Posted December 19, 2007 that could work... I don't think that I have access to that thou... Quote Link to comment Share on other sites More sharing options...
dare87 Posted December 19, 2007 Author Share Posted December 19, 2007 would I be better off to find a pop3 connecter that is webbased? Quote Link to comment Share on other sites More sharing options...
corbin Posted December 19, 2007 Share Posted December 19, 2007 Hmm that might be the only way to do it.... Surely you could get squirrel mail working, but your host might use the same mail DB for sites other than yours.... Or, who ever uses that mail server could simply use a POP3 client.... Quote Link to comment Share on other sites More sharing options...
dare87 Posted December 19, 2007 Author Share Posted December 19, 2007 so all in all there is no way to fill that popup out without actually doing it? Quote Link to comment 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.