php-windows Digest 21 May 2002 06:55:17 -0000 Issue 1154
Topics (messages 13870 through 13879):
Re: Extra space added on import
13870 by: Nicole Amashta
xml doccument validation ?????
13871 by: toby z
13873 by: Manuel Lemos
13874 by: toby z
13875 by: Manuel Lemos
php+oracle
13872 by: Mauricio
Installing PHP 4.2.1
13876 by: Conover, Ryan
13877 by: Johan Ekström
13878 by: Johan Ekström
Re: Apache 2.0.35 & IIS 5.1 > PHP 4.20 (Module Problems.)
13879 by: Karin van den Berg
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Perhaps try a trim() of the values before inserting into the table.
Nicole
www.aeontrek.com
Jerry wrote:
> Hello,
>
> When I import a comma delimited text file into a table using
> MySQL Front, a space is added to one of the fields which is a
> varchar field. How can I keep this from happening?
>
> TIA,
> Jerry
--- End Message ---
--- Begin Message ---
guyz ....
its terrable ....
i have a well formed xml doccument ....
but i cant get it validated ...
i keep getting this error
"this file is not valid. all fields referred to from
the key identity constraint 'user_info_memb_id'
must exist"
now ....
i had made 6 tables in access ....
but i made a schema in xml from the scratch ... no
import from access u know ...
and i defined all my table names as schema elements
.... with sub elements and attributes ....
the xml doccument is :
<?xml version="1.0" encoding="UTF-8"?>
<user-info
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="F:\New Folder (2)\final
project\d bs\proj_db.xsd">
<role>
<memb/>
<modrtr/>
</role>
<member>
<memb-id/>
<email/>
<name firstName="" lastName=""/>
<login password="" login=""/>
<news-letter-subscription/>
<lang-id/>
<country/>
</member>
</user-info>
where am i messing it up ????
oh & i ve generated this thru xml spy ..if that helps
.....
:( .....
will somebody plz help ????
i'd really appriciate any help ... any word on this
.....
stuck az usual .... :( ....
toby ......
__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
--- End Message ---
--- Begin Message ---
Hello,
On 05/20/2002 04:05 PM, Toby z wrote:
> guyz ....
> its terrable ....
> i have a well formed xml doccument ....
> but i cant get it validated ...
> i keep getting this error
> "this file is not valid. all fields referred to from
> the key identity constraint 'user_info_memb_id'
> must exist"
What are you using to validate this document?
The expat based parser always tells you the line, the column and the
byte index of the tag that is in error.
Looking at the XML code I can't see anything wrong in the document.
Maybe it is a schema thing.
--
Regards,
Manuel Lemos
--- End Message ---
--- Begin Message ---
thnx manuel ...
that cud b it ....
but plz do tell me something .....
i have a few elements in the scheema that are repeated
.....
secondly ....
i made a single scheema ..... and i included all the
elements in it .....
user-info, content-info, categry,......
with all their subelements .....
i think im right ....
plz do tell me either way ....
thnx a million .... :) .....
--- Manuel Lemos <[EMAIL PROTECTED]> wrote: > Hello,
>
> On 05/20/2002 04:05 PM, Toby z wrote:
> > guyz ....
> > its terrable ....
> > i have a well formed xml doccument ....
> > but i cant get it validated ...
> > i keep getting this error
> > "this file is not valid. all fields referred to
> from
> > the key identity constraint 'user_info_memb_id'
> > must exist"
>
> What are you using to validate this document?
>
> The expat based parser always tells you the line,
> the column and the
> byte index of the tag that is in error.
>
> Looking at the XML code I can't see anything wrong
> in the document.
> Maybe it is a schema thing.
>
> --
>
> Regards,
> Manuel Lemos
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
--- End Message ---
--- Begin Message ---
Hello,
On 05/20/2002 04:57 PM, Toby z wrote:
> thnx manuel ...
> that cud b it ....
> but plz do tell me something .....
> i have a few elements in the scheema that are repeated
> .....
>
> secondly ....
> i made a single scheema ..... and i included all the
> elements in it .....
> user-info, content-info, categry,......
> with all their subelements .....
> i think im right ....
I don't know much of XML schema definitions. What you can do to narrow
the search for the problem is to remove the schema definition element
and see if you still have the problem. If you do not have the problem,
then the error is schema related.
--
Regards,
Manuel Lemos
--- End Message ---
--- Begin Message ---
Hi for all.
I have php+apache+win2000+client oracle in my machine.
I configured my php.ini with:
extension_dir and uncomment extensions in php_oci8.dll
But, when I restart my apache, I receive the following error:
Unable to load dynamic library "c:\php\extensions/php_oci8.dll". It was not
possible to find the specified procedure.
Can anyone help me with the configuration of php+oracle?
--
Mauricio
+55 - (041) - 219-5246
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
I am having trouble installing PHP 4.2.1 on Win2K/IIS5 as an ISAPI Module.
I copied php.ini file with my config to the winnnt folder, and set the the
app mappings and Isapi filters to C:\PHP\SAPI\php4isapi.dll, but the module
does not read any of the changes in the php.ini file. How can I get php.ini
settings to be read?
Ryan Conover
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.pitt.edu/~rscst25/
--- End Message ---
--- Begin Message ---
This is what you must do.
Copy Part
^^^^^^^^^^
copy php4ts.dll to c:\winnt\system32\
copy php4sapi.dll to c:\winnt\system32\
if you want any extensions, copy them to to c:\winnt\system32\
configuration part
^^^^^^^^^^^^^^^
in php.ini
¨¨¨¨¨¨¨¨¨¨¨¨¨
edit doc_root like : c:/Inetpub/wwwroot
edit extension_dir like : c:/winnt/system32
then remove the ";" infront of every extension you would like to have.
now, in iis5.0
^^^^^^^^^^^^
don't use it as a "filter"
use it as an script/executable in the home flick, where you set document/web
root.
add "c:\winnt\system32\php4sapi.dll" and, fileextension, ofcourse ".php"
i hope i make sence... good luck.
"Ryan Conover" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am having trouble installing PHP 4.2.1 on Win2K/IIS5 as an ISAPI Module.
> I copied php.ini file with my config to the winnnt folder, and set the the
> app mappings and Isapi filters to C:\PHP\SAPI\php4isapi.dll, but the
module
> does not read any of the changes in the php.ini file. How can I get
php.ini
> settings to be read?
>
> Ryan Conover
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> http://www.pitt.edu/~rscst25/
>
>
--- End Message ---
--- Begin Message ---
This is what you must do.
Copy Part
^^^^^^^^^^
copy php4ts.dll to c:\winnt\system32\
copy php4sapi.dll to c:\winnt\system32\
if you want any extensions, copy them to to c:\winnt\system32\
configuration part
^^^^^^^^^^^^^^^
in php.ini
¨¨¨¨¨¨¨¨¨¨¨¨¨
edit doc_root like : c:/Inetpub/wwwroot
edit extension_dir like : c:/winnt/system32
then remove the ";" infront of every extension you would like to have.
now, in iis5.0
^^^^^^^^^^^^
don't use it as a "filter"
use it as an script/executable in the home flick, where you set document/web
root.
add "c:\winnt\system32\php4sapi.dll" and, fileextension, ofcourse ".php"
i hope i make sence... good luck.
"Ryan Conover" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am having trouble installing PHP 4.2.1 on Win2K/IIS5 as an ISAPI Module.
> I copied php.ini file with my config to the winnnt folder, and set the the
> app mappings and Isapi filters to C:\PHP\SAPI\php4isapi.dll, but the
module
> does not read any of the changes in the php.ini file. How can I get
php.ini
> settings to be read?
>
> Ryan Conover
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> http://www.pitt.edu/~rscst25/
>
>
--- End Message ---
--- Begin Message ---
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> Okey...
> Apache Installed, PHP 4.20 unzipped.
>
> "c:\program files\other applications\internet\apache group\apache\"
> "c:\program files\other applications\internet\php\"
>
I had a problem with getting apache to load the sapi dll too. When i
tried to start apache again it wouldn't. Turned out apache doesn't like
spaces in the dirs for loading modules, so i put the dll in
c:/winnt/system32/ and voila, working php module.
Karin
--- End Message ---