RE: [PHP-WIN] IIS Help

2007-06-18 Thread Gustav Wiberg
Hi! Yes we host a lost a sites using PHP, but what is your question? Best regards /Gustav Wiberg -Original Message- From: Matthew Gonzales [mailto:[EMAIL PROTECTED] Sent: Monday, June 18, 2007 7:15 PM To: PHP-Windows Group Subject: [PHP-WIN] IIS Help Hello, My name is Matthew Gonzale

RE: [PHP-WIN] Translation of html?

2007-06-18 Thread Gustav Wiberg
Hi! Aha, thanx! This might work. Thank you! Best regards /Gustav Wiberg -Original Message- From: Mikael Grön [mailto:[EMAIL PROTECTED] Sent: Monday, June 18, 2007 4:44 PM To: 'php-windows@lists.php.net' Subject: Re: [PHP-WIN] Translation of html? strip_tags($string); removes all html

Re: [PHP-WIN] Sybase

2007-06-18 Thread Ben
Niel Archer wrote: Hi I did some googling. The file is probably called "libct.dll" Niel Thanks. After some more googling myself I found that the files had been renamed in the new Open Client. So I renamed them, copied them to the PHP folder (both PHP root and ext), and checked with a depen

Re: [PHP-WIN] IIS Help

2007-06-18 Thread Chetanji
Hey Matthew, in your next post tell us your version of Windows and PHP version. In the meantime go to the top of the php.net home page to 'documentation' then click on 'english' then go to 'instllation on a windows system' then to 'Microsoft IIS / PWS'. This is where I learned alot on how to set

[PHP-WIN] IIS Help

2007-06-18 Thread Matthew Gonzales
Hello, My name is Matthew Gonzales and I am new to PHP and I am loving it. I am having all kinds of trouble though getting it to work with IIS. I have a web applications that I have created using WAMP but I need to be able to host the site on IIS. That is my companies policy. Does anyone out t

Re: [PHP-WIN] Translation of html?

2007-06-18 Thread phpml
Gustav Wiberg wrote: > Hi there! > Is this possible? I can't find any functions for this (I don't exactly what > to search for) > > Translation of Html-string from > $str = "This is a title>test"; > > To a string that is like: > This is a title > Test This class converts HTML to plain, format

Re: [PHP-WIN] Translation of html?

2007-06-18 Thread Mikael Grön
strip_tags($string); removes all html from any string, but won't put in any spaces so you'd get: This is a titletest Mike Gustav Wiberg skrev: Hi there! Ok, thanx! Then I'll know! Best regards /Gustav Wiberg -Original Message- From: Bill Bolte [mailto:[EMAIL PROTECTED] Sent: Mo

RE: [PHP-WIN] Translation of html?

2007-06-18 Thread Gustav Wiberg
Hi there! Ok, thanx! Then I'll know! Best regards /Gustav Wiberg -Original Message- From: Bill Bolte [mailto:[EMAIL PROTECTED] Sent: Monday, June 18, 2007 4:32 PM To: php-windows@lists.php.net Subject: RE: [PHP-WIN] Translation of html? There isn't anything built in to PHP to do this

RE: [PHP-WIN] Translation of html?

2007-06-18 Thread Gustav Wiberg
Hi there! Isn't there any function for acheiving this? Of course I could do some regexp... Is that the only way? Best regards /Gustav Wiberg -Original Message- From: Jarrett Meyer [mailto:[EMAIL PROTECTED] Sent: Monday, June 18, 2007 4:30 PM To: 'php windows' <\([EMAIL PROTECTED])> S

RE: [PHP-WIN] Translation of html?

2007-06-18 Thread Bill Bolte
There isn't anything built in to PHP to do this but one could do it with Regular Expressions. You might check through the Pear libraries or the PHP classes website for functions/classes already built. -Original Message- From: Gustav Wiberg [mailto:[EMAIL PROTECTED] Sent: Monday, June 18,

Re: [PHP-WIN] Translation of html?

2007-06-18 Thread Jarrett Meyer
Hack: Explode on "<" will give you : h1>This is a title /h1> table> tr> td>test /td> /tr> /table> Explode on ">", and only keep the second entry in the array. Would that work? Jarrett M. T. Meyer http://jarrettmeyer.blogspot.com http://www.jarrettmeyer.com No trees were harmed during this

[PHP-WIN] Translation of html?

2007-06-18 Thread Gustav Wiberg
Hi there! Is this possible? I can't find any functions for this (I don't exactly what to search for) Translation of Html-string from $str = "This is a title>test"; To a string that is like: This is a title Test ? Best regards /Gustav Wiberg -- PHP Windows Mailing List (http://ww

Re: [PHP-WIN] Sybase

2007-06-18 Thread Niel Archer
Hi I did some googling. The file is probably called "libct.dll" Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Sybase

2007-06-18 Thread Niel Archer
Hi > I see. Which files do you suggest I copy then? I have no idea. I've never used Sybase so wouldn't know what files are there. > When doing a quick search through the Sybase folder I didn't see > anything relating to PHP, just connectors for ADO.NET, ODBC, ... It wouldn't be relating to PHP

Re: [PHP-WIN] Sybase

2007-06-18 Thread Ben
Niel Archer wrote: Hi There shouldn't be a problem with that, it all runs under the same user on Windows XP, so access issues shouldn't be occuring. The Open Client is located in C:\sybase and PHP is located in C:\wamp\php. It's not a user/permission issue, but where PHP will look. Years ag

Re: [PHP-WIN] Sybase

2007-06-18 Thread Niel Archer
Hi > There shouldn't be a problem with that, it all runs under the same user > on Windows XP, so access issues shouldn't be occuring. The Open Client > is located in C:\sybase and PHP is located in C:\wamp\php. It's not a user/permission issue, but where PHP will look. Years ago I tried "tidyi

Re: [PHP-WIN] Sybase

2007-06-18 Thread Ben
Niel Archer wrote: Hi I have the Sybase Open Client installed (with Sybase Central etc). Are the libraries in a location that PHP has access to. For example, the MySQL client libraries pretty much have to be in the php directory or it doesn't work. Niel There shouldn't be a problem with t

Re: [PHP-WIN] Sybase

2007-06-18 Thread Niel Archer
Hi > I have the Sybase Open Client installed (with Sybase Central etc). Are the libraries in a location that PHP has access to. For example, the MySQL client libraries pretty much have to be in the php directory or it doesn't work. Niel -- PHP Windows Mailing List (http://www.php.net/) To uns

Re: [PHP-WIN] Sybase

2007-06-18 Thread Ben
Niel Archer wrote: Hi Look in php.ini or use phpinfo() to check your configuration. Make sure that 'c:\wamp\php\ext\' is the extension_dir path, assuming that is the name of your directory. Loading extensions works fine, I'm able to load cURL and mysql just fine. Also make sure you have the

Re: [PHP-WIN] Sybase

2007-06-18 Thread Niel Archer
Hi Look in php.ini or use phpinfo() to check your configuration. Make sure that 'c:\wamp\php\ext\' is the extension_dir path, assuming that is the name of your directory. Also make sure you have the Sybase client libraries that this extension requires. I have no idea where to get them, but the r

Re: [PHP-WIN] Sybase

2007-06-18 Thread Ben
Mikael, The file actually exists. I've tried copying it to various places (php root, wamp root, system32 and the WINDOWS folder), but still no luck. Ben Mikael Grön wrote: Ben, first of all, check if the file php_sybase_ct.dll actually exist in the directory c:\wamp\php\ext\ If it does,