This forum is for less technical discussions about the Drupal project, not for support questions.

Is PHP code in the RSS feed a security problem? Is it a bug? Does it bother anyone but me?

I get things like;
$result = db_query("SELECT thumb_path FROM {image} WHERE 1");
print("\n");
print("\n");
$size = variable_get("image_default_thumb_size", 100);
print("size = ".$size.";\n");

in my RSS feed. I don't really like this, and was wondering if I'm alone in feeling this way. My friends use various RSS readers to subscribe to my site's content, and they are disturbed when they get php code in their mailbox. Is this considered to be a problem? And if not, why?

-Robert

Pulling custome link to your own page in Main Nav area

How would i put a link into the main navagation area to my own page or maybe a outside link?

Broken Menu - PHP Error?

No idea how this has happend but /admin/system/modules now gives me this:

Fatal error: Cannot redeclare menus_perm() (previously declared in /usr/www/users/knickerl/ivana.dk/modules/menus.module:71) in /usr/www/users/knickerl/ivana.dk/modules/menu.module on line 70

Any ideas on how to fix this?

Much thanks...

Nick

Does anyone read the forum posts?

Hi,

The more I enjoy Drupal CMS, the more I try to get involved, the less I'm sure about Drupal developement coordination.

I come to Drupal forum to get the latest info, as well as to give some ideas/ coding back and ask some questions (both, general and technical). Then, I wait, but I get no response at all. Ok, for sure my comments may not be very interesting, nor very clear. But then I read posts offering, for instance, polish translation for Drupal and asking how to get involved and... no answers at all either.

Is it possible to change view of the node

I have an idea and I want to know if anyone knows how to realize it with drupal.

I want to put some content to the node but I want to have several posibilities how to render that node. Imagine: same content, but first(default) view is full xhtml view, second is html for old browsers, third one is html for pda (drupal menus and images are cut off), forth can be xml/rss etc. I don't want simple CSS styling of the node, I want completely different look (theme?).

getting session user info on custom php page

If I create a new page in my drupal system with mostly php code in it, can I and how I use the global $user variable to retrieve the username (field "name" in the users table) ?
The very username of the person connected (so it's in the session or something ?) so when he goes on that page i'll be able to show him a list of clients he's in charge of , this list coming from an external DB that can link his username with it (actually an oracle view).

and what would be the most efficient/elegant way to have this other external oracle DB connection in my drupal page.

Pages

Subscribe with RSS Subscribe to RSS - General discussion