Skip to main content
Silken_thread
Participating Frequently
May 31, 2011
Answered

Question for David Powers - Zend Framework

  • May 31, 2011
  • 1 reply
  • 364 views

Using the Zend Framework on your local machine and referencing the library I was wondering when you FTP your code to an online server (How do you reference $library = 'C:/php_library/ZendFramework/library';)? As it would not be no longer on you local machine.

This topic has been closed for replies.
Correct answer David_Powers

Silken_thread wrote:

Using the Zend Framework on your local machine and referencing the library I was wondering when you FTP your code to an online server (How do you reference $library = 'C:/php_library/ZendFramework/library';)? As it would not be no longer on you local machine.

Simple. You upload the Zend Framework to your remote server, and point $library to the new location.

It's covered in Lesson 13 of the book (pages 468-469).

1 reply

David_Powers
David_PowersCorrect answer
Inspiring
May 31, 2011

Silken_thread wrote:

Using the Zend Framework on your local machine and referencing the library I was wondering when you FTP your code to an online server (How do you reference $library = 'C:/php_library/ZendFramework/library';)? As it would not be no longer on you local machine.

Simple. You upload the Zend Framework to your remote server, and point $library to the new location.

It's covered in Lesson 13 of the book (pages 468-469).

Silken_thread
Participating Frequently
May 31, 2011

Off course you do mention that you cover those and other things in lesson 13,

thanks