GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Tech File upload issue :/ (https://gfy.com/showthread.php?t=1353314)

Publisher Bucks 03-20-2022 12:13 AM

File upload issue :/
 
So in my .php file the code looks like this:

Quote:

<li><a href="account.php">Login To Your Account</a>
<li><a href="join.php">Sign Up For An Account</a>
But when I go to edit the file on the server, the code looks like this:

Quote:

<li><a href=’account.php’>Login To Your Account</a>
<li><a href=’join.php’>Sign Up For An Account</a>
I have re-uploaded in both binary and ASCII modes, but the same thing is happening, any ideas why? :Oh crap

This has just started happening this morning, could it be an issue with the host do you think?

I'm using CuteFTP to upload the files if that is of any importance.

ZTT 03-20-2022 12:39 AM

Perhaps whatever text editor you're using has stopped saving in UTF-8 for some reason. When you click Save there should be, on any decent text editor, an option to choose the character encoding, or maybe in the preferences/settings. Make sure it's UTF-8.

Klen 03-20-2022 10:05 AM

Pro tip: for code upload use SFTP protocol, and never worry about broken upload again.

Publisher Bucks 03-20-2022 12:56 PM

Quote:

Originally Posted by ZTT (Post 22981301)
Perhaps whatever text editor you're using has stopped saving in UTF-8 for some reason. When you click Save there should be, on any decent text editor, an option to choose the character encoding, or maybe in the preferences/settings. Make sure it's UTF-8.

Thats what it was, seems like I may have inadvertently changed the setting when saving the 2nd or 3rd file I was writing.

Appreciate the help :thumbsup

Publisher Bucks 03-20-2022 12:57 PM

Quote:

Originally Posted by Klen (Post 22981427)
Pro tip: for code upload use SFTP protocol, and never worry about broken upload again.

Thanks for the tip :)


All times are GMT -7. The time now is 12:12 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc