Jump to content

Using ECHO troubles on new server that used to be working....


phpjayx

Recommended Posts

I just switched all my files over to a new server... got everything working.....

Except the following, a very simple echo command to get a message over. My debugger shows after the previous page Submit button is sent, message1 is correctly written to.... I'm just confused why this isn't working. Is there an alternate way I could attempt to get message1 written into the field as a default value?

 

 

<input class="textfield_insert1" id="message1" type="text" placeholder="1st Message" value="<?php echo $message1?>">

Link to comment
Share on other sites

The message is coming from a Posting of a previous setup page. My Charles debugger shows its still coming over to the file, I just can't seem to get access to it. I'll take a look at the global settings, that is not something I'm familiar with. Thanks

Link to comment
Share on other sites

I looked on my old server and you are correct, the register_globals were turned ON....

 

I've been looking through that file and I'll admit I'm clueless on what to do.... I've tried some of the random comments in the referenced file... like using GET commands for my variables, still not able to access them...

 

The variable message1 is coming from a form on my Setup.php file, which uses .js with it to push the data over of my MessageCompiler.php file

 

Any suggestions how I grab these variables which were posted to the file... again my debugger says that the file MessageCompiler.php is receiving the variable "message1", but I just don't know how to use it...

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.