-
Permalinks
He can't do that due to the way it is setup. Wordpress is installed to a blog subdomain. However it has been configured so that the index.html page in the root loads Wordpress if you understand - if not I will explain later when I can access the FTP. We did it like this - http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory The issue seems to be that when a new page is made, Wordpress creates it and only assigns it the URL elliothesp.co.uk/pagename instead of blog.elliothesp.co.uk/pagename Ie. The page in Wordpress called Contact send the URL to here http://elliothesp.co.uk/contact-page when the location of the file is actually http://blog.elliothesp.co.uk/contact-page However when it is loading the subdomain version, it doesn't load the images As you can see below, the permalink suggestions are not taking the subdomain into account:
-
File upload validation not working - please help
bump
-
PHP - Form submit not validating...
Genius, thats had me stumped for hours Though I had put that { in though xD Thanks
-
PHP - Form submit not validating...
Ok fixed but thats not the problem, just me copy pasting lol
-
PHP - Form submit not validating...
Yep //This is includes/registermember.php <?php $username = $_POST['member_name']; $password = $_POST['member_password']; $password2 = $_POST['member_password2']; $email = $_POST['member_email']; $email2 = $_POST['member_email2']; if (isset($_POST['register'])) { if ($password == $password2 && $email == $email2) echo "Thanks"; } else { echo "Password and/or Email Address Mismatch. Please try again"; } ?> Here is the form bit: <?php include ('includes/registermember.php')?> <form method="POST" name="register"> <input name="member_name" type="text" /> <input name="member_password" type="password" /> <input name="member_password2" type="password" /> <input name="member_email" type="text" /> <input name="member_email2" type="text" /> <input name="member_ipaddress" type="hidden" value="<?php echo $_SERVER['REMOTE_ADDR']; ?>" /> <input name="member_access" type="hidden" value="0" /> <input name="register" type="submit" value="Register" /> </form>
-
PHP - Form submit not validating...
So I have a piece of code i wrote that doesn't seem to be working correctly. It is a registration system and is just doing a bit of verification at the moment. Here are the steps it should go through: Show registration form IF passwords and email address are the same - echo "Thanks" IF passwords and email address's are NOT the same - Say "mismatch..." However, the form is always showing the mismatch part and I cannot find a solution. Here is the code if (isset($_POST['submit'])) { if ($password == $password2 && $email == $email2) { echo "Thanks"; } else { echo "Password and/or Email Address Mismatch. Please try again"; } }
-
File upload validation not working - please help
oh what a spanner. Sorry wrong one. Uploading it now uploadfile.zip
-
File upload validation not working - please help
Bump Really need some help with this guys. Thanks
-
File upload validation not working - please help
Zip file upload. Thanks upload.zip
-
File upload validation not working - please help
I have created a PHP upload script, however I have a bit of an issue with it. The script checks to see if the checkbox 'remote' is ticked. If it is, it uploads the image file and stores the external URL as a field in the database. If the checkbox isn't checked it will upload the file and the image. Or it should. I appear to have a problem I can't sort. I have some file validation to check if the file is a .rar .zip or .jpg If the file IS NOT a .jpg it WILL NOT upload any files, but it will store the information in the database instead of giving me an error. The upload (checkbox unticked) will only work with .jpg's as the file when it should check to see the defined files allowed.. Here is the file: http://www.webdesignerforum.co.uk/index.ph...ost&id=3184
-
Select all clears fields...?
Found the problem, however cannot solve it. When I go into my phpmyadmin to change a field, the field 'member_name' has a dropdown box. I cannot select a member name in there, it just has 2 options - +1 or -1 Is this because the member_name is taken from a different table? How can I solve this?
-
CSS Menu aligning left when set not to
Wish I could tell you that worked, but, unfortunatly it didn't. The problem is still there..
-
FarCry2 Map Database Site
Just designed a new site for the upcoming game FarCry2. Basically it will be for users to upload/download custom FarCry2 map. Take a look at my dev site and tell me what you think. Bearing in mind that the database and php has not been put in place yet www.fc2maps.com/dev
-
CSS Menu aligning left when set not to
Muppet cant spell. Fixed the link now Anyway, that has aligned them center but they now appear ontop of the nav bar rather than within it
-
CSS Menu aligning left when set not to
Ive read a tut. about it somewhere but you have to use spans and it gets a bit messy