Database not save values at hosting server

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
babajee
Forum Newbie
Posts: 5
Joined: Wed Apr 04, 2007 2:38 am

Database not save values at hosting server

Post by babajee »

Urgently required help.

I will make a guest and it is working fine at localhost and one hosting server, but the server where actually i need that guest book cause a problem. When i add some comment it is not saved in the database and show blank spaces.

http://www.wistech.biz/guestbook [Working 100%]
http://www.jsiza.com/guestbook [Values are not saved in database and show blank spaces]


Kindly tell me how can i sovle my problem , I urgently need this gook at "www.jsiza.com"
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

Show us your .ini settings, and we will most likely be able to tell you what's wrong.

phpinfo()
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
babajee
Forum Newbie
Posts: 5
Joined: Wed Apr 04, 2007 2:38 am

It works on localhost

Post by babajee »

Thx for help dear.........

but i want to ask what .ini setting u want to see.

The guest book works fine on my localhost host and also work fine at http://www.wistech.biz\guestBook

but the only problem is at http://www.jsiza.com (infact all the sites host at this server where jsiza is hosted) i face the same problem, Kindly help me
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Re: It works on localhost

Post by volka »

babajee wrote:but i want to ask what .ini setting u want to see.
for starters the result of

Code: Select all

<?php
echo 'version: ', phpversion(), "\n";
echo 'sapi: ', php_sapi_name(), "\n";

foreach(array('register_globals', 'display_errors', 'error_reporting') as $i) {
	echo $i, ': ', ($x=ini_get($i)) ? $x : 'off', "\n";
}
on both servers would be nice
Post Reply