GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   PHP to HTML - Help Please. (https://gfy.com/showthread.php?t=246356)

Sama 03-02-2004 10:57 PM

PHP to HTML - Help Please.
 
Anyone know how to change php to html?

Struggling with this and need a little help.

Thanks!

icq 152 48 2208

Dynamix 03-02-2004 11:01 PM

you make no sense.. PHP is a scripting language, how could it possibly be converted to HTML? HTML has no database/file-editing/etc capabilities..

Repetitive Monkey 03-02-2004 11:02 PM

Quote:

Originally posted by Sama
Anyone know how to change php to html?

Struggling with this and need a little help.

Thanks!

icq 152 48 2208

Do you want to enable php code in .html files to run? If so, it's just a matter of putting this in your .htaccess:

AddType application/x-httpd-php .htm .html

Dynamix 03-02-2004 11:03 PM

Quote:

Originally posted by Repetitive Monkey

Do you want to enable php code in .html files to run? If so, it's just a matter of putting this in your .htaccess:

AddType application/x-httpd-php .htm .html

ahh, good thinkin :thumbsup

Sama 03-02-2004 11:10 PM

Thanks guys,
I'ts over my head, so I am sure I don't make much sense.

I bought a site writtten in php, I want to make some changes to the pages and I cannot. I don't know how to edit it in notepad.

Rorschach 03-02-2004 11:19 PM

Looks like you better learn some php then.

Repetitive Monkey 03-02-2004 11:20 PM

Quote:

Originally posted by Sama
Thanks guys,
I'ts over my head, so I am sure I don't make much sense.

I bought a site writtten in php, I want to make some changes to the pages and I cannot. I don't know how to edit it in notepad.

Just pay me to do it for you then. :2 cents: :winkwink:

Sama 03-02-2004 11:24 PM

Quote:

Just pay me to do it for you then.
:2 cents:



Is that 2 cents I see for your help? Sure why not, I have a couple of cents to spare. :thumbsup

Ash@phpFX 03-03-2004 03:49 AM

for the most part is shouldnt be too hard to do it in notepad, you just have to look for the html inside the hahahahahahahahahaha

if the progammer knew you would want to change things they should have made an interface for it or a template system :2 cents:

your only other option is to hire someone to make the changes

natkejs 03-03-2004 03:56 AM

Quote:

Originally posted by Sama
Thanks guys,
I'ts over my head, so I am sure I don't make much sense.

I bought a site writtten in php, I want to make some changes to the pages and I cannot. I don't know how to edit it in notepad.

Hey! ;)

Do this ... access the pages through your browser, right click and view source. Find the HTML you want to edit ... make a search in the PHP scripts for that string ... WHOLA you'll find where to edit. Just don't edit any of the actual code, just the HTML.

And remember ONE thing...... if the HTML code has --> " <-- in the beginning and the end ...

f.i: "html code <a href='hoho'>hoho</a>"

Then you can NOT use any --> " <-- in the code, instead use --> ' <-- ... and vise versa.

Uhh yeah, I do agree that you should probably hire someone to help you instead. Or if it's just a tiny thing hit me up on ICQ 3652156 and I'll guide ya through it!

Peace :)

sexsup 03-03-2004 04:12 AM

Quote:

Originally posted by Repetitive Monkey

Do you want to enable php code in .html files to run? If so, it's just a matter of putting this in your .htaccess:

AddType application/x-httpd-php .htm .html

I used something similar in the past, and it's a good solution


All times are GMT -7. The time now is 07:48 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123