There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot bsod computer connection cpu crash css dell desktop dma driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware monitor motherboard network networking outlook outlook 2003 outlook 2007 outlook express pio problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
Software Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Software & Hardware > Software Development >
Help! Urgent!


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
ihav2gonow's Avatar
Junior Member with 1 posts.
 
Join Date: Jun 2003
Location: Las Vegas NV
Experience: Space Cadet
22-Jun-2003, 02:02 AM #1
Unhappy Help! Urgent!
PHP FormMail Needs Help
Can someone tell me how to fix this form? It won't redirect users to a thankyou page. Ant Help will be highly appreciated.

http://innwebhost.com/real.html or

http://innwebhost.com/real.php

Tammy C.
Shadow2531's Avatar
Distinguished Member with 2,629 posts.
 
Join Date: Apr 2001
22-Jun-2003, 03:33 AM #2
In http://innwebhost.com/real.html , I can see the php code. I shouldn't be able to see that code.

Just guessing but it looks like the server isn't executing the include conf.php and the rest of the php code when using the html extension, which is usually normal.

So rename real.html to realindex.php and then give it a shot.

Here's the server info
http://uptime.netcraft.com/up/graph/...innwebhost.com
__________________
10 ? "a line as the unending horizon"
20 ? "a curve as the rolling hillside"
30 ? "a point as a distant bird"
40 ? "a ray as the rising sun"
run

Last edited by Shadow2531 : 22-Jun-2003 03:54 AM.
deuce868's Avatar
Senior Member with 638 posts.
 
Join Date: Nov 2000
Location: MI
22-Jun-2003, 02:21 PM #3
1st, make sure your host supports php
then rename the file to real.php
next change the open to
PHP Code:
<?php
finally change include("conf.php"); to:
require_once ("conf.php") or die ("could not include file");

If you get the php to run and it can't include the file you should get the error message. Then you might need to work on the include path to the conf.php. You don't specify where that is at.
__________________
www.ricksweb.info
www.2webheads.com
Quote:
Techies just think a little differently...at least that's what they keep telling me.
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 Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 06:34 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.