header('Content-Type: image/jpeg')

Hi,
I'm trying to run simple php code in drupal(print image in php), but when i use either header('Content-Type: image/jpeg') or drupal_set_header("Content-type: image/jpeg") page crush(without header page works but image is display as text).

Thanks,

Postalcode search option on homepage

Hello,

What would the best way in Drupal to create the following:

On the homepage my client wants a postal code search option. People can fill in their postal code and then a certain page must appear.

I have all the lists with postal codes for all the cities.

We do not want to use Google maps.

Who has the solution for me?

Kind Regards,

Marc

Help about if it's a right idea to store table sum in database

I'm now wotking with:
Views 6.x-3
View Summarize
Views Data Export

My client are asking me to have a table sum(total) exported in an excel file and i'm working hard to try to do it.
But i'm in a doubt that it's is not a right behaviour:
Views show result table of query
View Summarize Sum each row and give the total sum
View Data Export "take" the stored value of each row and make the excel file.

Strange Access Denied Messages in Error Log

I've been seeing a handful of access denied messages in my Drupal error log that have a location set to this:

www.mydomain.com/+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Result:+%ED%E5+
%ED%E0%F8%EB%EE%F1%FC+%F4%EE%F0%EC%FB+%E4%EB%FF+%EE%F2%EF%F0%E0%E2%EA%E8;

I also had a similar one above which had a message saying:

"htmlspecialchars(): Invalid multibyte sequence in argument in /path_to_drupal/includes/bootstrap.inc on line 860."

Odd language switcher behaviour

Hello,

My site's default language is French, and English is also supported. If I go to a page that I know has been translated, and then click on the language switcher link to go to the other language, my menus and blocks switch language, but the actual node does not switch. I have to click on the menu or block item in that language to bring it up.

&$form_state missing argument

Here I have the code that contains my upload and submit forms

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x