Re: [PHP-WIN] Please Guide me ( Unix and Windows Severs)

2002-11-01 Thread Cam Dunstan
raheel, Script wise you should have no dramas at all running them on unix box (or linux). Just ftp them straight across and let em rip. the only changes would be of course logging onto a different database server perhaps. Most environments typically do not have session_autostart set to on (1) b

php-windows Digest 2 Nov 2002 06:39:35 -0000 Issue 1419

2002-11-01 Thread php-windows-digest-help
php-windows Digest 2 Nov 2002 06:39:35 - Issue 1419 Topics (messages 16660 through 16686): Re: Problem with php-script, possible a php.ini a fault 16660 by: erythros 16661 by: Asendorf, John 16662 by: Michael Hazelden 16663 by: Svensson, B.A.T. (HKG)

[PHP-WIN] Please Guide me ( Unix and Windows Severs)

2002-11-01 Thread Raheel Hussain
hi, I m working on a site which is to be hosted on a unix or linux server, but the idea which i don't have is the difference between the unix/linux and windows server, i wonder there is no difference in the php scripts, but the only difference will be the configuration of php on windows and uni

[PHP-WIN] uploading help please

2002-11-01 Thread marcelo
Hi need some help please What is wrong with my code? it is supposed to upload 2 files but instead gives me this error Warning: Unable to open 'Array' for reading The code: O Leme upload Jornal O Leme  

Re: [PHP-WIN] Problem with php-script, possible a php.ini a fault ....

2002-11-01 Thread Cam Dunstan
- Original Message - From: "Michael Hazelden" <[EMAIL PROTECTED]> To: "'Asendorf, John'" <[EMAIL PROTECTED]>; "Svensson, B.A.T. (HKG)" <[EMAIL PROTECTED]>; "Php-Windows (E-mail)" <[EMAIL PROTECTED]> Sent: Saturday, November 02, 2002 3:23 AM Subject: RE: [PHP-WIN] Problem with php-script, p

Re: [PHP-WIN] is_file() can't tell the difference between file anddirectory in Win32...

2002-11-01 Thread Miha Nedok
I had similar problems. Use strcmp() with .. and . . Or use filetype() to determine if it is a file or directory or ... Mike On Fri, 1 Nov 2002, Jack Kelly Dobson wrote: > Date: Fri, 1 Nov 2002 16:39:55 -0600 > From: Jack Kelly Dobson <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: [PH

[PHP-WIN] is_file() can't tell the difference between file and directory in Win32...

2002-11-01 Thread Jack Kelly Dobson
Hello, This is the first time I've worked with these functions so I'm sure it's in Indian, not the arrows. This script identifies both files and directories as directories. What am I doing wrong here? I'm running as a .dll under IIS. "); } else { print($fi

Re: [PHP-WIN] Upload image file

2002-11-01 Thread Shaun Thornburgh
Thanks for your reply, it works fine if i upload one image, but if attempt upload another image (with a defferent name) to the same directory it uploads half or less than half of the image, have you got any iedas why this is happening? "John Asendorf" <[EMAIL PROTECTED]> wrote in message news:8A

[PHP-WIN] Re: sessions troubles on windows2000

2002-11-01 Thread ashutosh
me also same problem Mark Anderson <[EMAIL PROTECTED]> wrote in message news:47CF48E973DA9084B9A11885799D447A@;markblaster.medscape.com... > Hi! > > I'm running Apache/1.3.24 (Win32) and php 4.2.1 as a apache module on > a windows2000 professional box. everything seems to be fine but > sessions. Th

RE: [PHP-WIN] Upload image file

2002-11-01 Thread Asendorf, John
Throw some debugging echoes in there to show you what the file names and directories are looking like. - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium

[PHP-WIN] Upload image file

2002-11-01 Thread Shaun Thornburgh
I am attempting to upload image files to the server from a users browser using the following code, however, the images seem to get corrupted, they look completely different and the file sizes are generally smaller, also it sometimes says file upload unsuccessful, even when it does upload the file?

Re: [PHP-WIN] deleting files

2002-11-01 Thread Miha Nedok
Look for unlink() . Mike On Fri, 1 Nov 2002, DaMouse wrote: > Date: Fri, 1 Nov 2002 21:19:47 - > From: DaMouse <[EMAIL PROTECTED]> > To: PHP - Win <[EMAIL PROTECTED]> > Subject: [PHP-WIN] deleting files > > how do you delete files in php? > > > Ensign Baker > HCO Officer > USS Atlantis

[PHP-WIN] deleting files

2002-11-01 Thread DaMouse
how do you delete files in php?   Ensign BakerHCO OfficerUSS Atlantis

Re: [PHP-WIN] ordering vars in an array

2002-11-01 Thread DaMouse
Thanks peeps for you time I think I'll use sort since they're already integers - Original Message - From: Dash McElroy <[EMAIL PROTECTED]> To: 'DaMouse' <[EMAIL PROTECTED]>; PHP - Win <[EMAIL PROTECTED]> Sent: Friday, November 01, 2002 9:02 PM Subject: RE: [PHP-WIN] ordering vars in an arra

[PHP-WIN] Re: ordering vars in an array

2002-11-01 Thread erythros
check this out dude http://www.php.net/manual/en/function.natsort.php "Damouse" <[EMAIL PROTECTED]> wrote in message news:00e201c281e3$5fe074e0$3700a8c0@;DaMouse... right I've got an array full of integers 0,6,7,8,9,10 only problem is because I grabbed these out of a directory list they are

RE: [PHP-WIN] ordering vars in an array

2002-11-01 Thread Dash McElroy
Try sort (http://www.php.net/manual/en/function.sort.php ). You're sorting numbers, so you'd probably want to do this: $array = sort($array, SORT_NUMERIC); -Dash -Original Message- From: DaMouse [mailto:damouse@;ntlworld.com] Sent: Frid

[PHP-WIN] ordering vars in an array

2002-11-01 Thread DaMouse
right I've got an array full of integers 0,6,7,8,9,10 only problem is because I grabbed these out of a directory list they are ordered 0,10,6,7,8,9 anyone got an idea how to rearrange the array to make them go the correct way   Ensign BakerHCO OfficerUSS Atlantis

[PHP-WIN] Re: Problem with php-script, possible a php.ini a fault....

2002-11-01 Thread neil smith
Hahahaha :-) An I have a problem, my php interpreter dont mak da coffee even when I shout 'brew up you bastard!' Anybody know what n prb is, plz ? Thx a million guyz LOL At 16:01 01/11/2002 +, you wrote: From: "Svensson, B.A.T. (HKG)" <[EMAIL PROTECTED]> To: "Php-Windows (E-mail)" <[EMAIL

[PHP-WIN] Re: Download.php

2002-11-01 Thread George Nicolae
take a look at the header() function at http://www.php.net/manual/en/function.header.php -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com "Damouse" <[EMAIL PROTECTED]> wrote in message news:003201c281b5$78074040$3700a8c0@

RE: [PHP-WIN] file download .......

2002-11-01 Thread Dash McElroy
Toby, Look at this page: http://www.php.net/manual/en/function.header.php (excerpt below) If you want the user to be prompted to save the data you are sending, such as a generated PDF file, you can use the Content-Disposition header to supply a recommended filename and force the browser to displ

RE: [PHP-WIN] Form text with reserved chars

2002-11-01 Thread Dash McElroy
Or, to strip slashes off a specific variable (set_magic_quotes will affect all variables) try: $text = stripslashes($text); -Dash -Original Message- From: Miha Nedok [mailto:mike@;voyager.unix-systems.net] Sent: Friday, November 01, 2002 5:00 AM To: news.php.net Cc: [EMAIL PROTECTED]

[PHP-WIN] PHP behind a proxy server

2002-11-01 Thread Thomas Keller
Hello there! I've set up a Win2k server with IIS and MySQL 3.23.52. This server is an internal server whose internet connection is routed through a proxy server running on port 9090 of some other server. A few of my scripts I ported on this machine now require an internet connection (get_meta_tag

Re: [PHP-WIN] Problem with php-script, possible a php.ini a fault ....

2002-11-01 Thread erythros
try sloppy code. it works every time, they love it! "Michael Hazelden" <[EMAIL PROTECTED]> wrote in message news:C1260EE72F22C44F833D033A17524AD7016A7024@;lhoexc1... > Rat Traps? > > What did you bate them with? I never found anything suitable! > > -Original Message- > From: Asendorf, John

RE: [PHP-WIN] Problem with php-script, possible a php.ini a fault....

2002-11-01 Thread Asendorf, John
They also can explain away bite marks to your wife. "Honey, I SWEAR... it was the goblins who gave me that bite mark on my neck... no, uh... I don't KNOW why the goblins were wearing lipstick!" - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.c

RE: [PHP-WIN] Problem with php-script, possible a php.ini a fault ....

2002-11-01 Thread Asendorf, John
They REALLY like sardines. I had a can of them that had been sitting on my desk for about a week and they took right to them... that's how I found out! - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking Cou

RE: [PHP-WIN] Problem with php-script, possible a php.ini a fault....

2002-11-01 Thread Svensson, B.A.T. (HKG)
What functionality? Can you scare end users and the boss away? > -Original Message- > From: Asendorf, John [mailto:JAsendorf@;lcounty.com] > Sent: Friday, November 01, 2002 5:20 PM > To: Svensson, B.A.T. (HKG); Php-Windows (E-mail) > Subject: RE: [PHP-WIN] Problem with php-script, possible

RE: [PHP-WIN] Problem with php-script, possible a php.ini a fault ....

2002-11-01 Thread Michael Hazelden
Rat Traps? What did you bate them with? I never found anything suitable! -Original Message- From: Asendorf, John [mailto:JAsendorf@;lcounty.com] Sent: 01 November 2002 16:20 To: Svensson, B.A.T. (HKG); Php-Windows (E-mail) Subject: RE: [PHP-WIN] Problem with php-script, possible a php.ini

RE: [PHP-WIN] Problem with php-script, possible a php.ini a fault....

2002-11-01 Thread Asendorf, John
Yes. You need to set the goblin_init variable in the php.ini file to "Off" usually these commands are set in the Header information which explains why you are getting them whenever you open a page. Before I found out about the php.ini field, I was using rat traps on them... just set a line of th

[PHP-WIN] Re: Problem with php-script, possible a php.ini a fault....

2002-11-01 Thread erythros
yeah turn globalvariables on "B.A.T. Svensson" <[EMAIL PROTECTED]> wrote in message news:000c01c281bf$f2bca0a0$ce017c0a@;3-hkg-02-0028.lumc.nl... > I have a problem with a php script. Every time I run it small > (about 4 inches tall) green and pink illuminated goblins start > to run around at

php-windows Digest 1 Nov 2002 16:01:56 -0000 Issue 1418

2002-11-01 Thread php-windows-digest-help
php-windows Digest 1 Nov 2002 16:01:56 - Issue 1418 Topics (messages 16645 through 16659): Submit 16645 by: Rodrigo San Martin 16646 by: Jarrad Kabral 16648 by: Ignatius Reilly Form text with reserved chars 16647 by: news.php.net 16651 by: Miha Nedok

[PHP-WIN] Problem with php-script, possible a php.ini a fault....

2002-11-01 Thread Svensson, B.A.T. (HKG)
I have a problem with a php script. Every time I run it small (about 4 inches tall) green and pink illuminated goblins start to run around at my desktop. I tried to bash them with a bat, but it does not help they always comes back in numbers. My colleges says I make to much noise and need a vacatio

[PHP-WIN] Download.php

2002-11-01 Thread DaMouse
Is there a way to make a download start via a script I have several downloads and I'd like them to be download.php?id=0 etc, any ideas   -DaMouse   Ensign BakerHCO OfficerUSS Atlantis

RE: [PHP-WIN] I could use some help

2002-11-01 Thread Asendorf, John
register_globals, an option in the php.ini file has been denegrated and will shortly no longer be supported in PHP. You can still turn it on (which should fix your problem); but, in future releases you will need to use variables such as $_POST['name'] to get your post variables. As a fix, at the

[PHP-WIN] Re: file download .......

2002-11-01 Thread erythros
its a normal hyperlink. when he clicks on it, if his browser dosent recognize the format it'll ask him to save it, or he can just right click it and choose save target. all you need is a hyperlink http://www.domain.com/mydownload.bzg";>download "Toby z" <[EMAIL PROTECTED]> wrote in message news:20

[PHP-WIN] I could use some help

2002-11-01 Thread Adrian Partenie
Hello, I have some really big problems with php4.2.3& apache1.3.23 under win2000. It seems that in a simple form like this: when new_date.php is called $name remains uninitialized. The error is: [Fri Nov 01 14:30:37 2002] [error] [client 127.0.0.1] PHP Notice: Undefined variable: d

Re: [PHP-WIN] Vriables via URL

2002-11-01 Thread DaMouse
try $_POST['a'] and $_SERVER['PHP_SELF'] - Original Message - From: Cataphract <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 30, 2002 7:13 PM Subject: [PHP-WIN] Vriables via URL > I've recently installed PHP4 with my Apache 1.3.27 (Windows XP) and I've > noticed som

[PHP-WIN] Re: help in installation in PHP

2002-11-01 Thread J Wynia
PHP is an interpreted language that requires that all code be passed through the interpreter. Since the browser doesn't have a PHP interpreter built in, you need to install a web server in order to see PHP scripts locally. You are able to open HTML files directly with the browser because the br

[PHP-WIN] Vriables via URL

2002-11-01 Thread Cataphract
I've recently installed PHP4 with my Apache 1.3.27 (Windows XP) and I've noticed some problems like the variables specified via URL being ignored. http://127.0.0.1/teste.php?X=1 with teste.php: returns: Notice: Undefined variable: X in f:\http\htdocs\teste.php on line 1 An example of another pr

Re: [PHP-WIN] Form text with reserved chars

2002-11-01 Thread Miha Nedok
Try set_magic_quotes_runtime(0) to get rid off \ . Cheers On Fri, 1 Nov 2002, news.php.net wrote: > Date: Fri, 1 Nov 2002 08:37:50 +0100 > From: news.php.net <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Form text with reserved chars > > Hi NG. > > I'm having trouble with f

[PHP-WIN] file download .......

2002-11-01 Thread toby z
hi guyz im tryin to let a user download a file when he clicks on the link a open from location or save to disk dialog should appear n i dont know how to do this can n will sumbdy plz help thnx a million toby . __ Do You Yahoo!? Everything

Re: [PHP-WIN] fopen, fputs, fwrite, fclose, fdammit

2002-11-01 Thread toby z
hay max writin to a file is terrable . anyway 1st >$pctarget = "/blogbits/".substr >($target,0,6)."/_".$target."_bc.txt"; if this is a path ur tryin to specify change / to \ 2nd try fwrite fwrite($getcomments, "$title "); or fwrite($getcomments, "$addrecord"); hope this helps .

Re: [PHP-WIN] Submit

2002-11-01 Thread Ignatius Reilly
This element will not submit. You have to write: Ignatius - Original Message - From: "Jarrad Kabral" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 01, 2002 7:19 AM Subject: RE: [PHP-WIN] Submit > > > > -Original Mes