john_bboy7 Posted June 4, 2009 Share Posted June 4, 2009 I am not sure which elements should i be using in the post fields i am using via curl? Should i post all the values? Here are all the elements list: http://imgkk.com/i/tVhCtVi6.jpg If yes how do i put the buttons one? and two submit ones. (Sorry for a noob question) Quote Link to comment https://forums.phpfreaks.com/topic/160939-simple-question-regarding-a-posting-elements/ Share on other sites More sharing options...
Maq Posted June 4, 2009 Share Posted June 4, 2009 What exactly are you trying to accomplish? Where is this element list coming from? I'm pretty confused right now. Quote Link to comment https://forums.phpfreaks.com/topic/160939-simple-question-regarding-a-posting-elements/#findComment-849381 Share on other sites More sharing options...
john_bboy7 Posted June 4, 2009 Author Share Posted June 4, 2009 What exactly are you trying to accomplish? Where is this element list coming from? I'm pretty confused right now. I am using a firefox addon web developers.. It gets all the form elements. And by using these elements i can do posting.. i.e. URL?title=something&subject=something etc etc... Quote Link to comment https://forums.phpfreaks.com/topic/160939-simple-question-regarding-a-posting-elements/#findComment-849386 Share on other sites More sharing options...
Maq Posted June 4, 2009 Share Posted June 4, 2009 What exactly are you trying to accomplish? Where is this element list coming from? I'm pretty confused right now. I am using a firefox addon web developers.. It gets all the form elements. And by using these elements i can do posting.. i.e. URL?title=something&subject=something etc etc... Ok, so you can do posting, where do you want to post? What do you want to do with posting? Sorry, I'm still confused, maybe an example? Quote Link to comment https://forums.phpfreaks.com/topic/160939-simple-question-regarding-a-posting-elements/#findComment-849393 Share on other sites More sharing options...
john_bboy7 Posted June 4, 2009 Author Share Posted June 4, 2009 What exactly are you trying to accomplish? Where is this element list coming from? I'm pretty confused right now. I am using a firefox addon web developers.. It gets all the form elements. And by using these elements i can do posting.. i.e. URL?title=something&subject=something etc etc... Ok, so you can do posting, where do you want to post? What do you want to do with posting? Sorry, I'm still confused, maybe an example? hhmmmm.... Well u see this topic: http://www.phpfreaks.com/forums/index.php/topic,248695.0.html Read the second post.. There is some info on posting data but he is only using following fields: $post_fields = array( 'subject' => $title, 'message' => nl2br(htmlspecialchars_decode($subject)), 'icon' => 0, 'disable_bbcode' => 0, 'disable_smilies' => 0, 'disable_magic_url' => 0, 'attach_sig' => 1, 'notify' => 0, 'topic_type' => 0, 'topic_time_limit' => "", 'creation_time' => $ctime1[1], 'lastclick' => $lclick[0], 'form_token' => $security123[1], 'sid' => $sid, 'post' => 'Submit', ); But his forum is different .. And my site is not showing the values of hidden values as he stated.. because i think there arnt any.. Not even the form_token ... mine only returns the value of sid. But thats not the problem.. I have got all the list of fields. of posting but as from there i dont know which one to use and should the buttons be included.. see the above code what i meant, And i am the admin of the forum.. So if i need to change any other options from inside then i can also do that.. Quote Link to comment https://forums.phpfreaks.com/topic/160939-simple-question-regarding-a-posting-elements/#findComment-849396 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.