blindspott Posted April 3, 2007 Share Posted April 3, 2007 hey guys can you check out my new website and give back feedback? also can you test the search function, registration, and login please, thanks site url: http://www.seye-design.com/nzmarketplace/ Link to comment https://forums.phpfreaks.com/topic/45405-solved-test-my-new-website/ Share on other sites More sharing options...
JoshF Posted April 3, 2007 Share Posted April 3, 2007 Search works, but when I try to register it wont let me change my country from New Zealand. Link to comment https://forums.phpfreaks.com/topic/45405-solved-test-my-new-website/#findComment-220504 Share on other sites More sharing options...
ted_chou12 Posted April 3, 2007 Share Posted April 3, 2007 The design and layout seems very nice to me, but still needs work with the content of your site! :-\, seems very empty to me. Ted Link to comment https://forums.phpfreaks.com/topic/45405-solved-test-my-new-website/#findComment-220575 Share on other sites More sharing options...
redbullmarky Posted April 3, 2007 Share Posted April 3, 2007 on clicking 'register' with no details, i get: Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/seyeide/public_html/nzmarketplace/includes/reg_val.php on line 10 also, have a look at your use of addslashes (or mysql_real_escape_string, whichever you're using). when you pass values back to an input field as a default value, or to generally display it on the screen, you need to remove the slashes again else it a) looks messy and b) gives user clues as to what methods you're using to clean up the input. My personal preference (as opposed to stripslashes) is not to treat/clean the $_POST array directly, rather I leave the $_POST array as it is and use something like $post = deepclean($_POST); (deepclean being my own function that does the adding of slashes as required). Then, for redisplaying on the screen or in input boxes, look at htmlspecialchars() such as <input name="username" type="text" value="<?=htmlspecialchars($_POST['username']) ?>" /> Link to comment https://forums.phpfreaks.com/topic/45405-solved-test-my-new-website/#findComment-220607 Share on other sites More sharing options...
obsidian Posted April 3, 2007 Share Posted April 3, 2007 Error encountered during registration: Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/seyeide/public_html/nzmarketplace/includes/reg_val.php on line 10 Link to comment https://forums.phpfreaks.com/topic/45405-solved-test-my-new-website/#findComment-220697 Share on other sites More sharing options...
blindspott Posted April 4, 2007 Author Share Posted April 4, 2007 cheers for the comments guys, and sorry bout it being empty. it only got test products displaying so far.. some products are shown here http://www.seye-design.com/nzmarketplace/browse_products.php?cat_id=4 Link to comment https://forums.phpfreaks.com/topic/45405-solved-test-my-new-website/#findComment-220966 Share on other sites More sharing options...
Recommended Posts