Jump to content

chainsawal

New Members
  • Posts

    3
  • Joined

  • Last visited

chainsawal's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I have been using GoDaddy for a hosting company for some time (I know... not the favorite of most people)... Today, I was creating subfolders in my site which means I needed to change my php include links from relative (since all the file referencing them were in the same directory) to absolute links. As I am on a shared server, GoDaddy uses home/youraccount/etc.. which isn't the real file path and when I try to use includes it won't work. I also tried <?php include($_SERVER['DOCUMENT_ROOT'].'/home/etc...'); ?> to no avail as it seems they disable that from their side and since I am on a shared server won't provide that info which I understand. Am I just SOL with GoDaddy or is there some other way to reference absolute links while on a shared server that I am not aware of? I can't imagine there is not a way to do this given their size, but their customer support is worthless as they referred me to "PHP documentation" as if there is a section entitled "GoDaddy: Avoid like the Plague" in it. Sorry just frustrated... any help would be appreciated...as moving my entire hosting platform and 5 websites, SQL databases, etc. isn't on my to-do list this year. Chainsaw...
  2. Thanks for your feedback..both of you. Great feedback on the speed issue as well as the differences between quotes... so It clearly sounds like I need to do a little more learning on PHP before trying to migrate over to sql. I literally did a fast course on how to connect to server, connect to dbase, run my query, close dbase.. and do a little pagination along with pulling images back. That, and the basic functions in PHP are about all I know at this point... I am on Windows 7 which seems like it will take some of the complexity out.. but still, dangerous given I am ready to launch a site and don't want to delay it in the event they are "issues" with the migration. Thanks again for your quick and insightful responses! Chainsawal
  3. Quick question for those of you experienced with this... I am coding a site that is using MySQL and PHP. Works well, but I dislike interfacing with MySQL... I am experienced with SQL Server as I use it at work, but am a rookie with PHP. I know there are some aftermarket software programs you can buy for minimal cost to make it look like SQL Server's Management Studio, etc. but before I go there, I would like to stick with SQL Server and Management Studio, etc. My question is, what are the pros and cons with using MySQL vs. SQL Server with my PHP driven site? 2008 vs. 2012 make any difference? Every time I look up using PHP with SQL server, I get links that tell me I need to download additional drivers or Sql Server, etc.. and at first it appears as if it is NOT that simple switching everything over. Before I go through the process of trying to switch my site over to SQL Server and finding out it isn't as simple as changing the functions, database name, password, etc. , I would love to hear from so of you who have experience in this area who can confirm I should learn this or let me know if it is not that simple?? Is it as simple as changing the connection code in php from mysqli_connect to mssql_connect? (along with the corresponding path, dbase name, password, etc.) Thanks, Chainsawal
×
×
  • 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.