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.

PowerfulTrueRam

Privileged
  • Joined

  • Last visited

Everything posted by PowerfulTrueRam

  1. I think that he went with the splitting the image idea in order to get the text to wrap around the balloon. Conventionally, this wouldn't be possible with a single image as the css box model would clasify it as a square (transparent background or not, it's still a square). However, as previously mentioned, by splitting the image up the way you've done, you're overcomplicating things and your site is prone to browser specific bugs. A better method would be to use http://www.csstextwrap.com/ to create the wrapped text. Then use a conventional image (the whole balloon in a single image). Dan
  2. Why can you not edit the config files?
  3. You could just continue with the login process as usual so your current SQL statement is fine. However, after logging in, your script should select from the database whether the user is an admin or a user. You could then store this value in a session before using it in your scripts for example: if($_SESSION['rights'] == 'admin') { //show admin stuff } else { //stick with the user stuff }
  4. Alt text is simply the text that replaces the image in the event that images are not supported in the clients browser or the image can't be found. You will need to use the "title" attribute to get the caption.
  5. Try opening up config.inc.php and change the following: $cfg['Servers'][$i]['auth_type'] = 'config'; $cfg['Servers'][$i]['user'] = 'root'; $cfg['Servers'][$i]['password'] = '<your password>'; Your root password should be the one you set during my previous post. Note: This is an insecure method of authentication but it might get you access.
  6. Does the database contain these tables: wp_blogs, wp_users, wp_usermeta, wp_site, wp_sitemeta, wp_sitecategories And is the user setup to access your database (the details you gave wordpress) given sufficient priveleges on the "users" tab of phpMyAdmin.
  7. What he said. His doctype is correct for transitional and that wouldn't effect the page like that. The header that is sent to the browser with the page isn't set correctly meaning that the browser is displaying it as a plain text file as it should do (of course IE doesn't comply with such rules). Headers analysis for your page Header analysis for a functioning website
  8. You didn't put a link in there
  9. Are you able to access phpMyAdmin and view your database? I'm just checking that you have MySQL running properly.
  10. £500 for a flash vortex project, geeze that sucks. I can help you out but need a bit more information. From your error page, it seems that there is a problem with your database. Are you running your own server or using a hosted solution?
  11. Very professional. I love the logo design, very "sony". One thing that I would improve though is the amount of reflections in use throughout the site. You could try removing the reflections on the headers here. Apart from that, good job
  12. With regards to "SMTP server response: 554", is your client using a professional hosting company or are they using their own server. If so, they might not have SMTP setup probably in their PHP configuration. If that's the case, we can help you get it working. P.S. The code will help matters
  13. I really like your logo and I think the size is really effective. I do think that the red version of the logo is better though. It's much more solid and gives a feel to the page (option 1 in your previous post). I think you could lose the underlined links on the left hand side though. They could perhaps be made into more of a "button" style to give it more of a professional feel.
  14. Looks real random I guess it says something about you. I definately think you could use a more standard way of navigating though. Although it's fun to find your way around, some users might end up getting lost.
  15. Nice and simple. Less is more in my opinion
  16. Could you post the contents of submit-form.php? It will help us diagnose the problem.
  17. As long as you provide significant security features on the database, you should be fine. As a rough guide, you should ensure the following are met when interacting with a MySQL database. 1. Ensure that your script is using a limited MySQL account. It should not be able to delete or alter tables in any way and should only be able to delete records if your application requires it. You can setup new MySQL users from the "users" tab in PhpMyAdmin. 2. Ensure that your passwords are encoded using either MD5 or SHA1. You shouldn't be storing plain text passwords. 3. As previously mentioned, always ensure that your SQL queries are escaped to avoid SQL injection attacks. Follow those as a rough guide and you should be fine. Just bear in mind that no matter how secure an application is made to be, someone will always be able to hack it. Just take as many precautions as reasonably possible and keep security in mind when building your app. Dan
  18. PowerfulTrueRam replied to Kmb's topic in Frontend
    To create new form rows on the fly, he would be much better off with a javascript solution such as jQuery. You are right, it is possible to create this using PHP but that would require a new page load everytime a new row is appended. This is a waste of server resources when the "append" function in jQuery can be used easy peasy. It is also a myth that jQuery is complex. It is only as complex as the developer makes it just the same as PHP
  19. I'm not sure what you're looking for. You might want to elaborate slightly. Are you talking about what design we would give a company that makes bottled water?
  20. That's not out of your depth at all. As you already know, you will have to learn a tiny bit of PHP (a programming language for things like questionaires as an example) but you can learn how to make a questionaire from scratch in a matter of weeks, probably even less for a PhD student. Once you get past the basics of how a web application works, the rest is a breeze and with WDF's help, I'm sure you'll be able to make that in no time! To get started, I reccomend you learn the basics of HTML and how it relates to how a website works. You can find a brilliant tutorial resource at http://www.w3schools.com/html/default.asp. If you start from the top and work your way through, you'll be rocking in no time! Dan EDIT: Of course if you are not atall interested in learning about the inner workings of a site, there are lots of "pre-made" alternatives such as Wordpress but they're nowhere near as fun
  21. I just tried it (sorry for the random message) and it seems to be working. All i can see wrong with the code is what Mr Brightside said about the undeclared variable but I assume you swapped the blocks as suggested.
  22. The standard way of doing that would be using the || (or) logical operator. So you would have: if($_SESSION['rights'] == 100 || $_SESSION['rights'] == 40) { //strut your stuff here } Literally, the || means "or". You can also use && for "and", > for "more than" and so on. A full list of PHP's logical operators is available here. Dan
  23. Paypal offers a good selection of easy setup systems for your site. Plus you have the added security of going with a well known brand. https://www.paypal-business.co.uk/Products.asp
  24. Much better!
  25. There are also a number of really easy to integrate systems available straight from Paypal. The documentation that comes with the package is a breeze to follow and will get you up and running in no time. https://www.paypal-business.co.uk/Products.asp

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.