Jump to content

PHP webcards


jonybhi

Recommended Posts

Hello, I have downloaded webcards script from www.mywebcards.net but I can't Install it because I am new to PHP. this script has a filee config.php but I can't configure it.

I created a new MySQL (mysite_ecards) and has added a user (mysite_joji) to it. so please tell me what should I edit in config file,, the file is:

<?php

$conf['admin_script'] = "./admin.php";

$conf['allow_langs'] = "y";

$conf['allow_styles'] = "y";

$conf['auto_expire'] = "y";

$conf['ban_message'] = "Sorry!<br /><br />Your IP address has been banned by an adminsitrator.<br /><br />Please try again later!!";

$conf['buffer'] = "y";

$conf['cat_to_show'] = "5";

$conf['cc_address'] = "";

$conf['date_format'] = "d F Y - h:i a";

$conf['db_driver'] = "MySQL";

$conf['dbhost'] = "localhost";

$conf['dbname'] = "";

$conf['dbpass'] = "";

$conf['dbprefix'] = "wc_";

$conf['dbuser'] = "";

$conf['default_pub_lang'] = "English";

$conf['default_sort'] = "id_desc";

$conf['delay_send'] = "y";

$conf['dir'] = "/";

$conf['email_ban'] = "";

$conf['email_from'] = "";

$conf['enable_delay_send'] = "y";

$conf['enable_notify'] = "y";

$conf['enable_resends'] = "y";

$conf['expiry_time'] = "30";

$conf['expiry_units'] = "86400";

$conf['font_bg_colours'] = "white,black,red,blue,yellow,green,orange,purple,brown,gray,pink";

$conf['font_colours'] = "black,white,red,blue,yellow,green,orange,purple,brown,gray,pink";

$conf['font_faces'] = "Arial,Century,Comic,Courier,Fixedsys,Franklin,Garamond,Impact,Lucida,Microsoft,System,Tahoma,Trebuchet";

$conf['font_sizes'] = "medium,small,large,x-large,xx-large";

$conf['get_post_show'] = "n";

$conf['img_per_row'] = "4";

$conf['ip_ban'] = "";

$conf['mailer'] = "WebCards Mailer";

$conf['max_message_length'] = "2000";

$conf['max_recip'] = "5";

$conf['new_pop_imgs'] = "5";

$conf['query_count'] = "n";

$conf['render_time'] = "n";

$conf['script'] = "./index.php";

$conf['server_load'] = "n";

$conf['smtp_host'] = "localhost";

$conf['smtp_pass'] = "";

$conf['smtp_port'] = "25";

$conf['smtp_user'] = "";

$conf['sql_show'] = "n";

$conf['thumb_format'] = "png";

$conf['thumb_height'] = "";

$conf['thumb_width'] = "150";

$conf['url'] = "";

$conf['use_mail_smtp'] = "mail";

?>

 

Please help me

Link to comment
https://forums.phpfreaks.com/topic/48886-php-webcards/
Share on other sites

$conf['dbhost'] = "localhost"; // just leave it as localhost
$conf['dbname'] = "mysite_ecards"; // table name
$conf['dbpass'] = ""; // user pass
$conf['dbprefix'] = "wc_"; // you can just ignore this
$conf['dbuser'] = ""; // mysite_joji

 

You will need to set the configuration for your MySQL.

Link to comment
https://forums.phpfreaks.com/topic/48886-php-webcards/#findComment-239626
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.