[PHP-WIN] PHP and Win95

2003-01-24 Thread Conny Wikman
Can anyone please help me? I installed Apache 1.3.27 on my Windows 95 machine, which is a P120MHz (I know I am a bit retro).The webserver works fine but I can't configure PHP4. After editing the php.ini and httpd.conf files I restarted the server and made a test.php file. The syntax in the .php is

php-windows Digest 25 Jan 2003 05:47:16 -0000 Issue 1554

2003-01-24 Thread php-windows-digest-help
php-windows Digest 25 Jan 2003 05:47:16 - Issue 1554 Topics (messages 18079 through 18094): Re: newbie form question.. 18079 by: Asendorf, John 18080 by: Rich Gray 18082 by: paradiddles 18083 by: Warren Vail 18084 by: Rich Gray 18085 by: paradi

Re: [PHP-WIN] Newbie email question

2003-01-24 Thread Alex Davis
is there a way to debug on a remote server? "Dash McElroy" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Alex, > > You have to point it at your ISP's SMTP server (assuming this is for > home). Check your mail program for your SMTP server. Sendmail is a unix >

Re: [PHP-WIN] Newbie email question

2003-01-24 Thread Dash McElroy
Alex, You have to point it at your ISP's SMTP server (assuming this is for home). Check your mail program for your SMTP server. Sendmail is a unix thing, although there are similar programs available for Windows, your best bet is to use an existing server. Mail from unknown sources is likely to be

Re: [PHP-WIN] Re: parse error, unexpected $end

2003-01-24 Thread Jim Hunter
You have a mis-match with your brackets. Count your { and } to see if you have the correct number. You will find that you are missing a }. Give your code another once over, make the change and you should see better results. You might find that if you indent your sections you will find it easier to

[PHP-WIN] Re: parse error, unexpected $end

2003-01-24 Thread Octavio Herrera
This is the source Code... Your Login or Password is Incorrect"; }else{ echo "\n"; for($a=0;$a<$filas;$a++){ $fila=mysql_fetch_array($rs); echo " \n"; echo " ".$fila["id"]."\n"; echo " ".$fila["name"]."\n"; echo " ".$fila["born"]."\n"; echo " ".$fila["occupation"]."\n"; echo " ".

[PHP-WIN] parse error, unexpected $end

2003-01-24 Thread Octavio Herrera
Hello, my name is octavio, Im new to this news group, I have a problem, Im getting the following error message: Parse error: parse error, unexpected $end in c:\appserv\www\octavio\user_data.php on line 63 What is this? I have looked all the source code and at the end of file there is nothing wron

[PHP-WIN] Newbie email question

2003-01-24 Thread Alex Davis
I followed the instructions in a php manual to write a script that will send emails using mail() function. Only one problem, where is my sendmail program on windows XP. Or what do i need to configure in the php.ini file? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP-WIN] Computer Problems

2003-01-24 Thread Nick H. -- Technical Support Engineer
Sorry, but this is a PHP Windows mailing list, not a general Windows mailing list. Regards, Nick H. [EMAIL PROTECTED] - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 24, 2003 5:30 PM Subject: [PHP-WIN] Computer Problems > Can anyone help.

[PHP-WIN] Computer Problems

2003-01-24 Thread Trystano
Can anyone help. I can't seem to access/run any of my programs from the start menu. I can run a program such as Microsoft Word when I open a file associated with it, but I can't get a program to run from the start men u options. I think I might have a virus, 'cause I can access any system sett

[PHP-WIN] Multitier applications using XML as an output format

2003-01-24 Thread Davy Obdam
Hello people, I have a question about developing Multi Tier applications using PHP. I wanna use XML as an output format, and then use XSL to transform this to whatever format, like HTML. However i am quite new to Object Orientated Programming and i am now wondering how-to do this. I have build

RE: [PHP-WIN] newbie form question..

2003-01-24 Thread paradiddles
Warren, that was it! I wasn't envoking the form from the 'local host'. Instead I was browsing the c drive. Now I can see the text w/in the php echo tag. Thanks again for the help guys- Patrick "forget your lust for the rich man's gold. All that you need, is in your soul. Yo

RE: [PHP-WIN] newbie form question..

2003-01-24 Thread Rich Gray
Apache error.log is usually in C:\Program Files\Apache Group\Apache\logs - your installation drive/directory maybe different ... if you can see your code in the html then apache is not configured correctly and is not invoking php to process your code... check the php installation instructions for

RE: [PHP-WIN] newbie form question..

2003-01-24 Thread Warren Vail
One rather key question, are you invoking your form through your web server? or are you accessing the file directly? One way to access the file directly (which you don't want to do) is to use a file reference to browse and find the file on your C: drive. You should be accessing the first file thr

RE: [PHP-WIN] newbie form question..

2003-01-24 Thread paradiddles
Rich, thanks for your response. I've tried using the

[PHP-WIN] re: Configuring a web server I haven't written yet...

2003-01-24 Thread Brian 'Bex' Huff
You should check out the CGI spec: http://hoohoo.ncsa.uiuc.edu/cgi/overview.html http://hoohoo.ncsa.uiuc.edu/cgi/interface.html Basicly, you have to have the web server create a process, and then all those CGI values (REQUEST_METHOD, QUERY_STRING, REMOTE_HOST, REMOTE_USER) are first set as env

RE: [PHP-WIN] newbie form question..

2003-01-24 Thread Rich Gray
you are not echoing a variable so register_globals set to On will have no effect in this case (I would switch it back Off as it will be more secure and you should get used to coding that way)... Do you see any errors in the server log? Does it work if you use mailto:[EMAIL PROTECTED]] Sent: 24 Janu

RE: [PHP-WIN] newbie form question..

2003-01-24 Thread Asendorf, John
I doubt that it's a globals problem since it doesn't look like you're even checking any php variables. Perhaps try http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae fuit > -Original Message- > From: par

php-windows Digest 24 Jan 2003 17:26:10 -0000 Issue 1553

2003-01-24 Thread php-windows-digest-help
php-windows Digest 24 Jan 2003 17:26:10 - Issue 1553 Topics (messages 18064 through 18078): Re: Re:Subject: printing (might be OT) 18064 by: Miha Nedok Re: Subject: print problem 18065 by: Neil Smith Re: PDF extensions seems to do not work properly on IE 18066 by: P

[PHP-WIN] newbie form question..

2003-01-24 Thread paradiddles
I just created a simple html form and a .php file as a test to be sure php is working right. All I want the form to do is test the echo construct (which prints the text between the opening and closing php tags) to be sure my php interpreter is working right. The line in my html form used to i

Re: [PHP-WIN] strpos and wildcards

2003-01-24 Thread Cam Dunstan
within a do while loop, check for a '>' with the strpos() function if the next character isn`t a < or a & then you have found the spot to start extracting from, otherwise... jettison all of the string up to and including the found '>' with the substr() function and repeat the process (loop) on the

Re: [PHP-WIN] Fw: PDF extensions seems to do not work properly on IE

2003-01-24 Thread Leonardo Javier Belén
HI! I get the same problem as before. Do you have a clue of whats going on? By the way, I do want to collaborate fixing the bug (if it is one). Thanks a lot, Leonardo J. Belen AFIP-AR - Original Message - From: "Paul Gardiner" <[EMAIL PROTECTED]> To: "Leonardo Javier Belén" <[EMAIL P

Re: [PHP-WIN] Fw: PDF extensions seems to do not work properly on IE

2003-01-24 Thread Leonardo Javier Belén
Is it a problem if I ask you to explain a little more about your work around? Because I do not understand your idea completely. How do you manage multiple documents? because you tell me that what I do want is to make a file and then refer to it from a html link, If I dont get the wrong idea... Che

[PHP-WIN] Chapter 5, Loops and Arrays

2003-01-24 Thread Wade
01232003 1706 CST 01242003 0742 CST Look at this: from the book: do { echo'$Auto[$Count]"; $CheckEmpty = "Auto[$Count]"; $Count = $Count + 1; } while ($CheckEmpty!=""); if ($Count == 1) echo "Not Applicable"; my attempt to change it: $_GET["Auto"][$Co

[PHP-WIN] strpos and wildcards

2003-01-24 Thread Bobo Wieland
Hi! I need to find the first occurence of a '>' that isn't followed by a '<' or a '&' in a string and then use the index to extract a substring... How do I do this? Anyone? .bobo -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] simple test for Win XP/PHP gurus...

2003-01-24 Thread Alex Davis
Ok gurus... how do i configure php to so when i use the mail() function... it will work? Or maybe a better question is how do i set up my IIS to send email. Thanx -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Geting information back...

2003-01-24 Thread Bobo Wieland
Hi! I'm trying to do something that might not be so very kind if it wasn't known by those I'm targeting at. ;) Anyway, I would like to retrive the content of a file I link to using a querystring like this: http://www.thebook.dk/showvers.jsp?visaverser=1%20mos+2%3A10 ... Can this be done? I don't

[PHP-WIN] Politely?

2003-01-24 Thread Jill . Ramonsky
Wow! I've only been on this mailing list for about half a hour, and I've only sent two emails (this is the third). What kind of a reputation do I have already? And how did I get it? Do you know something I don't? Why should anyone assume I would ever be anything other than polite? Should I just q

Re: [PHP-WIN] Configuring a web server I haven't written yet...

2003-01-24 Thread Per Lundberg
[EMAIL PROTECTED] wrote: Hey Jill, I'm writing a web server for Windows. I want to know how to make it support PHP. > Here's the bit I _DON'T_ know how to do... How can my server INITIALISE the superglobal variables $_GET, $_POST, $_SERVER, $_SESSION, etc. in preparation for running the scrip

Re: [PHP-WIN] Configuring a web server I haven't written yet...

2003-01-24 Thread Dash McElroy
Why would you do a system("php something.php")? Just put the code in the php file and you're good to go. i.e. /something.php contains: -Dash I can't understand it. I can't even understand the people who can understand it. -- Queen Juliana of the Netherlands. On Fri, 24 Jan 2

[PHP-WIN] Configuring a web server I haven't written yet...

2003-01-24 Thread Jill . Ramonsky
Hi guys, I'm writing a web server for Windows. I want to know how to make it support PHP. Here's the easy bit (which I know how to do)... 1) A client requests a web page called "anything.php" 2) The server notices the extension ".php", looks this up in the server's configuration settings, and say

Re: [PHP-WIN] Fw: PDF extensions seems to do not work properly on IE

2003-01-24 Thread Paul Gardiner
Hi This is for PDFLIB, but notice the Content-length header. This I know to work on IE. $data = pdf_get_buffer($pdf); header("Content-type: application/pdf"); header("Content-disposition: inline; filename=test.pdf"); header("Content-length: " . strlen($data)); echo $data; - Paul - - Origina

[PHP-WIN] Re: Subject: print problem

2003-01-24 Thread Neil Smith
At 05:18 24/01/2003 +, you wrote: Message-ID: <004d01c2c34c$ed35c4d0$01ff0a0a@vaio> From: "yuegong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Date: Fri, 24 Jan 2003 10:02:23 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_NextPart_000_0043_01C2C38F.B11331

Re: [PHP-WIN] Re:Subject: printing (might be OT)

2003-01-24 Thread Miha Nedok
Has anyone figured out how to print tables in landscape ? I was trying with CSS but the table is just printed left-to-right but no landscape :( -Mike On Thu, 23 Jan 2003, Neil Smith wrote: > Date: Thu, 23 Jan 2003 23:44:18 + > From: Neil Smith <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] >