
Welcome to Havenworld's Gaming, Computing and Programming Forums!
Unlock extra board access and remove this notice by registering for free below:
Unlock extra board access and remove this notice by registering for free below:
|
1
on: Today at 10:34:50 am
|
|||||
|
Last post by Matt - Started by MarisaVipponah
Read times
|
|||||
|
Matt Joined: Jan 1970 Reputation: 0 Posts: |
Oh right, never knew that - thanks a lot for taking the time to write this
![]() |
|||
|
2
on: Today at 08:43:54 am
|
|||||
|
Last post by MarisaVipponah - Started by MarisaVipponah
Read times
|
|||||
|
MarisaVipponah Joined: Jan 1970 Reputation: 0 Posts: |
Major accounts which are also called as single accounts are typically singled out for special attention. Important customers who have multiple divisions in many locations are offered major account contracts, which provide uniform pricing and coordinated services for all customer divisions. Large accounts are often handled by a strategic management account team with cross-functional personnel who handle all aspects of the relationship.
Major account management is growing. A buyer concentration increases through mergers and acquisitions. Fewer buyers account for a larger share of a company’s sales. Many buyers are centralizing their purchase for certain items, which gives them more bargaining power. Sellers in turn need to devote more attention to these major buyers. Still another factor is that, as products become more complex, more groups in the buyer’s organization become involved in the purchase process. The typical salesperson might not have the skill, authority or coverage to be effective in selling to the large buyer. In selecting major accounts, companies look for accounts that purchase a high volume, purchase centrally, require a high level of service in several geographic locations, which may be price sensitive and may want a long term partnering relationship. Major accounts manager have lots of duties such as acting as the single point of contact, developing and growing customer business, understanding customer decision process, identifying value added opportunities, providing competitive intelligence, negotiating sales and channeling customer service. Major accounts manages is typically evaluated on their effectiveness in growing their share of accounts business and on their achievement of annual profit and sales volume goals. There is always a risk that competitors match or beat a price that we have fixed or increased cost may lead to rise in price. So models, whether it is media based model or photo models for hire , the choice should be based on the cost involved in hiring them and the cost benefit analysis of our business. |
|||
|
3
on: September 04, 2010, 06:24:06 am
|
|||||
|
Last post by Project Evolution - Started by Project Evolution
Read times
|
|||||
|
Project Evolution Joined: Jan 1970 Reputation: 0 Posts: |
Thats to Malik who requested this tutorial on my Request a Tutorial thread. I was thinking of calling this Simple-UP or SUP just for fun. If people decide to pursue a project or post tutorials with it, I guess this is the name you can use? :p
In this tutorial you will learn common uses of PHP and SQL. Today you will learn how to create a file-sharing website, by the end of this tutorial you will know how to write an upload script in PHP along with storing data in an SQL database. This tutorial assumes you already know the basics of web design and how to use PHP along with limited knowledge of SQL. Let us begin. Getting Started Let us begin with the index.php file. Here is what we are going to be using, Code: [Select] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">This should be obvious enough to void an explanation. The only thing worth mentioning is we are defining an XHTML Strict document using the !DOCTYPE tag.Next off we will need another PHP file, we wil call it upload.php, Code: [Select] <?php And while your at it lets start with a CSS stylesheet to define the basics of a simple template I made, and then create a new directory called images. Code: [Select] /* This is a basic template for you to use for this tutorial. I have included the logo at the bottom of this post, otherwise you can upload your image to the images directory and edit the img tag as such. Writing the upload script Before we get to writing the index page, we should begin with the upload script. PHP has a very easy way of controlling how to upload files to the webserver, and all this access comes from the $_FILES super global array. The $_FILES array comes with a number of ways to handle different aspects of the file, here is a simple list of these different functions, Quote $_FILES["file"]["name"] - the name of the uploaded fileAs you can see, there is an index named file in the array, you will learn why that is there later on. So what are we waiting for? Lets begin scripting that upload page! We are going to be going in the index.php file and adding a simple form submission box so we can input our files to be uploaded. Its as simple as including a couple tags, Code: [Select] <p class="title">Upload your file</p>In the div containing the id rightcontent. This is now what the page should look like,Code: [Select] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> If your unsure about the form tag, I will briefly go over this snippet.
Remember that $_FILES function which were discussed earlier? This is where it comes into play. We will be utilizing this function in the following snippets of code. To start off, lets start writing the basic script first. Code: [Select] <?php This may look confusing, but with a couple explanations you will understand how this all works.
Code: [Select] Select File: <input type="file" name="file" />
Next we want to actually store the file on the web server, in the above example we arent storing the actual file on the web server. To make this happen, we will be making some changes to the script, and using some new functions to help us take care of the job. Code: [Select] <?php
Code: [Select] <?php And here is a slightly updated index.php, Code: [Select] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> Now its time to explain what we did in upload.php.
Storing our Information Finally its time to get into some SQL. Storing information in a database is extremely useful, especially if your going to be storing lots of information for lots of data. Hence why SQL is included. In this tutorial, I am going to be creating a configuration script which will just be used to hold fields that are used to login to the MySQL database. Here is the content of the script, Code: [Select] <?php Call it config.php, fill those variables in, and your good to continue on. Now, we will do some slight editting to both our index.php and upload.php files so we can connect to the database. Not only will we be connecting to the database, we also will connect and query. Here is how we are going to accomplish the connection, index.php (nothing except a connection so far), Code: [Select] <?php upload.php, Code: [Select] <?php And I have included a new file called query.sql which will be used for you to query your database before continuing on. Code: [Select] CREATE TABLE repository Make sure you query the database using the above SQL statements before continuing! THis is going to be a lot so put your thinking caps on. Index.php:
Now its time we do some updating with the upload.php file so we can give the users a download link. Replace, Code: [Select] if (file_exists($upload_dir . $_FILES['file']['name'])) {With,Code: [Select] if (file_exists($upload_dir . $_FILES['file']['name'])) {
Downloading our files And finally, the last part of the tutorial! We will create a very simple download script because im very tired and am ready to sleep! Create a new file called download.php. Replace the content of whats inside your empty file with this, Code: [Select] <?php Everything else here should be fairly obvious from what you gained from previous information. EDIT: Add the following, call it file.php, Code: [Select] <?php Conclusion Anyways, I hope you have learned a lot from this long tutorial. Im glad people requested tutorials that I have had time to make, I had fun and learned a lot myself. Thanks! |
|||
|
4
on: September 03, 2010, 03:05:25 pm
|
|||||
|
Read times
|
|||||
|
Solsta Joined: Jan 1970 Reputation: 0 Posts: |
Lol even better. I will praise whoever can actually upload the entire model list onto Mediafire lol. Or maybe into 2-3 parts.
|
|||
|
5
on: September 02, 2010, 06:02:50 am
|
|||||
|
Last post by Tom - Started by God Of Skill
Read times
|
|||||
|
Tom Joined: Jan 1970 Reputation: 0 Posts: |
No, I'm afraid not. Havenworld images are copyrighted under the GLC licence (1990 - 2010 copyright) any redistribution of these pictures is strongly prohibeted. GLC (General Licence Company) have rights to take action based on a legal/non-legal ground whever it be in a court room or general discussions between the two boards.
GLC OV: GLC reserves the right to take action upon copyright images whever it be Legal/Non-Legal action, GLC is a free legal team company based on remanding copyright and keeping it in original form (Which the creator intends). In short you can't use these images without the legal permission passed of GLC or you may be taken to court. So no, I'm afraid we can't. Topic LOCKED. |
|||
|
6
on: September 02, 2010, 01:06:17 am
|
|||||
|
Last post by Proxima - Started by God Of Skill
Read times
|
|||||
|
Proxima Joined: Jan 1970 Reputation: 0 Posts: |
are you retarded. please be honest.
|
|||
|
7
on: September 02, 2010, 12:25:34 am
|
|||||
|
Last post by God Of Skill - Started by God Of Skill
Read times
|
|||||
|
God Of Skill Joined: Jan 1970 Reputation: 0 Posts: |
Post count,
Can someone post some pics i can use for post count please. or can an admin E.G Tom/Mat show me haven post count pics. Thanks |
|||
|
8
on: August 30, 2010, 09:48:37 pm
|
|||||
|
Read times
|
|||||
|
Matt Joined: Jan 1970 Reputation: 0 Posts: |
This is why you don't give tom pics
|
|||
|
9
on: August 30, 2010, 05:01:10 pm
|
|||||
|
Last post by Project Evolution - Started by Project Evolution
Read times
|
|||||
|
Project Evolution Joined: Jan 1970 Reputation: 0 Posts: |
Hello, today im going to be going over a basic structure to a useful concept of integrating your SMF forum into other parts of your website. Lets start by creating a simple php page,
Code: [Select] <html> Now we have our layout of the php file with a simple title. Let me begin by explaining SMF's SSI functions. Every single one of SMF's custimizable functions can be found in a file called SSI.php in the root of the SMF package. Contained within this file is loads of functions that display recent posts, new members, news feeds, etc. You can find an example of these functions by going to a file called ssi_examples.php (and/or ssi_examples.shtml). This file is located in the same place as SSI.php, in the root of SMF's package. For example, lets say the URL to my forum is faggots.com/smf. To access this file I would simple go to, faggots.com/smf/ssi_examples.php. In order to use these SSI functions, we will place a PHP require function in the file and call the SSI.php file like so, Code: [Select] <?php require("URL-TO-THE-SSI.PHP-FILE"); ?> There are some key specific things im going to point out here. As you can see, I called the require() function above anything else in the file, why? Firstly, I use this as a personal habit to make sure I call this before trying to access anything from the file im trying to access. In my next SSI tutorial, I will explain why this should be a good habit to get into. For now, just make sure your calling the require() function before attempting to use any of SMF's SSI functions. Using SSI is quite simplistic, you simple just call the functions assosciated with it. Lets dig a little deeper than calling functions. Say for example we wanted a tab in a navigation bar to show up if we are an admin, or remove the tab entirely if we are not. Lets take a look, Code: [Select] <div id="navigation"> Basically, what we need to do here is check whether or not we are an admin. Firstly, we create php tags to indicate we are going to be using PHP. We call the $context variable from SSI.php, then we create an if statement checking against whether or not we are an admin. If true, we echo the HTML which includes the 'secret' admin tab. Dont forget to create that $context variable otherwise it wont work! Here is a simple function that handles a login box, Code: [Select] function show_login() { For those without SMF but interested in these functions, please see, http://www.simplemachines.org/community/ssi_examples.php You can also visit the Function DB to see the functions within SSI.php, http://support.simplemachines.org/function_db/index.php?action=view_file;id=66 Thanks for reading. |
|||
|
10
on: August 30, 2010, 12:13:12 am
|
|||||
|
Read times
|
|||||
|
dane Joined: Jan 1970 Reputation: 0 Posts: |
This entire thread is spam.
|
|||
|
Page created in 0.39 seconds.
, the choice should be based on the cost involved in hiring them and the cost benefit analysis of our business.