|
2007-12-09, 11:34 PM | #1 |
on vacation
|
changing html to php
I didn't know where to put this but I figured someone in here could help me
I can't believe I didn't think of this before I started all this work but I'm looking at changing just my index/main pages on my LL from html to php and wondered if anyone has done this & what they did about their link trades? I also have recips pointing to main.html, so what would be the best way to redirect that to the .php? thanks for any input! |
2007-12-09, 11:44 PM | #2 |
Porn Blog Addict
|
you can run php pages as .html by adding this line to you .htaccess or apache config.
PHP Code:
|
2007-12-10, 08:37 AM | #3 | |
on vacation
|
Quote:
What if I had a script that generates the page as .php and I can't change that (or at least can't figure out how I could lol) |
|
2007-12-10, 08:54 AM | #4 |
Certified Nice Person
|
Are you saying that it creates a .php page? If so, you could search the script for 'php' and eventually you'll discover where it applies the extension. It may even be in the config file.
__________________
Click here to purchase a bridge I'm selling. |
2007-12-10, 09:42 AM | #5 |
That which does not kill us, will try, try again.
|
And for a convoluted workaround, if you can't for some reason get the script to create/use .html extensions, you can let it generate the index.php page and then you can use a PHP include statement to pull the contents of that page into your index.html page. If the script builds exactly the page you want, this could be the complete contents of your index.html page on your server:
Code:
<?php include ('index.php'); ?>
__________________
"If you're happy and you know it, think again." -- Guru Pitka |
2007-12-10, 10:46 AM | #6 | |
There's Xanax in my thurible!
|
Quote:
|
|
2007-12-10, 10:58 AM | #7 | |
on vacation
|
Quote:
I think I will try Simon's runaround...oops, I mean workaround and see what happens. Thank you Bob, Simon, UW & Preacher |blowkiss| |
|
2007-12-11, 07:51 PM | #8 |
on vacation
|
just FYI - you were all right!!
I used the php include, and added BBob's line into my htaccess, and by golly, it all worked still tweaking things, but BIG thanks guys! |
2007-12-11, 08:17 PM | #9 |
You can now put whatever you want in this space :)
|
You've been a busy little girl
I love the BlinkList concept
__________________
How To Keep An Asshole In Suspense
I'll Tell You Later |
2007-12-11, 11:55 PM | #10 |
on vacation
|
thanks for your support TPat!!
now I'm gonna go dream in css lol |
2007-12-12, 02:04 PM | #11 |
There's Xanax in my thurible!
|
I like that idea as well.
That's actually how my blog started out, as the index of my linklist. I have no idea why I seperated the two (this is probably 2-3 years ago) but I keep trying to convince myself to combine the two again. |
2007-12-15, 02:40 PM | #12 |
WHO IS FONZY!?! Don't they teach you anything at school?
Join Date: Dec 2005
Posts: 48
|
Do you have ssh access to your account ?
__________________
There is no money in porn adult messages aggregator. |
|
|