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.

sam44

Members
  • Joined

  • Last visited

  1. Hey guys, I'm looking to create a site allowing a user to generate a temporary, password protected chat-room (similar to chatzy.com). The user would then be able to share the URL with other users allowing them to enter the chat. It would be a simple version of live support chat-rooms you see on company websites - basically a password protected PHP shoutbox. Is there an existing script which could be adapted? If not, how would I go about creating this? Thanks very much, Sam.
  2. Hey guys, I'm using a rating script on my site which lets users thumb up/thumb down content. The script works fine until I try to duplicate it on the same page example - http://mykorg.netii.net/rate.htm As you can see, the bottom buttons also control the top rating. Which parts of the script would I need to alter to have multiple ratings on the same page, each being controlled separately? I'm using the following code: <script type="text/javascript"> var httpa; var browser = navigator.appName; function createRequestObject(){ var request_o; if(browser == "Microsoft Internet Explorer"){ request_o = new ActiveXObject("Microsoft.XMLHTTP"); }else{ request_o = new XMLHttpRequest(); } return request_o; } function setrating(val,id) { httpa = createRequestObject(); var str="hupanddown/addrating.php?id="+id+"&value="+val; httpa.open('get', str); httpa.onreadystatechange = handleResponse; httpa.send(null); } function handleResponse() { if(httpa.readyState == 4){ var response = httpa.responseText; document.getElementById('prc').value=response; } } function ctck() { var sds = document.getElementById("dum"); if(sds == null){alert("You are using a free package.\n You are not allowed to remove the tag.\n");} var sdss = document.getElementById("dumdiv"); if(sdss == null){alert("You are using a free package.\n You are not allowed to remove the tag.\n");} } document.onload="ctck()"; </script> This also links to the PHP file below: <?php $id=$_GET['id']; $val=$_GET['value']; if($id=='uarrow') $val=$val+1; else $val=$val-1; echo $val; ?> The code for the buttons is as follows: <table style='border:1px solid #999999;' cellspacing=0 cellpadding=0><tr><td bgcolor=#edeff4> <input id=prc name=prc type=text size=3 value=1 readonly style='background-color: #edeff4; border: 0px;'> <a href="#"><img border=0 src="hupanddown/uarrow.gif" onclick="setrating(document.getElementById('prc').value,'uarrow');"></a> <a href="#"><img border=0 src="hupanddown/darrow.gif" onclick="setrating(document.getElementById('prc').value,'darrow');"></a> </td></tr> </table> <div align=center style='font-size: 10px; color: #999999;' id="dumdiv"></div> Thanks for the help
  3. Hi guys, I'm looking for a script which lists the contents of a directory in a table on my site, allowing users to scroll through and download certain files. Could anybody suggest such a script? Thanks
  4. Thanks for the help, I did change to a linux server, but I've just noticed that the server is still showing as windows in the control panel. I guess I'll wait 24 hours for it to update as stated and try again. Thanks for all the help and patience guys
  5. I didn't have an index file originally, but I've just uploaded one and tried again with the same results. Also tried 755 but that returned the same error
  6. I'm trying to test a PHP upload script, and apparently I need to change the permissions of the upload directory to 777. So I used filezilla to connect to the site, created the directory, right clicked > file permissions, ticked all the boxes (777) but i still get the same error. Sorry, I'm quite new to all this.
  7. That's exactly what I've been trying. Is there another way to CHMOD the folder?
  8. I'm trying to change the folder: http://www.glimpsesofmagdalenstreet.co.uk/test/ Is this what you need?
  9. I'm having difficulties changing the permissions of a directory. When I attempt CHMOD a folder to 777, I get the error: 550 Could not change perms on test: No such file or directory. I was told to change my server from Windows to Linux but that hasn't helped. I'm also using streamline.net as a host if that helps. Any suggestions would be great, I'm getting so frustrated with this! Thanks
  10. sam44 replied to sam44's topic in Server Side
    Okay, what If I let users log-in and comment/rate the files as well? Also what kind of requirements would I need to look for in a web host? (file/folder permissions etc) Thanks for your help.
  11. Hey guys, I'm fairly new to web development and I'm looking for some advice on a new project I'm starting. I want to create a website which allows users to upload and download files (custom Midi patches for keyboards). My question is, what's the best way to set this up? Would I need to create a MySQL database? Thanks in advance. Sam

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.