Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

php - Linking to a file in the Zend Framework -


when link directly uploaded file in zend framework based project differing results depending on if i'm working in local environment or remote environment.

in both cases want link uploaded photo. generated url looks like:

http://whateverserverweareon/projectfiles/project18/photos/aphoto.jpg

on local machine clicking link show me photo, in remote machine gives me warning "invalid controller..." (as, while not have "projectfiles" controller, uploaded photos in projectfiles directory on path specified in sample url).

so how link these uploaded photos? create controller can link them? can bypass controller altogether , link directly? there sort of custom route need create? should doing in different manner? suggestions?

the exception means on remote mashine file not exists in specified location. standard rewrite rules in .htaccess file written if file exists (i.e. /projectfiles/project18/photos/aphoto.jpg) index.php file of zf not executed. should check file exists.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -