PDA

View Full Version : Link to an external PHP file


paulfletcher
03-18-2006, 01:21 AM
Does anyone know how to link to an external PHP file and have it appear in the middle column?

Thanks,
Paul :)

Decipher
03-19-2006, 06:06 AM
add new page >> php file
easy as that ;)

Our Sponsors
 

paulfletcher
03-19-2006, 10:31 AM
Thanks for the quick reply. I went to the add new page section, and typed in the title, identifier, and the full server path to the php file. It then appeared in the Site Navigation area, although when I click on it... It loads a blank page with an error message ( as follows )

Warning: main(.//globalvars.php): failed to open stream: No such file or directory in /tutorials/index.php on line 44

Although there is a file located at /tutorials/index.php

If you would like to check this out, go here (http://www.xyztraining.com/index.php). The tutorials page that I'm trying to create (with the center column) is the very top one. The tutorials link on the bottom is a simple link where I link to the file.

Thanks,
Paul

Decipher
03-20-2006, 05:56 AM
i don't think it likes the full server path...try relative ie tutorials/index.php
and perhaps you have removed the page in the meantime cos i cannot see a custom vba page other than home and join..
try the relative path im sure thatll work

Our Sponsors
 

paulfletcher
03-20-2006, 08:25 AM
Linked to the file using a relative path... tutorials/index.php Although I still get the same error when I click on the link in the navigation bar.

Warning: main(.//globalvars.php): failed to open stream: No such file or directory in /tutorials/index.php on line 44

I've included some screen shots.

Thanks,
Paul

Decipher
03-21-2006, 12:06 PM
hmm i think it is a problem with the tutorial script once been used within vba..
What is the code on line 44 in the index.php file?