[PHP-WIN] getting the OS

2003-01-03 Thread DaMouse
ok I develop stuff on both windoze and linux so say I left my computer running and forgot which it was running and wanted to make a OS specific script from another computer. How could I tell what OS it was to see if I needed to go reboot it?     Ensign BakerHCO OfficerUSS Atlantis

Re: [PHP-WIN] general survey.... php.ini config gui

2002-12-22 Thread DaMouse
I don't think it would be one of the top products for PHP as I don't count Visual Basic as a true language, I used it when I was 12 years old and now I'm trying to make some C++ and Java applications along with my PHP skills my 2 cents -DaMouse - Original Message - From:

[PHP-WIN] array problem need help quick

2002-11-30 Thread DaMouse
I need help with a array problem I want one array to be sorted and another taking its same number order e.g. $ar1[0] == "marmite"; $ar2[0] == 10; $ar1[1] == "jam"; $ar2[1] == 11; $ar1[2] == "beef"; $ar2[2] == 7; $ar1[3] == "cabbage"; $ar2[3] == 0; $ar1[4] == "ick"; $ar2[4] == 5;   sort($ar

[PHP-WIN] measuring space

2002-11-24 Thread DaMouse
I want to measure how much space is used by a specific dir and echo it out e.g. /home/avalanche = 10mb /home/damouse = 188kb /home/pests == 20kb Ensign BakerHCO OfficerUSS Atlantis

[PHP-WIN] telnetting

2002-11-23 Thread DaMouse
is there a way to connect to telnet via PHP e.g. login then excute command then logout Ensign BakerHCO OfficerUSS Atlantis

[PHP-WIN] file_exists()

2002-11-18 Thread DaMouse
is there a way to find if a file exists on a remote server?   Ensign BakerHCO OfficerUSS Atlantis

[PHP-WIN] incrementation error

2002-11-14 Thread DaMouse
the following script is supposed to write a file and make a dir for a corrosponding forum the only problem is it keeps coming out as 1:bbs 1:bbs2 1:bbs21 instead of 1:bbs 2:bbs2 3:bbs21 any ideas?

[PHP-WIN] incrementation error

2002-11-12 Thread DaMouse
the following script is supposed to write a file and make a dir for a corrosponding forum the only problem is it keeps coming out as 1:bbs 1:bbs2 1:bbs21 instead of 1:bbs 2:bbs2 3:bbs21 any ideas?

[PHP-WIN] incrementation error

2002-11-12 Thread DaMouse
the following script is supposed to write a file and make a dir for a corrosponding forum the only problem is it keeps coming out as 1:bbs 1:bbs2 1:bbs21 instead of 1:bbs 2:bbs2 3:bbs21 any ideas?

[PHP-WIN] incrementation error

2002-11-12 Thread damouse
the following script is supposed to write a file and make a dir for a corrosponding forum the only problem is it keeps coming out as 1:bbs 1:bbs2 1:bbs21 instead of 1:bbs 2:bbs2 3:bbs21 any ideas? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP-WIN] sending cgi script query string

2002-11-09 Thread DaMouse
how would I send the post data to the script within PHP? I currently use virtual("cgi-bin/aaa.cgi?".$premade); - Original Message - From: Maxim Maletsky <[EMAIL PROTECTED]> To: DaMouse <[EMAIL PROTECTED]> Cc: PHP - Win <[EMAIL PROTECTED]> Sent: Thursday, Novem

Re: [PHP-WIN] sending cgi script query string

2002-11-07 Thread DaMouse
how would I send the post data to the script within PHP? I currently use virtual("cgi-bin/aaa.cgi?".$premade); - Original Message - From: Maxim Maletsky <[EMAIL PROTECTED]> To: DaMouse <[EMAIL PROTECTED]> Cc: PHP - Win <[EMAIL PROTECTED]> Sent: Thursday, Novem

[PHP-WIN] sending cgi script query string

2002-11-07 Thread DaMouse
I intend on sending long messages to a cgi script in a the query string using virtual and i was wondering what the max query string length is within the scripts   Ensign BakerHCO OfficerUSS Atlantis

[PHP-WIN] Passing parameters to a perl script

2002-11-02 Thread DaMouse
I've got this script called sendmail.pl and I'll give no prizes guessing what it does but I want the fields from one form to be passed to it via php my current code is just   virtual("cgi-bin/sendmail.pl"); but that doesn't post the $_POST paremeters I need to send in my email   Ensign BakerH

[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 Subj

[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] 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] 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

Re: [PHP-WIN] 404 documents

2002-10-30 Thread DaMouse
thankyou for your help is there variables for 403 and 500 also? - Original Message - From: Dash McElroy <[EMAIL PROTECTED]> To: DaMouse <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, October 30, 2002 12:43 AM Subject: Re: [PHP-WIN] 404 documents >

[PHP-WIN] 404 documents

2002-10-29 Thread DaMouse
I there a way to have the .php page pickup the url that was typed in e.g. usertype= www.mydomain.com/wRongurl $_SERVER[FILE_NOT_FOUND] = www.domain.com/wRongurl echo "The lost page was: $_SERVER[FILE_NOT_FOUND]";