[PHP-WIN] Re: query string / variable problem

2002-05-14 Thread Tomator
> /blob/download.php?id=1 ... > if ($id_files) { As you can see in your example, variable names "$id" and "$id_files" are different. Try this: if ($id) { becouse variable name given in URI is "$id", not "$id_file". -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: htt

Re: [PHP-WIN] php_gd.dll and Windows XP

2002-05-14 Thread Alan Hale
I think this problem has been to do with configuration of the server rather than PHP as such - phpinfo() was showing the extensions as installed. I've downloaded the 4.2.1 Windows installer and run this. I also downloaded the 4.2.1 zip file (which includes the extenion modules) and copied these

[PHP-WIN] query string / variable problem

2002-05-14 Thread steve
I've installed windows binary version of PHP version 4.2.0 running under Apache as a SAPI module. I'm having problems when i'm trying to pass variables between scripts and wonder if this is a configuration issue. I've included details below - a link in a file main.php Download passes an id va

Re: [PHP-WIN] A Request about PHP Manual

2002-05-14 Thread Christopher Kwasneski
In what ways do you mean make it more suitable for newbies? I did know a few languages before learning PHP, but the manual didn't seem to be too complicated for someone just coming into it. Any questions I did have on the language and how to use it, were fielded nicely by either the manual, t

[PHP-WIN] A Request about PHP Manual

2002-05-14 Thread theN
This is just a request. Could some one kindly make the PHP manual more suitable for Newbies too. It's a bit hard to understand, particularly for concepts that require prior understanding of programming. If some one could make any suggestions on this matter I would be very grateful -- Lots of L

Re: [PHP-WIN] Re: MSSQL2000 'real' data type and multiple SQL statments in onemssql_query()

2002-05-14 Thread Jerome Houston
thanks for the reply to problem #2- i actually already do check for result validity, but maybe i should have said that a part of my problem is that i'm not getting a valid result set back even though there should be one. and in those cases where i do multiple statements in one call to mssql_q

[PHP-WIN] Re: MSSQL2000 'real' data type and multiple SQL statments in onemssql_query()

2002-05-14 Thread Nicole Amashta
Hi, When you run your query, do you get the result back in a variable? $result = mssql_query($query); Then, use that result *if* it is successful. if ( $result ) { ## then query was successful } else { ## query failed. } If you do multiple queries, you should use different $

[PHP-WIN] skipping # sign

2002-05-14 Thread Afan Pasalic
Hi people! How can I skip # in text? Inserting text with # sign in database give me just part before #. Part after is lost. Slash doesn't work. Any idea? Afan

[PHP-WIN] MSSQL2000 'real' data type and multiple SQL statments in one mssql_query()

2002-05-14 Thread Jerome Houston
Apologies for the repeat to those who are in php-general and php-db. i'm running PHP4.1.1 as a module through Apache 1.3.22 on W2k Server SP2 -- connecting to a MSSQL server running on the same OS. I'm having 2 problems with the system. 1. on mssql_query(*SELECT statments*); that return MSSQL's

php-windows Digest 14 May 2002 18:46:20 -0000 Issue 1144

2002-05-14 Thread php-windows-digest-help
php-windows Digest 14 May 2002 18:46:20 - Issue 1144 Topics (messages 13739 through 13768): ini problem 13739 by: Tomator Re: how do I get a user name? 13740 by: Shrock, Court Session - Cannot recall variable 13741 by: Donny Hariady 13742 by: Aziz Durmaz

Re: [PHP-WIN] php_gd.dll and Windows XP

2002-05-14 Thread Alan Hale
Thanks Jeff, but that's not it - php_gd2.dll did not come with the installation (I did in fact try downloading a copy into my extensions dir, and editing php.ini accordingly, but this worked no better). - Original Message - From: "Jeff Waldock" <[EMAIL PROTECTED]> To: "'Alan Hale'" <[EMA

[PHP-WIN] Re: php 4.2 and database conn

2002-05-14 Thread Maurice Kevenaar
You can to set the $db_server_name to SQLBox (or it's ip) -- maurice "Nicole Amashta" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Thanks, but I'm not trying to write the scripts. I already wrote them. > I just wanted connectivity without having SQLServ

Re: [PHP-WIN] php 4.2 and database conn

2002-05-14 Thread Leon
You need atleast the SQL Server Client in your PHP server. PHP installs all the rest you need. - Original Message - From: "Nicole Amashta" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 14, 2002 11:35 AM Subject: [PHP-WIN] php 4.2 and database conn > I have recently inst

Re: [PHP-WIN] PEAR Library?

2002-05-14 Thread Nicola Delbono
try c:/php4/PEAR >Is there a particular directory that is considered the PEAR library in the Nicola Delbono /// Il notiziario dei notiziari http://www.notiziarioweb.it/ /// www.smscitta.com | www.musicalbox.it www

[PHP-WIN] Re: php 4.2 and database conn

2002-05-14 Thread Nicole Amashta
Thanks, but I'm not trying to write the scripts. I already wrote them. I just wanted connectivity without having SQLServer installed on the PHP box. Thanks! :) nicole www.aeontrek.com Maurice Kevenaar wrote: > try this: > > $connect = mssql_connect($db_server_name, $db_user_name, $db_user_pa

[PHP-WIN] Re: php 4.2 and database conn

2002-05-14 Thread Maurice Kevenaar
try this: $connect = mssql_connect($db_server_name, $db_user_name, $db_user_passwd); You can use ODBC too, but (in my exp. it's slower) -- Maurice "Nicole Amashta" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have recently installed PHP 4.2 on a serv

[PHP-WIN] Re: String replacement...

2002-05-14 Thread Nicole Amashta
Do you want to create a javascript array of the file names? Do the file names exist on the server? If so, just generate and populate a javascript array with the id and matching name, then load the article when the link is clicked. -Nicole www.aeontrek.com R.S. Herhuth wrote: > I have a situa

Re: [PHP-WIN] Connection to SQL Server on remote machine

2002-05-14 Thread Nicole Amashta
Thanks, I got it. I just installed the minimum stuff from the Client tools. That worked. I appreciate your help. ;) -Nicole www.aeontrek.com Scott St. John wrote: > Nicole- > > I would try using the IP address instead of the machine name to see if > that works. If it does not you might have

RE: [PHP-WIN] server variables

2002-05-14 Thread Rasmus Lerdorf
Put a phpinfo() tag on a page and look through the available variables. Chances are it is in $HTTP_SERVER_VARS['CERT_XXX'] On Tue, 14 May 2002 [EMAIL PROTECTED] wrote: > Thanks, but it was not help, because PHP run on ISAPI mode, > and as manual says, getenv cannot be used in this mode. > Additi

Re: [PHP-WIN] php 4.2 and database conn

2002-05-14 Thread Rasmus Lerdorf
ODBC support is built-into the Windows version of PHP. You should be able to simply create a DSN and connect to that. For MySQL, make sure you uncomment the extension=mysql.dll in your php.ini file and it should work just fine. -Rasmus On Tue, 14 May 2002, Nicole Amashta wrote: > I have recen

RE: [PHP-WIN] server variables

2002-05-14 Thread KovacsIst
Thanks, but it was not help, because PHP run on ISAPI mode, and as manual says, getenv cannot be used in this mode. Additionaly: phpinfo() shows this variables in its ISAPI section. Regards, Istvan Kovacs > [EMAIL PROTECTED] wrote: > > I am using Win2K, IIS5 and PHP4.12. > > When an SSL connec

[PHP-WIN] String replacement...

2002-05-14 Thread R.S. Herhuth
I have a situation where I will be pulling back an article that may contain none or several references to link IDs in the following format: The rest of the article is basically text in the format of a news article. What I need to do is to extract the ID (the #226 in this example) and run a que

[PHP-WIN] PEAR Library?

2002-05-14 Thread Ben Fogt
Is there a particular directory that is considered the PEAR library in the PEAR piece of PHP? I'm getting an error in Horde that says that my PEAR library path might be missing from include_path. Ben Fogt -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

Re: [PHP-WIN] Connection to SQL Server on remote machine

2002-05-14 Thread Scott St. John
Nicole- I would try using the IP address instead of the machine name to see if that works. If it does not you might have to install the client tools. In our LAN I have to also go into the Client Network Utility and create an alias to port 1433. -Scott On Tue, 14 May 2002, Nicole Amashta wr

[PHP-WIN] Connection to SQL Server on remote machine

2002-05-14 Thread Nicole Amashta
Has anyone any luck connecting to an SQL Server 2k database on a remote machine over the local network? This works with ODBC, but not using the php mssql functions. I have a similar setup on another machine where this works - but the client tools are installed. I have everything necessary set

RE: [PHP-WIN] mail() problem

2002-05-14 Thread Mike Eynon
This could be a PHP or COM question... not sure. I am calling a custom COM object from php. I am seeing a memory leak happen when I build my variant in C++ and then return it out to the PHP calling into the COM. I am using the following piece of code to take a simple C++ array of strings and lo

Re: [PHP-WIN] Need help with compressed uplaod problem...

2002-05-14 Thread Hugh Bothwell
"B.A.T. Svensson" <[EMAIL PROTECTED]> wrote in message 001301c1fb4e$95c4d450$[EMAIL PROTECTED]">news:001301c1fb4e$95c4d450$[EMAIL PROTECTED]... > > What you need to do is Zip him first and then insert him in the > > automatic cup holder (it looks like a CD-Rom tray) you will then find > > him on

[PHP-WIN] Making extension

2002-05-14 Thread Alberto. Sartori
Hi guys, I wanna ask you a simply questions. If I would make a .dll extensions, basically what I've to do? what kind of tools I need? thanks! Alberto Sartori - Developer Hard Programming Dep. --- CELL NETWORK ITALIA S.p.A Via Correggio, 19 20149

[PHP-WIN] php 4.2 and database conn

2002-05-14 Thread Nicole Amashta
I have recently installed PHP 4.2 on a server running win2k. There is no SQL Server database running on this particular machine. I want to connect to an SQL Server DB on another machine on the same network. Now, do I need to have atleast the client tools installed in order to do this? Or, can

RE: [PHP-WIN] Need help with compressed uplaod problem...

2002-05-14 Thread Svensson, B.A.T. (HKG)
> What you need to do is Zip him first and then insert him in the > automatic cup holder (it looks like a CD-Rom tray) you will then find > him on your C drive. You may then include him as an attachment. I haven't been trying out the Zip utility yet. What I did before was to use this free Zap ut

RE: [PHP-WIN] Need help with compressed uplaod problem...

2002-05-14 Thread Asendorf, John
Hi Anders, There are a couple of possibilities. First, in the php.ini file you must make sure you've turned on the extention for what you're trying to do. Uncomment the line, ;php_poultry.dll Then you'll have access to the compression and upload schemas for poultry. Although this extension is

Re: [PHP-WIN] Need help with compressed uplaod problem...

2002-05-14 Thread R.S. Herhuth
Anders, What you need to do is Zip him first and then insert him in the automatic cup holder (it looks like a CD-Rom tray) you will then find him on your C drive. You may then include him as an attachment. Hope this helps, RSH "Svensson, B.A.T. (HKG)" wrote: > > Hi all! > > I tried this ques

[PHP-WIN] Need help with compressed uplaod problem...

2002-05-14 Thread Svensson, B.A.T. (HKG)
Hi all! I tried this question before at alt.developers.www.ignorant.lunatics but nobody was able to help me, so in despair I now ask this list. I trying to upload an compressed duck to a receipt web page, but the duck just refuses to cooperate with the upload process. First I had a problem to c

Re: [PHP-WIN] Session - Cannot recall variable

2002-05-14 Thread Rasmus Lerdorf
Turn on register_globals in your php.ini file. On Tue, 14 May 2002, Donny Hariady wrote: > This is my first experience with PHP session manager. I try the following code: > > session_start(); > print($counter); > $counter++; > session_register("counter"); > > I found that PHP writes a sess_somet

Re: [PHP-WIN] server variables

2002-05-14 Thread Stuart Dallas
[EMAIL PROTECTED] wrote: > I am using Win2K, IIS5 and PHP4.12. > When an SSL connection with client certificate established, IIS owns > some server variables containing information about client certificate > (CERT_xxx or HTTPS_xxx). Although PHP does not registers them. So the > question is: how c

[PHP-WIN] server variables

2002-05-14 Thread KovacsIst
Hi, I am using Win2K, IIS5 and PHP4.12. When an SSL connection with client certificate established, IIS owns some server variables containing information about client certificate (CERT_xxx or HTTPS_xxx). Although PHP does not registers them. So the question is: how can I access these server varia

RE: [PHP-WIN] Session - Cannot recall variable

2002-05-14 Thread Aziz Durmaz
try this; - session_start(); session_register("counter"); print($counter[num]); $counter[num]++; - -Original Message- From: Donny Hariady [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 14, 20

[PHP-WIN] Session - Cannot recall variable

2002-05-14 Thread Donny Hariady
This is my first experience with PHP session manager. I try the following code: session_start(); print($counter); $counter++; session_register("counter"); I found that PHP writes a sess_something file in its save_path directory. When I refresh my browser, PHP updates this file but my browser st

RE: [PHP-WIN] how do I get a user name?

2002-05-14 Thread Shrock, Court
I have been using $_SERVER['AUTH_USER'] and $_SERVER['AUTH_PASSWORD'] IIS 4 > -Original Message- > From: toby z [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 13, 2002 10:50 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP-WIN] how do I get a user name? > > >

[PHP-WIN] ini problem

2002-05-14 Thread Tomator
"Peter" <[EMAIL PROTECTED]> write in message: [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Check to see how many copies of php.ini are on your system. Although it > shouldn't affect the module version, the php.ini in the c:\php (or whatever) > folder is read by the CGI executable instead of the