lewis987 Posted April 12, 2008 Share Posted April 12, 2008 Aight... i have been coding this for a short while... (well about 2 weeks)... like the title says... its just another shoutbox... but its got a difference... im not gonna spoil it so take a look: Here ya go Please do all the normal XSS and SQL injection hacks you can think of so i can try and stop them... yes the colors need sorting but that will be the last thing on the adgender... thanks for testing it! (if you do..) Link to comment https://forums.phpfreaks.com/topic/100829-yet-another-shoutbox/ Share on other sites More sharing options...
lewis987 Posted April 12, 2008 Author Share Posted April 12, 2008 Damn, cant edit... anyway... im not going to post code as there is over 8 different pages of code! so if there is a problem with something, just say here an i will make it perfect... well... try to anyway Link to comment https://forums.phpfreaks.com/topic/100829-yet-another-shoutbox/#findComment-515607 Share on other sites More sharing options...
Coreye Posted April 12, 2008 Share Posted April 12, 2008 You can't register. Every time you do you get no error messages, and when you try to login you get an error saying "User doesnt exist!". I was able to login with the username test and password as test, but now that isn't working either. Link to comment https://forums.phpfreaks.com/topic/100829-yet-another-shoutbox/#findComment-515678 Share on other sites More sharing options...
lewis987 Posted April 12, 2008 Author Share Posted April 12, 2008 aight... i dunno what the problem with the register script is... ill take a look... and i just deleted the user "test"... so thats the reason you got kicked from it //Edit: Can't find any error of the register script here. Very strange... Do you get the login box??? Link to comment https://forums.phpfreaks.com/topic/100829-yet-another-shoutbox/#findComment-515681 Share on other sites More sharing options...
stuffradio Posted April 13, 2008 Share Posted April 13, 2008 I can't even access it right now. Link to comment https://forums.phpfreaks.com/topic/100829-yet-another-shoutbox/#findComment-515911 Share on other sites More sharing options...
Daniel0 Posted April 13, 2008 Share Posted April 13, 2008 It doesn't load for me. Link to comment https://forums.phpfreaks.com/topic/100829-yet-another-shoutbox/#findComment-515940 Share on other sites More sharing options...
helraizer Posted April 13, 2008 Share Posted April 13, 2008 We can't view it because the link is on your IP address from when you posted it.. it will have changed by now. You should get something like DynDNS updater with client, which let's you choose a domain name similar to http://mysite.dnsalias.net/ it loads that site each time with the same name, no matter what your IP address. Sam Link to comment https://forums.phpfreaks.com/topic/100829-yet-another-shoutbox/#findComment-515954 Share on other sites More sharing options...
lewis987 Posted April 13, 2008 Author Share Posted April 13, 2008 aight... sorry but i cant keep my PC on 24/7 and getting a server isnt an option at the minute, got too mucht o pay for... literally... and ill keep it online for as long as possible! il see if i caN set up some free hosting for the time being... Link to comment https://forums.phpfreaks.com/topic/100829-yet-another-shoutbox/#findComment-516007 Share on other sites More sharing options...
lewis987 Posted April 13, 2008 Author Share Posted April 13, 2008 grr... cant edit again... anyway new address: New link *press "Refresh" on load otherwise it wont work... damned ads... Link to comment https://forums.phpfreaks.com/topic/100829-yet-another-shoutbox/#findComment-516028 Share on other sites More sharing options...
Daniel0 Posted April 13, 2008 Share Posted April 13, 2008 Your "CAPTCHA" is weak. I got this: Enter: " x b q f m o " into the box below That can be pretty easily be broken using something like this: preg_match('#Enter: "([a-z ]+)" into the box below#', $pageSource, $matches); $captcha = str_replace(' ', '', $matches[1]); The register script doesn't seem to work and provides no feedback on the submitted data. Link to comment https://forums.phpfreaks.com/topic/100829-yet-another-shoutbox/#findComment-516036 Share on other sites More sharing options...
lewis987 Posted April 13, 2008 Author Share Posted April 13, 2008 aight... well i never really put much effort into the register script... so yea... its going to be weak! and your the second person to say that :S but it works all ok here on opera and safari and IE... Link to comment https://forums.phpfreaks.com/topic/100829-yet-another-shoutbox/#findComment-516180 Share on other sites More sharing options...
lewis987 Posted April 13, 2008 Author Share Posted April 13, 2008 ok... that site done my head in with its ads... so now ive got a better one... New Address Link to comment https://forums.phpfreaks.com/topic/100829-yet-another-shoutbox/#findComment-516234 Share on other sites More sharing options...
helraizer Posted April 15, 2008 Share Posted April 15, 2008 I've posted about 4 comments, none of them have shown up. Why's that? Link to comment https://forums.phpfreaks.com/topic/100829-yet-another-shoutbox/#findComment-517538 Share on other sites More sharing options...
unidox Posted April 15, 2008 Share Posted April 15, 2008 Same... Link to comment https://forums.phpfreaks.com/topic/100829-yet-another-shoutbox/#findComment-518046 Share on other sites More sharing options...
lewis987 Posted April 18, 2008 Author Share Posted April 18, 2008 undergoing bug fixes at the minute... fixing up the AJAX side of things... i will have it fixed asap... in the middle of adding a new feature for it... Link to comment https://forums.phpfreaks.com/topic/100829-yet-another-shoutbox/#findComment-520752 Share on other sites More sharing options...
lewis987 Posted April 19, 2008 Author Share Posted April 19, 2008 ok... fixed majority of bugs i found... and i have added access type into the create chat room, so now you can set it to only allow users you invite. Another thing is, the invite function doesnt work as of yet, but it is oon going too... i have a few things to add onto the main page where the shoutbox is kept to allow the user to view all recent invites and choose what one to accept! Fixes and optimizations: Power users is now 100% functional aswell... only i get that privellege . AJAX side seems to be working well... (fixed bug that coreye found where you can execute your own shouts into the shoutbox from "data.php"). Smilies and BBCode is now fully supported but not yet added to the database. Password support for open chats is now more effiecent. Invite function is now partial functional... Todo: Layout and design has yet to be completed. Link to comment https://forums.phpfreaks.com/topic/100829-yet-another-shoutbox/#findComment-521385 Share on other sites More sharing options...
unidox Posted April 19, 2008 Share Posted April 19, 2008 I am getting: Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in /home/scoop987/public_html/shoutbox/config.php on line 27 Cannot connect to database Link to comment https://forums.phpfreaks.com/topic/100829-yet-another-shoutbox/#findComment-521398 Share on other sites More sharing options...
helraizer Posted April 19, 2008 Share Posted April 19, 2008 in the register page the captcha does not show up. So I can't register, also the three users I registered last time now "do not exist". Sam Link to comment https://forums.phpfreaks.com/topic/100829-yet-another-shoutbox/#findComment-521475 Share on other sites More sharing options...
lewis987 Posted April 19, 2008 Author Share Posted April 19, 2008 ok unidox, that error is fixed, i forgot to re-edit the config file... and for helraizer my host doesnt support GD so i need to think of a new way of making a captcha image... Link to comment https://forums.phpfreaks.com/topic/100829-yet-another-shoutbox/#findComment-521547 Share on other sites More sharing options...
helraizer Posted April 19, 2008 Share Posted April 19, 2008 ok unidox, that error is fixed, i forgot to re-edit the config file... and for helraizer my host doesnt support GD so i need to think of a new way of making a captcha image... Ah, you could always use Perl or similar. Alternatively, ask a question, that's again random (changes each time) - like A horse has .... legs - and have the user type in 'four' or something, but have it change. Sam Link to comment https://forums.phpfreaks.com/topic/100829-yet-another-shoutbox/#findComment-521597 Share on other sites More sharing options...
Daniel0 Posted April 20, 2008 Share Posted April 20, 2008 Or, make random math challenges: http://www.lucianobello.com.ar/blog/captcha1.png Link to comment https://forums.phpfreaks.com/topic/100829-yet-another-shoutbox/#findComment-521760 Share on other sites More sharing options...
lewis987 Posted April 20, 2008 Author Share Posted April 20, 2008 yea i know about those types... but ive asked my host to enable it, so hopefully it will be... but i will add a little bit of code in the reg script to check if the GD library is enabled or not and load the right captcha... Link to comment https://forums.phpfreaks.com/topic/100829-yet-another-shoutbox/#findComment-521787 Share on other sites More sharing options...
imperialized Posted April 20, 2008 Share Posted April 20, 2008 This thing doesnt even work for me. Registration works, can't post shouts Link to comment https://forums.phpfreaks.com/topic/100829-yet-another-shoutbox/#findComment-521923 Share on other sites More sharing options...
lewis987 Posted April 20, 2008 Author Share Posted April 20, 2008 its posting shouts here... its the onsubmit part of my code that isnt working... i have to try in FF and IE, but i know that in safari, if you hit enter it doesnt work... and for the captcha image... its all good GD has been enabled... at long last... now just to finish of the invitation system Link to comment https://forums.phpfreaks.com/topic/100829-yet-another-shoutbox/#findComment-521942 Share on other sites More sharing options...
helraizer Posted April 20, 2008 Share Posted April 20, 2008 You're getting there, but the input box for the captcha code now has a maxlength="0" - so I can't even type in it. Sam Link to comment https://forums.phpfreaks.com/topic/100829-yet-another-shoutbox/#findComment-521967 Share on other sites More sharing options...
Recommended Posts