Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- problems getting get to work on desktop machine.


neiljones - 12:47 pm on Jan 12, 2005 (gmt 0)


I am working with two installations of PHP.
One is on a server on which I rent space. The second is on my linux machine on my desk.
I am writing a program on my desktop machine because the facility to access remote webpages as files is not available on the server.

The php on my desktop is as it comes out of the box with Suse linux. All I have to do is start up apache and it works(mostly).

To explain the problem I have two cutdown programs.
Program1

<?php
?>
<a href="two.php?pass=http:"> link <a><br>

Program 2

<?php

$url=$_GET['pass'];
print "two.".$pass."end\n";
?>

When I run them on the server the value of $pass is populated when I run it on the desk top it isn't

What do I need to change on my desktop machine?


Thread source:: http://www.webmasterworld.com/php/6466.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com