View previous topic :: View next topic |
Author |
Message |
crazymazey -
Joined: 22 Sep 2003 Posts: 35
|
Posted: Mon Oct 06, 2003 9:19 am Post subject: tried to do what suggested |
|
|
i'm just testing with this simple script ip.php
as you can see if you visit http://crazymazey.kicks-ass.org/ip.php
the script works.i've put the ip.php script in the htdocs folder in the abyss directory. and i've tried to embed the following scripts into a webpage index.html to test it
<?PHP include ("http://crazymazey.kicks-ass.org/ip.php"); ?>
<?PHP include ('http://crazymazey.kicks-ass.org/ip.php'); ?>
<?PHP include ('ip.php'); ?>
<?PHP include ("ip.php"); ?>
but none seem to work.
i'm using frontpage.
i also did the script info.php
http://crazymazey.kicks-ass.org/info.php
and this works
i know this is something simple that i am missing but i'm lost _________________
|
|
Back to top |
|
|
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Mon Oct 06, 2003 1:31 pm Post subject: |
|
|
(De-ja-vu...I know I saw this post somewhere else... :roll: )
Rename your index.html to index.php.
See if that works. |
|
Back to top |
|
|
crazymazey -
Joined: 22 Sep 2003 Posts: 35
|
Posted: Mon Oct 06, 2003 1:47 pm Post subject: didnt work |
|
|
no it didnt work _________________
|
|
Back to top |
|
|
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Mon Oct 06, 2003 2:16 pm Post subject: |
|
|
My only guess is that Frontpage is screwing something up. ( :( FP is notorious for that :( )
Can you paste the page-source with the *includes* in it? |
|
Back to top |
|
|
crazymazey -
Joined: 22 Sep 2003 Posts: 35
|
Posted: Mon Oct 06, 2003 2:27 pm Post subject: here it is |
|
|
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META content="Microsoft FrontPage 5.0" name=GENERATOR>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<link rel="File-List" href="index_files/filelist.xml">
<title>CRAZYMAZEYs</title>
<!--[if !mso]>
<style>
v\:* { behavior: url(#default#VML) }
o\:* { behavior: url(#default#VML) }
.shape { behavior: url(#default#VML) }
</style>
<![endif]--><!--[if gte mso 9]>
<xml><o:shapedefaults v:ext="edit" spidmax="1027"/>
</xml><![endif]-->
</head>
</body>
<body text="#3399FF" link="#3399FF" vlink="#00FFFF" alink="#0000FF" background="images/stars.gif">
<input type="hidden" name="usernum" value="2510736733">
<input type="hidden" name="cpv" value="1">
</head>
</body>
<p align="center"><!--[if gte vml 1]><v:shapetype id="_x0000_t138"
coordsize="21600,21600" o:spt="138" adj="10800" path="m0@0l10800,,21600@0m,21600r10800,l21600,21600e">
<v:formulas>
<v:f eqn="val #0"/>
<v:f eqn="prod #0 1 2"/>
<v:f eqn="sum @1 10800 0"/>
<v:f eqn="sum 21600 0 @1"/>
</v:formulas>
<v:path textpathok="t" o:connecttype="custom" o:connectlocs="10800,0;5400,@1;10800,21600;16200,@1"
o:connectangles="270,180,90,0"/>
<v:textpath on="t" fitshape="t"/>
<v:handles>
<v:h position="topLeft,#0" yrange="0,21600"/>
</v:handles>
<o:lock v:ext="edit" text="t" shapetype="t"/>
</v:shapetype><v:shape id="_x0000_s1025" type="#_x0000_t138" alt="CRAZYMAZEYs"
style='width:524.25pt;height:108.75pt' fillcolor="#ffc">
<v:fill color2="#f99" focus="100%" type="gradient"/>
<v:shadow color="#868686"/>
<o:extrusion v:ext="view" backdepth="18pt" color="#06c" on="t" viewpoint="-34.72222mm"
viewpointorigin="-.5" skewangle="-45" brightness="10000f" lightposition="0,-50000"
lightlevel="44000f" lightposition2="0,50000" lightlevel2="24000f"/>
<v:textpath style='font-family:"Times New Roman";font-size:1in;v-text-kern:t'
trim="t" fitpath="t" string="CRAZYMAZEYs"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=709 height=150
src="index_files/image001.gif" alt=CRAZYMAZEYs v:shapes="_x0000_s1025"><![endif]> <TITLE>Date</TITLE>
<SCRIPT LANGUAGE="JavaScript">
<!--
function MakeArray(n) {
this.length = n
return this
}
monthNames = new MakeArray(12)
monthNames[1] = "January"
monthNames[2] = "February"
monthNames[3] = "March"
monthNames[4] = "April"
monthNames[5] = "May"
monthNames[6] = "June"
monthNames[7] = "July"
monthNames[8] = "August"
monthNames[9] = "September"
monthNames[10] = "October"
monthNames[11] = "November"
monthNames[12] = "December"
dayNames = new MakeArray(7)
dayNames[1] = "Sunday"
dayNames[2] = "Monday"
dayNames[3] = "Tuesday"
dayNames[4] = "Wednesday"
dayNames[5] = "Thursday"
dayNames[6] = "Friday"
dayNames[7] = "Saturday"
function customDateString() {
currentDate = new Date()
var theDay = dayNames[currentDate.getDay() + 1]
var theMonth = monthNames[currentDate.getMonth() + 1]
msie4 = ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 ));
if (msie4) {
var theYear = currentDate.getYear()
}
else {
var theYear = currentDate.getYear() +1900
}
return theDay + ", " + theMonth + " " + currentDate.getDate() + ", " + theYear
}
//-->
</SCRIPT>
</HEAD>
<BODY>
</p>
<center><h2>
<SCRIPT LANGUAGE="JavaScript">
document.write(customDateString())
</SCRIPT>
</center>
</h2>
</p>
<table border="4" cellspacing="0" width="100%" id="AutoNumber1" height="43" bordercolor="#3399FF" bgcolor="#808080" bordercolorlight="#3399FF" bordercolordark="#3399FF" style="border-collapse: collapse" cellpadding="0">
<tr>
<td width="70%" height="35" bgcolor="#008000" background="images/stars.gif">
<p align="center"><b>
<font size="6" face="Bookman Old Style" color="#3399FF">TAKE AT LOOK ROUND MY
SITE</font></b></td>
</tr>
<tr>
<td width="70%" height="194" bgcolor="#008000" background="images/stars.gif">
<p align="center"> </p>
<p align="center"><font face="Bookman Old Style" size="6">
<a href="http://crazymazey.kicks-ass.org/guestbook"><font color="#3399FF">GUEST BOOK</font></a><font color="#3399FF">
</font> </font></p>
<p align="center">
<font face="Bookman Old Style" size="5"><font color="#3399FF"> </font></font><font face="Bookman Old Style"><a href="gamesonline.htm"><font color="#3399FF" size="6">ONLINE GAMES</font></a></font></p>
<p align="center"><font size="6" face="Bookman Old Style">
<a href="funnymp3s.htm"><font color="#3399FF">FUNNY MP3s</font></a></font></p>
<p align="center">
<a href="http://pub30.bravenet.com/chat/show.php?usernum=2510736733&cpv=1">
<font color="#3399FF" face="Bookman Old Style" size="6">CHAT ROOM</font></a></p>
<p align="center">
<font face="Bookman Old Style" size="6">
<a href="forum"><font color="#3399FF">FORUM</font></a></font></p>
<p align="center">
<a href="http://crazymazey.kicks-ass.org:6969/index.html">
<font face="Bookman Old Style" size="6" color="#3399FF">BIT TORRENT TRACKER</font></a></p>
<p align="center">
</p>
</td>
</tr>
</table>
<?PHP include ('http://crazymazey.kicks-ass.org/ip.php'); ?>
</html> _________________
|
|
Back to top |
|
|
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Mon Oct 06, 2003 2:55 pm Post subject: |
|
|
I just added your source to this test page on my site and it's showing the IP script.
http://downtimeclub.cjb.net/crazy.php
If your other .php files are showing correctly I don't understand why this one isn't. |
|
Back to top |
|
|
crazymazey -
Joined: 22 Sep 2003 Posts: 35
|
Posted: Mon Oct 06, 2003 3:01 pm Post subject: |
|
|
what can it be then
visit my page at crazymazey.kicks-ass.org
and as you will see its not showing _________________
|
|
Back to top |
|
|
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Mon Oct 06, 2003 3:08 pm Post subject: |
|
|
crazymazey,
Your indexpage needs to be named index.php.
I just noticed you have an index.php that has a "click here" on it.
You should rename the index.html page to whatever.php and update the "click here" link to that page instead. |
|
Back to top |
|
|
crazymazey -
Joined: 22 Sep 2003 Posts: 35
|
Posted: Mon Oct 06, 2003 3:27 pm Post subject: |
|
|
do i just rename the extention to php
if so i tried that but it would not load through a web browser _________________
|
|
Back to top |
|
|
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Mon Oct 06, 2003 3:30 pm Post subject: |
|
|
Yes, just rename it.
What browser are you using?
Clear cache and reload.
Also, you will need to update your DynDNS.org account so that your "domain name"
will go to the correct page. Otherwise, access your site with your IP address to see
if the changes work. |
|
Back to top |
|
|
crazymazey -
Joined: 22 Sep 2003 Posts: 35
|
Posted: Tue Oct 07, 2003 12:07 pm Post subject: |
|
|
cheers that worked :lol: _________________
|
|
Back to top |
|
|
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Tue Oct 07, 2003 12:48 pm Post subject: |
|
|
Anytime :D :D :D |
|
Back to top |
|
|
|