For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > January 2006 > geshi









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author geshi
Jean Pierre Daviau

2006-01-10, 4:00 am

Hi to everyone,

I am trying to make geshi work with http://127.0.0.1/*.php

If I hard code, it is ok.
But the following gives error 404

if(isset($_REQUEST ['url'])){
$source = $_REQUEST ['url'];
//print ( show_source($source));

The apache server does not seems to allow this...


--
Jean Pierre Daviau
--
Easyphp1.8Apache1.3.24
DEVC++, borland 5.5
windows Xp
asus p4 s533/333/133
Intel(R) Celeron (R) CPU 2.00 GHz
http://www.jeanpierredaviau.com


Jim Michaels

2006-01-18, 7:56 am

umm... why did you comment out your print statement?
BTW, there should be no space between $_REQUEST and ['url']

"Jean Pierre Daviau" <Once@WasEno.ugh> wrote in message
news:KaHpf.52057$Nl6.586055@weber.videotron.net...
> Hi to everyone,
>
> I am trying to make geshi work with http://127.0.0.1/*.php
>
> If I hard code, it is ok.
> But the following gives error 404
>
> if(isset($_REQUEST ['url'])){
> $source = $_REQUEST ['url'];
> //print ( show_source($source));
>
> The apache server does not seems to allow this...
>
>
> --
> Jean Pierre Daviau
> --
> Easyphp1.8Apache1.3.24
> DEVC++, borland 5.5
> windows Xp
> asus p4 s533/333/133
> Intel(R) Celeron (R) CPU 2.00 GHz
> http://www.jeanpierredaviau.com
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com