| Home  |  | About  |  | Contact  |  | Board index » PHP contact form » About code and modifications 
Register  |   FAQ   |  Search  |  Login
Host : WEBHOSTINGPAD.COM
  • Free domain name
  • Unlimited Disk Space
  • Unlimited Bandwidth
  • Unlimited sub domain
  • Host unlimited domain
  • Unlimited MySql database
  • Unlimited Parked Domains
  • SSI (Server Side Includes)
  • Weekly Backups
  • And much more..
  • 1.99 USD per month

Visit : webhostingpad.com

Hosting: Free trial
FatCow is one of the leading webhost in the internet today. FatCow Web Hosting. Free Trial , Free Setup, Free Support, All risk free!
Visit: FatCow.com


Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: windows server?
PostPosted: Sat Feb 13, 2010 2:56 am 
Offline

Joined: Sat Feb 13, 2010 2:18 am
Posts: 3
Cant seems to get this contact form works on windows server?

-----------------------------------------------------------------------
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in c:\webspace\bravo\astiquemedical.com\astiquemedical.com\www\cont4\mail\index.php on line 8
------------------------------------------------------------------------

And i'm still figuring how to install this form? Pls aadvise, thanks.


Top
 Profile E-mail  
 
 Post subject: Re: windows server?
PostPosted: Sat Feb 13, 2010 7:11 am 
Offline
Site Admin

Joined: Wed Nov 05, 2008 8:04 am
Posts: 90
Do you please mention name and version of the product?


Top
 Profile E-mail  
 
 Post subject: Re: windows server?
PostPosted: Sat Feb 13, 2010 8:27 am 
Offline

Joined: Sat Feb 13, 2010 2:18 am
Posts: 3
Its the AJAX contact form with auto responder.

Any difference between Free AJAX contact form without PHP mail() function and AJAX contact form? Does both works on Windows server?

Btw do you have step-by-step installation info for above forms?


Top
 Profile E-mail  
 
 Post subject: Contact form on windows server
PostPosted: Sat Feb 13, 2010 11:21 am 
Offline
Site Admin

Joined: Wed Nov 05, 2008 8:04 am
Posts: 90
Hello,
I actually never try it on windows server. But I hope it will work on windows server as well. Most probably you are using lower version of PHP. Try to use version 5.2 or later. If it is not possible then please do the following steps.
1. Open file /mail/index.php with windows WordPad or any PHP editor.
2. From line-8 to line-15 find the lines
Quote:
private $url;
private $server;
private $to;
private $reply_from;
private $user;
private $pw;
private $configfile;
private $filename="database/db.php";

Now replace those lines with the followings:
Code:
var $url;
var $server;
var $to;
var $reply_from;
var $user;
var $pw;
var $configfile;
var $filename="database/db.php";

Now save and upload that file to your server and try to install it again. If it work then please drop few line of text here.
-----------------------------
Please give me feedback.
*Answer is given based on version-1.0.


Top
 Profile E-mail  
 
 Post subject: Re: windows server?
PostPosted: Tue Feb 16, 2010 2:54 pm 
Offline

Joined: Sat Feb 13, 2010 2:18 am
Posts: 3
i still get an error on my .../mail/index.php page.

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in c:\webspace\bravo\astiquemedical.com\astiquemedical.com\www\cont6\mail\index.php on line 17

pls kindly advise? thanks.


Top
 Profile E-mail  
 
 Post subject: Re: windows server?
PostPosted: Wed Feb 17, 2010 12:21 pm 
Offline
Site Admin

Joined: Wed Nov 05, 2008 8:04 am
Posts: 90
Hello,
Please replace that index.php file with the following attachment. Actually i do not have PHP version-4 installed on my PC. So I can't test it. If this replacement works please give me feedback.
Thank you.
Attachment:
index.zip [4.81 KiB]
Downloaded 13 times


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
©  2008,   http://ramui.com   All rights reserved.
Powered by phpBB