PrateekSaxena Posted October 29, 2007 Share Posted October 29, 2007 I know that one can post a something from a form by putting the method as "post". But In need to post something through PHP to another PHP file. How can I achieve this?Also is there something lke eval('codeString') in PHP??? Link to comment Share on other sites More sharing options...
justsomeguy Posted October 29, 2007 Share Posted October 29, 2007 If the server has PECL installed you can use this:http://www.php.net/manual/en/function.http-post-fields.phpAnd PHP does have an eval function. Link to comment Share on other sites More sharing options...
Ruud Posted October 29, 2007 Share Posted October 29, 2007 I know that one can post a something from a form by putting the method as "post". But In need to post something through PHP to another PHP file. How can I achieve this?Also is there something lke eval('codeString') in PHP???My PHP skills are pretty limited but if I'm right you could just make a "variable" of it and use that in the other file. Recall it in a normal HTML file.<a href="index.php?number1=$nr1&number2=$nr2"> Ore this one is pretty complex; you could write it to a .txt file and then recall it. Link to comment Share on other sites More sharing options...
PrateekSaxena Posted October 30, 2007 Author Share Posted October 30, 2007 thanks justsomeguy Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.