RE: [PHP] Create Array??

2001-09-23 Thread Andrew Braund
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Sunday, 23 September 2001 15:39 To: [EMAIL PROTECTED] Subject: [PHP] Create Array?? Hi, If I have a value $num = 32; based on this how can I create an Array of numbers 1 - 32, something like this...

Re: [PHP] Create Array??

2001-09-23 Thread Evan Nemerson
/* Untested */ $num = 32; $i=Array(); for($x=1;$x=$num;$x++) { $temp[$x]=0; }; $i=array_keys($temp); unset($temp); On Saturday 22 September 2001 23:09, you wrote: Hi, If I have a value $num = 32; based on this how can I create an Array of numbers 1 - 32, something like this... ?

Re: [PHP] http authentication and php

2001-09-23 Thread Evan Nemerson
if you just want to output the file to the user, readfile(http://server.com/greendocks/locked/useradd.htm?user=blahpass=blah;); should work. If you want to play with the file first, file() will put it in an array, fopen() will create a file pointer to it, you could create your very own HTTP

Re: [PHP] Create Array??

2001-09-23 Thread Evan Nemerson
$i=Array(); would probably be better as $temp=Array(); although i THINK either one is redundant... sorry /* Untested */ $num = 32; $i=Array(); for($x=1;$x=$num;$x++) { $temp[$x]=0; }; $i=array_keys($temp); unset($temp); On Saturday 22 September 2001 23:09, you wrote: Hi,

Re: [PHP] Strange output by phpinfo()

2001-09-23 Thread Evan Nemerson
That is interesting. Code Red II doesn't trojan browsers, does it??? Hmm that's an interesting idea... Are you using a (malicious) proxy server? That's all I can come up with... On Saturday 22 September 2001 18:50, you wrote: While viewing my phpinfo() page, i got this: QUERY_STRING

Re: [PHP] http authentication and php

2001-09-23 Thread Jeff Brtistow
Well the actual problem is that this file is behind a http authenticated directory. I actually don't want the users to know the login and password for it since it is the login for my control panel for my website. However, I do want to be able to execute a url, this is to allow users to create

Re: [PHP] Create Array?? More

2001-09-23 Thread KPortsmout
Ok, Thanks for the input, unfortunately it didn't help me solve my overall problem, so I will post that and see if anyone has any suggestions... I am basically displaying the Usernames from a .htpasswd file like this... $File=$Path$Directory1/.htpasswd; $fd = fopen ($File, r); $Content =

Re: [PHP] Create Array??

2001-09-23 Thread Alexander Skwar
So sprach »[EMAIL PROTECTED]« am 2001-09-23 um 02:09:17 -0400 : Hi, If I have a value $num = 32; based on this how can I create an Array of numbers 1 - 32, something like this... ? $num = 32; $arr = array(); for ($i = 1; $i = $num; $i++) $arr[] = $i; Alexander Skwar -- How to quote:

RE: [PHP] Create Array?? More

2001-09-23 Thread Andrew Braund
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Sunday, 23 September 2001 16:46 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] Create Array?? More Ok, Thanks for the input, unfortunately it didn't help me solve my overall problem,

Re: [PHP] Disk Usage

2001-09-23 Thread Scott Poarch
Well, it's an intriquing idea, but I'm not getting any success out of it. thanks for the suggestion. I'll keep plugging away. -- Scott Poarch http://www.globalhost.com - - - - - - - - - - - - From: Matthew Loff [EMAIL PROTECTED] Organization: Willetts Systems Date: Sat, 22 Sep 2001 23:13:25

[PHP] Making session last

2001-09-23 Thread Martin
Hello! The sessions-functions works really fine. But I got one Problem: How can I make the php-session last more then a browser-session? When the users closes the browser, the php-session is lost, but I want to save it for some days and the user should get the thame session, when he returns. I

[PHP] RE: MySQL and PHP problem

2001-09-23 Thread Ben Edwards
4.0.6, yes, douse this mean you have a possible solution -:) At 06:54 A 23/09/01 , you wrote: SpamCop - Report spam: http://members.spamcop.net/mcgi?action=logreportid=10282302 I assume you mean PHP 4.06? -- Billy Cravens -Original Message- From: Ben Edwards [mailto:[EMAIL PROTECTED]]

Re: [PHP] Search in Progress

2001-09-23 Thread Christian Reiniger
On Saturday 22 September 2001 14:41, Alexis Antonakis wrote: I am developing a simple site, in PHP4, which has three frames on it. The first gives you the search options and the second two, the results. What I was wondering was, while the database is being searched, is it possible to

Re: [PHP] Assistance Please - Two-Dimension Arrays

2001-09-23 Thread Christian Reiniger
On Sunday 23 September 2001 06:54, Jason G. wrote: Mark, PHP, at this point, does not support MultiDimension arrays. However, you can get around this by placing array's inside arrays. Thus: $myarray[0] = array(element00, element01,element02); $myarray[1] = array(element10,

[PHP] Upload_tmp for somebody

2001-09-23 Thread Radek Krejca
Hello, I have question for safe mode. I can allow for some users file upload with safe mode. In httpd.conf I have eg.: VirtualHost xx.xx.xx.xx ServerAdmin webmaster@somedomain DocumentRoot /home/someuser/www ServerName name php_admin_value upload_tmp_dir /home/someuser/tmp

[PHP] 404 error

2001-09-23 Thread Richard Baskett
I know how to get the web page that created the 404 error, but how do I get the link that created the 404 error? Is there a way of doing this? Im sure there is and that's why I am coming to you wonderful people! :) Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Writing newlines in files

2001-09-23 Thread Big5ive
Hi! $FTP_FILE=d:\programme\serv-u\ServUDaemon.ini; $fp = fopen($FTP_FILE, a); $data=\n\n[USER=$username|1]\nPassword=$pw\nHomeDir=d:\\nLoginMesFile=c:\wi ndows\profiles\flo\my documents\msg.txt\nDiskQuota=1|301443514202|24963514202\nAccess1=D:\-=Upload

Re: [PHP] 404 error

2001-09-23 Thread Alexander Skwar
So sprach »Richard Baskett« am 2001-09-23 um 05:40:52 -0700 : I know how to get the web page that created the 404 error, but how do I get the link that created the 404 error? Is there a way of doing this? Im sure Check the referer. Alexander Skwar -- How to quote: http://learn.to/quote

[PHP] Arrays Data

2001-09-23 Thread Alawi Albaity
hi how can I remove duplicted values (Data) in my array ? __ Do You Yahoo!? Get email alerts NEW webcam video instant messaging with Yahoo! Messenger. http://im.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] Strange output by phpinfo()

2001-09-23 Thread Jeroen Geusebroek
While viewing my phpinfo() page, i got this: QUERY_STRING

Re: [PHP] Arrays Data

2001-09-23 Thread Alexander Skwar
So sprach »Alawi Albaity« am 2001-09-23 um 07:00:22 -0700 : how can I remove duplicted values (Data) in my array ? array_unique Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com |

[PHP] Apache2/PHP: Undefined server variables

2001-09-23 Thread Art Boulatov
Hi, sorry if this is a dumb question (I think I've read the docs :) I 've just set up Apache-2.0.26-dev with php-4.0.8-dev both from CVS, and now when I try to access the server variables like: ?php echo $SERVER_NAME ? or ?php echo $HTTP_USER_AGENT ? I got Undefined variable: in the logs.

[PHP] Re: Running virtualhosts under different users

2001-09-23 Thread Zenith
Can you use group and user directives under virtualhost directive?? From the apache manual, group and user directive can be used under virtualhost directives It can control the uid and gid of the running httpd process, with different uid and gid... Right, you can try it. Adam Plocher [EMAIL

[PHP] NONE

2001-09-23 Thread Tero Tielinen
Hello! Firs of all, sorry about my bad english. I have a broblem, which i've tried to solve about two days now. I have an two-dimenssional array like this: $array[0][id] = 2; $array[1][id] = 3; $array[2][id] = 4; $array[3][id] = 5; $array[4][id] = 6; $array[5][id] = 7; $array[6][id] = 8;

[PHP] OT need ImageMagick utility

2001-09-23 Thread Daniel Baldoni
G'day folks, After telling my client that they'd quite happily install anything on their virtual host that was needed, the chosen hosting company has now renegged and refuses to install ImageMagick. To make matters worse, they haven't given us shell access so we can't compile up our own. And,

[PHP] Re: Strange output by phpinfo()

2001-09-23 Thread Elias Santiago
That's the request string of the W32Nimda worm, it has propagated very fast in the Internet. Info and tool for removing it are at: http:[EMAIL PROTECTED] If you are running under an IIS webserver, it could be the server itself that could be infected and sending the request string to itself.

[PHP] PHP4 and PHP4 w/ EAPI sharing same libs

2001-09-23 Thread Brian Curtis
Hello, Just wondering if it's possible to have both standard PHP and PHP w/ EAPI (Apache + mod_ssl) share the same install dir (/usr/local/php/)? Both are compiled as DSOs, if that matters. I am running non-secure and secure Apache processes separately, hence the two different PHP DSOs.

[PHP] how to get the total disk space used in a directory

2001-09-23 Thread sagar N Chand
hi all, is there any way to get the total disk space used under a directory including its subdirectories and all the contents. /sagar

[PHP] Re: NONE

2001-09-23 Thread Gaylen Fraley
Why not just use the PHP function array_multisort ? -- Gaylen [EMAIL PROTECTED] http://www.gaylenandmargie.com PHP KISGB v1.2 Guestbook http://www.gaylenandmargie.com/publicscripts Tero Tielinen [EMAIL PROTECTED] wrote in message

[PHP] File permitions

2001-09-23 Thread recognize
I've a web-site developed in Perl and, now, I'm converting it to PHP. I've a private directory in my site where I store the counter data (number of visitors, since when, last date) and other information like name, e-mail address, etc. of people who fill a form into the site. In Perl those

RE: [PHP] Disk Usage

2001-09-23 Thread Matthew Loff
Try removing the typecast to (int)... $usage = `du -sk`; See if that works. If not, then either your backtick operators aren't working (is safe mode on?) or du isn't being executed (not in the PATH environment variable?). -Original Message- From: Scott Poarch [mailto:[EMAIL

Re: [PHP] how to get the total disk space used in a directory

2001-09-23 Thread Alexander Skwar
So sprach »sagar N Chand« am 2001-09-23 um 22:51:49 +0530 : is there any way to get the total disk space used under a directory including its subdirectories and all the contents. Either execute du, or sum up the sizes of all the files manually in PHP. Alexander Skwar -- How to quote:

Re: [PHP] File permitions

2001-09-23 Thread Alexander Skwar
So sprach »[EMAIL PROTECTED]« am 2001-09-23 um 19:08:20 +0100 : Is there any possibility to write to files as httpd or system (which can write to files even with 000 permitions)? With 000 permissions? Is system an alias for root? If not, then it's not possible. But normally the files

Re: [PHP] 404 error

2001-09-23 Thread Richard Baskett
I don't think I said it clear enough :) Sorry abou that. This is what I did: ? echo Page with error: $HTTP_REFERERbr; echo Error Link: $PHP_SELF; ? This definitely did not work. $HTTP_REFERER did not output anything and if I understand correctly this just gives me the page that has the link

RE: [PHP] http authentication and php

2001-09-23 Thread Don Read
On 23-Sep-2001 Jeff Bristow wrote: I am trying to write a php script that will work around a http authentication that I do have access to. I am trying to do this so that a form process in my control panel can automatically have information sent to it from a form that a user will fill out.

[PHP] PHP Dreamweaver / Fireworks

2001-09-23 Thread Dana Holt
Sometimes I find it easier to build web tables inside fireworks, but I also need to embed PHP code into the table (ie. to display the date, logged in user, etc). Well, this is a pain because fireworks overwrites the entire PHP file every time I make a change to it. If there's no PHP to embed I

[PHP] Re: Vintage Cars

2001-09-23 Thread Rusty
Get A Permanent, Life-Time OffLine Ad for Only $29.95 Less Than The Cost of a One-Day, One-Time Classified Ad in Your Local Newspaper. See Vintage Cars by clicking on the thumbnail sketches at this site. http://rustyrose.com/primelinx/home1.htm -- To

RE: [PHP] how to get the total disk space used in a directory

2001-09-23 Thread Don Read
On 23-Sep-2001 sagar N Chand wrote: hi all, is there any way to get the total disk space used under a directory including its subdirectories and all the contents. /sagar $duse=`du -sk /usr/foo`; echo $duse, 'br'; Regards, -- Don Read [EMAIL

RE: [PHP] Search Engines

2001-09-23 Thread Don Read
cc's trimed On 23-Sep-2001 Heidi Belal wrote: Hi All, this may be a bit off topic, but i need/advise on where and how i can register a site in the top search engines. I know there are all these sites where you can do it but do you have recommendations? My other question is, why do we have

[PHP] formatting - generating tables with php

2001-09-23 Thread rico
I have an intermediate process that allows you to add table rows with input fields; and while this works, for some reason, it is adding extra white space before the table, even though the generated html does not show additional br's or p's. whats going on? attached are the files in question.

[PHP] Re: formatting - generating tables with php

2001-09-23 Thread rico
never mind hehe -- - Click here for Free Video!! http://www.gohip.com/free_video/ Rico [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have an intermediate process that allows you to add table rows with

[PHP] Re: formatting - generating tables with php

2001-09-23 Thread rico
wait no, arraymaker.php displays the additional table rows correctly after adding rows with addtoarray.php, but then once submitted, arrayprocr.php displays new additional white space before beginning the table, yet w/ no HTML br's or p's added. so the question still stands. --

[PHP] Language translation

2001-09-23 Thread Gaylen Fraley
What is the most accepted method for translating an application from one language to another? Is it done by a table that does a search and replace, i.e. one-to-one translation? Or does one actually translate the code verbatim? Is there a white paper somewhere? Thanks, -- Gaylen [EMAIL

Re: [PHP] Language translation

2001-09-23 Thread Rasmus Lerdorf
Read up on gettext On Sun, 23 Sep 2001, Gaylen Fraley wrote: What is the most accepted method for translating an application from one language to another? Is it done by a table that does a search and replace, i.e. one-to-one translation? Or does one actually translate the code verbatim?

Re: [PHP] Re: Sessions and include()...

2001-09-23 Thread Richard Lynch
There is no magic way for the cookies to transfer from server to server -- Cookies were specifically designed *NOT* to be transferrable, for consumer privacy reasons. You'll need to pass the cookie back and forth from your server to theirs by hand -- WARNING [EMAIL PROTECTED] address is an

[PHP] Strange File write Problem

2001-09-23 Thread Gary
The code below works on every server that I have tried it on, till now. On this server it will create the file name but will not write to it. If you create a file and upload it, it will erase everything but not write. Any Ideas why? ?php $filename =

[PHP] Re: Apache2/PHP: Undefined server variables

2001-09-23 Thread Richard Lynch
Check httpd.conf to see what, if anything, is in there that might be set to alter Apache's server variables. If phpinfo() aren't showing them, it's probably Apache isn't sending them. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like

[PHP] Re: Is there a way to override safe mode to be able to read a etc/passwd file

2001-09-23 Thread Richard Lynch
You'll have to routinely copy /etc/passwd into your own directory or something. The whole *POINT* of safe mode is to block actions like that... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD:

[PHP] Re: timeouts on loops

2001-09-23 Thread Richard Lynch
No, but you can use a more general 'for' or 'while' loop and set up any constraints your heart desires: $start = time(); $limit = 10; # 10 second time-out while ($start + $limit = time() list($key, $value) = each($whatever)){ } -- WARNING [EMAIL PROTECTED] address is an endangered species --

[PHP] Re: Making session last

2001-09-23 Thread Richard Lynch
Your change to the setting would have to happen *before* the session_start() and if php.ini is set to always do sessions, you can't get in before that. You may be able to use http://php.net/setcookie to provide a time-limit for the session id cookie so that it won't expire when the browser

Re: [PHP] 404 error

2001-09-23 Thread Christian Reiniger
On Sunday 23 September 2001 20:46, Richard Baskett wrote: I don't think I said it clear enough :) Sorry abou that. This is what I did: ? echo Page with error: $HTTP_REFERERbr; echo Error Link: $PHP_SELF; ? Try $REQUEST_URI -- Christian Reiniger LGDC Webmaster (http://lgdc.sunsite.dk/)

[PHP] All domains

2001-09-23 Thread Marius Pertravius
Sveiki, php-general, I want to get all doamins, that end with ru, lv, ch or lt. Is there any possibility to do that? 2001.09.23, sekmadienis Marius Pertravèius iCQ: #125733984 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

[PHP] Problem with paths GRR!

2001-09-23 Thread jalist
I'm getting this error message when accessing phpinfo.php ( ? phpinfo(); ? ) in my root dir ... Warning: Failed opening '/var/www/html/phpinfo.php' for inclusion (include_path='/var/www/html/includes/') in Unknown on line 0 I think it's something to do with the include_path or maybe doc_root

Re: [PHP] 404 error

2001-09-23 Thread Richard Baskett
Thank you :) Yeah someone mentioned using phpinfo() to figure out what I wanted and it worked beautifully and $REQUEST_URI was indeed the one I needed. Thank you! Rick On Sunday 23 September 2001 20:46, Richard Baskett wrote: I don't think I said it clear enough :) Sorry abou that. This

[PHP] formatting in HTML from PHP scripts. Please help!

2001-09-23 Thread rico
Attached are the files in question. They are used in order as such: arraymaker.php - add more keys:elements via addtoarray.php - arraymaker.php - arrayprocr.php the code works. The problem is in the final formatting in arrayprocr.php. I notice that whenever a new tr is added to the final

[PHP] Re: formatting in HTML from PHP scripts. Please help!

2001-09-23 Thread rico
oops, forgot to add the files in -- - Click here for Free Video!! http://www.gohip.com/free_video/ Rico [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Attached are the files in question. They are used in

Re: [PHP] formatting in HTML from PHP scripts. Please help!

2001-09-23 Thread Matt Greer
On Sunday 23 September 2001 17:01, rico wrote: The problem is in the final formatting in arrayprocr.php. I notice that whenever a new tr is added to the final table, it gets pushed further down the page, almost as if a br has been added for each new tr...but there is not. I cant look at

Re: [PHP] formatting in HTML from PHP scripts. Please help!

2001-09-23 Thread rico
Ah, ok, didnt know about the faus pax re: attachments. Lo siento! Anyway, Ill give that a try, thx. ill post back yay or nay. -- - Click here for Free Video!! http://www.gohip.com/free_video/ Matt Greer [EMAIL PROTECTED] wrote in message

Re: [PHP] formatting in HTML from PHP scripts. Please help!

2001-09-23 Thread rico
nope, no go...still getting extra lines after taking out all instances of \n -- - Click here for Free Video!! http://www.gohip.com/free_video/ Rico [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Ah, ok, didnt

Re: [PHP] formatting in HTML from PHP scripts. Please help!

2001-09-23 Thread rico
OMG, never mindim an idiot. clear as day a br i had left in the middle of an echo statement after /td doy! -- - Click here for Free Video!! http://www.gohip.com/free_video/ Matt Greer [EMAIL PROTECTED] wrote in message [EMAIL

Re: [PHP] File permitions

2001-09-23 Thread recognize
Maybe I wasn't clear in my previous message: What I want to do is: when you fill the form, record it to a file without 666 permitions. I mean: I don't want to have the file opened to everybody. In Perl it was possible (because it uses directly system user, which is similar to root), I want to

Re: [PHP] File permitions

2001-09-23 Thread rico
im definitely not a guru, but perhaps this might help http://www.php.net/manual/en/html/function.chmod.html http://www.php.net/manual/en/html/function.chown.html those are the doc pages on usage of similar process for setting permissions (i believe) GL --

Re: [PHP] File permitions

2001-09-23 Thread rico
looks pretty straightforward with php's caveat to be careful to use octal... chmod (/somedir/somefile, 0755); // octal; correct value of mode -- - Click here for Free Video!! http://www.gohip.com/free_video/ [EMAIL PROTECTED] wrote in

[PHP] interbase x php

2001-09-23 Thread edney
Hi. I need help to insert blob fiedls into interbase with php. Thank You. ICQ: 109374340 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

[PHP] IMAP - create user?

2001-09-23 Thread Tom Malone
Is there a way to create a new user with an email address on my mail server (for a web mail app i'm writing) using an IMAP or some other PHP function? Tom Malone Web Designer http://www.tom-malone.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] IMAP - create user?

2001-09-23 Thread Kath
http://phpclasses.upperdesign.com/browse.html/file/766 Try that class. - k - Original Message - From: Tom Malone [EMAIL PROTECTED] To: PHP Users [EMAIL PROTECTED] Sent: Sunday, September 23, 2001 10:07 PM Subject: [PHP] IMAP - create user? Is there a way to create a new user with

Re: [PHP] Arrays Data

2001-09-23 Thread Christian Dechery
At 07:00 23/9/2001 -0700, you wrote: hi how can I remove duplicted values (Data) in my array ? there are several solutions to this problem, you can: 1 - use the function array_count_values() to find all the values that occur more then once and then loop trough the result array and removing

Re: [PHP] Arrays Data

2001-09-23 Thread Christian Dechery
At 07:00 23/9/2001 -0700, Alawi Albaity wrote: hi how can I remove duplicted values (Data) in my array ? my bad... I didn't check the manual... there's a function that does exactly that: http://www.php.net/manual/en/function.array-unique.php sorry... :) _ .

[PHP] ucwords added functionality?

2001-09-23 Thread Jack Dempsey
i could roll my own, and for now will just use a str_replace after ucwords, but would it be possible to add an optional parameter to ucwords which would be an array of words to skip? i would think this would be useful to many. any thoughts? -- PHP General Mailing List

[PHP] FW: Undelivered Mail Returned to Sender

2001-09-23 Thread Jack Dempsey
and to whoever asked this a few weeks ago, yes i'm getting this too, and yes its annoying..any possibility of deleting it from the list? -Original Message- From: Mail Delivery System [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 23, 2001 11:17 PM To: [EMAIL PROTECTED] Subject:

RE: [PHP] installing PHP with-apxs with-oci8 --with-oracle onLinux - remote oracle

2001-09-23 Thread Jeffrey Iskandar Ahmad
I have reinstalled but still cannot work. How i compile: ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs \ --with-ldap=/home/jeffrey/download/directory/install --with-oci8=/home/oracl e Apache server stop and started. Im using redhat 7. Oracle 8i installed as programmer,

[PHP] Help! Large File Uploads, max file sizes and timeouts

2001-09-23 Thread Weston Houghton
Does no one have a clue on this one? I'm really in need of leads here. Thanks, Wes Hey all, Two related questions. If I remember correctly this has been beaten to death before on the list, but here I am having issues with it, and ending up at somewhat of a loss still. I've built a

Re: [PHP] Writing newlines in files

2001-09-23 Thread ReDucTor
put \n at the end - Original Message - From: Big5ive [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, September 23, 2001 11:36 PM Subject: [PHP] Writing newlines in files Hi! $FTP_FILE=d:\programme\serv-u\ServUDaemon.ini; $fp = fopen($FTP_FILE, a);

[PHP] Spawning an Expect Script

2001-09-23 Thread Chris Aitken
Hi all, Is there any tips you can point me at on spawning off an Expect script with agruments. Here is a sample of the command I want to be spawned. /usr/local/bin/expect /location/of/script.exp arg1 Arg Number 2 I would also like it to be able to report the output of the expect script back