Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > VodaHost Web Hosting Support > mySQL & PHP

Notices

mySQL & PHP Discussions, information and help with mySQL and PHP.

Reply
 
LinkBack Thread Tools
  #1  
Old 04-14-2008, 04:00 AM
croftgifts's Avatar
Corporal
 
Join Date: Mar 2008
Location: Thunder Bay , Canada
Posts: 10
Question Trying to add to a php file

I am trying to add code to my index.php or index html page ,
1) can't find it to do it? Where is it ?
2)wouldn't know where to put it anyway. Where do I put the code ?

I Am using Soholaunch for my site and have added the Affiliate Pro Program and it requires me to place code on my index page (which I am guesdsing is the HOME page?) that will register the clicks to my site AND add code to my "thank-you" Page.
1)Where is the "thank-you" page located.
2)where do I put the code.(top, bottom)
It doesn't metion where in the page to put the code???
If anyone can help I will be able to keep what hair I have left on my skull.
Thanks, Mike
__________________
www.croftgifts.com : 15% Off till April 15 th.
After April 15th : vodarocks is your code to still get 15% off (For Vodahost Brothers & Sisters)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 04-14-2008, 04:50 AM
Watdaflip's Avatar
Brigadier General
 
Join Date: Sep 2005
Location: Cincinnati, Ohio
Posts: 1,644
Default Re: Trying to add to a php file

I can't really help with how to do it with soho, I have never used soho, and I havn't read anything about it on the forum.

The location of the php code doesn't matter (assuming the php code doesn't have any output). The code will be parsed and executed no matter where it is in the document.
__________________
Freelance web programming
Do you need help installing a script, or need one written for you? I do freelance web programming (XHTML, CSS, PHP, MySQL). Feel free to contact me through my website and I will get back to you with a quote asap.

Register/Login Script

Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 04-14-2008, 08:58 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 8,884
Default Re: Trying to add to a php file

Depends on what the code is. If it is a Javascript or html code, to load it in Soho, you need to insert a Custom HTML object in your page and insert the code in it. You will need to first save the code as file and them upload it before you can insert it in the Custom Code object.

Since you are talking about a Thank you page, i suppose that this is a Newsletter signup or something similar. In this case, you should add such a page in your site (but not in your menu) and set this page to be the return (thankyou) page.

In this case, the code should createa Sign up form in your page. So you need to place the Custom Code object wherever you want this form to appear in your page.
To insert code in this thank you page, you do it excactly as you do for the index (home) page through a Custom Code object.

Read the instructions that come with your code.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old 04-15-2008, 06:21 PM
croftgifts's Avatar
Corporal
 
Join Date: Mar 2008
Location: Thunder Bay , Canada
Posts: 10
Default Re: Trying to add to a php file

That's the problem NO INSTRUCTIONS, and the THANK_YOU page is my customers Thanks for shopping with us page. It is to be shown when they are finnished shopping, I believe that it is shown after they have paid and checkout their products (the page is included with my shopping cart-I believe) I'm having a heck of a time. I need to put the code in both spots on my site, Using SOHO, but can't find the answers I need , well not all of them. Thanks , Mike
__________________
www.croftgifts.com : 15% Off till April 15 th.
After April 15th : vodarocks is your code to still get 15% off (For Vodahost Brothers & Sisters)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old 04-23-2008, 03:51 PM
NealDavid's Avatar
Private First Class
 
Join Date: Apr 2008
Posts: 8
Send a message via Yahoo to NealDavid
Default Re: Trying to add to a php file

I had posted this in another area but never found an answer. I have a client using PAP3.0 along with his website. Currently it is set up with a few public buttons, a couple "member" buttons that when you would click on them offer a little text about what is in them, with another button inside to click for members to sign in and go to the full area. There is also a sign up button that links to his PAP program. What he would like and I am not sure how to do it, is to link the affiliate user names and passwords to the member buttons on the web site so they don't have additional passwords or names to use. Could someone explain to me the best way to do this and how? PLEASE...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 03:47 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2007 VodaHost.com - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53