Community Forums

Important Notice:

Two sections of this forum are available only to registered customers. In order to receive access to the Customer Forums and ResellerCentral Forums, you must first register on these forums or login to your existing forum account. If you are an existing HostNine customer, be sure to register using the email address on file for your billing profile.

Go Back   HostNine Community Forums > H9 Customer Forums > Reseller Hosting

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 10-12-2006, 06:23 PM
tvance929 tvance929 is offline
Newbie
 
Join Date: Oct 2006
Posts: 8
Send a message via MSN to tvance929
Default FORM AND SCRIPT QUESTIONS:

Okay - On my site, I am developing a couple of forms that let users

A) Check for a domain name and

B) Login

--My thought was that I could pass the variables into the pages -- I just dont know if this will work....does anyone have any experience with this?

A) -- I want to pass the desired address and the desired extension (.com,.net, etc.) straight into the MODERNBILL page that searches these things. -- Can someone help me with that?

B) -- I want to send their username and password (I dont think I can send passwords can I) to the www.mysite.com/cpanel page so that the username and password (if it will work) will be filled in for them....ANY THOUGHTS???

Thanks everyone !
Todd.
Reply With Quote
  #2  
Old 10-27-2006, 12:13 AM
ringobob ringobob is offline
Newbie
 
Join Date: Oct 2006
Posts: 5
Default

Well, I'm not hosted here (yet), and I have no experience with ModernBill, so I can't really help you with that one, but I may have an answer that you can try for the cpanel one.

If you format the link thusly:

http://usernameassword@www.example.com/cpanel/

... it should bypass the popup login box.

Trying this out on the cpanel demo they have set up didn't seem to work initially, because the /cpanel directory is forwarded to port 2082. So, actually you'd have to format the address like this:

http://usernameassword@www.example.com:2082

Further, I couldn't seem to get it to work unless I typed that directly into the address bar when I was already on the hostnine.com site. If I opened up a new window and tried to use that address, it would still pop up the login box. Don't know how it would react clicking a link from already within the site, so let's try it out:

http://hndemo:demo@demo.hostnine.com:2082

At any rate, this may get you at least part of the way there.
Reply With Quote
  #3  
Old 10-27-2006, 11:28 PM
kobra kobra is offline
Web Hosting Master
 
Join Date: Oct 2006
Posts: 595
Default

tvance929,
Quote:
I want to send their username and password
A basic table based function for a simple login that you can use on your page could look something like this: where the values would require alteration to match the application you are logging into and for security I would recommend using the htpps:// with your cert.
Code:
<form name="loginform" action="https&#58;//www.some_domain.com/billing" method="post">
<table cellpadding="1" cellspacing="0" border="0">

<tr>
<td style="text-align&#58; right;">
Login&#58;
</td>
<td>
<input type="text" name="email" style="width&#58;100"><input type="hidden" name="r_email" value="Username">
</td>
</tr>
<tr>
<td style="text-align&#58; right;">
Password&#58;
</td>
<td>
<input type="password" name="passed_password" style="width&#58;100"><input type="hidden" name="r_passed_password" value="Account Password">
</td>
</tr>
</table>
<input type="submit" value="Login" name="btnSubmit"></div></form>
</TD>
</TR>
</TABLE>
You can just paste this into your html code to see what it looks like. Some alteration needed to make it a php login
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Php email form glitch003 Shared Web Hosting 2 09-16-2010 07:18 AM
Login Form jleemc44 WHMCS 2 01-30-2008 10:26 AM
SSL Install Form pranalee Reseller Hosting 1 06-12-2007 11:41 PM
form mail issue idwebca Reseller Hosting 4 05-08-2007 08:39 PM


All times are GMT -5. The time now is 12:02 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

Host Nine

Our mission began in 2006. Thousands of awesome clients later, we are now one of the most popular hosters in the world.
Most of this is because of our fantastic support. Join us, you'll be glad you did - that's a given.