Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





How To Open The Mbstring Support Under PHP Of Windows


In linux & unix envir, add the optional flag ----enable-mbstring --enable-mbsrt-euc-trans can open mbstring module support, But in Windows I couldn't find the dll of mbstring (multi-byte string). How to make it work?




View Complete Forum Thread with Replies

Related Forum Messages:
Best Support Open Source Like PhpTickets ????
i am searching for the Best Open Source Ticketing/Support System. i have to mod it for file attachment capability.

View Replies !
COM Support: Using PHP To Open A URL From Within Word Then Save Thedocumet
I am trying to use PHP's COM support to open a URL from within MS Word
then save the document.

I am using PHP5.0.3/Apache2/WindowsXP. phpinfo() confirms that COM support
is enabled.

Manually, this would be:

- Start MS Word (am using Office 2003)
- File > Open
- Enter a URL and click Open
- File > Save As...
- Save the file then close MS Word.

Does anyone know the COM syntax used in PHP to open a URL (rather than a
file) with Word?

Using
$this->handle->Documents->Open('http://www.example.com/page/');

seems not to work.

I have tried two approaches, neither of which work.

1) The posting at http://uk.php.net/com made at
03-Jun-2004 07:37
Using example 1, but changing the input to a URL rather than a file (as
above).

2) The posting at
http://www.phpbuilder.com/lists/php...003082/0067.php
suggests that the following outght to work:

$word=new COM("Word.Application") or die("Cannot start word for you");

$word->visible = 0;
$word->Options->ConfirmConversions = false; // menu:
options->general->confirm conversions
// search for HTML Converter
$fcList = $word->FileConverters();
$count = $fcList->Count();
for($i=1; $i<=$count; $i++) {
$fc = $fcList->Item($i);
// go for ClassName, it's locale-independent
if ($fc->ClassName() == 'HTML') break;
}

if ($i <= $count) {
$word->Documents->Open ($inputUrl, False, False, False, '', '', False, "", "", $fc->OpenFormat());
$word->Documents[1]->SaveAs($outputWordFile, wdFormatDocument);
$word->Document[1]->Close();
$word->Quit();
$word->Release();
}

but it does not. The script runs, but causes zero errors (error_reporting
is set to 2047), yet does not output any file.

View Replies !
T1lib Support On Windows
I don't normally do PHP development work on Windows but I need to port
an image creation tool to Windows. So I have loaded the php_gd2.dll
module for image creation support but it doesn't include the t1lib
functions and the code relies on the imagepsbbox(), imagepstext() and
imagepsloadfont() functions.

The result from gd_info() is:

array(11) {
["GD Version"]=> string(27) "bundled (2.0.28 compatible)"
["FreeType Support"]=> bool(true)
["FreeType Linkage"]=> string(13) "with freetype"
["T1Lib Support"]=> bool(false)
["GIF Read Support"]=> bool(true)
["GIF Create Support"]=> bool(true)
["JPG Support"]=> bool(true)
["PNG Support"]=> bool(true)
["WBMP Support"]=> bool(true)
["XBM Support"]=> bool(true)
["JIS-mapped Japanese Font Support"]=> bool(false)
}

Anyone have any idea where I can get a php_gd2.dll which includes the
t1lib? I can always recode the functions to use TTF fonts instead but
only want to do that as a last resort.

View Replies !
IMAP Support For PHP On Windows
I have a computer I've set up as a testing server at home and I'm having a
problem trying to locate the pre-compiled IMAP libraries for PHP on Windows.
According to the book "PHP & MySQL Web Development by Luke Welling and Laura
Thomson", I can get the Windows build of the imap libraries from
http://www.php4win.de. But in going to the website, the title bar says
"php4win suspended" with an empty page.

The creators of IMAP, http://www.cac.washington.edu only seems to distribute
the source and you have to compile it yourself, which I don't have a
compiler. Anyone know where I can find it (or an older and possibly
compatible build)?

View Replies !
Type Support On Windows
I want to get PHP running with GD capability that allows me to use true type fonts, preferably to generate GIFs (the US patent has expired, but GIF support isn't due back until mid-2004 due to global patents). Has anybody got experience of running this combination on a windows box (using apache).

View Replies !
Need A Windows Binary Or Zip For PHP 5.0.5 With MySQL Support Builtin
Need an installation set for PHP 5.0.5 Windows Binary or Zip for PHP
5.0.5 with MySQL support built in

View Replies !
Deos Exec() Support A Popup Windows?
I am using exec() to run a .exe file which call another function to popup a new window? It does not work. Anyone know how to make it work?

View Replies !
Compile Oracle Support On Linux For Windows
I'm trying to help a local non-profit organization tie in their online
credit card donations to their existing vendor software, which uses
Oracle 8i (8.1.7) on windows. Does anyone have any pointers on 1) how
to compile oracle support into PHP, not having a linux version of
Oracle, and 2) creating remote connections to Oracle.

View Replies !
Does MyAdmin Support Windows Integrated Authentication
I have installed PHP 4.x and PHPMyAdmin and all works. But I cannot get PHPMyAdmin to work with IIS and Windows Integrated Authentication. Does PhpMyAdmin work with IIS Windows Integrated Authentication or only Anonymous Access.

I have searched but cannot find an answer. It is using auth_type http in the config.inc.php file.

View Replies !
Warning: Date(): Windows Does Not Support Dates Prior To Midnight
I tried to use the date() function with the mktime(). It keeps giving warning:

Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970

I could use the @ to surpress the warning but I would like to know why it's happening. Take a look at this. There doesn't seem to be anything wrong with it. PHP Code:

View Replies !
[function.date]: Windows Does Not Support Dates Prior To Midnight (00:00:00)
I'm working with PHP in a Windows environment and ended up with the following message:

Warning: date() [function.date]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in c:Inetpubincludecommonereken.inc.php on line 29
Whether I'm working in Windows or Linux is all the same, because I'm dealing with dates prior to the year 1700 as well.

I've found the following library:
http://phplens.com/phpeverywhere/adodb_date_library

It replaces a number of standard php functions such as date(), but for strtotime() there's no replacement. Anybody got an efficient code solution for this?

View Replies !
Open 2 Windows In The Same Script ?
is it possible to open 2 windows (a normal windows + a popup) in the same
php script without using javascript ?

View Replies !
Limited Number Of Browser Windows Open?
Does anybody know if there is a limit set for the number of browser windows that can be open at once? I have a script that once complete opens a new window and reruns the script with a new variable, the problem is when I get to around 40 windows open it stops running!

View Replies !
Pass The Php Variable To A Windows Open Function To Display?
I want to pass the php variable to a windows open function to display. How can I do that?

View Replies !
Upload Script: Failed To Open Stream: Permission Denied In Windows NT

i've put an upload script on my site, hosted on a Windows NT Version
5.0 server. When i try to upload something i get an error:

copy(files/file.txt): failed to open stream: Permission denied in
d:sitesmatita.bewebsiteuploaded.php on line 20
Could not copy

The problem is that i am not able to change the permissions, since
it's a windows server. CHMOD is not supportes, CACLS neither.

Is there a way out, or is it up to the server admin to install some
'permission system'?

View Replies !
Mbstring In An .ini File
We are trying to use mbstring in an .ini file to override php's mail() function.

Our contact form often gets different languages (ie Russian) inserted into it and then once emailed the Russian text moves through the hosting company's email servers, and gets scrambled when it reaches us. I was told to add this to the php.ini file, however the Russian still appears scrambled:

[mbstring]
mbstring.language = Neutral
mbstring.internal_encoding = UTF-8
mbstring.http_input = UTF-8
mbstring.http_output = UTF-8
mbstring.encoding_translation = On
mbstring.detect_order = auto
mbstring.substitute_character = long;
mbstring.func_overload = 1

Is it the encoding that's incorrect?

View Replies !
PhpMyAdmin & Mbstring
phpMyAdmin gives following error message: "The mbstring PHP extension was not found and you seem to be using a multibyte charset. Without the mbstring extension phpMyAdmin is unable to split strings correctly and it may result in unexpected results."

So, how I can enable that feature?

I try it like this: I copy php_mbstring.dll:n to C:PHP-folder and edit C:Windowsphp.ini -file: 'extension=php_mbstring.dll', but it didnt remove that phpMyAdmin's error message.

Soft:
WinXP pro SP2
apache 2.0.55 win32-x86 no_ssl
php 4.4.1
mysql essentia 4.1.16 win32
phpMyAdmin 2.7.0 pl2

PHP4 is installed by using installer and php4apache2.dll is copied from php-4.4.1-Win32.zip -packed to C:PHP- folder, and Apache's httpd.conf -file is edited for required changes (what is needed by php4).

View Replies !
How To Enable Mbstring?
I just discovered that mbstring on my new server is disabled. How do I enable it? Is it necessary to reinstall php?

View Replies !
Mbstring Extension
I'm getting the following error notice in phMyAdmin: "The mbstring PHP extension was not found and you seem to be using multibyte charset. Without mbstring extension phpMyAdmin is unable to split strings correctly and it may result in unexpected results." This is an install on a Win2003 Server, my first on a machine with "asian languages" enabled, otherwise i've had many succesful php/mysql install on win2003. I have no intention of storing content in any asian languages on this server, should I still install the mbstring extension.

View Replies !
Adding New Encodings To Mbstring?
Is it possible to add new character encodings to mbstring?
http://us.php.net/mbstring

If it is possible, then is there a procedure where I can submit "new feature" requests? Or is it possible for me to add the new character encodings myself?

View Replies !
MyAdmin & Mbstring No Success
I've got php 4.3.1 running on a windows 2003 advanced server with apache 2.0.52 and 2.6.2-pl1 phpmyadmin. I'm getting this error on the main (index.php) page: Code:

View Replies !
No Mbstring Function For Finding Suitable Encoding.
I am making some site, where I use UTF-8 encoding.
From PHP I send mail. But, if possible I want to send
the mail in ISO-8859-1 or KOI8-R (because still some
mailers have problem with UTF-8), but if not, just in
UTF-8.

If I look in the documentation, there is no function that
can check if a UTF-8 string can be encoded in another
encoding without loss of characters.

The function mb_check_encoding and mb_detect_encoding
have a different purpose.

Or, do I miss something?

So, I want a function:

bool mb_encoding_possible(string str, string to_encoding, string
from_encoding)

which returns TRUE if mb_convert_encoding is possible, without loss.

View Replies !
Php Lacks Mbstring Extension On My Solaris 10 Sparc
I downloaded and installed php 5.1.6 from www.sunfreeware.com but it
lacks both the php_mbstring.so extension and php_gd2.so extension.

How can I enable those extensions? Where do I download them?
Or do I have to download php source code and recompile all php?

View Replies !
Error: The Mbstring PHP Extension Was Not Found And You Seem To Be Using A Multibyte Charset.
After installing phpMyAdmin on my Fedora Core 4 box, (Apache 2.0.54, PHP 5.0.4) we're getting this error:

"The mbstring PHP extension was not found and you seem to be using a multibyte charset. Without the mbstring extension phpMyAdmin is unable to split strings correctly and it may result in unexpected results."

The phpinfo() has no reference to mbstring. Doing some searching, I found some information regarding php.ini and uncommenting out an "extension=", but our php.ini has no reference to mbstring. Everything I'm finding on the Web relates to Windows boxes and the location of a mbstring.dll file.

View Replies !
Pdf With Unicode Support Or Arabic Characterset Support
I am working on a project that have a featre to print the news as a PDF file format. I am having a problem in generaing pdf with unicode support or Arabic characterset support. I can generat eenglish document like a charm but the probem in Arabic text. I am geting the data from the MySQL database. Anyone have any idea what to do, I search everywhere on net find some small results but still I am not been able to accomplish the task.

View Replies !
Open On Open / Save Box Dont Work With Download Script
I have a download script. I'm storing files above webroot and using download script for making files available for download to users.

Now the problem is that when file download open/save dialogue box comes... if the user clicks on save they can save the file and then they can open it without any problem . But if they click on open then they can't open the file. It says file path not found or there was some error file could not be open.....

View Replies !
Is It Possible To Authenticate Users Running Apache On MacOS X (with PHP 4) And An Active Directory On Windows 2000 Or Windows XP?
From a PHP webpage, is it possible to authenticate users running Apache on MacOS X (with PHP 4) and an active directory on Windows 2000 or Windows XP?

View Replies !
How Many Connections Are Open And On What Pages They Are Open.
I know why I am getting this message. Is there any code I can write up to find how many connections are open and on what pages they are open.

View Replies !
Pass A Function As Array(&$sess_handler, 'open') Instead Of '$sess_handler->open'
In the function session_set_save_handler I can pass the name of function which deal with session. In Xoops code I see the use of this function like that: Code:

View Replies !
Ttf Support
How can I enable ttf support in my php build?

View Replies !
.NET Support In PHP
Any word on current or planned support for .NET in PHP? I remember reading something a while back on php.net but I can’t find anything mentioning it now.

View Replies !
Dbm Support
i have a windows setup where i am trying to use the extension that
enables db4 handlers for dbm. my php version is 4.4.6.
in my extensions directory i have a couple of dlls (php_db.dll and
php_dba.dll) but i don't have php_dbm.dll.

how do i go about enabling db4 handling support through dba extension
for my version of php.

View Replies !
Does PHP 5.2 Support The <?= Tag?
I've just tried loading an application that I wrote some time ago. Throughout the application I use the <?= php tag. I'm now running PHP 5.2.x and I've noticed that the compiler seems to be ignoring these tags and printing them as text rather than executing the PHP script contained within the tags. Are the tags still supported? Is there some way of enabling/disabling them in php.ini?

View Replies !
XML/XSL Support
I'm am having a realy hard time getting XML/XSL support for PHP5. I'm trying to follow the not so great instructions but it doesn't seem to work. I am using WinXP so it makes things a bit more difficult.

I have PHP working with my Apache server and that seems to work fine. But I cannot get the XML/XSL stuff to work. how to do this or any decent instruction on how to do this on WinXP? I'd really like to get this working.

View Replies !
Is There BMP Support In GD
I need to be able to read windows bitmap files (*.bmp) into the GD-functions in order to create a jpg-file from it. Is such a thing possible. I seem te be unable to find the required functions.

View Replies !
DB Support
the web app I'm starting to make must run under windows too. Before it'll be too late, I'd like to know whether the php support to Oracle and SQLServer is robust. Also, does anyone have tried Logicreate? Any opinion about this cms under windows?

View Replies !
GD Support In Php 4.3.11
when i comes to php. I have installed php 4.3.11 using the source code. When installing, I forgot to install the gd support. I am now wondering whether there is a way of installing the gd support without having to reinstall php again.

View Replies !
5-like XML Support In 4
Has anyone thought of developing a library aimed for PHP4 which would give
the kind of functionality that PHP5 has when it comes to working with XML
(http://www.zend.com/php5/articles/php5-xmlphp.php)? This especially covers
SimpleXML (http://www.zend.com/php5/articles/php5-simplexml.php).

I would like to start developing using those fabulous features, but the
provider we use for most of our clients' apps and sites is still on 4.3.4
and is very slow in updating PHP, so I don't see them switching to 5 any
time soon.

View Replies !
SSH Support
So I have a debian box (LAMP), and I want to have PHP-SSH support in there to use SSH functions in PHP. I dont have any idea, what should be the name for apt package for that, ie apt-get install php4-ssh_support_paackage_name. Or is there any well working alternative.

View Replies !
Site That Support WAP
Hi, all

With PHP is it possible to build a site that support WAP?
How to do it. What kind of technology needed to build it? Can anyone here tell me where I can find the resource?

View Replies !
Imagemagick & GD Support
I'm looking to create a script to resize images when they are uploaded to my site.

I have been reading alot of info on these forums and it looks like the best option is Imagemagick.

I'm running a Windows XP web server and I can't find the .exe file anywhere on the ftp list of downlaods. Can someone point me in the right direction.

Evenually I will need to find out if my service provide can support imagemagick or GD. Could someone please tell me what version of PHP you need to have to use GD?

View Replies !
My Server Don't Support PHP, What Do I Do!
G'day, My server does not support PHP is there anything I can do! Currently I am trying to learn PHP offline, I have apache and PHP4 installed and it is working ok on my computer, but what can I do about my internet sevice provider besides get a new one.

View Replies !
No MySQL Support With PHP On RH 8
I'm using Redhat 8.0. Apache, PHP and MySQL were installed as part of the default installation.

If I try to access MySQL from PHP with mysql_connect(), I get error messages referring to undefined functions. This generally indicates that PHP was compiled without MySQL support.

I know how to set up MySQL support when installing from a tarball, but since PHP was installed from an RPM, I'd prefer to keep it this way, as RH tends to have wildly different ideas about file paths to standard installations (not to mention dependency issues).

I was going to ask if there is any way of specifying the same paths with RPM that you normally specify when you do a tarball installation. However, when I look at the data from phpinfo(), it looks like everything is set up correctly - MySQL is enabled, the path to apxs is set, etc. But I still can't use any db functions. I've upgraded all of the above rpms just to make sure no dependencies were missed out, but with no success.

View Replies !
What Browsers DON'T Support SSI, Esp SSI Within PHP?
What browsers DON'T support SSI, esp SSI within PHP?

View Replies !
What Is A GD Libary - XBM Support?
I was trying to install a php script and everything was going well until i got a message saying:

Checking currently installed GD library ... XBM Support required!

And it will not let me install the script without the GD library. I am installing this on a hosting plan i have with a pretty big company. Is there a way i can install GD library or is this something they need to do.

View Replies !
Upgrade PHP With GD Support
My current php version is 4.3.3My current GD version is 2.0.15I want to upgrade GD to 2.0.28. How to upgrade it.

View Replies !
MySql Support In PHP 5.x
According to documentation on PHP site, MySql support is not built in to
the v. 5.x Windows binaries posted on the site. Does anyone know where
to get PHP 5.x Windows binaries with MySql support turned on? I'd rather
not have to rebuild the product.

View Replies !
Zend Support Is Really Bad.
just wanted to share my experiences with Zend "the php
company".
I decided to do the test drive of the Enterprise grade developer
studio.
Big mistake![color=blue]
>From day one I had nothing but problems.[/color]
After realizing that something terrible had happened to my webserver
during the install process, I figured WTF maybe I did something wrong.

I wiped my hard drive and started again, this time using the
Apache/MySQL/PHP that comes with it, rather than pointing it to my own.

Same result, but this time I realized the installer had fubared some
scripts and locations. It also missed a few permissions that it should
have set.

I tracked them down, repointed some scripts to the right sockets, and I
was off.
At that point I decided to install the Developer Studio Client on my
workstation.

That thing just crapped out saying it couldn't find some libraries.

So I created a support ticket to ask what I should do.
They kindly pointed me to an obscure knowledge base article, that
didn't appear when searching ANY of the keyword errors.

This article told me, that I needed to hexedit the installer, then
after it installed I had to hexedit the ZDE binary!

What the hell kind of installer requires you to hexedit it, before it
can work?
Furthermore the article claimed the binary was in a place that didn't
exist, so I had to updatedb and do a search on the filename, cross my
fingers and hope against hope I had picked the right one.

Fortunately I did.

After I installed the client, I decided to double check developer
studio server, and make sure everything was going fine.
Thats when I ran into this error.

"ini_modifier error: ini_modifier was not set"

It was the sole content on EVERY page!

I created a new support ticket asking what it meant.
They emailed me asking me to send them a file generated by thier
troubleshooting utility. So I ran the utility, and sent them the file.
Another day passes by, this time they ask for access to the server.
I give them the access they request and the password.

It's now been a week. I have updated the ticket daily asking if
anything has been done. They are completely silent.

Tonight I decided I had enough, told them thanks for showing me what it
must be like to be a real paying customer, and asked them to close the
ticket. I'll watch and wait and see how long it is until they get back
with me, or close the ticket.

And to add insult to injury, when I emailed my sales person who said in
his initial email to me, that he would be happy to answer any questions
I may have, etc and so forth. I got my message back in seconds,
stating that the email address was incorrect, the email was sent to
mark@zend.com same as the letter was sent from, same as he said was
his email! He's supposed to be the Director of Inside Sales, but it
appears in the 5 days I took to evaluate the product he has been fired,
or re-assigned or something.

Ok well I'm not out anything but a lot of my time, however I just
wanted to warn any developers considering Zend products, that they
didn't care about me when I was supposed to be evaluating the
enterprise grade product.

View Replies !
GD Support For Both GIF And JPEG
I want to know it it's possible to have both GIF and JPEG support in one PHP installation. Right now I want JPEG support for an online photo gallery program I'm working on (I've currently got the GD library between v.1.3 and v.1.6.1 which has GIF support but not JPEG support), but I'm afraid that if I install a newer version of GD (which doesn't have support for GIF due to the Unisys patent problem) and I want GIF support later on,

I won't be able to have GIF support, or get it again, because the old GD ibrary with GIF support isn't available. I have full access to the machine, so installing libraries isn't a problem. Does anyone have any ideas how to do this? I've read that it's "difficult, but not impossible, to have support for both GIF and JPEG in one PHP installation", but how would I go about doing it?

View Replies !
How To Compile PHP With GD Support?
I am tryin to compile PHP with GD support:

# cd php-4.3.11
# ./configure
--with-gd=/usr/local/src/gd-2.0.33/
--with-png-dir=/usr/local/src/libpng-1.2.8/
--with-zlib-dir=/usr/local/src/zlib/
--with-jpeg-dir=/usr/local/src/jpeg-6b/

....
checking for GD support... yes
checking for the location of libpng... /usr/local/src/libpng-1.2.8/
If configure fails try --with-jpeg-dir=<DIR>
configure: error: libpng.(a|so) not found.

why libpng.(a|so) not found ?

# ls -l /usr/local/src/libpng-1.2.8/libpng.a
-rw-r--r-- 1 root wheel 160448 May 31 12:48
/usr/local/src/libpng-1.2.8/libpng.a

What is my mistake? Where to read about correct way for installing php
+ gd + libjpeg + libpng ?

View Replies !
Ldap Support
I would like to install ldap support on php!

Steps :

1. php.ini : extension_dir = "c:php"
2. copy file c:phpextensionphp_ldap.dll to c:php
2. delete ; before extension=php_ldap.dll

And the message returned when i'm restarting Apache Web server is :

"Unable to find module c:phpphp_ldap.dll"

View Replies !
Gd Don't Support FreeType
If you php support gd .you'll see FreeType Support enabled in your phpinfo; but i can't see. there are message that i compiled

1) Install FreeType (2.1.1)
./configure --prefix=/usr/include/freetype2
make
make install

2) Install GD (2.0.33)
./configure --prefix=/usr/include/gd-2.0.33 --with-freetype-dir=/usr/include/freetype2
make
make install

3) Compile PHP (4.3.11)
./configure
--with-gd-dir=/usr/include/gd-2.0.33
--with-ttf=/usr/include/freetype2
--with-freetype-dir=/usr/include/freetype2
--with-zlib-dir=/usr/lib
--with-png-dir=/usr/local
--with-jpeg-dir=/usr/local
--with-tiff-dir=/usr/local
--with-gd-native-ttf
--enable-bcmath --enable-shared --enable-static --enable-gd-imgstrttf
make
make install

4)Compile httpd 2.0.58
./configure --enable-module=so
make
make install

that are no error. but i can't see FreeType Support enabled in my phpinfo??

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved