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)
-   -   Ghost Code (https://gfy.com/showthread.php?t=1055343)

brentbacardi 01-29-2012 04:30 AM

Ghost Code
 
I only notice this on shared hosting but sometimes pages display content that's just not there in the code... like I can have a file that only says hello in it and what displays is a form or something that is used elsewhere on the site or maybe that I used to have in that file but have deleted the code for it.

Does this happen to anyone else?

cooldude7 01-29-2012 07:35 AM

never happened to me.,

ottopottomouse 01-29-2012 10:31 AM

Quote:

Originally Posted by brentbacardi (Post 18718736)
I only notice this on shared hosting but sometimes pages display content that's just not there in the code... like I can have a file that only says hello in it and what displays is a form or something that is used elsewhere on the site or maybe that I used to have in that file but have deleted the code for it.

Does this happen to anyone else?

It's cached somewhere then, either directly on your computer or in your browser if you're using a proxied one or something taking the load off the server.

brentbacardi 01-29-2012 12:29 PM

I tried ie, ff and chrome, same problem. And I deleted cookies and temp files...

This just happened last night:

I have a pretty standard html content on a page, i change it to php and add include file1.php at the top.

I load page, it somehow thinks to include file2.php at the top. I never included file 2 ever on this page so how the fuck is it displaying there. That cannot be a cache or cookie issue.

I contact support at host company, they said they changed the way the include file url was written from http://location/location/file1.php to /../../file1.php but I looked at the code and it looks the same to me but now it works....

wtf!

Another time, a totally blank index.html was displaying a shit ton of chinese characters... i never use anything with chinese langauge packs or anything like that and the file was totally empty yet kept doing this.

wtf!

From the response so far I think im going crazy... :mad:

borked 01-29-2012 01:56 PM

looks to me like your host is screwing with you... this is a shared hosting account I gather?

when including files, make sure the correct file is being included with an:
echo __FILE__;

that will tell you which file (and path) you are including...

with your chinese character nonesense, are you sure your server is sending out the correct character set? Sounds like you're on a chinese-language OS and the chinese characters are something from a standard error page....

drop me an email if you want me to take a look....

ArsewithClass 01-29-2012 02:17 PM

Never happened to my server and code... Hope you get it sorted :2 cents:

borked 01-29-2012 02:28 PM

Quote:

Originally Posted by ArsewithClass (Post 18719437)
Never happened to my server and code... Hope you get it sorted :2 cents:

it's never happened to my server or code, but thanks for your helpful input :winkwink:
$postcount++

baddog 01-29-2012 02:37 PM

Notify your host. The server may have been compromised.

brentbacardi 01-29-2012 03:38 PM

Good idea to echo that out... and ok, interesting.

This happened to me on 3 different companies shared hosting and 2 are popular hosting companies that anyone would recognize because everyone uses them.

Maybe it happens to me because I own and log into many different cheap hosting accounts because I set up websites for people and upgrade their shit often.

BIGTYMER 01-29-2012 03:46 PM

Did you try to translate the Chinese text?

brentbacardi 01-29-2012 03:55 PM

No but I probably should have... too late now... maybe next time.


All times are GMT -7. The time now is 03:24 PM.

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