-
A little PHP help
Try adding all of your code within this IF Statement: if( isset( $_POST['sent'] ) ) { // Code to execute if the button was pressed } else { // Code to execute if the button wasn't pressed. In your case, just show the form } That checks if the form was sent by seeing if the input field named "sent" has been activated. Edit: Changed to $_POST, thanks for mentioning that scaz.
-
Is it legal to...
I think along the same lines as traxor too. If they have selected the domain they would like to buy, after being told its available, proceeded to pay for it and then be told that someone else "got it first", I would be pretty damn annoyed and I suspect most other people would be too. If you can't manually do this as soon as they register the domain, then I would suggest using some type of automated system. Possibly an agreement between you and the domain registrar where you get access to an API or something.
-
Making a Porn website (Clean Thread)
Ad revenue can be very high indeed. It would be best to try and get advertising options from sites that serve adult orientated adverts, rather than say your average Google Adsense account. On a website I use to run (not an adult site) I would regularly make $85-$100 a week, that was pretty impressive considering the relatively small amount of traffic I received (that was from Google Adsense). Sometimes, the best way to make the highest possible amount of ad revenue is to use two or more companies at the same time (make sure to check with each company that they allow this, some wont). Have the adverts that are going to pay more per click in the most viewable area of the site. However, don't forget that adverts can turn some users away. If the site is literally filled with popups and the like, a lot of people would just leave.
-
Dairy milk advert
I think both lol First time I saw it I was quite confused by it lol Ever since then, I have thought it was both pretty good and weird lol
-
Do you host your sites on your dedicated server
I provide hosting (if wanted) for my clients too. We recently decided to offer hosting to non-clients too, as we have just invested in some new hardware. We run our company site off a dedicated system and run some other, private applications on that server. We have three other dedicated systems that are used for client hosting and now also regular hosting for anyone else.
-
What Your Website Shouldn't Look Like.
Very, very old design style there. Just looking through the source, I noticed that there isn't a single style sheet present. There are quite literally, hundreds of font tags throughout the page which could be totally eliminated with the use of a style sheet. I would say that its in need of an update, a very large one.
-
How to Display Mysql database with css?
This is pretty easy. You would need to create a CSS class that would make the data look how you want it to. For example, you might have a border around it (like cells in a table) or the text might be underlined and so on. Once you have your CSS class made up, you would do something like the following to print the database results using the CSS: while( $row = mysql_fetch_array( $result ) ) { print "<div class=\"myCssClass\">"; print "<p>First Row: " . $row['something'] . "</p>"; print "</div>"; } That would work fine. I hope that helps, its not personally how I would do it because I write my own templating system normally, which means there is no "echoing" of anything in an individual file, but this should be fine for what you want to do.
-
linking to sites on the same server - does it matter?
No problem If anything, linking to them is only going to help their SEO rankings. One of the main ways Google works out its rankings, is by the popularity of that website. The more websites that link to them, the more popular that site is. They use this as a scale of relevance. Think about this, a site with some information about a certain person, has been linked to by 200,000 other websites. Another site, with information on the same person, has been linked to only 100 times. In Google's eyes, that shows that the first website has content that is more relevant than the content on the second website, because more people have linked to it as a resource. Of course that's not all they do to work out your ranking, but its a major part of it.
-
recommend me a good web browsers
FireFox 3. I've been using FireFox since it was born many years ago and have found it to be one of the best. Im a Mac user and so started with Safari, the early versions of FireFox were a little crappy on OS X but now they have kicked it up a notch. Its fast, is constantly winning awards for its security, looks great and is totally customisable.
-
is paypal good or not?
I find PayPal very useful and use it on an almost day-to-day basis. It makes accepting payments for anything quick, easy and safe. What else could you ask for?
-
How is this done?
I would say the first site just has a static background and the content just expands to the right. Second site looks like its probably done with Javascript.
-
php page, cgi include
Are you using PHP as an Apache module? If not, you can't use this function.
-
linking to sites on the same server - does it matter?
As far as I know, that shouldn't really make much difference. Par a few special situations that is. For example, if the IP Address is blacklisted or gets blacklisted, that will directly affect the SEO of all of your sites. Same goes for situations where the IP might be associated with spamming sites and so on. Think about Shared Hosting accounts on sites like GoDaddy, hundreds of people sharing a server, yet each individual maintains an individual SEO rating, because its based on Domain Name and not IP Address (in most cases).