Topic: alternative to php (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=28404" title="Pages that link to Topic: alternative to php (Page 1 of 1)" rel="nofollow" >Topic: alternative to php <span class="small">(Page 1 of 1)</span>\

 
Radical Rob
Bipolar (III) Inmate

From: Lost Angeles Kalifornia, via Hawaii....
Insane since: Jun 2001

posted posted 09-09-2006 02:16

Ok for some dumb reason when I develop a page on my mac at the office, when uploaded i get a server error.
When I upload from home, the same file, it works fine. so i give up.... heres what Im trying to do...

All I want to do is create a header.php, body.php, footer.php and create each page as such... (header.php, contact.php, footer.php) so I dont have to re-encode each page. I've never done anything like this outside of php. I mean all I really utilize is the include function.

What are the alternatives to doing this in html??

H][RO
Paranoid (IV) Inmate

From: Australia
Insane since: Oct 2002

posted posted 09-09-2006 03:47

Do you mean what are the alternatives to doing this in php?


You can choose any server side language, but i don't see why you wouldnt use php for this as its simple and the most widely used/supported.



You can use HTML SSI but they are lower performance i beleive. Why don't you want to do it in php?

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted posted 09-09-2006 03:52

There are most likely differences in your FTP program. You might want to check your file permissions when the file is uploaded via the mac as compared to when uploaded via your PC.

You could also check why type of upload is being attempted. Binary or ASCII.

That is at least where I would start.

You most likely do not need an alternative to PHP, you need an alternative to your ftp program.

Dan @ Code Town

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

posted posted 09-09-2006 08:40
quote:
H][RO said:

php ... the most widely used/supported


...no....

quote:
H][RO said:

You can use HTML SSI but they are lower performance i beleive.


Well you've been right so far.

mas
Maniac (V) Mad Librarian

From: the space between us
Insane since: Sep 2002

posted posted 09-09-2006 11:43

reisio: you doubt that php is the most widely used server side scripting language? well, which on is it then?

The Space Between Us | My Blog: lukas.grumet.at

H][RO
Paranoid (IV) Inmate

From: Australia
Insane since: Oct 2002

posted posted 09-09-2006 16:24

It is pretty hard to get accurate statistics on the most popular server side language, but i think its a pretty safe bet it's php at this stage even though of late it might have been losing some ground.


If reisio can provide any other data it would be good too see, i don't care what the correct answer is but i beleive php is the most popular.
But one liner posts without any details are useful too!....

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

posted posted 09-09-2006 16:25

Plain SSI is probably the most simple widely used/supported form of SSI.

butcher
Paranoid (IV) Inmate

From: New Jersey, USA
Insane since: Oct 2000

posted posted 09-11-2006 02:43

Could the server error be an issue with the different types of line endings that Mac/Windows/*nix use?

- Butcher -

Radical Rob
Bipolar (III) Inmate

From: Lost Angeles Kalifornia, via Hawaii....
Insane since: Jun 2001

posted posted 09-11-2006 09:09

ugh... this is not fun. Ok I tried the defunct link in my home office and it came up but with errors due to the i wasn't finished with the updates. When I try it on my wifes laptop I get nothing. blank... zip....
www.playhpc.com/index.php

Steve
Maniac (V) Inmate

From: Boston, MA, USA
Insane since: Apr 2000

posted posted 09-11-2006 13:08

Rob - if you would kindly make a little room in your email mail box maybe the note I sent you yesterday morning with some helpful links would be deliverable.



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu