What's my server path?

An adult webmaster article...

Written by Tom from Tom's Newbie Booster

WHAT'S MY PATH, DAMNIT??? Adult webmasters, probably more than any OTHER kind of webmaster, sooner or later have to get to grips with installing scripts. Scripts are just little computer programs that live and run on your webspace and can do anything from taking information from a visitor to fully automating a Paysite's day-to-day running). FACT: Installing these scripts is tricky to say the least! I'd say that 99.9% of all errors that occur when you're installing a computer script on your webspace is down to a wrong PATH somewhere.

Path - what the...?

Don't worry if a lot of this is starting to sound like one of your old school lessons - the ones where everyone slowly drifted into unconsciousness as the lecturer droned on about particles... This is pretty techy stuff here - and if you're new to HTML, the web, and so on - this is probably something that will come in handy in the future. But back to PATHs - when you install a web script, you need to tell the script where everything it needs IS on your server. It needs a path to follow to find out where IT is (crazy huh?) and, depending on what script this IS, where files are to be created and so on...

The SERVER PATH to a script is where is is in relation to the root folder. So,

/folder1/folder2/script/

It's a little like your hard disk, where you'd have a path of c:\websites\site1\ and so on, but we don't need to add c: or d: or any other drive letter there. (Sheesh! At least this script knows SOMETHING!) So a path is really just a map of the folders on this hard disk which would lead you to our script.

In reality, it's more likely to look something more like this:

/usr/tomarmst/htdocs/

Or something like that.

And then we hit problems.

I used to tell people that they could find out what their server path WAS just by using a simple trick. You'd log on using FTP and then just look at the path that appeared in the top right little window (this varies from FTP program to FTP program - but they should all show your server path somewhere. But since I started installing scripts for other people, I've realized that there's something WEIRD going on. That path that you see there is often NOT the real one. Sounds crazy right? Well, there's not much I can say about that - depending on how your webspace is set up (and this varies from hosting service to hosting service) this path will not be accurate and will NOT work if you use it in web scripts.

Let's find YOUR path...

Don't despair - there's a simple workaround that's fool-proof! As an exercise - we're gonna see what your server path is. We do this by uploading a simple, web script. This is a simple file with ONE line in it:

<?php phpinfo(); ?>

This is a special command which will display an amazing amount of information about our server. Information that will come in very handy as time goes by - no matter what kind of script you're installing.

To find out what your server path it, follow these simple steps...


1) Download THIS FILE.

2) Unzip the file by double clicking it (you'll need Winzip - http://www.winzip.com to do this).

3) You'll now have info.php on your hard disk.

4) Upload info.php to one of your domains.

5) Type in http://www.yourdomain.com/info.php - adding in your domain.

6) You'll now have a page filled with useful information. To find the server path, look at: DOCUMENT_ROOT. The path will be beside that.

You can copy and paste this to wherever you need to and add it in to your scripts.

Keep info.php handy - upload whenever you need to find what your SERVER PATH is.

TOM ^"^
Enter TOM'S NEWBIE BOOSTER

Printer Friendly Version



TGP Articles

Finding new link lists and TGPs to submit to
First Steps Towards your OWN TGP
Getting listed at the TGPs
TGP Bloopers
TGP Guide Part 1
TGP Guide Part 2
TGP Tips

Back to Basics

Conversion and Clickthrough Ratios
Image Compression Basics
Image Sizes - are they working for you?
Linking up a banner
Matching It All Up
Overture's Search Terms Suggestion Tool
The WARNING page
Thumbnail Gallery Basics


Traffic

Getting listed at the link lists
Paying for search engine traffic: Pros and Cons
Paying Your Way Into The Search Engines
Planning a Traffic Campaign
Smaller PPC Search Engines
Trading Links - the forgotten art of traffic generation
Trading Links - Some Fast Tips
Traffic Buiding Tips
Traffic is HARD to get! . Isn't it?
Traffic Options Rated
Traffic sources pros and cons
Feeder Sites & Pages
TGPs and Link Lists - where are they?



Making Sales

Adult advertizing ideas sheet
Advertising FAQ Part 1
A layout that sells.
Converting graphic ads to custom ads.
Futuristic Advertising Ideas.
Great text links - but do they really stand out?
Half Page Ads
Making Money With Link Lists
Making square ads.
Making the sale when there's so much free porn out there.
Not Giving The Surfer Too Easy A Ride
Secrets of amazing sign-up ratios
Some Help Choosing Banners & Ad Graphics
Things surfers CAN'T get free
Trial memberships - a tool to be exploited!
Your first selling and filtering system



How-to articles

A guide to mirroring sites and galleries...
Creating your own mini link lists
Dirty sites - some notes.
Easy exit console tutorial
Free site mass production
Free Site School (All 7 parts.)
Getting More Submissions
Learning from good examples.
Looking at recurring programs
Make a webmasters page
Making money from webmaster referrals
Making your own auto-submitter.
Mining For A Niche AVS Or Pay Site
Movies - Chopping Up and Adding to a Page
Naming files for the adult web
Opening a picture in a larger window
Pre-Load Your Galleries
SR Win tutorial
TheRename Tutorial - batch file renaming
Xenu Link Checking Tutorial



Miscelaneous Articles

Auto Submitters
Feeling Like An Outsider
Re-working An Adult Site
Simple CSS text formatting tutorial
Speed Building
The dangers of the dreaded 'FREE' word
Tools To Make Your Life Easier
What can we learn from adult TV?
What niche should I start with?
What's my server path?
What's in a paysite
Reviews

7Search.com PPC search engine
Banner Maker Pro
CoffeeCup HTML Editor
Excite's Paid Inclusion Service
Review of G.A.S.S
Google Adwords Select
GoClick.com
Notes on porn, gadgets and the future
Opera Browser
RoboForm.
Review Traffic Finder
Sex.com PPC
Search123.com Review
Stats Remote
Spam Blocker
Spam Blocker *Follow Up*
Swish 2
WebPosition Gold
Word Tracker


Search Engines

Adwords 1 - your first advert
Alt Tags And SEO
An introduction to search engine optimization
Google's Keyword Tool
Google Monitor Tutorial
Google's toolbar and PR / PageRank
Keyword Research - beyond Overture
Making A Crawler Page
Notes on Meta Tags
Planning a Search Engine Campaign
Re-Optimizing An Adult Website
SEO: Working in the variations...
Search engine traffic without spending.
Search Engine Help - the H1 Tag
Search Engine magic sheet 6
Surviving The Search Engines
The Google Dance Explained
The Google Phenomenon
Using your ALT text.

Domain Name Articles

Choosing a generic domain name
Caring for your domain name
Finding Great Domain Names Part 1
Finding Great Domain Names Part 2
How A Domain Name Works
Maximizing One Domain Name
Mining niche domain names tutorial
Moving domain names around
Tree Site Map tutorial
Your First Domain Name



Technical Articles

Absolute And Relative Paths
Adult webmaster scripts and links.
A Newbie Guide To Visitor Stats
An introduction to stats for adult webmasters.
Blur console tutorial
CHMOD tutorial
Folder Structure
FTP Jargon Buster PART 1
FTP Jargon Buster PART 2
Full page ads, you, and the search engines...
Getting Full Page Ads (FPAs) to work
Getting Server Side Includes (SSI) to run on HTML pages
Htaccess questions and answers
Htaccess - some notes for adult webmasters
Inter linking Pages with SSI (For Google)
Linking up with SSI
Password protecting a folder on your domain.
Possible uses for SSI
Protecting Picture Folders at the TGPs And Link Lists
Site building scripts
Some Notes On Hosting
Symbolic Links tutorial
Using Relative Paths With Sub-Folders
Your First Look At Using SSI



Copy writing and text

Adult Copywriting Crash Course
Writing Adult Pages
Writing Porn Headlines That Sell
Writing Text Links
Writing niche ads
Hot Topics - posts from the archives on:

Summer Slowdown
Layout and design

Adding A Glow Effect
Alternative Gallery Layouts
An annoying text ad that just might work
Basic External CSS
Catalogue Software - tips & free downloads
Colored Table Borders Tutorial
Color picking tutorial
Custom FPAs
Cascading Style Sheets (CSS) Cheat Sheet
FAST Effects.
Pixie Tutorial
Matching Up A Site Or Gallery Design To The Tour
Getting thumbs the same size
Spacing things out
Surviving Screen Resolution
Table Ads
Working with full page ads
Waking surfers up with a theme.


Graphics

Animated Gif Tutorial
Batch Image Compression
Images Check List
Image Compression
Image Compression with Cyberview Image
Image Slicing Tutorial
Logo Tips
Making banners load before the enter link
Making GIF Movies
Gimp Tutorial 1: Making a Pro Banner
Gimp Tutorial 2: Making a Gradient Logo
Gimp Tutorial 3: Alien Logo
Gimp Tutorial 4: Adding a crisp border to text
Gimp Tutorial 5: Fake Movie Boxes
Optimizing GIFs (Animated and Static)
Rounded corners tutorial
Screen Grab Tutorial
Seamless sex background
Tutorial - Sexy Letters



Pictures and content

Fast & Easy Content
Thumbs in 60 seconds
Pictures are not the only content.
Saving Time With Porn Pics
Speed Cropping in Photoshop
Thumbs in 60 seconds



Practical Adult Webmastering

Adult Site Check List
Adult webmaster myths.
An uncluttered approach.
Adult Webmaster Backups
Being A Part-Time Adult Webmaster
Choosing sponsors - the important factors.
Coming From A Mainstream Background
The world's most common free site bloopers
Getting Started - What will the neighbours think?
Help - I've not got time for this.!
How much does it cost to start an adult site?
Is there room for ME?
Keeping organized with your sponsor information.
Know Your Enemy
Making it as an adult webmaster
Nothing seems to work - an emergency guide
Organizing your hard disk
Sponsor Payment Pros And Cons
The FOUR prime porn site killers
What Problems Does The Adult Web Face?
Your first minute to your first year in this business.

Project Ideas

Setting Up Your Own Message Board
Building Your Own Porn Glossary


Saving Money

Compressing Recip Graphics