Flamzeron Posted July 9, 2011 Author Posted July 9, 2011 All the images had been uploaded once I had uploaded the zipped folder. They should be linked correctly, but the broken ones are still broken. Quote
Guest Geoff Posted July 10, 2011 Posted July 10, 2011 It doesn't appear to be there for me: root@johnny [/home/mizuho/public_html/images]# ls ./ botbg.gif* colette4.gif* genis1.gif* genis5.gif* kratos3.gif* title.gif* ../ colette1.gif* colette5.gif* genis2.gif* home.gif* kratos4.gif* bg1.gif* colette2.gif* corrine.gif* genis3.gif* kratos1.gif* kratos5.gif* bg.gif* colette3.gif* cress1.png* genis4.gif* kratos2.gif* lefbg.gif* root@johnny [/home/mizuho/public_html/images]# Quote
Flamzeron Posted July 10, 2011 Author Posted July 10, 2011 It should be fine now. The image folder that was being linked in the code was an old one. The images should be working now. The only one that isn't working is the home one. Also, how do I remove the weird language that shows up sometimes? Quote
Guest Geoff Posted July 10, 2011 Posted July 10, 2011 Change this: $home_img = "http://mizuho.heliohost.org/cgi-bin/images/home.gif"; # Homepage image. To this: $home_img = "home.gif"; # Homepage image. Quote
Flamzeron Posted July 10, 2011 Author Posted July 10, 2011 It's working now. How do I get rid of the weird number language that shows up? Quote
Guest Geoff Posted July 10, 2011 Posted July 10, 2011 The problem is your script was written in mandarin, and probably when you saved it on your windows computer, it got saved in ASCII, causing a loss of character information. You should have saved it in UTF-8 instead, which would have prevented those weird numbers. However, since you can't go back and change the future, you'll need to manually change all the characters that got messed up on your windows machine. Be sure that while you are editing your file, you keep a backup of the previous version of your script, and before deleting the backup, test your script in your browser. Quote
Flamzeron Posted July 11, 2011 Author Posted July 11, 2011 How do I know what to look for in the code? Quote
Guest Geoff Posted July 11, 2011 Posted July 11, 2011 Pretty much, you need to look for characters like this: \&\#\2\3\9\; I can't post the character, take out the backslashes. And change them to letters. Really, you don't need to do this for every occurance, you only really need to do this to the ones that show on the web page. Quote
jje Posted July 11, 2011 Posted July 11, 2011 Don't edit your files in Notepad, it adds extras to it that can confuse the server. Use metapad instead. Quote
Guest Geoff Posted July 12, 2011 Posted July 12, 2011 It's not so funny when notepad messes up 1000 lines of code... That's why I don't use it. Quote
jje Posted July 13, 2011 Posted July 13, 2011 I thought that was a grin, not a laugh. Yeah, Notepad is very bad for editing code. Just use metapad; much better. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.