Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

dddougal

Members
  • Joined

  • Last visited

Everything posted by dddougal

  1. Not that i would condone this but the easiest way is to buy links, costs vary depending on the sites traffic, niche, geogr etc...and you need to really do your research before you purchase. The right way to do it is to have great content that people want to link to but to be honest I find that most people have average/below average content and need a helping hand. A great way to get one way links is to provide something for other websites, photos, logos, web designs, content....anything that they need and drop your link in there. Getting good links is hard work, if it wasn't then they wouldn't be in demand and so valuable...Have great content and it makes things much much easier. Give me a shout if you need any help with anything and i'l do my best.
  2. The best way to learn is on the job. PHP is a pretty simple language, there isn't really that much to it, its learning how to use the basic blocks to do what you need that takes years...And learning all the inbuilt functions. The good news is that you don't usually need to re-invent the wheel because somebody else has likely written a class that does what you need
  3. haha couldn't have put it better myself
  4. Samus, You are right, it is because the values haven't been posted yet, but the solution of putting the form first won't work because they still haven't been posted. ehsan Just set your variables before you try to use them and your original script will work i recon... $code = 0; $title = 0; $video = 0; something like that.
  5. You shouldn't really extract $_POST, its way to insecure. at least add EXTR_PREFIX_ALL: extract($_POST, EXTR_PREFIX_ALL, 'something');
  6. dddougal replied to neda's topic in Server Side
    What do you mean 'php program'?? You mean a host? Theres two options above
  7. Do it from scratch, it isn't that difficult to build forms. Just make sure you add some security to stop people poking around where they shouldn't be poking around.
  8. Theres lots of different ways of doing this. Are the customers going to be uploading and sharing documents with groups of people....Project teams and things? Or are they just looking at documents that have already been put up there? Are you talking about developing your own site from scratch or are you going to use an off the shelf option? There are lots of off the shelf document control packages, to be honest they all seem to have the same fault in that when you have so many documents it becomes impossible to find anything you need. If you were going to do this from scratch I think it would involve PHP, sessions and some clever table designs. The documents would need to have unique numbers and then reference these numbers in your database design. All categories and privileges of users, which files they can view etc could be stored in the database...You would need to add some kind of security to stop people just loading the docs up but it wouldn't be to difficult to achieve. To go into more detail would require a project brief of some kind.
  9. silly silly eskymo
  10. It also depends how the content is stored on the server.
  11. You have to really look for the form, make it stand out rather than blend in....Its a bit of a fine line between keeping your design looking good and drawing attention to something but as it is at the mo, I knew what I was looking for and still had to hunt a couple seconds. The easiest way to get people to sign up is to give something away free..Something they want, something useful. I realize that this is what you are doing but you don't use the word FREE anywhere. If its free tell them its free. I would also repeat the form somewhere near the bottom, maybe on the sidebar or something, but the first thing is really to make the form stand out a bit. Ste
  12. What does the rest of the code look like around that? Is it in a for loop or something?
  13. do you basically want that image as the background of the page and then your nav, text and footer over the top of it? If thats what you want then you can't really do it how you are trying to do it I don't think. Do you have a sketch how you want the page set out?
  14. maybe by each month isnt the right word, but if you have millions of records you can speed things up considerably by splitting the tables up and calling the relevant table, searching a much smaller dataset. eg if he only wants to call the data from this month then there is no point in searching through months and months of records.
  15. Your best bet is to use a framework, its much quicker and efficient than starting from scratch...look up 960 grid system on google, thats a good starting point. Dreamweaver is good as a text editor and project manager/uploader but like the others said all the WYSIWYG tend to create loads of bloated code that really isn't any good.
  16. The problem with the additional 1 in 1000 if loop is that you may never actually load anything ever...Your special event could become extremely rare indeed. In my opinion you are better off displaying them at certain times of the day, then you guarantee that they will actually be shown at some point, to somebody.
  17. You missed a semi colon off the end of your line.
  18. You need to use it when you are sending emails and things, because emails can be in plain text....Its not a waste of time, its just something to be used in the right circumstances
  19. I would split the database up if you think you need more speed. It depends how many entries you think you may have but you can speed things up considerably by splitting up the tables, maybe a different one for each month or something but if you are just dealing in numbers then it will still be fast even with 100,000 or so rows.
  20. See this is the problem when you lay things out in tables....I would probably start again from scratch and lay it all out in css if I were you because its very difficult to debug when you have tables nested in tables and rows and columns all over the place.... At a guess I would say that one of your table rows has a colspan that is to big or one of your tables is to big. Check all the colspans first and then the widths of each column and table....Its just ridiculous really, get it all done with css!
  21. dddougal replied to Vulcan's topic in Frontend
    Also, you need to display as block I thinks
  22. You will find this method below to be much much much much much much quicker than using mysql to generate the random number. You wont notice it if you only have a few hundred records but if you have thousands you will definitely want to use the method stated by terydinho below rather then the MYSQL method. Iv tried both on record sets of 10,000 and it is noticably faster to use php to generate a random number first then use that.
  23. It doesnt really make sense when i read it back. But say you own site A and you buy a url, call it urlB. You can make a page display from site A when somebody types in urlB.
  24. Depends who your host is, Some hosts offer unlimited domains which means you can host your domain on there and then when someone types in your domain, downholecamera.net the page the user will see is actually a different page on your site, if that makes any sense.
  25. Make it easily customizable so the user can make it look different from everything else.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.