Need help with php

cirrrocco

Golden Member
Sep 7, 2004
1,952
78
91
Hello AT programming gurus, I dont have a clue with regard to php. But I have a php file and when i use it in a webpage, it brings in a default from somewhere.

for example, I have a page about recipes and there is this field <?=$url?> which shows a different website name. Where can i find the initial setup. so this template file includes header, sidebar and footer and all of the links are directed to the original website.

so an link I click on takes me to a 404 as that site does not exist anymore.

ex: original site www.xyz.com

new site www.abc.com

because <?=$url?> is present in template.php, it directs me to www.xyz.com/abcd.html instead of www.abc.com/abcd.html

Can anyone help. Thanks
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,835
4,815
75
Firebug is for client-side Javascript; I doubt it will work for server-side PHP.

Your script probably has an include or a require. Those script(s) might have more.