Then what is the problem???
On Sun, Sep 9, 2012 at 7:15 PM, girl narehtaras...@gmail.com wrote:
hmm I made such a small game: http://www.wordgame.armfree.ru/
I wrote it's code... now I need it with cake but I have some
difficulties
I can show usual php code.. it's not very big
On Sun, Sep 9, 2012 at 11:50 PM, d6games mark.deib...@gmail.com wrote:
I need to do this too. Sadly, this doesn't work in version 2.2. In my
index.ctp view I have a standard hyperlink like...
?php echo a href='joingame.html'Join/a ?
Which renders the correct link, but when I
I'm using Miles J Uploader plugin and Cake 2.2.2. I've configured the
plugin in my model as $actsAs = Uploader.attachment.
What I'm having problems with is that I have a custom function in the
bootstrap to save the file with a unique filename and that works ok
but its saves the record in the
well, probably it's the
'name' = 'name' // Saves the file in database with actual name of uploaded
file
line. :) i would strip down the code to the only needed lines, so you would
end with:
1. 'Uploader.Attachment' = array http://www.php.net/array(
2. 'fileName' = array
Thanks Johannes,
When I try stripping down it saves the record in the database with name
as empty.
On Mon, Sep 10, 2012 at 8:12 AM, Johannes N johannes.n...@socialisten.atwrote:
well, probably it's the
'name' = 'name' // Saves the file in database with actual name of
uploaded file
line.
Hi, sorry for my late response.
I tested some ways and now i can save/edit.
public function edit($id = null){
if(empty($id)) $this-redirect('index');
if(!$this-request-is('get')){
$data = $this-request-data;
$this-Translation-save($data['Translation']);
$_data =
I moved the non-cake PHP app into the cake webroot folder and now it seems
to be working. The bit about .htaccess is interesting. I didn't think about
that.
On Monday, September 10, 2012 4:08:47 AM UTC-4, Mike Griffin wrote:
On Sun, Sep 9, 2012 at 11:50 PM, d6games
Hi everyone,
I'm working on a legacy project that uses CakePHP 1.1, I know we should
update it, but the client doesnt want that yet. Well it works perfectly in
my local with PostgreSQL 8.4.13, but when I try to deploy it with
PostgreSQL 9.1.5 I get the error: Missing Database Table.
My
Hi all,
I wanna ask about create a link to download file.
so in my view i add this code
?php echo $html-link('Download CSV',array( action = download)); ?
and then i use Media View on the controller
function download(){
$this-view = 'Media';
$params = array(
'id' = 'clipping.zip',
'name'
Got the same problem. But the solution is easy. Delete the
header(Content-Type: application/pdf); line in your layout file.
Just put this line into your controller action instead:
$this-RequestHandler-respondAs(pdf);
Works fine with CakePHP 2.x
Cheers
On Thursday, July 26, 2012 12:04:32 AM
Hello,
*(I apologize in advance for my bad English.)*
my CakePHP incorrectly lists paths to files (css files, images,
javascripts...).
CakePHP always before the path adds */app/webroot/index.php/*
For example:
CakePHP makes link: */app/webroot/index.php/css/style.css
*but* *correctly should be
Hello
Check the link i think this will help you
http://arafats.info/cakephp-download-me goog_1838343105dia/ /
On Tue, Sep 11, 2012 at 8:05 AM, Arie Yuniarto scs.arie...@gmail.comwrote:
Hi all,
I wanna ask about create a link to download file.
so in my view i add this code
?php echo
12 matches
Mail list logo