[midas] unable to upload image file

David Chang david at thbuo.gov.tw
Mon Apr 21 16:06:56 PDT 2003


There are four tables exist in DB:horde
#
# Table structure for table `midas_campaigns`
#

CREATE TABLE midas_campaigns (
  campaign_id int(11) NOT NULL default '0',
  client_id int(11) NOT NULL default '0',
  campaign_name varchar(255) NOT NULL default '',
  campaign_link varchar(255) NOT NULL default '',
  campaign_start date default NULL,
  campaign_end date default NULL,
  campaign_quantity int(11) NOT NULL default '0',
  campaign_keywords varchar(255) default NULL,
  campaign_image varchar(255) NOT NULL default '',
  campaign_showings int(11) NOT NULL default '0',
  campaign_clicks int(11) NOT NULL default '0',
  PRIMARY KEY  (campaign_id)
) TYPE=3DMyISAM;

#
# Table structure for table `midas_campaigns_seq`
#

CREATE TABLE midas_campaigns_seq (
  id int(10) unsigned NOT NULL auto_increment,
  PRIMARY KEY  (id)
) TYPE=3DMyISAM;


#
# Table structure for table `midas_clients`
#

CREATE TABLE midas_clients (
  client_id int(11) NOT NULL default '0',
  client_name varchar(255) NOT NULL default '',
  PRIMARY KEY  (client_id)
) TYPE=3DMyISAM;


#
# Table structure for table `midas_clients_seq`
#

CREATE TABLE midas_clients_seq (
  id int(10) unsigned NOT NULL auto_increment,
  PRIMARY KEY  (id)
) TYPE=3DMyISAM;









=A4=DE=A5=CE Marko Djukic <marko at oblo.com>:

> Quoting David Chang <david at thbuo.gov.tw>:
>
> > Hi Chuck:
> > It seems the image size problem,if i resize the image small than 15x15 t=
hen
> > problem was fixed.If that is true there should be a description in "New =
Ad"
> > for
> > people.
>
> this sounds very weird.... what's your DB table structure?
>
> > Another question is how do i see the "Ad" that i have just added.
>
> yes docs a bit lacking, this is by far the easiest way, just put this on a=
ny
> page:
> <script language=3D"Javascript" src=3D"/midas/adjs.php"></script>
>
> m.
>
> --
> midas mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: midas-unsubscribe at lists.horde.org
>





More information about the midas mailing list