[PHP-WIN] HTTP Server

2001-08-15 Thread Ste
Hi im really new to PHP but would like learn it so first i think its best to set up PHP on my box (win98) then i can play around and test scripts to help me learn more about PHP so anyway so far i have downloaded and installed PHP on my computer but i cant find a *easy to set up* free HTTP server

Re: [PHP-WIN] Network Documents

2001-08-15 Thread Mike Barber
Go into the Services :List Double click on the World Wide Web Publishing Service Click the "Log On" Tab Click on the DOT for "This account." clcik on Browse Find a user id that has permissions to access the share. Fill in the password for that user. Hit OK and restart the service. Try it again. -

Re: [PHP-WIN] Network Documents

2001-08-15 Thread CJD
I get a similar problem, and it only occurs with 'dynamic' type documents. HTML files work fine, but the PHP files cause a CGI error. I have tried every configuration under the sun, but as yet have not solved this. It seems to be an issue with IIS accessing the documents over a share, no matter i

Re: [PHP-WIN] Network Documents

2001-08-15 Thread Paul Smith
Try mapping the network drive. Thomas Davis wrote: > > Is there anything special about accessing php documents from a network share? > > I can not get php to respond to a document root that it recieves from another >machine. > > if my webserver 2000/IIS5 running php CGI is named FOO. > > and

[PHP-WIN] Network Documents

2001-08-15 Thread Thomas Davis
Is there anything special about accessing php documents from a network share? I can not get php to respond to a document root that it recieves from another machine. if my webserver 2000/IIS5 running php CGI is named FOO. and I use machine \\BAR\htdocs as the document root, and inside \htdocs i

Re: [PHP-WIN] Why am I getting a CGI error?

2001-08-15 Thread Steve \"Neo Cerberus\" Juhnke
I have a friend who is having this same problem - but we have tried it with multiple pages - and the odd part is that it seems like it is not even sending the php.exe compiler any data. He is using NT 4.0 IIS4 with 4.0.6 Php using the .exe itself not the isapi. I have personally had no problem

[PHP-WIN] Re: how to show image from mssql server

2001-08-15 Thread TopDog
OK, I'm pretty new to the windows/PHP combination, but I think I might have a clue for you. First for the following to work, I believe this only work with Apache. In the file which uses the graphic include HTML like this: In the file 'image.php', you need to send the appropriate HTTP header p

[PHP-WIN] Problem with a socket in non-blockant state

2001-08-15 Thread Cerel
Ok here is the story : I got a php script that comunicates with a game server (Half-life). This script uses socket_set_timeout. But the build of php i downloaded doesn't support socket_set_timeout(). So i started to modify the script to do without. Here is the prob : the script use the socket as b

php-windows Digest 15 Aug 2001 21:04:10 -0000 Issue 704

2001-08-15 Thread php-windows-digest-help
php-windows Digest 15 Aug 2001 21:04:10 - Issue 704 Topics (messages 8863 through 8883): urgant 8863 by: ashok sundaram 8870 by: Hugh Bothwell .php opening as text document 8864 by: Craig 8869 by: Hugh Bothwell Income on the Net! 8865 by: Noel Hadf

[PHP-WIN] Re: Retrieving "text" > 4K SQL Server 7.0

2001-08-15 Thread Al
I found my answer! The PHP.INI file sets "odbc.defaultrl = 4096". Setting this to 0 removes any size limitation (passthru). However, while SQL Server gladly accepted 710K from a form textarea, PHP did nasty things when it tried to put 710K into a string variable [$s_description = odbc_result

Re: [PHP-WIN] trying to code a simple hyperlink. Can anyone spot my error

2001-08-15 Thread Hugh Bothwell
"Michael Rudel" <[EMAIL PROTECTED]> wrote in message 005601c125a3$86f5fed0$[EMAIL PROTECTED]">news:005601c125a3$86f5fed0$[EMAIL PROTECTED]... > From: bryan [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 15, 2001 5:57 PM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] trying to code a simple hy

RE: [PHP-WIN] trying to code a simple hyperlink. Can anyone spot my error

2001-08-15 Thread Michael Rudel
Hi Brian, echo "mailto:[EMAIL PROTECTED] internet: http://www.suchtreffer.de ___ > -Original Message- > From: bryan [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 15, 2001 5:57 PM > To: [EMAIL PROTECTED] > Subject: [PHP-

[PHP-WIN] trying to code a simple hyperlink. Can anyone spot my error

2001-08-15 Thread bryan
I am very new, and trying to get php to generate a hyperlink to the client. I am just trying to get an underlined link to an "accessgranted.htm" page. Can anyone spot my error? Return email will be greatly appreciated. Thanks :-)Bryan ___ " ; echo"click h

[PHP-WIN] Re: problem with ereg_replace

2001-08-15 Thread Elias Santiago
Sorry, on the previous post $fnd = "a href=\"[^http)(mailto)#]"; should be: $fnd = "a href=\"[^(http)(mailto)#]"; -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators

[PHP-WIN] problem with ereg_replace

2001-08-15 Thread Elias Santiago
I'm trying to replace all relative links in a string like: str$="" to str$="http://myhost.com/jan_may2000/files.html";>" I don't want to change any links that begining with http or mailto links. my code is: $str_old has the complete html body of the page (all content between tags), so none

[PHP-WIN] Retrieving "text" > 4K SQL Server 7.0

2001-08-15 Thread Al
Setup: PHP 4 and Apache on NT 4; SQL Server 7.0 on NT 4, Unified ODBC using SQL Server ODBC driver. How does one go about getting "text" data out of SQL Server 7.0 using PHP's Unified ODBC drivers? This is "text" data... not varchar()! I can PUT as much data as I want into a "text" column in a

Re: [PHP-WIN] mail function

2001-08-15 Thread Angie Tollerson
Camelia, I'm sure this has nothing to do with your problem, but I am curios: why are you setting a void function, mail() into the variable $test? what is the purpose of that? I don't even see in your code where you used $test again? Please explain... Angie Tollerson Alliance Technologies Web

Re: [PHP-WIN] mail function

2001-08-15 Thread hassan el forkani
hi what kind of email client are you using, could be a client issues, some of them do not properly delete emails after retrievals and end up downloading them twice; just a guess anyway post some code for a more interesting answers:)) regards At 15:16 15/08/01, Angie Tollerson wrote: >Camelia,

Re: [PHP-WIN] mail function

2001-08-15 Thread Camelia Moldovan
$sql1="insert into alegere(ClientId,OfertaId,DomId,DomNume) VALUES ('$id','$host','$tip_dom','$numedom')"; //$sql1="insert into alegere(ClientId) VALUES ('$id')"; $rez1=mysql_query($sql1,$dblnk); $text="A aparut un nou client cu urmatoarele date de identificare."."\n"."Nume : ".$nume."\n"."Prenu

RE: [PHP-WIN] win2000

2001-08-15 Thread Angie Tollerson
The most common errors I see for set up are: 1. You need to right click on your website in IIS, choose properties, and on the home directory tab choose configure. Then add the extension .php to be run using C:\php\php.exe (or whereever you installed it) MAP IT! 2. On that same tab, you need

RE: [PHP-WIN] how to show image from mssql server

2001-08-15 Thread Svensson, B.A.T.
Long time I saw that, but I believe you should be able to give a reference on the IMG directivity to a script, and the script should then query the database for the image. Some thing like: /Anders >-Original Message- >From: sur-php [mailto:[EMAIL PROTECTED]] >Sent: Wednesday,

Re: [PHP-WIN] mail function

2001-08-15 Thread Angie Tollerson
Camelia, We'd really have to see the script itself. It is probably your code in some weird way because I use mail() all the time and don't get 2 emails. Show us your code :) Angie Tollerson Alliance Technologies Web Programmer (515)245-7628 [EMAIL PROTECTED] >>> Camelia Moldovan <[EMAIL PROT

[PHP-WIN] Re: urgant

2001-08-15 Thread Hugh Bothwell
"Ashok Sundaram" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > i am facing problem while using the following code > PHP 4/Xitami/WinME > note :- what is GD . GD is a graphics library - it defines the graphics functions you are trying to use. > how to check i

[PHP-WIN] Re: .php opening as text document

2001-08-15 Thread Hugh Bothwell
"Craig" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi > > I'm trying to set up hlstats which users hlstats.php but every time I try > run the file in IE the .php file opens as a text file and displays all the > code. > > I'm using Win 98 > Internet Explorer

[PHP-WIN] mail function

2001-08-15 Thread Camelia Moldovan
when I use mail() function in a script I receive 2 e-mails(??). I tried to use die() but it didn't help. any ideeas? __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ -- PHP Wi

[PHP-WIN] a bottle in the sea...

2001-08-15 Thread rashkatsa
Hello ! I've read a lot of web, news and archives for two days and i've not resolve my problem. Here it is : Configuration : Apache 1.3.20 (Win32) / PHP 4.0.5 / MySQL 3.23.39 / Windows 2000 Pro (SP2 and update ok). Services : Apache and MySQL runs as services under 'toto' account. Note : i use

[PHP-WIN] Explode Your Business!

2001-08-15 Thread Customer Service

[PHP-WIN] Income on the Net!

2001-08-15 Thread Noel Hadfield
Here is an opportunity that you can take up FREE. If you join as an affiliate, we'll teach you how to build a profitable business on the Internet, using our system to create an income stream and earn income globally, 24 hours a day. Don't let this opportunity slip past you - our organization i

[PHP-WIN] .php opening as text document

2001-08-15 Thread Craig
Hi I'm trying to set up hlstats which users hlstats.php but every time I try run the file in IE the .php file opens as a text file and displays all the code. I'm using Win 98 Internet Explorer 5.5 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

[PHP-WIN] urgant

2001-08-15 Thread ashok sundaram
hi, i am facing problem while using the following code even the socket dosent work i am using php 4... web server xitami os min ME note :- what is GD . how to check it exist or not in the below code i am get fatel error(function imagecreate() not found) //// //

[PHP-WIN] how to show image from mssql server

2001-08-15 Thread sur-php
Hello php-windows, This is my query: $query= " select Image from ImageTable where MainCode='040191' "; it returns data like this.. 0x424d2e043e00280077003f0001000100 f0030200ff00ff fff03