This is a discussion on QuickForm Help Please within the alt.comp.lang.php forums, part of the PHP Programming Forums category; I have just transferred a website to a new server, but the PHP coding in the site refers to old ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I have just transferred a website to a new server, but the PHP coding in the
site refers to old Pear libraries, eg. $form->setHeaderTemplate, $form->addHeader, $form->addData, etc. Does anyone know a way to bridge the gap between old code and the new libraries. Any constructive thoughts would be appreciated. Regs Nitrous |
|
|||
|
Can you not uninstall the current pear library and the install an older
version? You might find modifying your existing code to be worthwhile. HTML_QuickForm has a migration doc here. http://pear.php.net/manual/en/packag...igration32.php |
|
|||
|
I got it sussed finally...
Made a .htaccess file with php_value include_path .:/hsphere/local/home/myusername/pear to overwrite the path to the existing pear libraries then lobbed all of the old pear libraries into the above directory. Cheers Nitrous "Sean" <oreilly.sean@gmail.com> wrote in message news:1132924067.218246.260450@g49g2000cwa.googlegr oups.com... > Can you not uninstall the current pear library and the install an older > version? > > You might find modifying your existing code to be worthwhile. > HTML_QuickForm has a migration doc here. > > http://pear.php.net/manual/en/packag...igration32.php > |
![]() |
| Thread Tools | |
| Display Modes | |
|
|