Jump to content

osdesignz

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

osdesignz's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I'm a newbie to php so I wanted to see if someone can take a little time to help me figure out whats going on so that I can get my scripts to work. I've been messing with this for awhile now and going no where but the same place and same warnings and the same old ****. Here is the page that I'm trying to pullup: [url=http://www.oldschooldesignz.com/myspace/layoutcms/index.php]http://www.oldschooldesignz.com/myspace/layoutcms/index.php[/url] I must have the config.php file setup wrong plus I have now idea about SQL databases and I might have set it up wrong also, who knows what I did but could really use some help on this before I throw this computer out the window lol. Here is the config file: <? $mysql_server = "oldschoo_admin@localhost"; $mysql_user = "username"; $mysql_pass = "password"; $mysql_db = "oldschoo_preview"; $script_dir = "public_html/myspace/layoutcms/"; $from_email = "contact@oldschooldesignz.com"; $site_url = "http://www.oldschooldesignz.com/myspace/layoutcms/config.php"; $config['ftypes'] = array('jpg','jpeg','png','gif','bmp'); ?> If it helps my host is Ipowerweb and I setup a database called oldschoo_preview but don't even know if I set that up right because it's the first time messing with mysql!
  2. I have a layoutcms script that I'm trying to run on my website but I must not be setting up my config.php file right because when I goto try it out it has a bunch of errors on my page. I'm trying to figure out what part of the script I'm putting the wrong info there for it not to work. Here is the set script that I'm trying to get right for it to work. <? $mysql_server = "localhost - (Don't know if this is right!)"; $mysql_user = "******"; $mysql_pass = "******"; $mysql_db = "Made a database but don't know if I set it up right!"; $script_dir = "Trying to place the right path here!"; $from_email = "******@oldschooldesignz.com"; $site_url = "http://www.oldschooldesignz.com/******/preview/index.php"; $config['ftypes'] = array('jpg','jpeg','png','gif','bmp'); ?> Need to figure out what part of this script needs this are that because the info that I put in will not work! Sorry that I'm bouncing around information but I don't mess with alot of php scripts and drawing a blank to setting this up so that all the other scripts work off it! Please can someone help? And if you need any info are need anything that will help understand what I'm tring to do please let me know and I will provide anything you need!
×
×
  • 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.