[PHP-WIN] PHP 4.3.1 / MySQL

2003-03-10 Thread Ryan
Just recently I've upgraded on of my systems to Apache 2.0 / PHP 4.3.1 on Linux. All priors installs using Apache 1.3.x I've compiled mysql manually and added support instead of using the default support. Trying to add mysql support now (the same way: --with-mysql=../mysql-3.23.49) PHP stops with a

php-windows Digest 11 Mar 2003 06:53:20 -0000 Issue 1628

2003-03-10 Thread php-windows-digest-help
php-windows Digest 11 Mar 2003 06:53:20 - Issue 1628 Topics (messages 18949 through 18961): Re: e-shop problem 18949 by: Thomas Smart Re: IE seems to be more stupid than I spected! 18950 by: H Marc Bower 18951 by: Rasmus Lerdorf 18952 by: Charles P. Killmer

[PHP-WIN] Re: CGI or ISAPI

2003-03-10 Thread Thomas Smart
how do u make it read a specific php.ini in the cgi version? "Afonso Marques Dos Santos" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi, I would like to know whats best on a Windows2000/IIS system. I've changed to ISAPI, buit now i can't make it ro read a specific php.ini, loca

[PHP-WIN] Re: Newbie attempting file open...

2003-03-10 Thread Thomas Smart
try r+ instead of r and if your working with a windows server add b after the r+ "William Fisher" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > The Question: It is my understanding that fopen() using the "r" option will either open the indicated file for read only OR create o

[PHP-WIN] Re: image question

2003-03-10 Thread Thomas Smart
look for GDlib tutorials "Anthony Ritter" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm looking for a php tutorial or script which can open and read an existing > .jpg or .png from another URL. > > Next, the script then modifies that image by - say - cropping off the bottom >

[PHP-WIN] CGI or ISAPI

2003-03-10 Thread Afonso Marques dos Santos
Hi, I would like to know whats best on a Windows2000/IIS system. I've changed to ISAPI, buit now i can't make it ro read a specific php.ini, located on the site root. Afonso Marques dos Santos

[PHP-WIN] fopen - windows - FTP

2003-03-10 Thread Jonathan Almarez
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 PROTECT

[PHP-WIN] Newbie attempting file open...

2003-03-10 Thread William Fisher
The Question: It is my understanding that fopen() using the "r" option will either open the indicated file for read only OR create one if it doesn't exist. fopen() is giving me this error when trying to create/open a file. Warning: fopen(c:/program files/apache group/apache/htdocs/test.txt)

[PHP-WIN] image question

2003-03-10 Thread Anthony Ritter
I'm looking for a php tutorial or script which can open and read an existing .jpg or .png from another URL. Next, the script then modifies that image by - say - cropping off the bottom by 20px or resizing it by 50%. Lastly, could this modified file then be renamed on ones server? Many thanks, To

[PHP-WIN] GIF handling problem...

2003-03-10 Thread Peres Levente
Hi! I'm not sure that there's a simple soulution, but here's my problem. Please, if anyone can help me out with an idea, write here. First, forgive my bad english, I'll try to do it as clearly as I can. Basicly, the problem is that I want to create an animated GIF output, where I put together an

RE: [PHP-WIN] IE seems to be more stupid than I spected!

2003-03-10 Thread Charles P. Killmer
I ran into problems with IIS, IE, pdfs, and Sessions. Try not using a session and see if it works. If it does I think there are some functions to use before you send the pdf. Session_write_close() I think. Charles -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED] S

Re: [PHP-WIN] IE seems to be more stupid than I spected!

2003-03-10 Thread Rasmus Lerdorf
Are you sending a content-length header? Without that I have found that IE gets confused. -Rasmus On Mon, 10 Mar 2003, [iso-8859-1] Leonardo Javier Belén wrote: > 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

Re: [PHP-WIN] IE seems to be more stupid than I spected!

2003-03-10 Thread H Marc Bower
Does it work with Netscape? I find it odd that the browser would have anything to do with this, really. (V) - Original Message - From: "Leonardo Javier Belén" <[EMAIL PROTECTED]> HI all! I am facing a problem thanks to the so-called powerful IE on Windows. I'm trying to generate PD

[PHP-WIN] Re: e-shop problem

2003-03-10 Thread Thomas Smart
www.hotscripts.com has some good cart scripts, the best way to learn these is to download and read the script thru :) "Andrzej Wroblewski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > > > > > > > Hi > > I'm designing internet shop based on PHP and MySQL, but I don't know > ho

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

2003-03-10 Thread php-windows-digest-help
php-windows Digest 10 Mar 2003 15:47:30 - 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 ex

Re: [PHP-WIN] Re: Variable problems

2003-03-10 Thread Thomas Smart
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 no

[PHP-WIN] Connections in SQL Server

2003-03-10 Thread Salvador Zaragoza Rubio
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 nu

[PHP-WIN] IE seems to be more stupid than I spected!

2003-03-10 Thread Leonardo Javier Belén
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 a

[PHP-WIN] e-shop problem

2003-03-10 Thread Andrzej Wroblewski
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 expl

RE: [PHP-WIN] Re: Variable problems

2003-03-10 Thread Rich Gray
> 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 fin

RE: [PHP-WIN] Re: Variable problems

2003-03-10 Thread George Pitcher
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

[PHP-WIN] Re: Variable problems

2003-03-10 Thread Reggie P
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 sens

Re: [PHP-WIN] Passing value in URL to form

2003-03-10 Thread Thomas Smart
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... > > > > but t

Re: [PHP-WIN] PHP extensions on IIS (Java, PDF)

2003-03-10 Thread Frank Hirsch
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 an

[PHP-WIN] Re: Variable problems

2003-03-10 Thread Thomas Smart
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 t

[PHP-WIN] Re: stripslashes problem

2003-03-10 Thread rotsky
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 r

[PHP-WIN] htmlentities

2003-03-10 Thread rotsky
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 t

[PHP-WIN] Re: stripslashes problem

2003-03-10 Thread Bobo Wieland
Can't you just use 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 nex

Re: [PHP-WIN] Passing value in URL to form

2003-03-10 Thread Bobo Wieland
You can do it with javascript... 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: <[E

Re: [PHP-WIN] SSL win platform

2003-03-10 Thread Ignatius Reilly
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]

[PHP-WIN] stripslashhes problem

2003-03-10 Thread rotsky
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 t