Hi, i want to obtain the headers for this link
http://freedfd.googlecode.com/files/FreeDFD-1.1.zip
i set up this config for curl:
$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_HEADER, true);
curl_setopt ($ch, CURLOPT_USERAGENT, "Mozilla/4.0
Saludos, la pregunta que hare aqui no esta necesariamente relacionada con
cake, pero cometo el pecado de hacerla en la lista por si alguien sabe como
ayudarme, pues estoy usando cakephp en el proyecto.
Actualmente tengo una aplicacion que edita un archivo binario cambiando 16
bytes que estan en la
ur
> purpose.
>
> COme to think of it, I may be wrong. I vaguely recall an RC for
> Cake1.2 causing problems when the condition is not an array... and I
> think you might need a string contition.
>
>
> On Apr 28, 12:54 am, Manolet Gmail wrote:
> > Hi, i have this table
Hi, i have this tables:
Software
Reviews
Mirror
Requirements
Published
Now, this is the relations:
Software Has Many Reviews
Software Has Many Mirrors
Software HABTM Requirements
Works fine.
The problem is that i need to resume the tables to get a better response
from mysql, the reviews tables
$this->redirect(array('controller' => 'authors','action'=>'index', 'admin'
=> true));
stilll broken... i think is a cake bug...
On Mon, Feb 1, 2010 at 4:30 PM, ecommy.com wrote:
> hmm, maybe try adding the admin url paramete
Hi.
Im sending a form by ajax to /admin/authors/add , the problem is that it
tries to execute for 30 seconds and next give up with an error. The problem
is obviusly is with this line of code:
$this->redirect(array('controller' => 'authors','action'=>'index'));
on the admin_add method.
If i chan
Hi.
Im sending a form by ajax to /admin/authors/add the problem is that it tries
to execute for 30 seconds and next give up with an error. The problem is
obviusly this line of code:
$this->redirect(array('controller' => 'authors','action'=>'index'));
on the add method.
If i change it with:
Che
Hi, im building an application to collect pieces of software. the problem is
that "software" dont have a plural form.
i dont know what to do, i know i can create an inflector but... i dont know
how to call the array for the foreachs, i mean
foreach ($software(plural) as $software(singular)
i know
you can do a command controller, but anyway you should write the list of
commands,
there is a quick example (please correct it is just a guide)
class commandcontroller extends appcontroller{
function index($command = 'error'){
if(function_exist( $this->{$command}()) ){
$this->{$command}()
}else{