htaccess where to place

i´ve a problem i can not upload more then 1.4 mb. (loading modules!)

i already changed the htaccess file

added in php section
php_value upload_max_filesize 50M
php_value post_max_size 50M
php_value memory_limit 40M

but without success
do i need to make the same change in other subdirectory locations ???
placed mine in the root of drupal (near install.php)

curl multipart form problem

hello,

i m developing a reviw based website in which i have to make articles on automation that makes articles from the data in my sql table but the problem is i m not able to deal with the multipart form cURL script

can someone please help me solve this problem ?
if i m unable to complete this script then my website wont come into existence .lol

Here is my script so far.

[PHP]<?php
//token contain hidden form fields values
function curl_post2($site,$token){

$boundary = '-----------------------------7665267813202';

$header = array (
'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'Accept-Language: en-us,en;q=0.5',
'Accept-Encoding: gzip, deflate',
'Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7',
'Keep-Alive: 115',
'Connection: keep-alive',
'Referer: http://mysite.com?q=node%2Fadd%2Farticle&',
'Content-Type: multipart/form-data'

);
//print_r($header);

$data['title'] = "hello there";
$data['field_tags[und]'] = "hiiii";
$data['body[und][0][summary]'] = "";
$data['body[und][0][value]'] = "hello everybody";
$data['body[und][0][format]'] = "filtered_html";
$data['files[field_image_und_0]'] = "@".realpath($image);
$data['field_image[und][0][fid]'] = "0";

Fieldsets in D7, collapsed and collapsible not working

For some reason I cannot get the theme_fieldset function to make me a collapsible or collapsed fieldset.

This code:

$page['xyz'] = theme('fieldset', array('element' => array('#title' => 'XYZ', '#value' => $xyz, '#collapsed' => TRUE, '#collapsible' => TRUE)));

Views CSS

Hi all,

I have give some basic CSS (border etc) to a particular node type in my theme's CSS file which appears correctly on the individual node. I want a View listing all nodes of this type together with the node css ie ten nodes would be ten borders on my Views page. But on the Views page the node CSS is stripped out and I am just getting the plain text.

Any suggestions please?

Thank you

How to import Blogspot to Drupal 7

Sorry I don't know English.

Blogspot is banned in Turkey. I opened a web site with drupal. Now I want to import my blog in Drupal 7

How can I do it?

Sorry again for my broken English

Customize image location in the Article

If I add an image to an Article node it will appears on the top of this article.
Is it possible to change its location, for instance to place an image in the middle of the text by using some hypetags ?

For intance:

test1
[IMG]
text2

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x