liams7 Posted December 5, 2008 Share Posted December 5, 2008 Hi Guys, There maybe a simple answer to this and i have been racking my brains and i dont really know what to do. Any way. I have been building a blog in to my CMS, When using the cms it uses the index file to control pages and content so you would send the com=com_blog which is the component and then type=send for the type. Now because im using the index file as a controller it kinda needs to be sent via GET but obviously GET has restrictions on how long a post you can send so i need to send a post for the text box. I could say to look for any REQUEST to pick up the POST and GET but i dont really like this. I could send it to a londing page to using POST to put all the data in to a database then send it VIA GET to get the information out again and use a REFERENCE in a table with a post section but this is all very backwards. Anyone have a simple way to send the information as to send a POST when sending a GET? Sorry if this is poorly explained. Link to comment https://forums.phpfreaks.com/topic/135624-get-and-post/ Share on other sites More sharing options...
liams7 Posted December 5, 2008 Author Share Posted December 5, 2008 Ok it was pretty obvious and i feel really stupid now but just incase anyone wanted to know i just simply put the GET in the POST Call so it was like this <form name="login" action="index.php?com=com_blog&type=savenew" method="post"> Any way that called the GET variables and the post ones at the same time Sorry for being thick And thanks for trying to help. Liam Link to comment https://forums.phpfreaks.com/topic/135624-get-and-post/#findComment-706614 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.