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] IIS/PHP

2002-06-18 Thread James Mclean
All, Consider the following code. $last_error_message"; }else{ print_r($res); } } ?> test function Number to Query Now this code works flawlessly under Apache/PHP 4.2., but on IIS with PHP 4.2. it fails to execute the first if statement once a number is ent

[PHP-WIN] Header() problem

2002-06-18 Thread David Redmond
Has anyone encountered a problem whereby using the Header("Location: blah") function to redirect the client to another page, sometimes it comes up with this; -- snip -- CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return ar

[PHP-WIN] Re: [PHP] dynamic water marks?

2002-06-18 Thread Clay Loveless
Or, if the watermarks *must* be dynamically generated and visible, use something like ImageMagik to lay something transparent over the image on the fly. Wouldn't be exactly speedy, but would do the job. (I've seen this done on a few sites before -- visible graphic watermark is customized for the l

[PHP-WIN] Re: [PHP] dynamic water marks?

2002-06-18 Thread Justin French
The only ways would be: 1. dynamically add the water mark to the actual image (change the pixels) so that the source file has a watermark. 2. add a css layer on top of the image that contains a watermark Which brings me to the question, why don't you just add a watermark to each image? If a c

[PHP-WIN] dynamic water marks?

2002-06-18 Thread Peter
howdy does any one know if it's possible to assign a dynamic watermark to am image or place a watermark effect over a images so it looks like it's on the file when it's not really?...with out going into layers hopefully ... for example... a user up loads a simple image to the site say in jp

[PHP-WIN] RE: [PHP-INST] Windows Install troubles.

2002-06-18 Thread Viraj Kalinga Abayarathna
Hi, You have done some errornous escapings from php in your script. I did some fewer modifications and now script is working. Compare the ?>'s //end escape here for the first if block //start the html content Unable to connect to the database server at this time. //

[PHP-WIN] Apache 2.0.39 and PHP 4.2.1 install problem (PHP won't let apache start)

2002-06-18 Thread Dash McElroy
Due to the CERT notification about the Apache Web Server Chunk Handling Vulnerability, I decided to update my Apache2 version from 2.0.35 to 2.0.39. I have tried this on Win2000Pro SP2 and WinNT4 workstation SP6a. The web server installs fine. PHP itself just comes from the zip file and I put it

php-windows Digest 19 Jun 2002 00:19:07 -0000 Issue 1199

2002-06-18 Thread php-windows-digest-help
php-windows Digest 19 Jun 2002 00:19:07 - Issue 1199 Topics (messages 14265 through 14283): Re: Date Comparsion 14265 by: Svensson, B.A.T. (HKG) 14273 by: Lee Doolan Re: MSIE6.2 14266 by: Eduards Cauna 14268 by: Dean Hayes freetype.dll 14267 by: Bri

[PHP-WIN] Re: [PHP-INST] Windows Install troubles.

2002-06-18 Thread MikeParton
You might want to look at "echo"ing your HTML inside your php code. Seems more simple to me. So, what you have here would look like: $dbuser = "username"; > $dbpass = "password"; > $db = "databssename"; > $LoginDB=@mysql_connect($dbhost, $dbuser, $dbpass); or die("Unable to connect to

[PHP-WIN] Running as a Module and as EXE on the same Apache server?

2002-06-18 Thread Alan Leff
Can I run php v4 both as a module and as a direct executable on the same Apache server or using two instances of Apache on the same server? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Script not working correctly

2002-06-18 Thread Scott Hurring
Adjust the 'max_execution_time' in php.ini or with a call to ini_set() and it won't timeout. PHP is a great language, don't let something a silly as a default timeout value dissuade you from using it to do "longer running" things. -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac

Re: [PHP-WIN] Not a PHP problem, it's a MySQL problem

2002-06-18 Thread Scott Hurring
Try putting a "LIMIT 10" after a valid query -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > top 10 *? What is that supposed to be? Please go read the MySQL docs. > > -R

RE: [PHP-WIN] PDF Form download changes in IE broke my app?

2002-06-18 Thread Asendorf, John
Never mind... I know what caused it. I recently set the web server to expire cotent immediately... I'll bet that's what did it. - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-

[PHP-WIN] PDF Form download changes in IE broke my app?

2002-06-18 Thread Asendorf, John
Has anyone else having trouble with the latest IE and PDF Forms (FDF)? I had a nice application that used to work and is now broken. I think it has something to do with the latest "upgrades and cold(I mean hot)fixes" to IE. I now get a "download file" alert with the "Open" button grayed out. It

Re: [PHP-WIN] Not a PHP problem, it's a MySQL problem

2002-06-18 Thread Rasmus Lerdorf
top 10 *? What is that supposed to be? Please go read the MySQL docs. -Rasmus On Tue, 18 Jun 2002, James Meers wrote: > Sorry, its not a PHP problem, it's a MySQL problem. > > I am trying to do a MySQL query below: > > select top 10 * from table order by record_number desc > > However, I

Re: [PHP-WIN] getting variables?

2002-06-18 Thread Rasmus Lerdorf
foreach($_POST as $name=>$value) { echo "$name = $value\n"; } On Tue, 18 Jun 2002, Renaldo De Silva wrote: > how can i get variables posted from a form without calling then distinctly. > > i want to get the names of all the variables the form has poster > automatically. > can that be done a

[PHP-WIN] Not a PHP problem, it's a MySQL problem

2002-06-18 Thread James Meers
Sorry, its not a PHP problem, it's a MySQL problem. I am trying to do a MySQL query below: select top 10 * from table order by record_number desc However, I am getting the following error: You have an error in your SQL syntax near '10 * from table order by record_number desc' at line

[PHP-WIN] getting variables?

2002-06-18 Thread Renaldo De Silva
how can i get variables posted from a form without calling then distinctly. i want to get the names of all the variables the form has poster automatically. can that be done and if it can how? Thanks Renaldo -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

[PHP-WIN] Re: Date Comparsion

2002-06-18 Thread Lee Doolan
> "Jack" == Jack <[EMAIL PROTECTED]> writes: Jack> Dear all I had a form which let user to input the leave_from Jack> and leave_to date into, the format of the date that user Jack> input is "-mm-dd". Now i want to compare the leave_from Jack> and leave_to date to find ou

RE: [PHP-WIN] LDAP...

2002-06-18 Thread Mikey
You don't have to move this dll to your system dir, only to the extensions dir - have you restarted your web server? > -Original Message- > From: Eduards Cauna [mailto:[EMAIL PROTECTED]] > Sent: 18 June 2002 12:17 > To: [EMAIL PROTECTED]> > Subject: Re: [PHP-WIN] LDAP... > > > At 11:45 20

Re: [PHP-WIN] LDAP...

2002-06-18 Thread Eduards Cauna
At 11:45 2002.06.18.l, you wrote: >I'm just experimenting with LDAP... > >[ Windows 2000 Server/IIS/php 4.2.1] > >I've uncommented the php_ldap.dll in my .ini... when I execute the >following simple piece of code it gives me: > >Fatal error: Call to undefined function: ldap_connect() Unfortunate

[PHP-WIN] GD...

2002-06-18 Thread Brian McGarvie
OK... why would imaged be shown as if they do not exist? [ http://www.the-local-guide.com :: http://www.mcgarvie.net ] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Mcrypt Binary dll's

2002-06-18 Thread Conover, Ryan
Anyone know where I can get the Windows Binary dll's for the Mcrypt Library. Ryan Conover [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.pitt.edu/~rscst25/ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] MSIE6.2

2002-06-18 Thread Dean Hayes
hey this is the code i can use to display about MSIE6 but even when i turn off show http friendly error's i still get a blank page unless i use the folowing code can anyone tell me a way to use this in a mysql way as i need to add what the browser type is into my mysql database but first i nee

[PHP-WIN] freetype.dll

2002-06-18 Thread Brian McGarvie
can anyone send me the above file? can't find it anywhere! [ http://www.the-local-guide.com :: http://www.mcgarvie.net ] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] MSIE6.2

2002-06-18 Thread Eduards Cauna
At 05:35 2002.06.18.l`ku\®, you wrote: >does any one know a way i can use the command $HTTP_REFERER >$HTTP_USER_AGENT & $REMOTE_ADDR in internet explorer6.2 as every time i >try to use the commands it returns a blank page unless i use the if and >elseif statments. This would be a great help as

RE: [PHP-WIN] Date Comparsion

2002-06-18 Thread Svensson, B.A.T. (HKG)
Check out http://www.php.net/manual/en/ref.datetime.php look in the answer below, I found a couple of support function that might help you. Like this one: function dayDiff($timestamp1,$timestamp2) { $dayInYear1 = getDayOfYear($timestamp1);

php-windows Digest 18 Jun 2002 09:25:14 -0000 Issue 1198

2002-06-18 Thread php-windows-digest-help
php-windows Digest 18 Jun 2002 09:25:14 - Issue 1198 Topics (messages 14249 through 14264): Re: [PHP-INST] Windows Install troubles. 14249 by: MikeParton Guidelines for installing PHP on Apache Win32 - comments please 14250 by: Jacques Steyn Re: Windows Install troubles.

[PHP-WIN] Date Comparsion

2002-06-18 Thread Jack
Dear all I had a form which let user to input the leave_from and leave_to date into, the format of the date that user input is "-mm-dd". Now i want to compare the leave_from and leave_to date to find out the number of days between! What should i do or any function in php can provide this oper

[PHP-WIN] LDAP...

2002-06-18 Thread Brian McGarvie
I'm just experimenting with LDAP... [ Windows 2000 Server/IIS/php 4.2.1] I've uncommented the php_ldap.dll in my .ini... when I execute the following simple piece of code it gives me: Fatal error: Call to undefined function: ldap_connect() in E:\wwwshell\test\index.php on line 5 What have I

Re: [PHP-WIN] Re: appending to stored form input in xml file.... ????

2002-06-18 Thread Sebastian Zarzycki
- Original Message - From: "toby z" <[EMAIL PROTECTED]> To: "Tomator" <[EMAIL PROTECTED]>; "php hlp list" <[EMAIL PROTECTED]> Sent: Tuesday, June 18, 2002 9:40 AM Subject: Re: [PHP-WIN] Re: appending to stored form input in xml file > >Or > >store your data in database (such as

Re: [PHP-WIN] Re: appending to stored form input in xml file.... ????

2002-06-18 Thread toby z
>Or >store your data in database (such as textfile) and >generate your XML >dynamically with PHP as others do. thnx but please do tell me how i can do that ... id be really gratefull if u could give me a link or sumthing . since ive just started working with these tools thnx a mi