[PHP-WIN] Problem trying to use DOTNET class

2013-07-16 Thread Peter Facey
I can't get $serial = new DOTNET('System', 'System.IO.Ports.SerialPort'); to work because it always says "PHP Fatal error: Uncaught exception 'com_exception' with message 'Failed to instantiate .Net object [CreateInstance] [0x80070002] The system cannot find the file specified." It does this eve

[PHP-WIN] help needed

2008-01-25 Thread Peter D
Hi everyone! I hope my request can be answered by someone. I'm new to PHP and whole server issue! I'm trying to test my PHP scripts locally on my PC. It seems Apache/PHP/MySql and PhpMyAdmin are working correctly when I test simple php files. Here's the problem : I have two files: "display

[PHP-WIN] strange mktime

2007-08-17 Thread Peter Wechtersbach
Hello, im found some strange behaviour. Someone knows whats is going on or it is a bug?: lets do like this: three dates in timestamp: 27.10.2007: 1193436000 28.10.2007: 1193522400 29.10.2007: 1193612400 convert back: 1193436000: 27.10.2007 00:00:00 1193522400: 28.10.2007 00:00:00 1193612400: 29

[PHP-WIN] Re: GD2

2006-06-05 Thread Peter Kuma
nough, it's necessary to change line 'extension_dir = "./"' to point to your extension dir, e.g. 'extension_dir = "c:/php5/ext"'. More information on http://php.net/manual/en/install.windows.extensions.php. Peter Kuma -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] pgsql SSL support in binary distribution

2006-06-05 Thread Peter Kuma
Hi, Is there any reason why pgsql SSL support is disabled by default in binary distribution for Windows (PHP 5.1.4 zip package)? Regards, Peter Kuma -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Handler for Apache 2.2

2006-05-05 Thread Peter Laursen
I meant binary downloadss for Windows! -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Handler for Apache 2.2

2006-05-05 Thread Peter Laursen
Anybody knows if/when a handler for Apache 2.2 will be available for PHP binary downloads for Apache? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Copying a DB with PHP

2005-07-14 Thread Peter Poulsen
onn_a == 0) die("Failed to connect to DB_A"); $conn_b = odbc_connect("DB_B","xxx","yyy"); if($conn_b == 0) die("Failed to connect to DB_B"); echo "Copying X data...\n"; copy_all_dat

RE: [PHP-WIN] Secure customer service web page browser

2005-04-26 Thread Ordal, Peter
Ross, Generally the term you want to search for is "kiosk". For example, Googling for Kiosk Linux will turn up a lot of useful results. Cheers, Peter > -Original Message- > From: Ross Honniball [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 26, 2005 2:15 A

RE: [PHP-WIN] PHP5 and MySQL

2005-04-15 Thread Ordal, Peter
will do the trick). See my bug report at http://bugs.php.net/bug.php?id=32625 Cheers, Peter -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Reparse / reread php.ini

2005-03-15 Thread Ordal, Peter
ll the sun goes down without any affect on my phpinfo() output. Jim Plush wrote: >do a phpinfo() call and look at the path of your php.ini file, it appears >you're not editing the correct one. > >I usually just do iisreset on the command line and thats all I need. > > >"

[PHP-WIN] FW: Re: Reparse / reread php.ini

2005-03-15 Thread Ordal, Peter
I figured out the problem; IIS didn't have read permissions to php.ini. Of course I can't for the life of me figure why or when I might have removed said permissions, but at least it works now... Peter > -Original Message- > From: Ordal, Peter > Sent: Tuesday, Mar

[PHP-WIN] Reparse / reread php.ini

2005-03-09 Thread Ordal, Peter
o no avail. I'd hate to have to restart the entire system just to change one small directive. Thanks, Peter -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] error_log ignoring \ (like \n)

2005-01-16 Thread Peter Ford
I just used WAMP5 to install apache 1.3.33 and php 4.3.10 on Windows XP. All is good except that when i do a: error_log("this\nis\na\ntest"); the output in the error.log looks like: [Sat Jan 15 11:24:51 2005] [error] this\nis\na\ntest If i run the same on other servers it comes out like: [Sat Ja

[PHP-WIN] PHP on an intranet with MSOffice-like templates

2004-11-16 Thread peter
(originally posted to php-db, but I realized that this list is far more germane for the question - apology to those reading it twice). I don't even know if this is possible, or if I'll have to go the route of .NET development to get this sort of functionality (I'm sure it's possible if I jump thro

[PHP-WIN] PageRank

2004-05-22 Thread Peter Rinab
Hi, anybody there who knows a source to evaluate the google PageRank? I know a couple of web pages to get the page rank online but this doesn't help. Looking for a source. Thanks, Peter

Re: [PHP-WIN] i need help

2004-05-18 Thread Peter 'iridium' Waller
want to get only something, so you need $array_data[1]. To take off brackets, just use str_replace(); Hoppe this helps, Jordi. Or, better, you can do : preg_match( "/^\\[i\\:(.*)\\]\$/", "[i:something]", $matches ); $matches[1] will contain "something". Peter. -- PHP

[PHP-WIN] Anyone who can help me??????

2004-04-16 Thread Peter Hansen
come up when i click on the link as you can do by click on the link below and see the error message http://www.flashwebb.se/bf1942live/vietnam.pl I'am running win2003 Anyone who can help me here??? Regards Peter -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Sheel_exec

2004-04-15 Thread Peter Hansen
come up when i click on the link as you can do by click on the link below and see the error message http://www.flashwebb.se/bf1942live/vietnam.pl I'am running win2003 Anyone who can help me here??? Regards Peter -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] MySQLI on windows

2004-03-30 Thread Peter
Hi all, Could someone please tell me how to make MySQLi available on Apache 1,3, PHP 4,0 and MySQL 4 (the installation from dev5beta3.exe). Thank you in advance. Kind regards Peter -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Server for PHP and ASP (and MySQL) ??

2003-12-03 Thread Peter Richards
ting project indend. So, I may consider installing Apache and Apache-asp on the Win95 box. >By the way, chilisoft (known as ASP on linux) is now not free. It sold >to Sun. > >http://www.chilisoft.com/ Yes, I noticed that , and the Halycon product are commercial. Thanks, Peter --

Re: [PHP-WIN] Server for PHP and ASP (and MySQL) ??

2003-12-02 Thread Peter Richards
So, it seems I'm 'stuck' with a Win box for the ASP stuff, but would be better off with even using my old P-100 with 64Mb ram as a *nix web server, to be used for all the PHP/MySQL development work. Thanks, Peter -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Server for PHP and ASP (and MySQL) ??

2003-12-02 Thread Peter Richards
using IIS and/or have Win2k or more recent OS. I would like to be able to use PHP, ASP, MySQL, all on Win95. I guess I'm asking too much. Thanks, Peter -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Server for PHP and ASP (and MySQL) ??

2003-12-02 Thread Peter Richards
ll do: PHP ASP MySQL Will Apache do ASP ? Hmm, I don't think so. I guess one option is to install Apache and PWS, but I think that would be a real _pain_, having to shut down one server and start up the other, evey time I wanted to run either a PHP or ASP file in my browser. Thanks, Pete

Re: [PHP-WIN] HTTP/1.1 500 Server Error

2003-12-02 Thread Peter Richards
that the error logging doesn't work under Win95. I re-installed 4.2.3 this morning, and was able to do a phpinfo(), so that's a start. Thanks, Peter -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] HTTP/1.1 500 Server Error

2003-12-01 Thread Peter Richards
us version of PHP I was using was 4.2.3, but I would prefer to use the latest version. Peter -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: [PHP-DB] Re: [PHP] $_POST in MySQL query issue...

2003-10-16 Thread Peter Beckman
$_POST[elementName], like $elementName > = $_POST[elementName], then continute use your original SQL sentence > when the register_globals was on. Waste (albeit very minor) of variable space. Concat them. Beckman --

[PHP-WIN] Re: [PHP-DB] $_POST in MySQL query issue...

2003-10-16 Thread Peter Beckman
use single quotes and concat the variables outside of the quoted line. Better performance, less problems with variables not being expanded correctly. Beckman --

[PHP-WIN] passing variables

2003-10-11 Thread Peter Gerwing
o the default switch cause the variable are lost any help. is it still a problem of configuring php etc Peter -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] newbie problem

2003-10-05 Thread Peter Gerwing
user name I even know my password . QUESTION? I can't seem to get a html file with the PHP code to work. ? any ideas Peter -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] combo boxes

2003-07-23 Thread Peter Houchin
Raul, Thank you very much for your help it works like a charm :) -- Peter Houchin Sun Rentals -Original Message- From: Raul IONESCU [mailto:[EMAIL PROTECTED] Sent: Wednesday, 23 July 2003 4:52 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] combo boxes Be more specific. Send

[PHP-WIN] Listing directory files in individual cells in a html table

2003-07-22 Thread Peter Houchin
Howdy I have a script that lists files from a directory. What I want to do is spilt the result up so that files are displayed into a html table that is 8 colums wide and how ever many rows are needed. ( my script is below ) Any help would be aprechiated Cheers Peter Heres my script $dir

[PHP-WIN] PDF Attahcment in MIMe message

2003-07-01 Thread PHodd (Peter)
file_url)); $str = chunk_split(base64_encode($str)); $message .= "$str\n"; $message .= "\n"; //message ends $message .= "--MIME_BOUNDRY--\n"; mail("[EMAIL PROTECTED]","Purchase Order",$message,$hea

[PHP-WIN] Re: where to find dll files

2003-06-21 Thread Peter 'iridium' Waller
Melih Onvural wrote: Hi, I've just moved over to Windows and PHP and I was wondering if anyone knows where to find the gd2.dll library? Off the PHP site it's in *NIX form and I'm not sure how to compile that on a Windows machine so I figured a .dll would be much simpler. Thanks, melih If you dow

[PHP-WIN] Re: Mail sent an hour before I send it

2003-06-19 Thread Peter Misun
to the mail server > > directly and send mail the time is correct, so it appears to have > > something to do with PHP. Does anyone have any thoughts on this? > > =20 -- Mgr. Peter Misun MicroStep-MIS, Ilkovicova 3, 841 04 Bratislava, Slovakia tel: +421/ 2/ 602 00 127, 111, fax

[PHP-WIN] Re: doing $mc=new myclass(); or $mc= &new myclass(); ?

2003-06-06 Thread Peter Misun
here is answer I was waiting for: Per Lundberg wrote: > On Fri, 2003-06-06 at 14:17, Peter Misun wrote: > > > but I couldn't find case, in which is better to use the first form > > why should I have copy, if there is an original where I'm not having > > con

[PHP-WIN] Re: install PHP 431 on Windows 2003 server

2003-06-06 Thread Peter Misun
. > > Simos Anagnostakis > Dept. of Primary Education > University of Crete > Campus Rethymno 74100 > tel +302831077623 fax 77596 -- Mgr. Peter Misun MicroStep-MIS, Ilkovicova 3, 841 04 Bratislava, Slovakia tel: +421/ 2/ 602 00 127, 111, fax: +421/ 2/ 602 00 180 -- PHP Windows Mai

Re: [PHP-WIN] doing $mc=new myclass(); or $mc= &new myclass(); ?

2003-06-06 Thread Peter Misun
but I couldn't find case, in which is better to use the first form why should I have copy, if there is an original where I'm not having control over it ?!? 5o Per Lundberg wrote: > On Fri, 2003-06-06 at 11:23, Peter Misun wrote: > > need help: > > what do you sugg

Re: AW: [PHP-WIN] doing $mc=new myclass(); or $mc= &new myclass(); ?

2003-06-06 Thread Peter Misun
Sven Schnitzke wrote: > This is conceptual. If you want to know if &new() is 'cheaper' > than new() you might want to ask the developers list or take > a look at execution time for 1 [&]new()s or so. yes, this is what I want to know I'll ask in php.dev developers list forum 5o -- PHP W

[PHP-WIN] Re: doing $mc=new myclass(); or $mc= &new myclass(); ?

2003-06-06 Thread Peter Misun
why? there is written, that not using & sign will assign only copy ov object created - that means, you have one object 2 times in memory (in the first case) 5o Dvdmandt wrote: > I do believe you want the first version... > "Peter Misun" <[EMAIL PROTECTED]> skrev i

[PHP-WIN] doing $mc=new myclass(); or $mc= &new myclass(); ?

2003-06-06 Thread Peter Misun
need help: what do you suggest to use: $mc = new myclass(); or $mc = &new myclass(); because in any tutorial I can see the first form, but on page "what references do" in PHP manual I found out the second form so? 5o -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, vi

[PHP-WIN] Re: header problem with IIS

2003-05-28 Thread Peter Misun
problem was with switch in W2k server there is - Performance Options -> Application response - and it can be switched to "Applications" or "Background services" after switching from second one to first one (app...), everything works fine now (without CGI Error)

[PHP-WIN] php_pgsql.dll problem

2003-03-04 Thread Peter Kmet
d libpq.dll and libpq.lib and copied it to winnt/system32 folder (i tried php dll extensions dir as well) but i still have same warning and pg_* functions are not avilable. Your help is very appreciated Peter Kmet -- -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: htt

[PHP-WIN] Can't type national characters

2003-01-13 Thread Peter Henriksen
Help please I'm trying to put some national characters out with this function: imagestring ($image, $font_size, 5, 5, "Hej æøå from Peter", $colour); The national characters comes out unreadable. What can I do? Peter Henriksen Denmark -- PHP Windows Mailing List (http://w

[PHP-WIN] V4.3

2002-12-31 Thread Peter Hawkins
Hi all, I too was eager to try the pear default install with the new windows binary but even now it's downloading a file that doesn't have it. Can we perhaps have a direct URL to the fixed file or a new link to it from the php site? Thanks, Peter -- PHP Windows Mailing List (http://w

RE: [PHP-WIN] PHP Editor

2002-11-04 Thread Thoenen, Peter Mr. EPS
http://www.zend.com/store/products/zend-studio.php <-- bought this one before I found Komodo. I think it is junk, but thats my own opinion. Has/had some serious issue when I bought it (version 2.0/2.1). Don't recommend it. All three work just fine on windows. -Peter > -Original Message

[PHP-WIN] Unable to fork ...

2002-11-03 Thread Peter
up to now. Has anyone an idea, how I can get rid of this problem? Thanks. Peter -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] PHP and Apache 2

2002-10-26 Thread Thoenen, Peter Mr. EPS
It works fine unofficially. Officially I believe 4.3 it is supported. -Peter > -Original Message- > From: erythros [mailto:erythros@;erythros.d2g.com] > Sent: Friday, October 25, 2002 16:52 > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] PHP and Apache 2 > > > th

RE: [PHP-WIN] Notice: Undefined variable:

2002-10-24 Thread Thoenen, Peter Mr. EPS
T .... try -Peter > -Original Message- > From: Richard West [mailto:ice_dog76@;hotmail.com] > Sent: Friday, October 25, 2002 05:01 > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Notice: Undefined variable: > > > Hey, I just installed apache and php on my desktop and

RE: [PHP-WIN] Install problems with PHP for apache

2002-10-21 Thread Thoenen, Peter Mr. EPS
.php .phtml 6. save httpd.conf 7. net stop apache 8. net start apache For more complete troubleshooting, try RTFM :) ... http://www.php.net/manual/en/install.apache.php -Peter > -Original Message- > From: Mark Hozlapfel [mailto:mark_holzapfel@;hotmail.com] > Sent: Tuesday, Oc

RE: [PHP-WIN] i need help with an undefined variable

2002-10-01 Thread Peter Houchin
t; Sent: Wednesday, 2 October 2002 1:43 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP-WIN] i need help with an undefined variable > > > Like i said, the other server understood it at a function of the > address bar > so if index.php?game=foobar then $game = foobar and it would

RE: [PHP-WIN] i need help with an undefined variable

2002-10-01 Thread Peter Houchin
how r u getting $game? that's the undefind var. > -Original Message- > From: Anyang [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 2 October 2002 11:38 AM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] i need help with an undefined variable > > > I wrote a php script for a page that I hosted

[PHP-WIN] Variable error

2002-09-12 Thread Silbermann, Peter
// No steps associated with lot. HUH? // Major error... } } else { // no newport operation loaded in sys_load } } else { // No newport operation available, shouldn't be trying to import // from newport anyway... } Peter Silbermann Tyco Electronics Inc. Fiber Optic Buisness Unit Active Products Group Device Validation 908-704-3303 (Work) 610-570-2185 (Mobile) [EMAIL PROTECTED] ?> -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] POST

2002-09-06 Thread peter
Hi, anybody who can help? I Try to post data from form test1.html and read in new_entry.php form (environment: Windows XP Prof. , Apache, PHP 4.0.5) test1.html new_entry.php This one should display the posted variables $value) { print "$key = $value"; } ?>

Re: [PHP-WIN] mail() I get crazy from this...

2002-08-28 Thread Peter
am an ISP provider. Well than, where/how can I become ISP provider? Because I want to be independent. with friendly greetings, Peter van Summeren B.A.T. Svensson wrote: >>Thanks for this answer. No, I do not have an ISP. I only have a raw >>line: fast ADSL without any whatever, bu

Re: [PHP-WIN] mail() I get crazy from this...

2002-08-28 Thread Peter
Hello, Thanks for this answer. No, I do not have an ISP. I only have a raw line: fast ADSL without any whatever, but guaranteed fast. I do not understand your kind of english, but it seems to me from your last sentence that I should give up. with friendly greetings Peter van Summeren Ross

[PHP-WIN] mail() I get crazy from this...

2002-08-28 Thread Peter
, tell me what to do exactly. In the XP environment. with friendly greetings, Peter -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] mail() does not work. Help please...

2002-08-28 Thread Peter
st I take here some other address?. I am really sorry. I have no idea. You must tell me exactly. with friendly greetings, Peter Piotr Pluciennik wrote: > So, you should have an access to smtp server. Then in > php.ini set lines as below according to address of > your server and your ma

[PHP-WIN] mail() does not work. Help please...

2002-08-28 Thread Peter
which does not work: $my_mail = "" mail ($my_mail, "No need for reply -- PHP test!", "hi Peter\nLine 2\n"); 3. I have a XP-firewall. As all the other programs work well (several messengers work fine: AOL, MSN) what did I do wrong, forget etc. Can anyone help me?

RE: [PHP-WIN] re-initiating a sesion

2002-08-25 Thread Peter Houchin
on the top of every pages that you need the sessions make sure you have session_start() put this before any html out put and you shouldn't have any problems > -Original Message- > From: Kieran Hall [mailto:[EMAIL PROTECTED]] > Sent: Monday, 26 August 2002 9:01 AM > To: [EMAIL PROTECTED] >

[PHP-WIN] get all headers and IIS

2002-08-16 Thread Thoenen, Peter Mr. EPS
Hello, I see the getallheaders() function for apache but nothing for IIS ... anybody know a way to get all the headers for a request in IIS? -Peter ## Peter Thoenen - Systems Programmer Commercial Communications Camp Bondsteel, Kosovo

RE: [PHP-WIN] Code Conversion ASP --> PHP Example

2002-08-13 Thread Thoenen, Peter Mr. EPS
Do the SQL query $resource=mysql_query('SELECT * FROM categories'); # Step through each row returned while($row=mysql_fetch_array($queryexe)){ extract($row); echo "$categoryid, $catdescription, $catimage"; } Hope this helps, -Peter ## Peter

[PHP-WIN] Re: PHP on IIS CGI timeout problems

2002-08-03 Thread Peter
Isn't there a setting in php.ini which restricts the maximum file size that can be uploaded? Does your program work for small files? "Daniel MassóN" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hi there !! ... im Daniel im new in the list !! > > Hi there

RE: [PHP-WIN] Does System() work?

2002-07-30 Thread Peter
> -Original Message- > From: Kevin Stone [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 31 July 2002 4:01 AM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Does System() work? > > > I'm trying to run a simple script that pings and address and outputs the > results using the system() functio

RE: [PHP-WIN] cant store checkbox vale ..... ?????

2002-07-29 Thread Peter
> > > hi guys > > im stuck with check boxes now > > n id b really gratefull if anyone d help plx > > the thing is i cnt get the cheked value from a > checkbox > > > sign me up > fo weekly news letter and updates > try this sign me up > fo weekly news letter and updates or what ever

RE: [PHP-WIN] End session

2002-07-29 Thread Peter
kit , 1st off have a look in the manual it will have it all there... 2nd normally a session will end when the user closes the browser.. > -Original Message- > From: Kit Kerbel [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 30 July 2002 12:11 PM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN

[PHP-WIN] Re: pretty simple-but i can't figure it out

2002-07-25 Thread Peter
You could also make a function to simplify things if you have lots of links function dolink($href, $text) { $text = "$text"; return $text; } then calling echo dolink("page1.php","Link to page 1"); would output a link to page1.php with the text Link to page 1 "Tim Blackwell" <[EMAIL PROTECTED]

RE: [PHP-WIN] Can php generate MS word doc format?

2002-07-24 Thread Peter
Nicole, if you have StarOffice or OpenOffice on your machine or have access to it it can save into MS Word Doc format.. just use the save as.. cheers > -Original Message- > From: Nicole Amashta [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 25 July 2002 1:36 PM > To: [EMAIL PROTECTED] > Su

RE: [PHP-WIN] Apache Virtual Hosts Local Machine Help

2002-07-23 Thread Peter
the host name you want touse has to be a valid hostname .. so you can't just make on up and go beauty i'll use that one .. it has to be added to ur dns in order for virtual hosts to work > -Original Message- > From: Sean M. Mayhew [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 24 July 2002

[PHP-WIN] Re: Syntax

2002-07-23 Thread Peter
Scott's explaination makes it look a bit like the if syntax in MS Excel If($first, $second, $third) "Kit Kerbel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > What, if you please, does this syntax denote exactly. > > ($i==0?($i):($i*20)) > > > ___

[PHP-WIN] Re: MySQL..

2002-07-23 Thread Peter
You could do it through regedit. If you have to logon to the network, go to HKEY_CURRENT_USER > Software > Microsoft > Windows > Current Version then check in Run and RunOnce to see if MySQL is there. If it is delete that entry (make sure you know you're deleting the right one though!) Now do this

RE: [PHP-WIN] phpnuke

2002-07-22 Thread Peter
> On 22 Jul 2002 at 15:11, Wayne A. Darby wrote: > > > I am new to php and am trying to implement a chat client that is based > > in php. I am using MySQL, APACHE, & PHPNUKE and I can type in the > > address and hit my site just fine. When I try to click on a link I > > recieve the error message

[PHP-WIN] Re: Restart process from code?

2002-07-17 Thread Peter
You need a program to control the ASP process. This is proably some sort of command line tool and you just put whatever you would type in the commandline into the exec() function. (in quotes of course!) "Noah Spitzer-Williams" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL P

RE: [PHP-WIN] strange error

2002-07-10 Thread Peter
sorry my bad .. make it like this.. if( $submit ) // make a clause so that only when submit is > pressed will this part run > { > echo( "$cisco" ); > } > $cisco = " "; > ?> etc > -Original Message- > From: Peter [mailto:[EMAI

RE: [PHP-WIN] strange error

2002-07-10 Thread Peter
; > and it seems like alot of new comers to php is having this problem > > > > "Fungi" <[EMAIL PROTECTED]> źśźgŠóślĽóˇsťD > > :[EMAIL PROTECTED] > > > I just did... > > > it works, but it still says undefined variable

RE: [PHP-WIN] strange error

2002-07-10 Thread Peter
lobals suppose to be on or off? > I heard of it is set to on will cause some security problem > "Fungi" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D > :[EMAIL PROTECTED] > > yes it is on > > > > "Peter" <[EMAIL PROTECTED]> > > ???:[

RE: [PHP-WIN] strange error

2002-07-10 Thread Peter
] strange error > > > still doesn't work.. > i changed the register_globals from "off" to "on" in php.ini > and tested the original code. This time it works, but it still displays > undefined variable "cisco" > > why? > >

RE: [PHP-WIN] strange error

2002-07-10 Thread Peter
try this.. and maybe add $PHP_SELF for the action. Cheers > -Original Message- > From: fungi [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 11 July 2002 12:14 PM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] strange error > > > I have problem testing PHP on my own server

[PHP-WIN] Problem installing PHP on Win95/PWS - 500 error

2002-07-03 Thread Peter Cinquini
I am having problems installing php (4.2.1) on Personal Web Server on Windows 95 using the InstallShield installer and specifying the standard installation. I have set up a php directory given it full privileges including execute and tested that it is in my webspace. When I try and run a test php

[PHP-WIN] Re: Php graphics

2002-07-03 Thread Peter
Sounds like Office has affected your browser and your browser doesn't recgnise the graphics as a graphic it can open. Either that or the class is outputting the wrong headers for the image file. Try: not sure if this would make any difference though. You could try reinstalling or upgrading your b

RE: [PHP-WIN] Followed install.txt... and NOTHING

2002-07-01 Thread Peter
M To: Peter Subject: Re: [PHP-WIN] Followed install.txt... and NOTHING I get no messages... its as if the PHP scripting wasnt present! - Original Message - From: "Peter" <[EMAIL PROTECTED]> Newsgroups: php.windows To: "news.per.connect.net.au" <[EMAIL PRO

RE: [PHP-WIN] Followed install.txt... and NOTHING

2002-07-01 Thread Peter
wot messages do you have coming up on your browser? -Original Message- From: news.per.connect.net.au [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 2 July 2002 1:40 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Followed install.txt... and NOTHING I am using Windows XP Professional v

RE: [PHP-WIN] case-sensitive

2002-07-01 Thread Peter
include("config.php"); does not work; where is config.php in relation to the document that is calling it? eg say your using http://www.blah.com/foo.php and that needs the config.php file.. if you use just include("config.php"); then config.php must be in the same place as foo.

RE: [PHP-WIN] Tons of notices and warnings...for what reason?

2002-07-01 Thread Peter
also make sure there are no blank lines before opening the php tags then try your page... you may find that some of the other messages you are getting will dissapear when the headers are set Cheers Peter

RE: [PHP-WIN] filemtime()

2002-06-30 Thread Peter
do a search for it in the manual :) if it works on php unix it will work with php windows :) -Original Message- From: James Mclean [mailto:[EMAIL PROTECTED]] Sent: Monday, 1 July 2002 2:15 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] filemtime() Hi, Anyone know if the fun

[PHP-WIN] Re: errormessage: undefined variables - why define them?

2002-06-30 Thread Peter
if you just say $some_var = "this" that defines the variable. but if you had something like if ($some_var == "that") without setting $some_var to something beforehand you would probably get an error. "Uwe Birkenhain" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PRO

[PHP-WIN] Re: 404 error not being triggered for files with a php extension

2002-06-30 Thread Peter
Are you using the CGI version of PHP then and does this give you internal server errors as well? The only way around this I think would be to write an error handling document for Apache, written in PHP. This PHP script could then check to see if the file exists. If it doesn't, then return a 404 e

[PHP-WIN] Re: More sites

2002-06-27 Thread Peter
It depends. If you have a domain linked to your IP address then you're only going to be able to see what's at that IP. If you use some kind of domain forwarding (i.e frames, meta refresh tag or PHP header(Location: xxx)) then you could have each domain linking to a redirection page, and each redir

Re: [PHP-WIN] case-sensitive

2002-06-25 Thread Peter
PHP variable names are case sensitive aren't they? It might just be that config.php can be found by Win2000 without the $includepath-as if you were typing include("config.php"); "Chris Schmidt" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Sorry. > > I have

[PHP-WIN] Re: isset

2002-06-25 Thread Peter
You can do if(!isset($_POST['email'])) { go_back(); } else { print "Thanx"; } or if($_POST['email'] == "") { go_back(); } else { print "Thanx"; } "Jan - Cwizo" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi > > I am a building a guestbook as a course of my

RE: [PHP-WIN] Re: Implement Javascript into vB code

2002-06-24 Thread Peter
in that case wouldn't u just go some javascript tricks ? -Original Message- From: Mike [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 25 June 2002 4:13 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Re: Implement Javascript into vB code Sorry guys, let me rephrase my question

RE: [PHP-WIN] Implement Javascript into vB code

2002-06-24 Thread Peter
dunno this is PHP list not VB :) try asking a VB list mmm VicBitter mm -Original Message- From: Mike [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 25 June 2002 3:53 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Implement Javascript into vB code How wou

[PHP-WIN] Re: Mysql socket error :\

2002-06-22 Thread Peter
is mysql running on port 10106? I run mine on the default port but I don't think it was that one! Have a look in the configuration files. "Marco Lanini" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > i have a little big problem with my configuration. >

[PHP-WIN] Re: Detecting Username's again

2002-06-21 Thread Peter
I don't know myself, but you could try setting the environment variable, then getting the machine to open a page on the server which prints out all the variables, like phpinfo(). "Carl Whittaker" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I posted a little

[PHP-WIN] Re: CGI Error Instead of 404

2002-06-21 Thread Peter
Can you access other PHP files without a problem? "Anonymous" <[EMAIL PROTECTED]> wrote in message news:002e01c217fa$bfbfb4f0$3200a8c0@skurk... hi... when i try to access a .php file on my webserver that doesnt exist i get the CGI Error instead of a 404 Error since I want to use custom error pag

RE: [PHP-WIN] IIS/PHP

2002-06-18 Thread Peter
i dunno i found iis to be a pain in the butt so now i just use apache on win2k :) -Original Message- From: James Mclean [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 19 June 2002 3:37 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] IIS/PHP All, Consider the following code. $last_error_messa

[PHP-WIN] dynamic water marks?

2002-06-18 Thread Peter
the site say in jpg format when the image is displayed on any page a watermark is disply over part of the image .. to try and bluff other people into thinking the watermark is part of the image... Cheers Peter "the only dumb question is the one that wasn't asked" --

[PHP-WIN] Re: Detecting Usernames

2002-06-09 Thread Peter
I'm sure there is a a variable with this in, but it only works if you are using NT or logged on to an NT Domain. I saw it somewhere in the manual but can't find it now!! "Carl Whittaker" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I was just wondering if a

[PHP-WIN] Re: Loading extensions...

2002-06-02 Thread Peter
Try extension_dir = d:\php\extensions or extension_dir = d:/php/extensions/ etc "Chris Knipe" <[EMAIL PROTECTED]> wrote in message 001b01c20a61$56f0c3c0$[EMAIL PROTECTED]">news:001b01c20a61$56f0c3c0$[EMAIL PROTECTED]... > Hi, > > I got some problems loading php extensions (php_gettext.dll)...

[PHP-WIN] Re: a problem.

2002-06-02 Thread Peter
Does register_globals = On in the php.ini file? Instead of using $var in your script try using $_GET['var'] (you don't use post if the variable is in the URL) "D.Terziev" <[EMAIL PROTECTED]> wrote in message 002001c20a2f$9a1ae630$0100a8c0@azure">news:002001c20a2f$9a1ae630$0100a8c0@azure... > H

  1   2   >