Re: [PHP-WIN] Help me dig out of a mini-nightmare. Some parameters transfer, others do not.

2010-07-28 Thread Richard Quadling
On 28 July 2010 06:13, Bill Mudry wrote: > Along with suggestions from this group, I was able to transfer parameters > across html pages so that > a user could pick a wood species and the new page would faithfully report > details on that wood. > Later (with help from the group again) I was so gla

Re: [PHP-WIN] help needed

2008-01-25 Thread Stut
Peter D wrote: $result = mysql_query ( "SELECT * FROM 'high_score' ORDER BY score DESC LIMIT 10"); Single quotes are invalid around entity names, you should be using backticks to surround high_score. You really should be checking the return value from mysql_query. It tells you if an error o

RE: [PHP-WIN] Help with if

2007-08-07 Thread Gustav Wiberg
From: Stephen Deacon [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 07, 2007 6:12 PM To: Gustav Wiberg Subject: Re: [PHP-WIN] Help with if I did try doing echo "rank=" . $rank; echo "unregistered=" . Unregistered; if ($rank) !== Unregistered) { echo "true"; else

Re: [PHP-WIN] Help with if

2007-08-06 Thread Aleksandar Vojnovic
Are you sure you want to check in the IF sentence also for the type? If not, then try using != or == in the if chunk. Is the "Unregistered" a define/constant? -Aleksandar Gustav Wiberg wrote: Hi! I saw a several things that other people has pointed out, but there is another thing... You ar

RE: [PHP-WIN] Help with if

2007-08-06 Thread Gustav Wiberg
Hi! I saw a several things that other people has pointed out, but there is another thing... You are missing '; after height="1" echo 'https://www.paypal.com/cgi-bin/webscr"; method="post"> https://www.paypal.com/en_US/i/btn/x-click- but24.gif" border="0" name="submit" alt="Make payments wit

Re: [PHP-WIN] Help with if

2007-08-06 Thread Stut
Stephen wrote: i did take out the ) after them both and it still is not working. I have copy and pasted it, I just removed the huge blog of info that was given from PayPal that is not important. Make sure you have display_errors on and error_reporting is set to E_ALL in your php.ini. Without

Re: [PHP-WIN] Help with if

2007-08-06 Thread Stephen
do not > match. > > Also, is Unregistered a defined type? > If not, how do you compare a variable ($rank) against it ? > > > Luis > > > -Original Message- > From: Stephen [mailto:[EMAIL PROTECTED] > Sent: segunda-feira, 6 de Agosto de 2007 16:31 > To: php-wi

Re: [PHP-WIN] Help with if

2007-08-06 Thread Thomas Hearn
Stephen, Should be if ($rank != Unregistered) However, what is Unregistered? Is it a variable, constant? There is a possibility that it should be ($rank != $Unregistered) If you are comparing $rank to an actual text value then it should be ($rank != "Unregistered") Hopefully that helps.

RE: [PHP-WIN] Help with if

2007-08-06 Thread Luis Moreira (ESI-GSQP)
re a variable ($rank) against it ? Luis -Original Message- From: Stephen [mailto:[EMAIL PROTECTED] Sent: segunda-feira, 6 de Agosto de 2007 16:31 To: php-windows@lists.php.net Subject: Re: [PHP-WIN] Help with if i did take out the ) after them both and it still is not working. I have c

Re: [PHP-WIN] Help with if

2007-08-06 Thread Carlton Whitehead
Hi Stephen, It looks like there are a few problems: To: php-windows@lists.php.net Sent: Monday, August 6, 2007 11:18:22 AM (GMT-0500) America/New_York Subject: [PHP-WIN] Help with if i'm tryin to get the if command to work on my site so that I can get the buttons to show for registering if a c

Re: [PHP-WIN] Help with if

2007-08-06 Thread Stephen
i did take out the ) after them both and it still is not working. I have copy and pasted it, I just removed the huge blog of info that was given from PayPal that is not important. "Stut" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Stephen wrote: >> i'm tryin to get the if comma

Re: [PHP-WIN] Help with if

2007-08-06 Thread Stut
Stephen wrote: i'm tryin to get the if command to work on my site so that I can get the buttons to show for registering if a certain user is at the first rank. The current code that I have is as follows; Curious PHP tag, you don't want the ) after $rank and Unregistered I'm guessing should

[PHP-WIN] Re : [PHP-WIN] Help with this error please: no MySQL-Link resource supplied

2007-04-01 Thread gued steph
Just in case, the good syntax is mysql_close ($handler) where handler is a opened valid mysql database ? - Message d'origine De : sam rumaizan <[EMAIL PROTECTED]> À : php-windows@lists.php.net Cc : [EMAIL PROTECTED] Envoyé le : Lundi, 2 Avril 2007, 8h11mn 34s Objet : [PHP-WIN] Help with

[PHP-WIN] Re:[PHP-WIN] help in understanding string / integer concatenation

2005-01-11 Thread Mihai Frisan
that's what you need: $str = 'hello "' . ($i+1) . '"'; you must put $i+i in brachets in order to evaluate first the expresion $i+1 and then concatenates it to the string best regards mihai i'm not young enough to know everything Hello all; I am a new PHP user. (But not new at programing.)

Re: [PHP-WIN] help in understanding string / integer concatenation

2005-01-11 Thread Michael Purdy
Raymond This produces what I think you want: $str = 'hello' . ($i+1); Mike - Original Message - From: "Raymond Still" <[EMAIL PROTECTED]> To: Sent: Wednesday, January 12, 2005 4:50 PM Subject: [PHP-WIN] help in understanding string / integer concatenation > Hello all; > I am a new

Re: Re: [PHP-WIN] Help required for developing word reports.

2004-09-06 Thread Raul IONESCU
ED] .To: CBharadwaj ; Gryffyn, Trevor .Cc: [EMAIL PROTECTED] .Sent: Saturday, September 04, 2004 2:30 AM .Subject: Re: [PHP-WIN] Help required for developing word reports. .does this article help? just to get you thinking... why do you *need* word? are there any other reasonable altern

Re: [PHP-WIN] Help required for developing word reports.

2004-09-04 Thread operationsengineer1
t your Question " Does this article help ?". Bye Bharadwaj. - Original Message - From: [EMAIL PROTECTED] To: CBharadwaj ; Gryffyn, Trevor Cc: [EMAIL PROTECTED] Sent: Saturday, September 04, 2004 2:30 AM Subject: Re: [PHP-WIN] Help required for developing word reports. does this ar

Re: [PHP-WIN] Help required for developing word reports.

2004-09-04 Thread CBharadwaj
TED] To: CBharadwaj ; Gryffyn, Trevor Cc: [EMAIL PROTECTED] Sent: Saturday, September 04, 2004 2:30 AM Subject: Re: [PHP-WIN] Help required for developing word reports. does this article help? just to get you thinking... why do you *need* word? are there any other reasonable alternatives?

Re: [PHP-WIN] Help required for developing word reports.

2004-09-04 Thread operationsengineer1
does this article help? just to get you thinking... why do you *need* word? are there any other reasonable alternatives? could you format html so that it would print like word would print it? CBharadwaj <[EMAIL PROTECTED]> wrote:Dear All, I want to developing reports using PHP. These report

Re: [PHP-WIN] Help: a NS7 problem

2004-08-11 Thread Justin Patrin
On Wed, 11 Aug 2004 22:08:09 -0300, oleks <[EMAIL PROTECTED]> wrote: > Hi All > > How to fix a NS7 problem where it wants to add a .PHP extension to all > filenames > > I try to use this funnction: > > function download ($fileDir, $fileName) { > $completeFilePath=$fileDir.'/'.$fileName; >

Re: [PHP-WIN] help!! can not find php_printer.dll

2004-05-20 Thread Frank M. Kromann
You can download it from my site http://kromann.info/php4.php - Frank > Can someone help me find a copy of the extension of php_printer.dll > preferably for the latest version of PHP but I will not be picky I have > installed 4.3.2 on my win2k server and if I have to upgrade well that's > great.

Re: [PHP-WIN] help!! can not find php_printer.dll

2004-05-20 Thread Luis Moreira
Jeffrey D. Means wrote: Can someone help me find a copy of the extension of php_printer.dll preferably for the latest version of PHP but I will not be picky I have installed 4.3.2 on my win2k server and if I have to upgrade well that's great. Thanks in advance. --- Jeffrey D. Means CIO for Mea

Re: [PHP-WIN] Help with authenication against exchange 5.5 through LDAP

2004-03-10 Thread Firman Wandayandi
Hi Rabih! Try PEAR::Auth package. http://pear.php.net/package/Auth Regards, Firman - Original Message - From: "Rabih" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 10, 2004 6:36 PM Subject: [PHP-WIN] Help with authenication against exchange 5.5 through LDAP > H

RE: [PHP-WIN] HELP CSV's

2004-02-17 Thread Svensson, B.A.T. (HKG)
Subject: Re: [PHP-WIN] HELP CSV's If I was to save an excel file as CSV file, would the file then just contain a list of values (the excel cell values) delimited by commas? No column headings(assuming Excel allows column headings). Cheers Tryst -- PHP Windows Mailing List (http://www.ph

Re: [PHP-WIN] HELP CSV's

2004-02-17 Thread trystano
If I was to save an excel file as CSV file, would the file then just contain a list of values (the excel cell values) delimited by commas? No column headings(assuming Excel allows column headings). Cheers Tryst -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

Re: [PHP-WIN] HELP CSV's

2004-02-17 Thread Svensson, B.A.T. (HKG)
On Tue, 2004-02-17 at 08:39, idrifter wrote: > As far as the newline characters I don't know if its > feasible for your particular project but you could > strip the newline characters out with something like > this: If the CSV file is proper formated, then Excel will be able to handle those new l

RE: [PHP-WIN] HELP CSV's

2004-02-17 Thread Svensson, B.A.T. (HKG)
By the way, I tested if Excel (2000) is able to handle new lines in tab delimited files. And it was not. On the other hand, Excel is able to handle new lines in CVS files. On Tue, 2004-02-17 at 10:24, Svensson, B.A.T. (HKG) wrote: > And what will then happen when you data contains tabs? > > > On

RE: [PHP-WIN] HELP CSV's

2004-02-17 Thread Svensson, B.A.T. (HKG)
And what will then happen when you data contains tabs? On Tue, 2004-02-17 at 09:24, Angelo Zanetti wrote: > you could also delimit the fields by tab spaces (tab delimited) use > google... > > -Original Message- > From: dwight ian [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 17, 20

Re: [PHP-WIN] HELP CSV's

2004-02-17 Thread Svensson, B.A.T. (HKG)
The trivial standard solution is to quote the entries, and quote quotes inside the entires. On Tue, 2004-02-17 at 07:15, dwight ian wrote: > Good day to you All, > > Hi Im working on a project where it is nessary to download the values of the tables > in the database and > format them in csv

RE: [PHP-WIN] HELP CSV's

2004-02-17 Thread Angelo Zanetti
you could also delimit the fields by tab spaces (tab delimited) use google... -Original Message- From: dwight ian [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 17, 2004 8:16 AM To: [EMAIL PROTECTED] Subject: [PHP-WIN] HELP CSV's Good day to you All, Hi Im working on a project where

Re: [PHP-WIN] HELP CSV's

2004-02-16 Thread idrifter
To get around the comma problem you can enclose your fields in quotes: "column 1 da,ta","colu,mn 2 data","column,3 data" As far as the newline characters I don't know if its feasible for your particular project but you could strip the newline characters out with something like this: $new_string

RE: [PHP-WIN] Help needed: Why does my web page hang?

2003-12-30 Thread Svensson, B.A.T. (HKG)
It would be helpfull if you provided the reading audience with some code. -Original Message- From: Paul To: [EMAIL PROTECTED] Sent: 2003-12-30 02:48 Subject: [PHP-WIN] Help needed: Why does my web page hang? I am a php newbie developing a shopping cart for a web site. If I start at http

Re: [PHP-WIN] Help getting printer_draw_bmp() to work

2003-12-14 Thread Paul
I finally solved my problem and have another question. How can I go about making some changes to php_printer to help others with similar difficulties. Once I had some informative error messages, I solved things in a few minutes. But it took my own custom compile of php_printer to get there. I d

RE: [PHP-WIN] help with header on UNIX server

2003-11-18 Thread Svensson, B.A.T. (HKG)
The unix box webserver is probaly set to not to allow implict fetch with the GET method. Try use this: $ = $_GET[]; -Original Message- From: Lawrence To: [EMAIL PROTECTED] Sent: 2003-11-18 14:48 Subject: [PHP-WIN] help with header on UNIX server I have two page header.htm and header.

Re: [PHP-WIN] help with header on UNIX server

2003-11-18 Thread Eric COLINET
You miss the http:// before the url it could be part of the problem. Eric At 14:48 18/11/2003, Lawrence wrote: I have two page header.htm and header.php This is header.htm Link Google Link Yahoo Link Hotmail Link Php.net This is header.php When I run on my computer , IIS and windows xp , they

RE: [PHP-WIN] Help with COM

2003-10-29 Thread N . A . Morgan
Why not try to execute the macro, $Excel->application->run("book.xls!macro"); but if this is not possible / desirable, the with statement: With Selection.Borders(xlEdgeBottom) .LineStyle = xlContinuous .Weight = xlThin .ColorIndex = xlAutomatic End With is only a

Re: [PHP-WIN] help!

2003-10-28 Thread Piotr Pluciennik
Hi, check in your php.ini if you've got option "short_open_tag" set to On or try to use full php open tag - " I have been away from my computer for many months and thus, have forgotten many of > the php basics. > > I'm trying to get "back into the swing of things" and the problem I'm having is t

RE: [PHP-WIN] Help me out with Session problem

2003-10-06 Thread Charles P. Killmer
probably -Original Message- From: Kamran fff [mailto:[EMAIL PROTECTED] Sent: Saturday, October 04, 2003 2:23 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Help me out with Session problem Hi, I have WinPro2000 with IIS (PWS) and PHP4. When i strat session receive an error. Can you t

Re: [PHP-WIN] Help me!

2003-09-01 Thread Bobo Wieland
I've used something like this for optimizing webpages for different resolutions and have not had any problems... to get the value to php i then have this code: if (isset($_GET["w"])) {

RE: [PHP-WIN] Help me!

2003-08-31 Thread Svensson, B.A.T. (HKG)
Why do you want to do this? By the way, it possible with some programming, but it is not recommended to do. -Original Message- From: Leskó József To: [EMAIL PROTECTED] Sent: 30-8-03 13:20 Subject: [PHP-WIN] Help me! Hello, I am a 17 years old boy from Hungary, and I have problem with P

Re: [PHP-WIN] Help PHP + Access

2003-07-23 Thread Piotr Pluciennik
to connect to db via ODBC: $dbhandle = @odbc_connect('your_ODBC_DSN', 'user','password'); if($dbhandle == 0) { die('Database not connected'); } where "your_ODBC_DSN" is name of your ODBC source; then you use all odbc instructions to work with your db using for example

Re: [PHP-WIN] Help With CGI Timeout

2003-07-21 Thread Kit DeKat
The page only timeouts of nothing is sent to the browser in the duration of inserting the 1000+ records, if you could spit out a simple 'currently inserting record x of y' every few hundred records. you could use DHTML/Javascript to overwrite the same line on the page. whatever you want to make

RE: [PHP-WIN] help with multiple select

2003-07-17 Thread John Ellingsworth
>From the page where I allow multiple keyword submissions: echo "\n"; $sql->Query("SELECT idKeyword AS idKeyword, keyword AS keyword FROM Keyword WHERE (keyword <> '') ORDER BY keyword"); $rowcount = $sql->rows; for ($i=0; $i < $rowc

Re: [PHP-WIN] Help please: undefined index in sample code

2003-06-16 Thread toby z
thing actually went trough > > Sorry to be so thorough, but it's just to be as clear as I can > > > Luis > > > - Original Message - > From: "Stephen" <[EMAIL PROTECTED]> > To: "toby z" <[EMAIL PROTECTED]> > Cc: &quo

Re: [PHP-WIN] Help please: undefined index in sample code

2003-06-16 Thread toby z
d > it would probably be nothing to do with it. > > Unless I am mistaken > > Stephen > > - Original Message - > From: "toby z" <[EMAIL PROTECTED]> > To: "Stephen" <[EMAIL PROTECTED]> > Cc: "Windows Helplist (PHP)" <

Re: [PHP-WIN] Help please: undefined index in sample code

2003-06-16 Thread Luis Moreira
something actually went trough Sorry to be so thorough, but it's just to be as clear as I can Luis - Original Message - From: "Stephen" <[EMAIL PROTECTED]> To: "toby z" <[EMAIL PROTECTED]> Cc: "Windows Helplist (PHP)" <[EMAIL PROTECTED

Re: [PHP-WIN] Help please: undefined index in sample code

2003-06-16 Thread Stephen
ows Helplist (PHP)" <[EMAIL PROTECTED]> Sent: Monday, June 16, 2003 10:37 AM Subject: Re: [PHP-WIN] Help please: undefined index in sample code > my dear man > if u try > > >> $tireqty = $_POST['tireqty']; > > with register globals on > > it g

Re: [PHP-WIN] Help please: undefined index in sample code

2003-06-16 Thread Herhuth, Ron
r and find the >> error_reporting >> option. I recommend you change your settings to >> error_reporting = E_ALL & ~E_NOTICE >> This should solve your problem. >> >> - Original Message - >> From: "Stuart Felenstein" <[EMAIL PROTECT

Re: [PHP-WIN] Help please: undefined index in sample code

2003-06-16 Thread toby z
> From: "Stuart Felenstein" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, June 14, 2003 10:18 AM > Subject: Re: [PHP-WIN] Help please: undefined index in sample code > > > > Yes, register globals are now on. Though it doesn't

Re: [PHP-WIN] Help please: undefined index in sample code

2003-06-14 Thread Stuart Felenstein
ommend you change your settings to error_reporting = E_ALL & ~E_NOTICE This should solve your problem. - Original Message - From: "Stuart Felenstein" To: Sent: Saturday, June 14, 2003 10:18 AM Subject: Re: [PHP-WIN] Help please: undefined index in sample code > Yes,

Re: [PHP-WIN] Help please: undefined index in sample code

2003-06-14 Thread Stephen
: "Stuart Felenstein" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, June 14, 2003 10:18 AM Subject: Re: [PHP-WIN] Help please: undefined index in sample code > Yes, register globals are now on. Though it doesn't apparently matter. > > Stuart > > t

Re: [PHP-WIN] Help please: undefined index in sample code

2003-06-14 Thread Stuart Felenstein
Yes, register globals are now on. Though it doesn't apparently matter. Stuart toby z <[EMAIL PROTECTED]> wrote: register globals on or off ? --- Stuart Felenstein wrote: > I can't believe Chapter 1 , section 1 and I'm off to a bad start > already. > Using this form and script, I keep gett

Re: [PHP-WIN] Help please: undefined index in sample code

2003-06-14 Thread toby z
register globals on or off ? --- Stuart Felenstein <[EMAIL PROTECTED]> wrote: > I can't believe Chapter 1 , section 1 and I'm off to a bad start > already. > Using this form and script, I keep getting "undefined index" for > the variables I declare in the script. Running PHP 4.3.2 on XP > P

Re: [PHP-WIN] Help with gd

2003-04-03 Thread Neil Smith
Neil Smith. At 12:37 03/04/2003 +, you wrote: From: "Achilles Maroulis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Date: Wed, 2 Apr 2003 17:41:29 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject

Re: [PHP-WIN] Help with gd

2003-04-02 Thread Achilles Maroulis
Hi again... Thanx everyone who read the topic and answered ...but noone answered my question... is there a way I can insert a watermark on a jpg with gd??? Maybe it's because there isn't a solution for my problem. Thanx again for trying to help... -- PHP Windows Mailing List (http://www.p

RE: [PHP-WIN] Help with gd

2003-04-02 Thread Svensson, B.A.T. (HKG)
I still think the "Holmgang" approach is the most effective one. :) > -Original Message- > From: Bruce Barnes > Subject: RE: [PHP-WIN] Help with gd > > > Here in the US, the issue of Copyrights on pictures used on web sites is -- PHP Windows Mailing L

RE: [PHP-WIN] Help with gd

2003-04-02 Thread Bruce Barnes
register a copyright for the item to protect it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 07:16 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] Help with gd I can't answer your question, and this may ev

RE: [PHP-WIN] Help with gd

2003-04-02 Thread Bruce Barnes
USE IT. Companies that own copyrights and the US courts are beginning to take Copyright Infringement VERY SERVIOSLY. Bruce Barnes. CEO ChicagoNetTech / Rinella Internet Services Chicago IL -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 07:16 To

RE: [PHP-WIN] Help with gd

2003-04-02 Thread Svensson, B.A.T. (HKG)
> The law will doubtless be different in other countries. Check on the > internet for the law in yours. In Scandinavia you claim copyright by demanding "holmgång" with your opponent. Basically this means that one goes berserk and fights with sharp swords (or axes). The one that decapitates the oth

RE: [PHP-WIN] Help with gd

2003-04-02 Thread Svensson, B.A.T. (HKG)
> In any case - I seriously doubt that a watermark is unremovable by a > talented hacker. One don't need to be a hacker for that... Fast Fourier Transform is enough. :) -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] Help with gd

2003-04-02 Thread Jill . Ramonsky
I can't answer your question, and this may even be off-topic, but copyright law is never so simple as it may at first seem. I don't know the law in any country but my own (Britain), but here in Britain, adding a watermark does NOT make a picture copyright. In Britain, what makes a picture, or a no

Re: [PHP-WIN] help! for my project...

2003-02-24 Thread toby z
hay jeff how much time u got there do u understand anyother language then english well if u do i search for articles & display results on my site u can chek it out at www.zaban.net then v will discuss what xactly n how u wanna do that im sorry the site doesnt support english yet

Re: [PHP-WIN] Help!

2003-01-23 Thread Dash McElroy
Check your php.ini. register_globals = off would be your culprit. Check www.php.net/register_globals for instructions on how to use the new "superglobals" ($_POST, $_GET, etc) or change it to on. Restart Apache after you change it. (one more vote for a register_globals email bot...) -Dash One P

Re: [PHP-WIN] Help needed about mailing!

2003-01-17 Thread Dash McElroy
Try telnetting to port 25 of the server (armed with SMTP commands, of course) and see if it will let you connect. Perhaps the new exchange server of yours is disallowing relaying or something else odd. Works great with mine, as long as I email to my internal domain (won't let me relay. I've tried

RE: [PHP-WIN] Help using Mail() on XP standalone config

2003-01-16 Thread Allan
ne my deed, thanks for the follow up Passion and Presence Allan Hardy -Original Message- From: Dash McElroy [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 12:24 PM To: Allan Hardy Cc: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] Help using Mail() on XP standalone config Allan, You

Re: [PHP-WIN] Help using Mail() on XP standalone config

2003-01-16 Thread Dash McElroy
Allan, You need some kind of an SMTP server for mail() on Win32. Either find a free one that you can load on your machine for testing, or use your ISP's (or if you're at work, possibly their internal mail server) mailserver. Then point your php.ini's 'SMTP = ' line towards the mailserver. Note th

Re: [PHP-WIN] Help required... Simple File Upload

2002-11-24 Thread Raheel Hussain
$file = $_FILES['userfile']['tmp_name']; print_r($file . ""); print($_FILES['userfile']['size'] . ""); move_uploaded_file($file, "/Uploads"); /* gives the following output d:\raheel\w3sites\phpDE.tmp 73699 */ /* $file = $_FILES['userfile']['tmp_name']; print_r($file . ""); print($_FILES['userfile

Re: [PHP-WIN] Help required... Simple File Upload

2002-11-24 Thread Raheel Hussain
$file = $_FILES['userfile']['tmp_name']; print_r($file . ""); print($_FILES['userfile']['size'] . ""); move_uploaded_file($file, "/Uploads"); /* gives the following output d:\raheel\w3sites\phpDE.tmp 73699 */ /* $file = $_FILES['userfile']['tmp_name']; print_r($file . ""); print($_FILES['userfile

Re: [PHP-WIN] Help required... Simple File Upload

2002-11-24 Thread Raheel Hussain
/* i m now using the following script to upload the file but still it is not working.. I there would've been some permission problem , i have given "full control" permission to the whold directory even the drive there the site is hosted. now the script is generating the following out put which m

Re: [PHP-WIN] Help required... Simple File Upload

2002-11-24 Thread Dash McElroy
I haven't done but one file upload, but it seems from the error message that maybe PHP is trying to write the file to d:\raheel\w3sites\txtfiledemo\uploads\ (as a file?). Perhaps you should include the $_FILES['userfile']['name'] to the ending statement (which I believe is what the file's original

RE: [PHP-WIN] HELP !!!

2002-11-23 Thread Rich Gray
Not sure what you are trying to do here... are you trying to set $a from the url i.e. http://blahblah.blah?a=1234 ? If yes then you will need to use $_GET['a'] in your script as variables are no longer automatically assigned from external sources... e.g. HTH Rich -Original Message- From

Re: [PHP-WIN] HELP !!!

2002-11-23 Thread Kevin Smith
hi Kata, Hmmm are you still defining $a=123 and then on the next defining $a = adadada, if so, then the syntax for $a should be : $a = "adadada"; for text and $a = 123; for numbers Regards, Kevin - Original Message - From: "kata" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent:

RE: [PHP-WIN] HELP - problems with mysql and select .

2002-11-12 Thread Rich Gray
I'm not sure what you are talking about here so I will have to guess... If by JAVA you mean javascript, well that operates client side and it cannot directly interact with a server side PHP script which has finished execution by the time the page is displayed. If you are trying to display data wh

Re: [PHP-WIN] Help on \t \r \n

2002-11-03 Thread Cam Dunstan
dee, Use the string function nl2br($myblahstring) This converts ordinary linebreaks (newline chars) to html tags on the fly when displaying text out of a database for instance. In your example though with straight echos you have to expicitly echo at end of each blah echo, no matter what browse

RE: [PHP-WIN] Help on \t \r \n

2002-11-03 Thread Davy Obdam
Hi dee > Can anyone help me on this very simple problem, I'm a newbie, > but the problem seems so simple and it's buggering me. > > I have 423 xp version installed. When trying out how to > display any of the escaped characters e.g. > > echo("blah blah. \n"); > echo("more blahs..."); Use

Re: [PHP-WIN] help!

2002-10-21 Thread Nino V
Sorry!!! The right syntax is: echo $_GET['Author']; Bye, Nino - Original Message - From: "jeffrey payao" <[EMAIL PROTECTED]> To: "Nino V" <[EMAIL PROTECTED]> Sent: Tuesday, October 22, 2002 8:28 AM Subject: Re: [PHP-WIN] help! > Thank

Re: [PHP-WIN] help!

2002-10-21 Thread Nino V
Hi, using PHP 4.2.3, you should use echo $_GET("Author"); (if you use the method "get") or echo $_POST("Author"); (if you use the method "post") Otherwise (and the code will be back compatible), put this lines at the very beginning of your php-code: if(!isset($_POST)) $_POST=$HTTP_POST_VARS; if(

Re: [PHP-WIN] Help, Parse error caused by quotes andapostrophes in function, How do I fix this?

2002-09-11 Thread Kurtis Harper
Thanks for your help :o) - Original Message - From: "Steve" <[EMAIL PROTECTED]> To: "Kurtis Harper" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, September 10, 2002 1:04 PM Subject: Re: [PHP-WIN] Help, Parse error caused by quotes andapos

Re: [PHP-WIN] Help, Parse error caused by quotes andapostrophes infunction, How do I fix this?

2002-09-10 Thread Steve
Try this: exec("convert picture.jpg -font Arial-Bold -pointsize 20 -fill red -gravity southeast -draw \"text 10,10 'my text to add to picture'\" text-overlay.jpg"); That SHOULD work; if it doesn't, put \' isntead of ' as well. " is more friendly about escaping things than ' is :-) ' is fo

Re: [PHP-WIN] Help! I will even Donate through Paypal, I only want to make a thumbnail of a picture through php code.

2002-09-07 Thread Kurtis Harper
LOL, there is no error. It seems as though the does not launch the convert.exe . Is there rights I have to setup in IIS to allow a program to be run through PHP. I am not sure if there exec() command is ment for this. If it is I must be missing something :( "Rich Gray" <[EMAIL PROTECTED]> wro

RE: [PHP-WIN] Help! I will even Donate through Paypal, I only want to make a thumbnail of a picture through php code.

2002-09-07 Thread Rich Gray
Hi Kurtis So what error do you get when you run exec on convert.exe? Rich -Original Message- From: Kurtis Harper [mailto:[EMAIL PROTECTED]] Sent: 07 September 2002 08:55 To: [EMAIL PROTECTED] Subject: [PHP-WIN] Help! I will even Donate through Paypal, I only want to make a thumbnail of a

Re: [PHP-WIN] Help on new install please ..

2002-09-02 Thread Giannis Vrentzos
Try to find DirectoryIndex in httpd.conf and check if index.php is there.It has to look like DirectoryIndex index.html index.php John David Tod Sigafoos wrote: > I am having problems on a new install of PHP and Apache > > Win2k, Php 4.2.2, apache 1.3.26 > > 1) Install apache. Then browse to

RE: [PHP-WIN] Help on new install please ..

2002-08-30 Thread dash php
Try the following: Apache as SAPI: a) copied php4ts.dll to windows/system32 directory b) added following lines to httpd.conf LoadModule php4_module "c:/php/sapi/php4apache.dll" # try it w/o this line AddModule mod_php4.c AddType applicaton/x-httpd-php .php Your phpinfo.ph

Re: [PHP-WIN] Help NT Authentication

2002-07-29 Thread Eugenio Tacchini
At 07.12 29/07/2002 +0800, KK Lee wrote: >Dear ALL, > >I'm working on a win2k, IIS 5.0, PHP and MYSQL system. >I activated Integrated windows authentication using IIS and i was able >to popup a login dialog box and could restrict access by authenticating >through the NT PDC. > >The problem is how

RE: [PHP-WIN] HELP!!!

2002-07-01 Thread Brian McGarvie
Entering data in the form and then pressing submit... it just stays at the form, doesn't even try to progress... > -Original Message- > From: Julie Meloni [mailto:[EMAIL PROTECTED]] > Sent: 01 July 2002 9:20 AM > To: Brian McGarvie > Cc: [EMAIL PROTECTED] > Subj

RE: [PHP-WIN] HELP!!!

2002-07-01 Thread Brian McGarvie
It is using sessions from the outset... As soon as I goto the URL it IE5.0 warns about cookies and i obviously allow it to make it... > -Original Message- > From: Brian McGarvie > Sent: 01 July 2002 9:20 AM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] HELP!!! > > > I have a failrly c

Re: [PHP-WIN] HELP!!!

2002-07-01 Thread Julie Meloni
BM> It works fine using IE 5.5+ (PC/Mac), NN4/NN6 (PC/Mac), however when I try to use IE 5.0 (PC) it does'nt! PHP doesn't know what browser you are using, nor does it care (unless you tell it to). Provide more information about what "isn't working" and someone can probably help you out. For ex

RE: [PHP-WIN] HELP!!!

2002-07-01 Thread Jarrad Kabral
sorry you'll have to be a little more specific than "it doesnt work, whats wrong" Jarrad Kabral -Original Message- From: Brian McGarvie [mailto:[EMAIL PROTECTED]] Sent: Monday, 1 July 2002 6:20 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] HELP!!! I have a failrly complex web-applicat

Re: [PHP-WIN] help with upload IIS php 4.1.2

2002-04-18 Thread Nicole Amashta
Make sure the path in you PHP.ini to your temp folder is setup and that path exists. When you upload files, they are temporarily placed in this temp directory (which you set in php.ini). Double check this exists. good luck, -- Nicole Amashta Web Application Developer www.aeontrek.com "Cybero"

Re: [PHP-WIN] help with upload IIS php 4.1.2

2002-04-18 Thread cybero
Section in my php.ini register_globals = on I also try $_FILES["userfile"]["name"] but nothing. Alberto. Sartori <[EMAIL PROTECTED]> píse v diskusním pøíspìvku:[EMAIL PROTECTED] k.com... If you've turned on the Global Variables you can use this: $_FILES["userfile"]["name"] $_FILES["userfile"

Re: [PHP-WIN] HELP: USING $_SESSION instead of session_register()

2002-03-29 Thread Bossanova
;'Bossanova'" <[EMAIL PROTECTED]> Sent: Friday, March 29, 2002 10:02 AM Subject: RE: [PHP-WIN] HELP: USING $_SESSION instead of session_register() > make sure in php.ini for session.save_path you have a > hard drive path like c:\tmp instead of \tmp as shown.

Re: [PHP-WIN] HELP: USING $_SESSION instead of session_register()

2002-03-29 Thread Bossanova
0 if that would make any difference. Thanks. http://localhost/reg_2.php?PHPSESSID=1b18cbc3eb64a63b4cd947f6c58201b8 - Original Message - From: "Pac mon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, March 28, 2002 10:15 PM S

Re: [PHP-WIN] HELP: USING $_SESSION instead of session_register()

2002-03-28 Thread Pac mon
Not quite... Here's something that ought to work better for you: page1-- "; echo session_id() . ""; echo ""; ?> reg_2.php page2 "; ?> Original Message Follows From: "Bossanova" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: [PHP-WIN] HELP: USING $_S

Re: [PHP-WIN] (help)random image??

2002-03-21 Thread Rasmus Lerdorf
I actually just hacked one up. This hooks into a Gallery (gallery.sourceforge.org) album directory and picks out files with the string, "sized", in their filenames. It then creates an array such that the more recent pictures get more entries in the array which means when I pick a random image I a

RE: [PHP-WIN] Help me pleaase !!!!

2002-03-05 Thread alain samoun
Sent: Tuesday, March 05, 2002 8:44 PM To: Collins, Robert; [EMAIL PROTECTED] Subject: Re: [PHP-WIN] Help me pleaase But everything was working fine. What has gone wrong now. - Original Message - From: "Collins, Robert" <[EMAIL PROTECTED]> To: "'Athar Hameed&#x

Re: [PHP-WIN] Help me pleaase !!!!

2002-03-05 Thread Athar Hameed
But everything was working fine. What has gone wrong now. - Original Message - From: "Collins, Robert" <[EMAIL PROTECTED]> To: "'Athar Hameed'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, March 06, 2002 2:29 AM Subject: RE: [

RE: [PHP-WIN] Help me pleaase !!!!

2002-03-05 Thread Collins, Robert
it is possible you are doing multiple requires for the same file try require_once ("dbconnect.inc"); Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Email : [EMAIL PROTECTED] -Original Message- From: Athar Hameed [mailto:[EMAIL PROTECTED]] Se

Re: [PHP-WIN] Help with XSL

2002-02-25 Thread J Wynia
I did an XSLT demo a while back for the Twin Cities PHP User Group. My notes and demo code are available at http://www.tcphp.org/meeting_notes/xslt/. I wrote the demo on Windows. "Phillip Fox" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > On Mon, 25 Feb

Re: [PHP-WIN] Help with XSL

2002-02-25 Thread Phillip Fox
On Mon, 25 Feb 2002, Noel Billig wrote: > Anybody out there get XSL transforms working with PHP4.1.1 and Apache1.3.22 > (Win32)? Yes, I got it to work, but before I did I was getting the same encoding error as you. I'm not sure what is causing your iconv dll errors though. I have a iconv-1.3.d

RE: [PHP-WIN] HELP! with PHP extension <

2002-01-28 Thread Martin Lindhe
> Hi all, > > Here is the situation. > > I have Windows 2000 SP2, IIS5 running PHP 4.1.1 using CGI. > > My PHP folder is C:\php > Extension Folder is: C:\php\extension > PHP.INI file: extention_dir = "C:\php\extension\" Are you sure the foldername is "extension"? Just asking you to doublecheck

  1   2   >