PDA

View Full Version : php script & absolute path



rogersjr
03-15-2004, 01:51 AM
I am in the process of transfering my entire site from 2 servers to a third server.

I have downloaded the files for a quiz script and uploaded it to the new server. I changed the absolute path from

"/home/cerberu4/quizz" to

"/domains/cerberus.com.au/public_html/quizz"

and the url from

"http://cerberus.portland.co.uk/quizz" to

"http://www.cerberus.com.au/quizz"

The script does not work. The domain has resolved and a php search script that does not require an absolute path name is working. PHP is therefore working.

Can anyone suggest what could possibly be wrong.

DirectAdmin Support
03-15-2004, 12:25 PM
/home/cerberus/domains/cerberus.com.au/public_html/quizz

John

rogersjr
03-15-2004, 12:44 PM
What a difference a correct address makes. The script now works perfectly.

Thank-you!!!