Page 1 of 1

One variable works, the other does not (solved)

Posted: Sat Feb 24, 2007 10:26 am
by Bigun
I have two variables:

Code: Select all

$songname1
$songfile1
As you may have guessed, $songname1 contains the name of the song, and $songfile1 contains the filename of the song.

Those values are filled in via HTML form then re-used and evaluated upon being submitted.

Upon being submitted, for some reason, $songname1 retains the value typed in, and $songfile1 does not.

Also noted that this code has recently been migrated to a server that I now control and was working on the server it came from. So I'm sure its a php.ini setting somewhere.

Posted: Sat Feb 24, 2007 10:49 am
by nickvd
I seriously hope that you don't expect us to solve your problem with only the code you posted... (hint, hint)

Posted: Sat Feb 24, 2007 10:49 am
by feyd
How are these variables being set from the form? Can you post the form?

Posted: Sat Feb 24, 2007 11:09 am
by Bigun
Hey feyd... I got it, I found this page:

http://www.radinks.com/upload/config.php

It was a php.ini problem and had nothing to do with the HTML or PHP code.