Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Bidding Directory   1,000 Directory Submissions   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 06-25-2004, 03:41 PM   #1 (permalink)
Inactive
 
seonewbee's Avatar
 
Join Date: 05-12-04
Posts: 520
iTrader: 0 / 0%
Latest Blog:
None

seonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really nice
What am I doing wrong?

I put this in my page and it did not work. I only see the text and not the serverside include. The page is a php page. The code is
<B> This site last updated on
<!--#config timefmt="%m/%d/%y" --><!--#echo var="DATE_LOCAL" -->
</B>
seonewbee is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 06-25-2004, 04:33 PM   #2 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
Why is it wrapped in comment tags?
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-25-2004, 04:49 PM   #3 (permalink)
Inactive
 
seonewbee's Avatar
 
Join Date: 05-12-04
Posts: 520
iTrader: 0 / 0%
Latest Blog:
None

seonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really nice
What is the correct format for a SSI
seonewbee is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-25-2004, 04:59 PM   #4 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
No, you have it right. I don't know why it doesn't work.
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-25-2004, 05:00 PM   #5 (permalink)
v7n Mentor
 
Pretend's Avatar
 
Join Date: 10-13-03
Location: Ft. Lewis, WA
Posts: 3,264
iTrader: 0 / 0%
Latest Blog:
None

Pretend is a web professional of the highest orderPretend is a web professional of the highest orderPretend is a web professional of the highest orderPretend is a web professional of the highest orderPretend is a web professional of the highest orderPretend is a web professional of the highest orderPretend is a web professional of the highest orderPretend is a web professional of the highest orderPretend is a web professional of the highest orderPretend is a web professional of the highest orderPretend is a web professional of the highest order
Send a message via AIM to Pretend Send a message via Skype™ to Pretend
Sorry... not about your topic because I don't exactly know.

But do you actually run FreeBSD as your OS? lol
__________________
My posts were too dang barren, so this got thrown in to take up a little bit of space.
Pretend is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-25-2004, 05:10 PM   #6 (permalink)
Inactive
 
seonewbee's Avatar
 
Join Date: 05-12-04
Posts: 520
iTrader: 0 / 0%
Latest Blog:
None

seonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really nice
Is there some special escapement that you must do in PHP to run SSI? Is there a PHP function to do what that SSI call does?
seonewbee is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-25-2004, 05:11 PM   #7 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
Doesn't your page extension have to be .shtml for the server side includes to work?
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-25-2004, 05:14 PM   #8 (permalink)
Inactive
 
seonewbee's Avatar
 
Join Date: 05-12-04
Posts: 520
iTrader: 0 / 0%
Latest Blog:
None

seonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really nice
OK, what do I do to get the date on the page?
seonewbee is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-25-2004, 05:16 PM   #9 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
In php, you can use this:


[code:1:e2a9a9979a]<?php
echo date("m.d.y");
?>[/code:1:e2a9a9979a]
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-25-2004, 05:18 PM   #10 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
That won't give you a last updated date, though. Neither will the one you were using above, though. Is that what you were looking for?
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-25-2004, 05:18 PM   #11 (permalink)
v7n Mentor
 
imaginemn's Avatar
 
Join Date: 02-18-04
Location: Minneapolis, Minnesota
Posts: 1,941
iTrader: 0 / 0%
imaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to all
Send a message via MSN to imaginemn Send a message via Yahoo to imaginemn Send a message via Skype™ to imaginemn
Jazee you are right. It should have the .shtml extension and the syntax should also be.

[code:1:80b6007213]<!--#config timefmt="%m %d %y" --><!--#echo var="DATE_LOCAL" -->[/code:1:80b6007213]

imaginemn
__________________
Imagine Creative Services
Design : Marketing : Multimedia : More
imaginemn is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-25-2004, 05:21 PM   #12 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
Quote:
Originally Posted by imaginemn
Jazee you are right. It should have the .shtml extension and the syntax should also be.
No. The syntax he used above works. The one you just posted will not have the slashes in between the numbers.
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-25-2004, 05:26 PM   #13 (permalink)
Inactive
 
seonewbee's Avatar
 
Join Date: 05-12-04
Posts: 520
iTrader: 0 / 0%
Latest Blog:
None

seonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really nice
Thank you all! Thanks to Jazzee it works now. Thank you very much. Could someone answer my question in http://www.internet-marketing-resear...opic10424.html

Thanks.
seonewbee is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-25-2004, 05:32 PM   #14 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
Did you just use the php one?
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-25-2004, 05:37 PM   #15 (permalink)
Inactive
 
seonewbee's Avatar
 
Join Date: 05-12-04
Posts: 520
iTrader: 0 / 0%
Latest Blog:
None

seonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really nice
Yes I used the PHP one. Could I use somekind of an include in PHP and call a .shtml file that has the SSI code?
seonewbee is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-25-2004, 05:39 PM   #16 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
You could try.

<?php include('datefile.shtml'); ?>

Just put your date thing in datefile.shtml and try it.

I doubt it will work, though.
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-25-2004, 05:45 PM   #17 (permalink)
Inactive
 
seonewbee's Avatar
 
Join Date: 05-12-04
Posts: 520
iTrader: 0 / 0%
Latest Blog:
None

seonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really nice
Thanks very much.
seonewbee is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-25-2004, 05:47 PM   #18 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
Doesn't work. I tried it. Your better off sticking with the php.
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-25-2004, 06:19 PM   #19 (permalink)
v7n Mentor
 
imaginemn's Avatar
 
Join Date: 02-18-04
Location: Minneapolis, Minnesota
Posts: 1,941
iTrader: 0 / 0%
imaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to all
Send a message via MSN to imaginemn Send a message via Yahoo to imaginemn Send a message via Skype™ to imaginemn
Jazzee Good catch my mind must be mush. 10 Prince concerts in 7 days too much work not enough sleep.

imaginemn
__________________
Imagine Creative Services
Design : Marketing : Multimedia : More
imaginemn is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wrong Traffic, Wrong Keyword for Wrong Site! Jonathan_Hue SEO Forum 22 03-18-2008 05:33 PM
What am I doing wrong? digiweb Webmaster Revenue 33 10-21-2006 12:29 AM
What's wrong with this??? capman1 Graphic Design Forum 24 10-04-2006 02:12 PM
Going about it the wrong way? wozza Google Forum 3 06-23-2004 02:18 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 07:07 AM.
© Copyright 2008 V7 Inc