Salutare tuturor! Vreau sa fac un script in php care sa posteze un anunt pe un site cu datele pe care le prestabilesc eu, insa nu am success. Iata ce am pana acum: <?php $curl=curl_init(); curl_setopt($curl,CURLOPT_RETURNTRANSFER ,1 ); curl_setopt($curl, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 5.1; rv:28.0) Gecko/20100101 Firefox/28.0'); curl_setopt($curl,CURLOPT_HEADER , 1); curl_setopt($curl,CURLOPT_FOLLOWLOCATION, 1); curl_setopt($curl,CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($curl,CURLOPT_SSL_VERIFYHOST, 2); curl_setopt($curl,CURLOPT_COOKIEJAR, "cookie.txt"); curl_setopt($curl,CURLOPT_COOKIEFILE, "cookie.txt"); curl_setopt($curl,CURLOPT_TIMEOUT,10000); curl_setopt($curl,CURLOPT_URL,"http://post.vivastreet.com"); curl_setopt($curl,CURLOPT_POST ,1); $post = array("incorrect_username" => '0', "pic_hash" => '', "postingsubcategory" => 'phones_pdas', "posting_category_select" => 'phones_pdas', "selectedGeo" => '22009', "originalGeo" => '', "original_p2p_id" => '0', "featuredAd" => '1', "featuredPlan" => '0', "premiumPlan" => '0', "searchGeo_text" => 'Bannay - 18300', "foreignCountryModify" => '', "transport_posting" => '', "individual_type" => 'individual', "title" => 'titlu', "detail" => 'detail detail detail detail detail detail detail detail', "offer_type" => 'offer', "brand" => '', "price" => '999', "phone_nbr" => '', "anonymize_phone" => 'on', "image_modify" => '1', "image_total" => '0', "thumbnail_index" => '', "resume_attached" => 'no', "logo_attached" => 'no', "trusted_proxy" => '', "trusted_email" => '', "posting_auth_type" => 'register', "user_email" => 'email2@domeniu2.nl', "user_password" => 'parola123', "external_url" => '', "captcha_loaded" => 'false', "captcha" => 'na', "from_partners" => 'true', "target" => 'publish', "publish" => '1'); curl_setopt($curl,CURLOPT_POSTFIELDS,$post); echo curl_exec($curl); curl_close($curl); ?> Este posibil ce incerc eu sa fac? Daca da, va rog sa ma indrumati. Multumesc.