473,320 Members | 1,947 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Light at the end of the tunnel - and it's NOT a train !

This was sitting in draft mode and, seeing it's the weekend,
rather than delete it, I've just altered it slightly . . .
Basically it's now a long . . . Thanks to All on clp !

I ploughed thro' about 2,000 post on this ng but didn't see anything
applicable to my problem.

I've just re-done my website (after 10 years of 'straight' HTML)
using CSS. At the same time I've changed to an ISP who doesn't
offer webspace as "normal", so I now have 'my own' domain and
am furiously studying for my entry-level qualification on :
"The Black Art of Servers and All That Which Is Held In Them".

Problem :
I want to use, as someone here phrased it, "some canned PHP
scripts <whichyou download, modify and send up to the server"

Initially, I want to post some genealogy / family history stuff but
restrict the access to family and friends. I've used 'Locked Area' on
a website in the past for a similar purpose but there's no PERL
support on this server. It does support PHP(5) so I went snooping and
I've found 'SAS' (a freebie) at http://www.zann-marketing.com/sas/
which would appear to be just what I need.

But before I started, I tried what someone recommended :
>Create a page with just the following:
<?php
phpinfo();
?>
>Place it in your web server's home directory with the name phpinfo.php
and see if your browser displays the information correctly . . .
I uploaded that by FTP but it only threw a blank page at first.
So I found out how to get 'PHP Error Messages' turned on . . .

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in
/customers/ian-stewart.eu/ian-stewart.eu/httpd.www/phpinfo.php
on line 2

Parse error: syntax error, unexpected T_STRING in
/customers/ian-stewart.eu/ian-stewart.eu/httpd.www/phpinfo.php
on line 2

Also trying :
<?php
print "Hello World";
?>

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in
/customers/ian-stewart.eu/ian-stewart.eu/httpd.www/world.php
on line 2

Parse error: syntax error, unexpected T_STRING in
/customers/ian-stewart.eu/ian-stewart.eu/httpd.www/world.php
on line 2

Oh dear, wotzit all mean ???

Ooops. I used Wordpad rather than Notepad to create the file.
Do it again and "Hello World" and more "Info" than I need.

Now if it hadn't been for lots of helpful answers to others on here
I'd never have got that far and solved the problem.

So it's a big thanks to all from this particular (PHP) noobie
Enjoy your wekend !
Jun 27 '08 #1
3 1175
Josiah Jenkins wrote:
This was sitting in draft mode and, seeing it's the weekend,
rather than delete it, I've just altered it slightly . . .
Basically it's now a long . . . Thanks to All on clp !

I ploughed thro' about 2,000 post on this ng but didn't see anything
applicable to my problem.

I've just re-done my website (after 10 years of 'straight' HTML)
using CSS. At the same time I've changed to an ISP who doesn't
offer webspace as "normal", so I now have 'my own' domain and
am furiously studying for my entry-level qualification on :
"The Black Art of Servers and All That Which Is Held In Them".

Problem :
I want to use, as someone here phrased it, "some canned PHP
scripts <whichyou download, modify and send up to the server"

Initially, I want to post some genealogy / family history stuff but
restrict the access to family and friends. I've used 'Locked Area' on
a website in the past for a similar purpose but there's no PERL
support on this server. It does support PHP(5) so I went snooping and
I've found 'SAS' (a freebie) at http://www.zann-marketing.com/sas/
which would appear to be just what I need.

But before I started, I tried what someone recommended :
>Create a page with just the following:
<?php
phpinfo();
?>
>Place it in your web server's home directory with the name phpinfo.php
and see if your browser displays the information correctly . . .

I uploaded that by FTP but it only threw a blank page at first.
So I found out how to get 'PHP Error Messages' turned on . . .

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in
/customers/ian-stewart.eu/ian-stewart.eu/httpd.www/phpinfo.php
on line 2

Parse error: syntax error, unexpected T_STRING in
/customers/ian-stewart.eu/ian-stewart.eu/httpd.www/phpinfo.php
on line 2

Also trying :
<?php
print "Hello World";
?>

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in
/customers/ian-stewart.eu/ian-stewart.eu/httpd.www/world.php
on line 2

Parse error: syntax error, unexpected T_STRING in
/customers/ian-stewart.eu/ian-stewart.eu/httpd.www/world.php
on line 2

Oh dear, wotzit all mean ???

Ooops. I used Wordpad rather than Notepad to create the file.
Do it again and "Hello World" and more "Info" than I need.
Use a text editor. There are many fine cheap to free text editors
around. Notepad is clumsy to use. Google "text editor" and you'll
probably get more opinions than you can read. Don't use a word editor as
it will insert hidden stuff that the server doesn't grok. Ditto for
writing html.

Jeff
>
Now if it hadn't been for lots of helpful answers to others on here
I'd never have got that far and solved the problem.

So it's a big thanks to all from this particular (PHP) noobie
Enjoy your wekend !
Jun 27 '08 #2
On Fri, 13 Jun 2008 13:18:08 -0400, Jeff <jeff@spam_me_not.comwrote:
>Josiah Jenkins wrote:
<snip>
>>
Parse error: syntax error, unexpected T_STRING in
/customers/ian-stewart.eu/ian-stewart.eu/httpd.www/world.php
on line 2

Oh dear, wotzit all mean ???

Ooops. I used Wordpad rather than Notepad to create the file.
Do it again and "Hello World" and more "Info" than I need.

Use a text editor. There are many fine cheap to free text editors
around. Notepad is clumsy to use.
Noted. As I've seen reference to 'Crimson' here,
I've downloaded a copy and I'll try that.
(Freeware is 'a good thing' TM) !!!
>
Don't use a word editor as it will insert hidden stuff that the
server doesn't grok. Ditto for writing html.
I still use 'Ace HTML 5' for writing my HTML pages.
http://www.ian-stewart.eu/informer.html

Thanks for the info.
Jun 27 '08 #3
Josiah Jenkins wrote:
On Fri, 13 Jun 2008 13:18:08 -0400, Jeff <jeff@spam_me_not.comwrote:
>Josiah Jenkins wrote:
<snip>
>>Parse error: syntax error, unexpected T_STRING in
/customers/ian-stewart.eu/ian-stewart.eu/httpd.www/world.php
on line 2

Oh dear, wotzit all mean ???

Ooops. I used Wordpad rather than Notepad to create the file.
Do it again and "Hello World" and more "Info" than I need.
Use a text editor. There are many fine cheap to free text editors
around. Notepad is clumsy to use.

Noted. As I've seen reference to 'Crimson' here,
I've downloaded a copy and I'll try that.
(Freeware is 'a good thing' TM) !!!
>Don't use a word editor as it will insert hidden stuff that the
server doesn't grok. Ditto for writing html.

I still use 'Ace HTML 5' for writing my HTML pages.
http://www.ian-stewart.eu/informer.html

Thanks for the info.
I've used 'context' and it works for me. On WINX,. On the MAC I use
Smultron.

Jun 27 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Tarapia Tapioco | last post by:
Are there some existing PHP-HTTP-Tunnels? The problem I have: On the computer where I sit it is only possible to access Intranet. But it's also possible to install a PHP-Script there on a...
0
by: System | last post by:
Hello All, How will i setup Mysql Replication btween two redhat 7.3/9.0 boxes. I want the replication to happen through a Secure tunnel between these two. I am following the steps that is given...
0
by: Todd Calhoun | last post by:
Hi, I've got a MySQL database being hosted by a company. The site has phpMyAdmin for external administration, but I'd like to use a program like EMS MySQL manager, or maybe even an OBDC...
3
by: Michael Maes | last post by:
Hello, Is it possible to set up a VPN Tunnel (PPTP) by code (vb.Net) in a Windows Application? The idea is to (under certain conditions) connect to a VPN without the user having to explicitly...
0
by: Yves Glodt | last post by:
(I asked about this several times in the twisted list but never got an answer, maybe here I'll more happy...) Hi, I'm new to conch and I wonder if somebody could point me to an example of how...
1
by: somas1 | last post by:
I've checked out quite a few web tutorials on Python and have bought a few books. I've got a lot of the basics down now but feel very limited because I've got difficulties figuring out how to do...
1
by: traintimesing | last post by:
I am converting train information from Excel onto Access. 3 main tables; Route, Train Times and then Station tables. I am trying to create a form with a subreport which includes an ongoing...
68
by: Santiago Romero | last post by:
( Surely if this question has been asked for a zillion of times... ) ( and sorry for my english! ) I'm impressed with python. I'm very happy with the language and I find Python+Pygame a very...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.