Jump to content

panyaung

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

panyaung's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. There are 2 servers : webserver and backup server. Before I state the problem, I would like to tell that I am using same application(same coding) and same database for web and bk servers. Everything works fine in webserver. Backup server gives me problem. The following is the problem I am facing : I run an application in bk server and index page is OK. When I click on a link to open another page from the index page, only the header, footer and title of the page appeared. The rest : the text boxes and submit button doesn't appear. Why??? Whether I am not PHP professional, I am quite understand program flow. I don't think its a coding problem because the same coding works well in web server. I reinstall PHP again and test again but same thing happened. Please help me if you have any idea!!! Note : Don't know where to put this post, so if there's a wrong place, sorry!!!
  2. Thanks for your help ProjectFear but I wonder why that coding is working in the current web server and not working in backup server? I am not familiar with php and so help me more. The following is the code which includes $_POST: ******** if (count($OC_extar) == 1) { # Only accept one format? print $OC_formatAR[$OC_extar[0]] . ' only <input type="hidden" name="format" value="' . $OC_extar[0] . '"><p />'; } else { print '<select name="format">'; $formatoptions = ""; foreach ($OC_extar as $fval) { $formatoptions .= '<option value="'.$fval.'"> '.$OC_formatAR[$fval]; } $fid=$_POST['format']; <=line number in error msg print $formatoptions; print "</select><p />\n"; } ******
  3. Hi all, I am facing a problem and I hope you can help and give suggestions. I have an application written in php which use mysql for database. The application is running properly in the current server. I also have a backup server and I need to back up the applications on it, later I may use this backup server for my applications. My problem is: When I copy the applications and database to the backup server, some of the pages are not working in backup server, whereas they run in the current web server. I’ve got the same error messages for all pages which are not working. The error message is “PHP Notice: Undefined index: xxx in xxx\...\xxx.php on line no.” When I look at those lines, I found out that the error shows in $_POST[‘variable’] or $_REQUEST[‘variable’]. I am out of my idea to solve this problem because the exactly the same coding is working in current server. Please give me suggestions to solve the problem. Thanks in advance you guys! ******* Panyaung:confused:
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.