Php Use Variable From Another File
May 22, 2009 at 9:02 pm So, how would would I POST it, without creating a new form? Basically, the original issue I needed this for is solved. Cara Software Hp Smartfren Andromax C2new here. I tried sessions, but that was to confusing, and there were security issues, so I opted for cookies instead. But never-the-less, I am intrigued on how you would send a POST variable over to another php file without a form by actually POSTing it, if it is even possible? It’s a shameful plug, i know:) but the site this thread was going to help is now completed.
Using include 'page1. Epson C900 Service Manual Hp Designjet 500 Belt Installation. there. php' in second page is one option but it can generate warnings and errors of undefined variables. Three methods by which you can use variables of one php file in another php file: use session to pass variable from one page to another method: first you have to start the session in both the files using php command. Sesssion_start(); then in first file consider you have one.