Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Database Forum


You are currently viewing our The Database Forum as a guest. Please register to participate.
Login



Reply
Old 07-01-2010, 09:40 AM Help Needed ASAP
Junior Talker

Posts: 3
Name: shane
Trades: 0
Hi All, I have just uploaded a script to my website but can anyone please tell me what I should type in the following to configure my database. do I leave the commas in when I type my settings in? I have been onto my hosting company but to no avail. Thanks
// set some variables
// Image directory! fill in! relative to root
$imageDir = '/slides/';
define('SERVERPATH', $_SERVER['DOCUMENT_ROOT'].$imageDir);
define('HTTPPATH', 'http://'.$_SERVER['HTTP_HOST'].$imageDir);
skillfilluk is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-01-2010, 10:04 AM Re: Help Needed ASAP
lynxus's Avatar
Awesomeo-Maximo

Posts: 1,618
Location: UK
Trades: 1
imagedir will be wherever the dir is...

for example
/var/www/html/yourscript/slides/
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


lynxus is offline
Reply With Quote
View Public Profile Visit lynxus's homepage!
 
Old 07-01-2010, 10:08 AM Re: Help Needed ASAP
Junior Talker

Posts: 3
Name: shane
Trades: 0
So will my imagedir be $imageDir = 'http://173.83.99.254/slides/';
or have I got it all wrong?
skillfilluk is offline
Reply With Quote
View Public Profile
 
Old 07-01-2010, 10:14 AM Re: Help Needed ASAP
lynxus's Avatar
Awesomeo-Maximo

Posts: 1,618
Location: UK
Trades: 1
no.

it will be whatever the actual drive path is on the server itself.
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


lynxus is offline
Reply With Quote
View Public Profile Visit lynxus's homepage!
 
Old 07-01-2010, 10:45 AM Re: Help Needed ASAP
Junior Talker

Posts: 3
Name: shane
Trades: 0
I have installed this script removed for your own safety which tells you everything to do with the server, but I dont understand it.

Last edited by chrishirst; 07-01-2010 at 02:18 PM..
skillfilluk is offline
Reply With Quote
View Public Profile
 
Old 07-01-2010, 02:21 PM Re: Help Needed ASAP
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
It is NOT a good idea to set or leave phpinfo() live on your server, it tells crackers and hackers just about EVERYTHING they need to break into your server.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Help Needed ASAP
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.47946 seconds with 12 queries