![]() |
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? |
never happened to me.,
|
Quote:
|
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: |
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.... |
Never happened to my server and code... Hope you get it sorted :2 cents:
|
Quote:
$postcount++ |
Notify your host. The server may have been compromised.
|
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. |
Did you try to translate the Chinese text?
|
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