php-windows Digest 10 Mar 2003 15:47:30 -0000 Issue 1627

Topics (messages 18927 through 18948):

Passing value in URL to a form
        18927 by: Stephen K Knight

Passing value in URL to form
        18928 by: Stephen K Knight
        18935 by: Bobo Wieland
        18941 by: Thomas Smart

PHP extensions on IIS (Java, PDF)
        18929 by: Frank Hirsch
        18931 by: Frank M. Kromann
        18940 by: Frank Hirsch

Surfing history
        18930 by: Raymond Chua Sing

fopen - windows - FTP - failed to create stream
        18932 by: Jonathan Almarez

stripslashhes problem
        18933 by: rotsky

Re: SSL win platform
        18934 by: Ignatius Reilly

Re: stripslashes problem
        18936 by: Bobo Wieland
        18938 by: rotsky

htmlentities
        18937 by: rotsky

Re: Variable problems
        18939 by: Thomas Smart
        18942 by: Reggie P
        18943 by: George Pitcher
        18944 by: Rich Gray
        18948 by: Thomas Smart

e-shop problem
        18945 by: Andrzej Wroblewski

IE seems to be more stupid than I spected!
        18946 by: Leonardo Javier Belén

Connections in SQL Server
        18947 by: Salvador Zaragoza Rubio

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 ---
Is there a way to pass a value from on html page to another on a different
server through a URL and have that value input into a form.
The value trying to be passed is a record id from a database.

I tried retrieving the value from the URL with <?=id?>

It carries the id number over in the URL, however it's not extracting the
number out of the url and into the form.

Instead it translates it to <br />
with the following error:
<b>Notice</b>:  Use of undefined constant idno - assumed 'idno' in
<b>C:\Program Files\Apache Group\Apache2\htdocs\fileupload3.php</b> on line
<b>45</b><br />
idno

Any help would be greatly appreciated.

In kindness
Stephen



<html>
<head>
<Title>File Upload</Title>
</head>

<BODY>
<?

$filename = $HTTP_POST_FILES["userfile"]["name"];
$tmpname  = $HTTP_POST_FILES["userfile"]["tmp_name"];
$newname = $_REQUEST["newname"];

// echo "filename = " . $filename . "<BR>\n";
// echo "newname = " .  $newname . "<BR>\n";
// echo "tmpname = " . $tmpname . "<BR>\n";

if(!empty($filename))
{

   //copy the file
   copy($tmpname, "logos/$newname");

   //destroy the uploaded file
   unlink($tmpname);

}
else
{
   echo "You have to enter a file name to upload";
}

   // write javascript to store the newname
   echo "\n<script language='javascript'>\n";
   echo "newname = '" . $newname . "';\n";
   echo "</script>\n";
?>


<FORM name="info" action="http://209.158.200.167:591/FMPro?"; method="Post" >
<INPUT Type="hidden" Name="-db" value="picturetest.fp5">
<INPUT Type="hidden" Name="-lay" value="cgi">
<INPUT Type="hidden" Name="-format" value="result.htm">
<INPUT Type="hidden" Name="picture_name" value="">
<INPUT Type="hidden" Name="-recid" value="<?=id?>">
<INPUT Type="hidden" Name="-edit" value="">
</FORM>



<script language="javascript">

     // set the filename in the hidden form
    document.info.picture_name.value = newname;

    // post the data from the form to FMPro
    document.info.submit() ;

</script>

</body>

</html>


--- End Message ---
--- Begin Message ---
I have managed to pass information through a URL and extract it and insert
it into a form on a php document.  Can this be done for an html document?
Passing the value through the URL to an html page with form and then through
a URL again into a php doc.  I tried the same method I used in the php doc
in the html doc but it didn't work.

Any ideas?

In kindness,
Stephen


--- End Message ---
--- Begin Message ---
You can do it with javascript...

<script language="JavaScript"><!--
document.formName.fieldName.value = location.search.substring(1);
//--></script>

but this question would be better suited somewhere else than @ PHP-WIN,
don't you think? =)


. bobo .



----- Original Message -----
From: "Stephen K Knight" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 10, 2003 4:05 AM
Subject: [PHP-WIN] Passing value in URL to form


> I have managed to pass information through a URL and extract it and insert
> it into a form on a php document.  Can this be done for an html document?
> Passing the value through the URL to an html page with form and then
through
> a URL again into a php doc.  I tried the same method I used in the php doc
> in the html doc but it didn't work.
>
> Any ideas?
>
> In kindness,
> Stephen
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--- End Message ---
--- Begin Message ---
or you could set your php to parse .html files, then you can do it with php
$_GET['varname']


"Bobo Wieland" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> You can do it with javascript...
>
> <script language="JavaScript"><!--
> document.formName.fieldName.value = location.search.substring(1);
> //--></script>
>
> but this question would be better suited somewhere else than @ PHP-WIN,
> don't you think? =)
>
>
> . bobo .
>
>
>
> ----- Original Message -----
> From: "Stephen K Knight" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, March 10, 2003 4:05 AM
> Subject: [PHP-WIN] Passing value in URL to form
>
>
> > I have managed to pass information through a URL and extract it and
insert
> > it into a form on a php document.  Can this be done for an html
document?
> > Passing the value through the URL to an html page with form and then
> through
> > a URL again into a php doc.  I tried the same method I used in the php
doc
> > in the html doc but it didn't work.
> >
> > Any ideas?
> >
> > In kindness,
> > Stephen
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>



--- End Message ---
--- Begin Message ---
Hi,

I'm successfully running Sablotron (php_xslt.dll) on IIS and Apache.

PDF (php_pdf.dll) and Java (php_java.dll) only works on Apache :-(

I'm using Apache and IIS on the same machine (same PHP Version and php.ini).

Any hints how to get the additional modules to work on IIS? If I call the
same documents (pdf.php/java.php) on Apache all works fine - on IIS: "Call
to undefined function: pdf_new()"...

Frank



--- End Message ---
--- Begin Message ---
If you are uisng ISAPI for IIS and mod_php for Apche you need to restart
the web server each time you enable an extension (or make other changes to
the php.ini file). The php.ini file is only read at startup.

If you are using CGI on either server, the php.ini file will be read once
per request.

The error message indicates that the extensions are not loaded with IIS.

- Frank

> Hi,
> 
> I'm successfully running Sablotron (php_xslt.dll) on IIS and Apache.
> 
> PDF (php_pdf.dll) and Java (php_java.dll) only works on Apache :-(
> 
> I'm using Apache and IIS on the same machine (same PHP Version and
php.ini).
> 
> Any hints how to get the additional modules to work on IIS? If I call
the
> same documents (pdf.php/java.php) on Apache all works fine - on IIS:
"Call
> to undefined function: pdf_new()"...
> 
> Frank
> 
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 




--- End Message ---
--- Begin Message ---
Thanks for your help!

Yes - it looks like you have to restart te machine every time you add
modules (but only on IIS). Even Java/PDF modules are working now (but only
as ISAPI).
Needs to be solved the problem the script works only every third time it is
called. Another difference between Apache and IIS. Maybe the script itself.

Frank

"Frank M. Kromann" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> If you are uisng ISAPI for IIS and mod_php for Apche you need to restart
> the web server each time you enable an extension (or make other changes to
> the php.ini file). The php.ini file is only read at startup.
>
> If you are using CGI on either server, the php.ini file will be read once
> per request.
>
> The error message indicates that the extensions are not loaded with IIS.
>
> - Frank
>
> > Hi,
> >
> > I'm successfully running Sablotron (php_xslt.dll) on IIS and Apache.
> >
> > PDF (php_pdf.dll) and Java (php_java.dll) only works on Apache :-(
> >
> > I'm using Apache and IIS on the same machine (same PHP Version and
> php.ini).
> >
> > Any hints how to get the additional modules to work on IIS? If I call
> the
> > same documents (pdf.php/java.php) on Apache all works fine - on IIS:
> "Call
> > to undefined function: pdf_new()"...
> >
> > Frank
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
>



--- End Message ---
--- Begin Message ---
I have been doing this e-commerce site and I have been
having some problems with the browser saving an
offline copy of my site here's the scenario:

When the userlogs in the website will produce cookies
for the session and for the usrid to make transactions
possible when he logs out the session or the cookies
will be deleted or disabled .... but when I surf the
website as I log off it doesn't refresh by itself I
have to refresh every page before it will know that
the user has logged of... 

Is there anyway that this can be done automatically
when you log in and log out...

I have remedied this problem when you use the links to
navigate throughout the site but when you type the
exact URL on the address box this is what happens...
I made a PHP redirection page to accomplish this is
... thx 

Raymond

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

--- End Message ---
--- Begin Message ---
I receive this warning when I try to fopen using FTP:

warning: fopen(ftp://user:[EMAIL PROTECTED]/and/to/the/file.txt):
failed to create stream: FTP server reports 125 Data connection already
open; Transfer starting.

The code that it is refering to is:

$handle = fopen
("ftp://user:[EMAIL PROTECTED]/and/to/the/file.txt", "rb");

My OS is Windows XP
My PHP version is: 4.3.0.0
My HTTP Server is: Apache 2.0.44

I have tried this on another Unix server and it works fine.  The same code
works fine.  But on my XP server it don't work.

Thanks in advance,
Jonathan

--- End Message ---
--- Begin Message ---
I have a user registration form. If someone enters a name like O'Brien, then
it turns up on the next page (having been POSTed) as O'\Brien. So I use
stripslashes() to remove the slash and it displays fine. So far so good.

Then I POST the details again to the next page which writes the details to
the database. Except now it's just O - I presume the single quote has been
taken as some kind of delimiter or something and the rest of the string has
disappeared. I guess I could wait until that final page before applying
stripslashes (just before writing to the database) but that means the slash
still appears on the intermediate page (which is there to show people what
they've entered and get them to confirm it's okay). What can I do? Is there
a way of printing O'\Brien to the screen that doesn't show the slash?

Appreciate your comments.



--- End Message ---
--- Begin Message ---
Yes, it does work very nicely.

Check this tutorial for installing SSL support:
http://www.serverwatch.com/tutorials/article.php/1437211

HTH
Ignatius

----- Original Message -----
From: "John M." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 08, 2003 11:26 PM
Subject: [PHP-WIN] SSL win platform


Hi,
Does SSL or openSSL work on a win2000, apache(1.3.xx or 2.xx - precompiled
binary) and php(4.3.x) system?
If yes, is there someone who can tell what to do for installing it and make
it work?
Thank you.

John M.


--- End Message ---
--- Begin Message ---
Can't you just use <?php print stripslashes($name); ?> Where the name should
be visible, and never really modify the variable, just the output...?


. bobo .

"rotsky" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> I have a user registration form. If someone enters a name like O'Brien,
then
> it turns up on the next page (having been POSTed) as O'\Brien. So I use
> stripslashes() to remove the slash and it displays fine. So far so good.
>
> Then I POST the details again to the next page which writes the details to
> the database. Except now it's just O - I presume the single quote has been
> taken as some kind of delimiter or something and the rest of the string
has
> disappeared. I guess I could wait until that final page before applying
> stripslashes (just before writing to the database) but that means the
slash
> still appears on the intermediate page (which is there to show people what
> they've entered and get them to confirm it's okay). What can I do? Is
there
> a way of printing O'\Brien to the screen that doesn't show the slash?
>
> Appreciate your comments.
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



--- End Message ---
--- Begin Message ---
Well I could, but then I get a problem at the next stage.

To summarise, there are three stages:
- entry form
- confirmation - display details and say 'is this okay?'
- write to database

If you enter O'Brien in the form, it's shown as O\'Brien on the
confirmation. If I leave it that way, when it reaches the third page it
turns up as O\ - and that's all (ie, the backslash on the confirmation page
has itself been escaped - don't know what's happened to the quote or the
rest of the string). If I run it through stripslashes() on the confirmation
page, it turns up as just O on the final page. Damned if I do, damned if I
don't...

"Bobo Wieland" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Can't you just use <?php print stripslashes($name); ?> Where the name
should
> be visible, and never really modify the variable, just the output...?
>



--- End Message ---
--- Begin Message ---
Further to my post about problems with single quotes in a login sequence...

I also have a form in which I enter the text of articles. These naturally
contain quotes of both types, ampersands and all that good stuff. So, I read
the text in from a database and I've tried applying htmlentities() to the
fields, but without success. For example, let's say we have a field called
'standfirst' and it contains text including a single quote. I try using:

    $standfirst = htmlentities($standfirst,ENT_QUOTES);

But when this field is passed to the next page (using POST), the single
quotes are escaped still. I'm getting in a real mess with all this escaping
business. I've tried the PHP .cfm manual, but it's not helping. Can anyone
point me to a *clear* description of how to deal with this stuff? Please?

+a
Steve



--- End Message ---
--- Begin Message ---
no, u just need to get the variable $test from the post befor you can call
it,

if you call $test without letting php know that $test is the same as the
POST test it doesnt know what you are talking about.

so in page 1 you have a form with textfields etc. the method is post
in page 2 you get the test var from the post by setting $test =
$_POST['test'];
then you can call $test,  echo $test for example.



"Reggie P" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Now I get this error
>
> Notice: Undefined index: test in E:\websites\girls\cgi-bin\insert2.php on
> line 7
> Could I have installed something wrong? It is running on win2000 server
and
> IIS 5
>
> "Thomas Smart" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> >
> > in the page that recieves the variable add this:
> >
> > $test = $_POST['test'];
> >
> >
> >
> > "Reggie P" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> > > I am new to php and I am having problems passing variables from one
page
> > to
> > > another. I wrote a simple script as such:
> > >
> > > <html>
> > > <head>
> > > <body>
> > > <Form Action="./cgi-bin/insert2.php" METHOD=post>
> > > name <input type="text" name="test" size=20>
> > > <input type=submit name="submit" value="submit!">
> > > </form>
> > > </body>
> > > </html>
> > >
> > > then pass to this page:
> > >
> > > <html>
> > > <head>
> > > </head>
> > > <body>
> > >
> > > <?
> > > print ("$test\n");
> > >
> > > ?>
> > > </body>
> > > </html>
> > >
> > > I get this for the response:
> > >
> > > Notice: Undefined variable: test in
> E:\websites\girls\cgi-bin\insert2.php
> > on
> > > line 8
> > >
> > > Please help!!
> > >
> > >
> > >
> > >
> >
> >
>
>



--- End Message ---
--- Begin Message ---
Thanks, but I found out something really interesting! I was using php-win32
version 4.3.0 and it would not process the variables. I took the same script
and ran it a buddies server with version 4.0.6 and it ran fine. I unloaded
4.3.0 and loaded 4.0.6 on my server and the scripts ran fine! Make sense to
you? Maybe there are some bugs in 4.3.0.

Reggie P

"Thomas Smart" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> no, u just need to get the variable $test from the post befor you can call
> it,
>
> if you call $test without letting php know that $test is the same as the
> POST test it doesnt know what you are talking about.
>
> so in page 1 you have a form with textfields etc. the method is post
> in page 2 you get the test var from the post by setting $test =
> $_POST['test'];
> then you can call $test,  echo $test for example.
>
>
>
> "Reggie P" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Now I get this error
> >
> > Notice: Undefined index: test in E:\websites\girls\cgi-bin\insert2.php
on
> > line 7
> > Could I have installed something wrong? It is running on win2000 server
> and
> > IIS 5
> >
> > "Thomas Smart" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> > >
> > > in the page that recieves the variable add this:
> > >
> > > $test = $_POST['test'];
> > >
> > >
> > >
> > > "Reggie P" <[EMAIL PROTECTED]> wrote in message
> > > news:[EMAIL PROTECTED]
> > > > I am new to php and I am having problems passing variables from one
> page
> > > to
> > > > another. I wrote a simple script as such:
> > > >
> > > > <html>
> > > > <head>
> > > > <body>
> > > > <Form Action="./cgi-bin/insert2.php" METHOD=post>
> > > > name <input type="text" name="test" size=20>
> > > > <input type=submit name="submit" value="submit!">
> > > > </form>
> > > > </body>
> > > > </html>
> > > >
> > > > then pass to this page:
> > > >
> > > > <html>
> > > > <head>
> > > > </head>
> > > > <body>
> > > >
> > > > <?
> > > > print ("$test\n");
> > > >
> > > > ?>
> > > > </body>
> > > > </html>
> > > >
> > > > I get this for the response:
> > > >
> > > > Notice: Undefined variable: test in
> > E:\websites\girls\cgi-bin\insert2.php
> > > on
> > > > line 8
> > > >
> > > > Please help!!
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>



--- End Message ---
--- Begin Message ---
Your buddy probably has register globals switched on.

George

> -----Original Message-----
> From: Reggie P [mailto:[EMAIL PROTECTED]
> Sent: 10 March 2003 12:40 pm
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Re: Variable problems
>
>
> Thanks, but I found out something really interesting! I was using
> php-win32
> version 4.3.0 and it would not process the variables. I took the
> same script
> and ran it a buddies server with version 4.0.6 and it ran fine. I unloaded
> 4.3.0 and loaded 4.0.6 on my server and the scripts ran fine!
> Make sense to
> you? Maybe there are some bugs in 4.3.0.
>
> Reggie P
>
> "Thomas Smart" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > no, u just need to get the variable $test from the post befor
> you can call
> > it,
> >
> > if you call $test without letting php know that $test is the same as the
> > POST test it doesnt know what you are talking about.
> >
> > so in page 1 you have a form with textfields etc. the method is post
> > in page 2 you get the test var from the post by setting $test =
> > $_POST['test'];
> > then you can call $test,  echo $test for example.
> >
> >
> >
> > "Reggie P" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> > > Now I get this error
> > >
> > > Notice: Undefined index: test in E:\websites\girls\cgi-bin\insert2.php
> on
> > > line 7
> > > Could I have installed something wrong? It is running on
> win2000 server
> > and
> > > IIS 5
> > >
> > > "Thomas Smart" <[EMAIL PROTECTED]> wrote in message
> > > news:[EMAIL PROTECTED]
> > > >
> > > > in the page that recieves the variable add this:
> > > >
> > > > $test = $_POST['test'];
> > > >
> > > >
> > > >
> > > > "Reggie P" <[EMAIL PROTECTED]> wrote in message
> > > > news:[EMAIL PROTECTED]
> > > > > I am new to php and I am having problems passing
> variables from one
> > page
> > > > to
> > > > > another. I wrote a simple script as such:
> > > > >
> > > > > <html>
> > > > > <head>
> > > > > <body>
> > > > > <Form Action="./cgi-bin/insert2.php" METHOD=post>
> > > > > name <input type="text" name="test" size=20>
> > > > > <input type=submit name="submit" value="submit!">
> > > > > </form>
> > > > > </body>
> > > > > </html>
> > > > >
> > > > > then pass to this page:
> > > > >
> > > > > <html>
> > > > > <head>
> > > > > </head>
> > > > > <body>
> > > > >
> > > > > <?
> > > > > print ("$test\n");
> > > > >
> > > > > ?>
> > > > > </body>
> > > > > </html>
> > > > >
> > > > > I get this for the response:
> > > > >
> > > > > Notice: Undefined variable: test in
> > > E:\websites\girls\cgi-bin\insert2.php
> > > > on
> > > > > line 8
> > > > >
> > > > > Please help!!
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--- End Message ---
--- Begin Message ---
> Thanks, but I found out something really interesting! I was using
> php-win32
> version 4.3.0 and it would not process the variables. I took the
> same script
> and ran it a buddies server with version 4.0.6 and it ran fine. I unloaded
> 4.3.0 and loaded 4.0.6 on my server and the scripts ran fine!
> Make sense to
> you? Maybe there are some bugs in 4.3.0.
>
> Reggie P
>
Reggie

That is because with v.4.0.6 register_globals is set to On in php.ini by
default. The default now is Off for security reasons (see
http://www.php.net/manual/en/security.registerglobals.php for more info).
IMO you are making a bad move going back to v4.06, you should get used to
writing your scripts with globals off i.e. using $_POST/$_GET etc etc - if
you have to have globals on then you should re-install 4.3.1 and switch
globals on in your php.ini file or do an extract() to emulate globals being
on....

Rich


--- End Message ---
--- Begin Message ---
as of php 5 the register globals is not even going to be an option so get
used to using $_POST and $_GET !!


"Rich Gray" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > Thanks, but I found out something really interesting! I was using
> > php-win32
> > version 4.3.0 and it would not process the variables. I took the
> > same script
> > and ran it a buddies server with version 4.0.6 and it ran fine. I
unloaded
> > 4.3.0 and loaded 4.0.6 on my server and the scripts ran fine!
> > Make sense to
> > you? Maybe there are some bugs in 4.3.0.
> >
> > Reggie P
> >
> Reggie
>
> That is because with v.4.0.6 register_globals is set to On in php.ini by
> default. The default now is Off for security reasons (see
> http://www.php.net/manual/en/security.registerglobals.php for more info).
> IMO you are making a bad move going back to v4.06, you should get used to
> writing your scripts with globals off i.e. using $_POST/$_GET etc etc - if
> you have to have globals on then you should re-install 4.3.1 and switch
> globals on in your php.ini file or do an extract() to emulate globals
being
> on....
>
> Rich
>



--- End Message ---
--- Begin Message ---







Hi

I'm designing internet shop based on PHP and MySQL, but I don't know 
how to solve the following problem: when the customer want to buy some 
article he/she  click check button and the article is in her/his bag. So the 
problem is I'm not familiar with this technology. Could anyone explain me 
how this things works. 

Or maybe you know some good place (in internet) where thing like this 
are explained from basis.

Thanks for all help

Regards
Andrzej W
------------------------------------
e-mail: [EMAIL PROTECTED]
http://republika.pl/wroblewski_online


--- End Message ---
--- Begin Message ---
HI all! 
    I am facing a problem thanks to the so-called powerful IE on Windows. I'm trying 
to generate PDFs on the fly but IE refuses to open the file. Not mention that I cannot 
ask for implace activation. I tried all the stuff around but I get always the same 
thing. "The file is not longer available" (sorry about the translation but Im using a 
Spanish version). Has somebody found a work around for this matter. Thanks in advance. 
Leo. AFIP AR.


--- End Message ---
--- Begin Message ---
Hi to everybody,
I have a problem that i don't know whether it's normal or only happens in my 
server.

I have a PC Box with W2k Server, Apache 1.3.27, Sql Server 2000 and PHP4.3.1 
The PHP is configured as a CGI of Apache and it has actived the options of 
mssql and persistents connections. The number of normal connections and 
persistents connections is unlimited as shows the php.ini.

When i run a web page with normal connections (not persistents) in php with 
the Sql Server 2000 it shows me warnings of mssql_query()'s when it reaches 
the third query, not before.
And the sql queries are correct because I've proved them in the Sql Server. 
But the most amazing thing is that if I update the page, then the warnings 
disappear forever from the application.

I don't know if it is a misconfiguration or a bug of the php. Has it happened 
to anybody else?
Any ideas how to solve this situation?

Thanks

Salva

--- End Message ---

Reply via email to