For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > November 2005 > QuickForm Help Please









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author QuickForm Help Please
Nitrous

2005-11-24, 9:55 pm

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


Sean

2005-11-25, 7:55 am

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/packa...migration32.php

Nitrous

2005-11-28, 9:55 pm

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.googlegroups.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/packa...migration32.php
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com