fmwebschool.com
Top Experts [learn more]Top 4-10
webko

9743 K
bandmandq

2458 K
Genx

1525 K
4. tcmeyers
5. kbata
6. Martie
7. Hammerton
8. rrenfrow
9. bneeman
10. plegler
Welcome, Guest. Please login or register.
October 24, 2014, 10:58:47 AM

Login with username, password and session length
Search:     Advanced search
Welcome to the FileMaker Web Masters Exchange.  If you have any questions about how to use this forum, please watch the getting started movie at:
http://www.fmwebschool.com/movies/forum1/forum1.html
27808 Posts in 6153 Topics by 1525 Members
Latest Member: alkyred
* Home Help Search Calendar Login Register
+  fmwebschool.com
|-+  FileMaker Books
| |-+  FileMaker Book Questions and Suggestions
| | |-+  hello.php
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: hello.php  (Read 7464 times)
probitai
Newbie
*
Offline Offline

Posts: 8


« on: May 03, 2006, 09:19:36 AM »

Hi,

I'm able to see in my web browser the phpinfo.php file. But i'm unable to see the hello.php file in my web browser. I saved that file with the phpinfo.php file in the Microsoft.net folder.

The book (p.98) says «Your result should look like the image above». The image shows a Notepad sceenshot.

Since the adress for the phpinfo.php is : http://127.0.0.1/phpinfo.php, the adress for the hello.php file should be http://127.0.0.1/hello.php. Is someone can help me ?

Thank you
Logged
FMWebschool
FMWebschool Team
Administrator
Hero Member
*****
Offline Offline

Posts: 1026
Kudos: 1383


Allyson Olm, Chief Developer


WWW
Applications:
« Reply #1 on: May 03, 2006, 12:06:29 PM »

Are you getting any response at all with your hello.php file?  Any error messages or just 'page cannot be found'?  Make sure that you do not have a double extension on the files such as hello.php.txt.  Sometimes the folder options will hide the extensions.
Logged

In Kindness
FMWebschool Team
http://www.fmwebschool.com
http://www.fxforge.net
800.353.7950
probitai
Newbie
*
Offline Offline

Posts: 8


« Reply #2 on: May 03, 2006, 01:00:01 PM »

There is no double extension and I'm getting a «Page not found» message.

This is the code I entered folowing the manual instructions :

<?php
echo 'Hello. Welcome to my first PHP page.';
?>

Does this file should be saved with the phpinfo.php file ?

Thank you
Logged
FMWebschool
FMWebschool Team
Administrator
Hero Member
*****
Offline Offline

Posts: 1026
Kudos: 1383


Allyson Olm, Chief Developer


WWW
Applications:
« Reply #3 on: May 08, 2006, 07:10:27 AM »

You code looks correct.  It should be save separetly from the phpinfo.php page.  You can name it anything you like as long as it has the .php extension.

Allyson Olm
FMWebschool
Logged

In Kindness
FMWebschool Team
http://www.fmwebschool.com
http://www.fxforge.net
800.353.7950
probitai
Newbie
*
Offline Offline

Posts: 8


« Reply #4 on: May 31, 2006, 08:50:34 AM »

Hi,

Been busy recently...

I discover that a «Microsoft image manager» (forgot the name) was interfering with my PHP file. I deleted the software, but now when I view the file in my browser I can see the text and all the code too.

Actually that's what I'm seeing in my browser (I.E 6.0)

<?php
echo 'Hello. Welcome to my first PHP page.';
?>

If I add comments, I see the comments too.

Any answer ?

Thank you
Logged
FMWebschool
FMWebschool Team
Administrator
Hero Member
*****
Offline Offline

Posts: 1026
Kudos: 1383


Allyson Olm, Chief Developer


WWW
Applications:
« Reply #5 on: May 31, 2006, 12:48:56 PM »

Check that your PHP is still working using the phpinfo.php file.  Make sure that you are opening the page through your browser using your local address.

Ex.
http://127.0.0.1/phpinfo.php

In kindness,
Allyson Olm
Logged

In Kindness
FMWebschool Team
http://www.fmwebschool.com
http://www.fxforge.net
800.353.7950
probitai
Newbie
*
Offline Offline

Posts: 8


« Reply #6 on: May 31, 2006, 12:54:07 PM »

I have no problem openning the page through my browser using this my local address.
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!