Jump to content

Recommended Posts

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:

 

 

If yes how do i put the buttons one? and two submit ones. (Sorry for a noob question) :-[

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

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?

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

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.