Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is it possible to change server variable using PHP?

Status
Not open for further replies.

Foamcow

Programmer
Nov 14, 2002
6,092
GB
I'm trying to implement a full text search but need to match strings of 3 characters or more.

The MySQL server variable ft_min_word_len is set to 4 and since this site will run on shared hosting I'm not sure I can change it globally (since it's down to the host).

I was wondering if it's possible to change ft_min_word_len on a 'local' level, perhaps using PHP?

--
Tek-Tips Forums is Member Supported. Click Here to donate

<honk>*:O)</honk>

Tyres: Mine's a pint of the black stuff.
Mike: You can't drink a pint of Bovril.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top