Jump to content

Recommended Posts

Posted

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.

  • Replies 46
  • Created
  • Last Reply

Top Posters In This Topic

Guest Geoff
Posted

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]#

Posted

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?

Guest Geoff
Posted

Change this:

 

 

$home_img = "http://mizuho.heliohost.org/cgi-bin/images/home.gif";              # Homepage image.

 

To this:

 

 

$home_img = "home.gif";              # Homepage image.

Posted

It's working now.

 

How do I get rid of the weird number language that shows up?

Guest Geoff
Posted

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.

Posted

How do I know what to look for in the code?

Guest Geoff
Posted

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.

Guest Geoff
Posted
:D

 

It's not so funny when notepad messes up 1000 lines of code... That's why I don't use it.

Posted

I thought that was a grin, not a laugh. ^_^

 

Yeah, Notepad is very bad for editing code. Just use metapad; much better. ;)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...