Re: [PHP] ftp functions not working

2004-09-02 Thread Cory D. Wiles
the 'old' binary. I should have created a symbolic link to the /usr/local/apache/php/bin/php file and this wouldn't have happened. Thanks for the quick repsonse. Marek Kilimajer wrote: Cory D. Wiles wrote: I am writing some backup scripts that will ftp my *.gz files to my ftp

Re: [PHP] ftp functions not working

2004-09-02 Thread Cory D. Wiles
, http, ftp, compress.zlib shell>$ I looked at the complete output and did not see that anything else for FTP. What do I need to do add FTP support for the CLI? michal migurski- contact info and pgp key: sf/ca http://mi

Re: [PHP] ftp functions not working

2004-09-02 Thread Cory D. Wiles
Marek Kilimajer wrote: Cory D. Wiles wrote: I am writing some backup scripts that will ftp my *.gz files to my ftp server. Unfortunately I didn't originally install php with ftp support (oversight on my part). I reconfigured/installed PHP with --enable-ftp and restarted everything, bu

[PHP] ftp functions not working

2004-09-02 Thread Cory D. Wiles
/local/bin/php output when ran: 'Damn' During the make I didn't see any errors. When I ran phpinfo() [http://www.randomthoughtprocess.com/info.php] it shows that I have FTP support. Is there something that I am missing? -- Cory Wiles Systems Engineer ePerformax - Memp

[PHP] UPLOAD scripts refuse to function

2004-06-18 Thread cory
problem with ANY other cgi or php script that I have used. Thanks in advance for any insight... -Cory -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] can't change upload_tmp_dir--not sure what's up

2004-06-14 Thread cory
I am having some serious troubles uploading files to my server. The ISP cannot provide me with the tmp directory where files are stored so I am trying to change that directory to a specified one. I am editing the php.ini file to read as follows: ; File Uploads ;

[PHP] Re: [PHP-WIN] i need help

2004-05-18 Thread Cory D. Wiles
Assuming you are doing just one string at a time: $regex = "/(\[i:)(\w+)(\])/i"; preg_match($regex, $str, $matches); print $str;//original string print substr($matches[2], 1, 3);//trimmed string ?> Gryffyn, Trevor wrote: If the format is consistantly the same, try this: $somedata = "[i:aslkdfj]";

Re: [PHP] re-creating a variable name

2004-03-05 Thread Cory Berry
I could try and explain my problem again but it would be easier if I just include the code. Because $FormStartDate1 is the name of the variable, I'm trying to recreate the name of the variable with the for loop after "edit" is submitted. Thanks again. Cory "Chri

[PHP] re-creating a variable name

2004-03-05 Thread Cory Berry
$startdate.=$i' where id=$i"); } It doesn't execute. Can someone tell me what I'm doing wrong. Any help would be greatly appreciated. Thanks Cory -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP LDAP attributes question

2003-11-20 Thread Cory Hicks
AP results as session variables $valid_user = strtolower($info[$i]["cn"][0]); $user_tier = $info[$i]["usertier"][0]; $user_tier2 = $info[$i]["usertier2"][0]; $user_fullname = $info[$i]["fullname"][0]; } //Close LDAP logi

[PHP] pear upgrade

2003-09-16 Thread Cory Lamle
Contents are Direct Alliance Corporation CONFIDENTIAL - PROBLEM: - I'm trying to run a pear upgrade on a sever that does not have access to the internet. - I have also tried $pear .tgz, however I don't have zlib, and I really can't bring down the server. OPTIONS: - I may have access to a prox

[PHP] getting data from inside a class

2003-06-27 Thread Cory Hicks
the arraylike $rows["sys_id"] ...how would I do this? Do I return $results[] or $rows? It seems when I have tried this, all I get returned is "Array"... Any help would be great! Thanks, Cory class user_info { var $num_rows; var $results; fu

Re: [PHP] Admin Login

2003-06-11 Thread Cory Hicks
Ben, How about some session vars that denote you being an admin? This way you could show these options if $_SESSION[user_info] == 'Admin' is true. If you need more, let me know. Cory On Tue, 2003-06-10 at 22:12, Ben Houlton wrote: > How do I make it so when I log in the options s

Re: [PHP] form within form

2003-02-13 Thread Cory Hicks
> > > > > > > > Verify Password: > > > > > > > >

RE: [PHP] form within form

2003-02-13 Thread Cory Hicks
Can we see some code? Maybe we could help.. Cory On Thu, 2003-02-13 at 12:26, [EMAIL PROTECTED] wrote: > ALso, global variables are off... > > -Original Message- > From: Edward Peloke [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 13, 2003 1:22 PM > To:

[PHP] OO newb question....query results from a class

2003-02-11 Thread Cory Hicks
et_signin(); It just returns "Array"? How do I, for lack of a better wordget to this array? Outside of a class it works great, I echo $rows['sign_in'] and it works. But this! Help! Many many thanks! Cory -- Cory Hicks <[EMAIL PROTECTED]> TRI-International -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] number of records

2002-12-10 Thread Cory Hicks
Diana, This is how I typically do this with mysql_num_rows: $sql = "SELECT * FROM sometable WHERE field LIKE '%$field%' LIMIT 0, 30 "; $result = mysql_query($sql) or die ("Error In Query:".mysql_error()); $num_results = mysql_num_rows($result);

Re: [PHP] Who can tell me where I can get the cracked ZendEncoder3.0 ?

2002-10-31 Thread Cory Hicks
Be gone already! On Thu, 2002-10-31 at 09:00, jianking wrote: > Who can tell me where I can get the cracked Zend Encoder 3.0 ? > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.ph

Re: [PHP] Text from web form

2002-09-12 Thread Cory Hicks
nd then use: $_POST["field_name"] hth!~ Cory >>> "Rick King" <[EMAIL PROTECTED]> 09/11/02 16:29 PM >>> Apache: 1.3.26 PHP: 4.2.3 OS: HPUX-11 Hello PHP Guru's! After successfully installing PHP and viewing the phpinfo page, I decided to create a s

[PHP] Safety File

2002-03-12 Thread Cory
I want a file that has all of my important, global variables (like database info). I want this to be encoded by a PHP script and written. Is there any way, that I can import the file, while decoding it, so that the info is given as just lines of PHP. How can I do this? -- PHP General Mailin

[PHP] External Function

2002-01-13 Thread Cory
Is there anyway that I can have a file (ex: functions.txt) that has all of my functions in it. And I can call that file and use the functions that are in it. If it is possible, than that would save me a load of time, thanks Cory -- PHP General Mailing List (http://www.php.net/) To

[PHP] External Function

2002-01-13 Thread Cory
Is it possible to put all of my functions in a text file and just call it and use the functions in it? -- 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: [EMA

[PHP] Possibly undocumented operators.

2001-09-20 Thread Cory K. Walker
The PHP manual does not document the operators () -> What is the relative precedence and associativity of each? I've looked in the archives, and I've found some butter, more complete precedence tables, but they appear to be outdated. Where can I find a complete and accurate operator precedence