Sourceforge web site

Programming, for all ages and all languages.
Post Reply
Tom

Sourceforge web site

Post by Tom »

Hello, I was trying to make my FritzOS web site. I know a bit of HTML, enough to get by.

BUT, It said I needed to make a index.php!

I know PHP is a language, but one I don't care for.
Could somebody make a PHP file that redirects my fritzos.sourceforge.net to fritzos.sourceforge.net/fritzos.html

I know DF or someone else can. ( this board is php, right? )

Thank you,
Tom

Re:Sourceforge web site

Post by Tom »

I did figure out how to make text appear: fritzos.sourceforge.net
juncmodule

Re:Sourceforge web site

Post by juncmodule »

Just rename your index.html page index.php...should work without a problem.

Did you want anything special in PHP or do you just want your currently existing index.html page there?

later,
-junc
Tom

Re:Sourceforge web site

Post by Tom »

I need some php code that redirs me to fritzos.sourceforge.net/fritzos.html
juncmodule

Re:Sourceforge web site

Post by juncmodule »

That is really unneccesary to use PHP for that. Just use java in a php document.

Just take the following code cut and paste it into notepad and save it as a PHP document.

Code: Select all

<html>
<head>
<title>FritzOS</title>
<script language="JavaScript" type="text/JavaScript">
<!--
window.open('http://fritzos.sourceforge.net/', '_parent'); 
//-->
</script>
</head>
PHP is designed to work inside of a HTML document...the only thing that makes a php document is the PHP "headers" (<?PHP and ?>). As far as writing something that will redirect your site with PHP...That is out of my league...maybe if Chris posts he can point you to a function that will do it...That just seems like an awful lot of work if you just needed a PHP index page though...perhaps I'm not understanding correctly...

-junc
Tom

Re:Sourceforge web site

Post by Tom »

ok, if you go to fritzos.sourceforge.net
I found out I don't need php stuff. thank you juncmodule
Berserk

Re:Sourceforge web site

Post by Berserk »

If i signed up at sourceforge.net, could i get my own sub-site?? and is it free??

And also, do i have to put open-source software on it??
(I got a few games i made, not open-source)

Could i put them on it??

And also, if i signed up, how much web-space do i get??

And does it support PHP??
_Tom

Re:Sourceforge web site

Post by _Tom »

(IT WON'T let me log in!)

Anyway...
( This is me, Tom...I promise)

You need to have it open source...
It is free only for open source...

You get 500mb ( I think )....
PHP isn't something to support...it's a thing built in just like HTML.

And the only docs to make your SourceForge Site is for Unix/Linux....

And I use linux...but you don't :-\

Tim Rob might know about uploading in Win32...but you'd need to sign up as a member here to IM him ;)
Berserk

Re:Sourceforge web site

Post by Berserk »

Hey,

Ok, i won't use Sourceforge then.

As for linux, i Got Mandrake Linux 9.0 installed (on another partion) (i installed it a month ago) But i don't use it. I can't get it to detect my internal (Windows) modem. I would use it if it could detect my da*n modem.

Do you know how??

P.S. i don't believe that you are Tom, your IP is different.

Ciao
Tom

Re:Sourceforge web site

Post by Tom »

I'm Tom ;)

And that Was me ;)
Tom

Re:Sourceforge web site

Post by Tom »

You need to buy and install somthing that's called a "Hardware Modem".

You have a "WinModem" that's only compatible with windows.

I had to do that.

Don't even bother trying drivers for winmodems. Linux is made for hardware modems.
PlayOS

Re:Sourceforge web site

Post by PlayOS »

I just installed linux (Mandrake 8.2) I got some general purpose driver for my winmodem and it worked the first time but after I rebooted my machine it wouldn't work no more.

I'll stick to windows for now.

P.S. Most IP Addresses these days are dynamic which means that you will almost always have a different IP address everytime you connect to the net.
Tom

Re:Sourceforge web site

Post by Tom »

You could try installing every time you want the internet in linux ;)

But that'd be silly...
PlayOS

Re:Sourceforge web site

Post by PlayOS »

Lol... Don't worry, I thought about it!! ;D ;D
Post Reply