| | |
Current Promotions.
|
Refer your friends to this forum and earn BRL per referred member.
Post a New Thread anywhere on Web Development Board to earn BRL$ 5 for every thread. Post a New Reply there and earn BRL$ 3 for every reply.
Post a New Thread anywhere on Search Engine Optimization Board and earn BRL$ 5 for every thread.
| |
Earn By Posting
|
Participate in forum and Earn $$$.
Get Referrer Credit - BRL$ 20
Get Positive Rep Cr. - BRL$ 3
Get New Thread Cr.- BRL$ 3
Get Posting Cr. - BRL$ 2
Get Post size Credit Full List of BRL$ Earnings | |
Sponsors.
|  | | | PHP Discussion related to PHP web development, PHP coding. Tutorials, source code, tips and tricks related to PHP programming. | PHP in HTML and GoDaddy
This is a discussion on PHP in HTML and GoDaddy within the PHP forums, part of the Web Development category; Hi, I have a client who's site is hosted by GoDaddy. Ugh. I have successfully put php code into ... |  | 
09-04-2007
| | Administrator
Join Date: Jun 2007
Posts: 3,729
BRL$: 35,045.20 Thanks: 0
Thanked 7 Times in 7 Posts
Rep Power: 406 | | PHP in HTML and GoDaddy Hi, I have a client who's site is hosted by GoDaddy. Ugh. I have successfully put php code into HTML pages and can get them to be parsed by modifying the .htacess file with a "AddHandler x-httpd-php .html .htm .cgi .php". However, as soon as I add that to the .htaccess file, the stats interface that GoDaddy provides them does not work. I get this: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Apache/1.3.33 Server at anokacountyonline.com Port 80 If I remove the .html from "AddHandler x-httpd-php .html .htm .cgi .php". stats work again, but obviously my php does not. I have tried other AddHandler and AddType lines that do not work for the php side of it. GoDaddy gives my client no access to error logs or any kind of access to the stats folder. I checked the .html pages in the stats folder and it's straight html. I am not sure why having .html parsed through php first would screw things up in the folder. Any help appreciated! To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. | |
__________________ █ High Quality To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
█ Powerful To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
█ To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
To receive latest updates about BRL Forums, Subscribe to Latest Updates Thread.
| | | | 
06-16-2008
| | New Foot Prints
Join Date: Jun 2008
Posts: 5
BRL$: -51.73 Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 | | Re: PHP in HTML and GoDaddy hi this is janakiraman i have a problem with godaddy.com
<?php
echo "<pre>";
print_r($_POST);
print_r($_REQUEST);
// print
?>
<html>
<head>
<title>
Testing post values
</title>
</head>
<body>
<form name="frm" method="post" action="test_post.php">
<input type="text" value="" name="txt1"/>
<input type="submit" name="test" value="Submit" />
</form>
</body>
</html>
when i run this program in the godaddy server first time the value is get posted. if i submit second time the value is not posted? Is anything wrong in my coding. Please help me out.
Advance thanks
Janakiraman |
To receive latest updates about BRL Forums, Subscribe to Latest Updates Thread.
| | | | 
06-16-2008
| | Administrator
Join Date: Dec 2006
Posts: 6,127
BRL$: 50,587.33 Thanks: 4
Thanked 26 Times in 23 Posts
Rep Power: 657 | | Re: PHP in HTML and GoDaddy Can you post the URL where we can reproduce this error?
post the files names too!!! | |
__________________ Jason p. - Administrator █ High Quality To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
█ Powerful To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
█ To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
To receive latest updates about BRL Forums, Subscribe to Latest Updates Thread.
| | | | 
06-17-2008
| | New Foot Prints
Join Date: Jun 2008
Posts: 5
BRL$: -51.73 Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 | | Re: PHP in HTML and GoDaddy Thanks of the quick reply Mr. Brl_admin
the url is this
please add mlxfsbo.com/admin/test_post.php
file name is test_post.php
Advance thanks for the help... |
To receive latest updates about BRL Forums, Subscribe to Latest Updates Thread.
| | | | 
06-17-2008
| | New Foot Prints
Join Date: Jun 2008
Posts: 5
BRL$: -51.73 Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 | | Re: PHP in HTML and GoDaddy Hi since i am new user it is not allowing to post the url. so i ve posted the path alone.
Thanks Mr. Brl_admin . |
To receive latest updates about BRL Forums, Subscribe to Latest Updates Thread.
| | | | 
06-17-2008
| | Administrator
Join Date: Dec 2006
Posts: 6,127
BRL$: 50,587.33 Thanks: 4
Thanked 26 Times in 23 Posts
Rep Power: 657 | | Re: PHP in HTML and GoDaddy This is a very strange issue. The script is completely working fine at To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. ... but the same script is not working at godaddy hosting.
It seems to be some session related issue. If session is cleared the values are displayed... but once the session is established ... post values are not displayed. | |
__________________ Jason p. - Administrator █ High Quality To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
█ Powerful To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
█ To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
To receive latest updates about BRL Forums, Subscribe to Latest Updates Thread.
| | | | 
06-17-2008
| | New Foot Prints
Join Date: Jun 2008
Posts: 5
BRL$: -51.73 Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 | | Re: PHP in HTML and GoDaddy Thanks for the quick reply Mr. Brl_admin
Actually in that page i have not even started the session or neither used any session variables in it then how come this problem arises. Really thanks for ur quick reply. Then any solution is their for this.
Advance Thanks
B. janakiraman |
To receive latest updates about BRL Forums, Subscribe to Latest Updates Thread.
| | | | 
06-17-2008
| | New Foot Prints
Join Date: Jun 2008
Posts: 5
BRL$: -51.73 Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 | | Re: PHP in HTML and GoDaddy Then again i tried by starting the session and destroying the session then also i am not getting the post values when i use the metho=get it is nicely working.
One more thing the hosting is free. May be this have any effect on it.
advance thanks
B. Janakiraman |
To receive latest updates about BRL Forums, Subscribe to Latest Updates Thread.
| | | |  | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | | | |