Closed Thread Icon

Topic awaiting preservation: Local server works fine, but remote server not problem Pages that link to <a href="https://ozoneasylum.com/backlink?for=13006" title="Pages that link to Topic awaiting preservation: Local server works fine, but remote server not problem" rel="nofollow" >Topic awaiting preservation: Local server works fine, but remote server not problem\

 
Author Thread
Hiroki
Paranoid (IV) Inmate

From: NZ
Insane since: Dec 2002

posted posted 11-26-2003 09:19

Hi, guys. Can I ask you somethng please?
I tested my ASP file using Windows 2000 at here.
I thought it is ready to upload to web hosting server.
Then I did. Mainly fine. But this part doesn't do the job.

code:
If Left(CStr(rs("Post_Date")),10) = CStr(date()) Then 
Response.Write("<td class='New'>")
Response.Write(rs("UserName"))
Response.Write("</td>")
else
Response.Write("<td>")
Response.Write(rs("UserName"))
Response.Write("</td>")
End If



I don't understand why it work in a local server but not actual web server. It is same windows server. Nearly everything works fine except that problem.

What I am doing above is just generating css in td tag. Comparing the date and Post_Date, which is the date posted by user. Am I somethig wrong above? Please help.
Cheers,

Hiroki Kozai

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 11-26-2003 12:38

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

Hiroki
Paranoid (IV) Inmate

From: NZ
Insane since: Dec 2002

posted posted 11-27-2003 01:43

Thanks for that.
It reminded me of something important.
Now it has been solved.
Cheers.

Hiroki Kozai

« BackwardsOnwards »

Show Forum Drop Down Menu