Jump to content

HTML vs PHP


Recommended Posts

New to PHP so please be gentle!

 

I code in HTML and run these locally in my browser to check their progress (can't seem to get any of the servers to work btw?! - another day maybe?) Anyhow I send the HTML files to my webspace and my ftp client will automatically change them to PHP. Good so far!

 

Now, this is where my problem starts - in the HTML there are links to other HTML but they will not call from the webspace as they have been re-named PHP; with me so far?!

 

Is there a trick to overcoming this or is it a handball job - I also have external page links which are HTML so a 'global' change is not practical.

 

Any advice please would be much appreciated :-)

Link to comment
https://forums.phpfreaks.com/topic/177518-html-vs-php/
Share on other sites

(can't seem to get any of the servers to work btw?! - another day maybe?)

 

Ah ha - pleased to say that I have just got EasyPHP to work so I can now view my PHP locally!

 

Would still welcome any help/comment about my original question please?

 

MTIA,

Link to comment
https://forums.phpfreaks.com/topic/177518-html-vs-php/#findComment-936015
Share on other sites

Ah ha - pleased to say that I have just got EasyPHP to work so I can now view my PHP locally!

 

Ya, because php is so hard to install....

 

Your original question makes little sense. If you want your links to be valid they need t point to valid uri's, full stop. An ftp client is renaming your files? Why?

Link to comment
https://forums.phpfreaks.com/topic/177518-html-vs-php/#findComment-936019
Share on other sites

When I wrote my original question I couldn't get PHP files to display locally; now I can  :D

 

You answered just before I was about to answer my own question as I have now the ability to name everything PHP and see the fruits of my efforts directly on my PC  ;)

 

So thanks to everyones input - must try to explain myself better in the future though  :shrug:

 

btw, I can cope with sarcasm when it is required - not sure it was here seeing as I said I was new to this; we all have to learn and I have ::)

Link to comment
https://forums.phpfreaks.com/topic/177518-html-vs-php/#findComment-936028
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.