hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : Need Help Please!!!
Reply

Programming Discussion Discussions related to web programming languages and other related issues. Topics may include configuration, optimization, practical usage and database connectivity.
Forum Jump

Need Help Please!!!

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 09-12-2002, 06:25 AM
MadPinger MadPinger is offline
Junior Guru Wannabe
 
Join Date: Aug 2002
Location: Los Angeles, CA
Posts: 33
Question

Need Help Please!!!


i was wondering how i can make a script that when the customer clicks the buy button for my webhosting accounts:

1. a new browser pops up and performs these functions:

2. Asks if the user needs to purchase a domain name
- if yes: go to my enom site or script and makes purchase
then goes back to the purchase form.
-if no: continues to the purchase form.

If it helps, i'm using h-sphere as my control panel. Aparently they have their own method using opensrs but i don't want to use them because i already filled my enom account with funds. Thank you in advanced for your help.

__________________
SevenFourteen
http://www.sevenfourteen.com
sales@sevenfourteen.com

Reply With Quote


Sponsored Links
  #2  
Old 09-12-2002, 06:44 AM
ChickenSteak ChickenSteak is offline
Disabled
 
Join Date: Aug 2002
Posts: 1,216
This should get you started:
PHP Code:
<?php
    
    
switch ($action) {
        case 
"yes":
            print 
""// print out rest of order form if he clicks "yes", I have a domain.
            
break;
        case 
"no":
            print 
""// print's out domain order form, if he clicks no, I dont have a domain.
            
break;
        default:
            print 
""// print's out the defualt.
    
}

?>

Reply With Quote
  #3  
Old 09-12-2002, 07:25 AM
MadPinger MadPinger is offline
Junior Guru Wannabe
 
Join Date: Aug 2002
Location: Los Angeles, CA
Posts: 33
Thanks for the start...i'm really new to php. can u show me how i can make it so this opens up in a new browser?

__________________
SevenFourteen
http://www.sevenfourteen.com
sales@sevenfourteen.com

Reply With Quote
Sponsored Links
  #4  
Old 09-12-2002, 08:04 AM
Rich2k Rich2k is offline
Web Hosting Master
 
Join Date: May 2002
Location: UK
Posts: 2,994
The popup would have nothing to do with PHP, it's either HTML or JavaScript. PHP is a server side language

www.javascript.com is a good starting point.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?