[PHP] Help with COM objects in PHP

2002-08-20 Thread Kyle
. Kyle FolderExists($objPath)) { print "folder exists"; $objFolder = $objFileManager->GetFolder($objPath); $objFolder->Path; $fileCollection = $objFolder->Files; foreach ( $fileCollection as $file ){

[PHP] Warning: mail() is not supported in this PHP build

2001-07-11 Thread Kyle
Warning: mail() is not supported in this PHP build in testmail.php on line 1 I don't remember disabling it when I compiled, and I can't find anything to specifically enable it when compiling. I'm running PHP 4.0.6. My sendmail_path is correct in my php.ini. I tried recompiling php4 and apache

[PHP] Re: Warning: mail() is not supported in this PHP build

2001-07-11 Thread Kyle
deleting: /usr/local/lib/php /usr/local/include/php /src/modules/php4/ - Kyle "Kyle" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Warning: mail() is not supported in this PHP build in testmail.php on line 1 > > I don't

[PHP] Re: Warning: mail() is not supported in this PHP build

2001-07-11 Thread Kyle
Tried both of those. Tommorrow I'll try to redownload the source to another directory and install. "Kyle" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Somebody mentioned that PHP checks to see if sendmail was installed when

[PHP] Execute mixed php code from mysql?

2001-07-31 Thread Kyle
For example I have in a database: - In database: welcome -- Also in Database: --- Now how could i make it so that I have another page that has the following: index.php - Jump out and have some

[PHP] file locking over NFS?

2004-07-05 Thread kyle
Hi all, Is there any simple, safe, and efficiency way to do file locking over NFS? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] file locking over NFS?

2004-07-06 Thread kyle
Thanks a lot , your information is really useful for me. "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > kyle wrote: > > Hi all, > > > > Is there any simple, safe, and efficiency way to do file locking over NFS? > > > &

Re: [PHP] file locking over NFS?

2004-07-06 Thread kyle
e interested in, look at the flock() > function. > > Kind Regards > Brent Clark > > -Original Message- > From: kyle [mailto:[EMAIL PROTECTED] > Sent: Monday, July 05, 2004 6:54 PM > To: [EMAIL PROTECTED] > Subject: [PHP] file locking over NFS? > > > Hi all, >

Re: [PHP] file locking over NFS?

2004-07-06 Thread kyle
Hi Manuel, Do you mean I can just use flock over NFS ? "Manuel Lemos" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > On 07/06/2004 05:25 AM, Kyle wrote: > > I found this from php function list manual: > > "flock() will not

Re: [PHP] GD2

2006-09-07 Thread Kyle
It could be that the PHP you are using for testing does not have GD support (whoever packaged it didn't have it compiled in). The quick way to check would be a quick phpinfo() script. That should at least give you somewhere to start. Kyle Steve Marquez wrote: > Does anyone know anythi

Re: [PHP] Months between two dates

2006-09-14 Thread Kyle
ethod, I haven't really debugged it, but I am pretty sure that should work. Some (int) casting my be necessary, but I think PHP will automatically do that for you. Good luck, Kyle Phillip Baker wrote: > Greetings Gents, > > I want to take two dates formatted as > 11/1/1998 >

Re: [PHP] PHP 5 Hosting

2006-10-11 Thread Kyle
ighly, their service is quite impressive. And if you don't like the PHP features they let you compile you own! Good Luck with it! Kyle Ed Lazor wrote: > Anyone ever use A2Hosting.com? Or better yet, any recommendations on a > PHP 5 web hosting company that you're happy with -

[PHP] Does flock over nfs work with linux kernel > 2.6.12 ?

2005-10-08 Thread kyle
fcntl()/POSIX locks, will then see the same locks that the Linux NFS client sees. So, does it means that flock over nfs with several clients should work if the nfs clients are all using kernel > 2.6.12? Thanks, Kyle -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

[PHP] Re: Creating file & file permissions

2002-11-22 Thread Kyle Gibson
How do I get around this?? Make sure the 'users' directory is chmod'd correctly (777) so your PHP script has the ability (ie: permissions) to write/create files inside. -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: dynamic arraynames

2002-11-22 Thread Kyle Gibson
ated simply by... ${$name} = array(". http://www.php.net/manual/en/language.variables.variable.php Might help too... -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: strings and vars

2002-11-23 Thread Kyle Gibson
ply do the following: $string = "string"; -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Newbie: element index array

2002-11-24 Thread Kyle Gibson
etime' => '20D', 'dayname' => 2); $a['element3'] = array('btime' => '15D', 'etime' => '17D', 'dayname' => 3); I would like to ask that how can I completely delete the $a['element2'] in th

Re: [PHP] does //commenting reduce performance?

2002-11-24 Thread Kyle Gibson
at is lost in standard applications is minuscule. One thing you might want to avoid is using comments inside loops. -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Another cookie question

2002-11-24 Thread Kyle Gibson
In the purpose of getting access to mydomain.se/ha/ I will set a cookie: setcookie ("login", "OK", time()+3600, "/ha/"); Not sure if this is the case, but try this instead: setcookie ("login", "OK", time()+3600, "/ha/",&q

Re: [PHP] perplexed as to why this is happening...

2002-11-24 Thread Kyle Gibson
lts $sec = mysql_result($res, 0, 'sec'); echo $sec; // pulls out sec as 2 ( as is sposed to ) } if (!$sec = "1"){ Right there. Should be... if ($sec != "1"){ -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What is wrong here?

2002-11-24 Thread Kyle Gibson
ng before that... what can be wrong? Thanks in advance, The headers for the page might have already been sent. If there is a space at the top of your PHP file like below, any type of header change wont work: ---top of file header("Location: ..."); exit; ?>

[PHP] Re: BBCode?

2002-11-24 Thread Kyle Gibson
e('[i]This[/i] is a [i]test[/i].'); ?> But it prints "This[/i] is a [i]test". Is there a better way to do this? ",$text); return $text; } print bbcode("[i]This[/i] is a [i]test[/i]."); ?> -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/

Re: [PHP] Re: BBCode?

2002-11-24 Thread Kyle Gibson
'[i]This[/i] is a [i]test[/i].'); ?> Prints: This is a test. -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: BBCode?

2002-11-24 Thread Kyle Gibson
This code is simply not suitable. The object is to replace tags as an entity as opposed to simply replacing '[' with '<'. Obviously not. I was not fully aware of what he required. -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/ -- PHP Gen

Re: [PHP] Re: BBCode?

2002-11-25 Thread Kyle Gibson
Thanks a lot, but do you know how to do the same with ereg_replace? I'm trying to learn PCRE, but until I do, I won't be able to add anything to this... \\2',$text); return $text; } print bbcode('[i]This[/i] is a [i]test[/i].'); ?> Works... -- Kyle Gibson ad

[PHP] Re: Newbie: ereg

2002-11-25 Thread Kyle Gibson
: ]+>)([^<]+)(]+>)",'\\2',$text); return $text; } print format_text('This shall be visible.'); ?> -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: BBCode?

2002-11-25 Thread Kyle Gibson
Thanks, but that doesn't allow nested tags (a [b] tag inside of an [i] tag, for example). Nested tags? Do you mean [ib] ? Or [i[b]]? If you mean [ib], then I'm afraid what you want cannot be done in ereg_replace. As far as I am aware, that is. -- Kyle Gibson admin(at)frozenonlin

Re: [PHP] Re: BBCode?

2002-11-25 Thread Kyle Gibson
I think he means: "[i]A sentence in italics, with a word in [b]bold[/b][/i]" Yeah he told me. -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: BBCode?

2002-11-25 Thread Kyle Gibson
('[i] this is a [b]bold[/b] test [/i]'); ?> -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: More mail() questions.

2002-11-25 Thread Kyle Gibson
ot;; $message .= "4th Line\n"; mail ("", $subject, $message, $headers); TIA As far as I've encountered, you can simply do the following: -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: deleting a record.

2002-11-26 Thread Kyle Gibson
ror"; Then, place an 'exit;' after the header(...) command to see if the $delete variable is actually being passed. -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: testing for empty array

2002-11-26 Thread Kyle Gibson
I have an array $keywords, how do I test to see if it is empty? $keywords == '' seems to throw out an error. Maybe... if(count($keywords) <= 0) { //... } -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/ -- PHP General Mailing List (http://www.php.net/) T

[PHP] Re: string

2002-11-29 Thread Kyle Gibson
my mind.. $x = "mean" help please... $x = substr("determine",-4); For more information on SUBSTR, http://www.php.net/manual/en/function.substr.php ;) -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP & Javascript compatibilty

2002-11-29 Thread Kyle Gibson
I do to get Javascript working with PHP with ease? Any articles on this? Thanks a lot... again. :) If you show me some code I can look at, I might be able to assist you. You should have no trouble executing JS on a file with a .php extension, so long as it is incorporated into HTML. -- Kyle G

Re: [PHP] Passing arguments to the same script

2002-12-01 Thread Kyle Gibson
RY_STRING"] equals 'questions', 'samples', etc... $_GET['var'] requires that the link look like this: You could then call $_GET['page'], which would contain the value samples. -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Detecing a Number

2002-12-04 Thread Kyle Gibson
I haven't tested the above, so it may not work syntactically but the concept is the same... -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Just Curious

2002-12-07 Thread Kyle Gibson
I was just curious, but what program or website do you all use to view and reply to the newsgroups with ? Fun Fact # 14: Netscape 7.0 ;) -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: Execute a cgi inside of php?

2002-12-11 Thread Kyle Gibson
include(""); If you wish for this to be a correct PHP statement, it should be: include(""); Otherwise it will error. -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Google and php

2002-12-13 Thread Kyle Gibson
of your site, regardless of what the URL is unless you specifically state otherwise in the robots.txt file. -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: can I mail unlimited in one click?

2002-12-16 Thread Kyle Gibson
,$email[n]\n"; Of course the BCC list could be filled programmatically... -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: nested if in a for statement

2002-12-17 Thread Kyle Gibson
e from 0 to 9. In the above code you have $i <= count($userVars) The problem is that when $i = count($userVars), $i has surpassed the position of the last time, thus causing it to return as being empty. -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/ -- PHP General Ma

[PHP] Re: nested if in a for statement

2002-12-17 Thread Kyle Gibson
is that when $i = count($userVars), $i has surpassed the position of the last time, thus causing it to return as being empty. Basically, just remove the '=' from $i <= count($userVars) -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/ -- PHP General Ma

[PHP] Re: recommendation needed for dedicated server hosting

2002-12-18 Thread Kyle Gibson
e feedback. Thanks! I've been with RackShack for a little more than a year now and I and very satisfied with them. www.rackshack.net Servers @ $99 per month -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscri

[PHP] Re: \Z characters

2002-12-21 Thread Kyle Gibson
t might solve the problem. Use single quotes instead... $connection = db_connect("Could not connect DB"); $SQL="SELECT id,PVLN from lhpl_side WHERE PVLN ='\Z'"; $result= mysql_query($SQL,$connection) or die (mysql_error()); $num = mysql_numrows($result); -- Kyle

[PHP] Re: Problem with the List?

2002-12-21 Thread Kyle Gibson
Are my posts getting through? They appear to come back on the list but I also get this response... I see them, so I suppose the list has received them. I got that same error yesterday. Hmmm. :\ -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/ -- PHP General Mailing List

[PHP] Re: Function returning a reference - how ?!?

2002-12-21 Thread Kyle Gibson
reateParent, which is a reference to the Parent object. Then again, I haven't tested any of this, just going on some instinct here. -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cheap Hosting

2002-12-26 Thread Kyle Gibson
tp://www.melchior.us Try www.frozeonline.com ;) -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Simple Form Processing

2003-01-11 Thread Kyle Babich
the image instead of just the filename? Thank you, -- Kyle -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Simple Form Processing

2003-01-12 Thread Kyle Babich
OCUMENT_ROOT/images"); } ,the image (which was within the size range) was never uploaded. I have a feeling that I am makeing 1 or 2 of the same mistakes in all three but through my experimenting and reading I am having no luck. I also bought Programming PHP but I trust it less and less as I even

[PHP] Getting a dynamic IP address

2003-01-15 Thread Kyle Lampkin
Hello all, Newbie here I need to know if there is a way I can get my dynamic IP address for use in a php script? -- Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ -- PHP Gener

[PHP] file pointer

2003-07-01 Thread Kyle Babich
How would I set the file pointer to the very end of the last line of the file? ex. ahkjhff asdjfhlkajf sdfhaksljdh kasjdhkjlfh asdjfhklajs askjdhjfdjf//here Thanks, -- Kyle -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] .inc.php

2003-07-01 Thread Kyle Babich
When .inc.php files are included they are also executed whenever the script is executed right? -- Kyle -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] .inc.php

2003-07-01 Thread Kyle Babich
PROTECTED]> said: > Yes beacause the real extension is .php > > > On Tue, 2003-07-01 at 17:38, Kyle Babich wrote: > > When .inc.php files are included they are also executed whenever the > > script is executed right? > > -- > > Kyle > -- > Yann Larrivee &

[PHP] have some free time?

2003-07-01 Thread Kyle Babich
am missing. Anyway, back to the bug hunting... -- Kyle -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] have some free time?

2003-07-01 Thread Kyle Babich
I think this is short example of my problem... Right now this returns: hello x != 1 What do I have to do to get bye() to return 'x = 1'? I tried declaring the x = 1 in hello() global and I tried declaring it static. On Tue, 01 Jul 2003 17:27:48 -0500, "Kyle Babich" <

[PHP] Snarl, hiss, growl (frustration)

2003-07-04 Thread Kyle Babich
Why does this not work? It is just a simple hit counter (hence the snarls, hissing, and growling). It logs the ips address but does not increment $current or log it. I do have counter.txt and ips.txt chmod'd to 777. Ips.txt starts blank and counter.txt starts with just a 0 in it. --

Re: [PHP] Snarl, hiss, growl (frustration)

2003-07-04 Thread Kyle Babich
; > KB> fclose($ipAdd); > > KB> $current++; > KB> $counter = fopen('counter.txt', 'w'); > KB> fwrite($counter, $current); > KB> fclose($counter); > KB> } > > print $current; ?>> > KB> -- > KB

Re: [PHP] Snarl, hiss, growl (frustration)

2003-07-04 Thread Kyle Babich
he had a newline - something I did not do in my test :) > > which is exactly what it looked like he did since he said that switching > to $counter+=1; fixed it for him which would force it to be an integer. > > -Rasmus > -- Kyle -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Authorization script

2003-07-05 Thread Kyle Babich
I am making an authorizatoin script for the control panel of a loggin system I have been writing. Here is what I have right now: The problem is that if a user clicks cancel the control panel loads instead of the program dying. Why and how do I stop it? Thank you, -- Kyle -- PHP General

[PHP] another big, juicy, delicious bug

2003-07-08 Thread Kyle Babich
pData[$ip] should equal 3 1 // wrong $id, should be 4 I have been trying to figure this out for three days and have come up with nothing. Where is the function going wrong? -- Kyle -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] another big, juicy, delicious bug

2003-07-08 Thread Kyle Babich
This function is what I used: function getId ($ip) { $ipData = file('idData/ips.txt'); $ipData = array_flip($ipData); $id = $ipData[$ip] + 1; return $id; } It is defined in idData.inc.php which is required in the file with the problem (controlPanel.php). I decided to ban a third

[PHP] Processing Form Data /w $_POST

2003-06-19 Thread Kyle Babich
nto a single array in logical order in setup.txt. I'm new to php and can't figure out how to do this. I'm thinking of something like... for ($_POST) { fwrite($setup, /*something to add current $_POST value to the end of an array within $setup*/); } How should I go about this?

Re: [PHP] Re: Processing Form Data /w $_POST

2003-06-19 Thread Kyle Babich
> What kind of 'logical' order do you need for the Post array? > > To clarify: > Do you need to write to a file the POST variables passed to the script? Yes, setup.php -> processSetup.php -> setup.txt > > > "Kyle Babich" <[EMAIL PROTECTED]>

[PHP] explode, split, or what?

2003-06-19 Thread Kyle Babich
hp *** John\'s X Log 10 5 example.com treeclimber56 ab3c45def 61 *** Desired reults of running test.php *** John's X Log *** Other problem: In the actual results of running test.php where is the 61 coming from? Thank you, -- Kyle -- PHP General Mailing List (http://www.php.net/) To uns

[PHP] Passing Date/Time

2003-06-20 Thread Kyle Babich
values are passed except the date/time value, why? How do I fix it? Thanks, -- Kyle -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Passing Date/Time

2003-06-20 Thread Kyle Babich
Nothing passes when it is disabled via HTML either. > just for shits and giggles, why not manually disable the field without using > javascript and see what happens. just add the word "disabled" to the tag. > > > >From: "Kyle Babich" <[EMAIL PROTECT

Re: [PHP] Passing Date/Time

2003-06-20 Thread Kyle Babich
That works, thanks. > Try setting that date as a type="hidden" value instead. Do a > print_r($_POST) at the other end to see what comes up! > > -Michael > On Fri, 2003-06-20 at 08:55, Kyle Babich wrote: > > I have a input field in a form that is disabled

[PHP] Not incrementing?

2003-06-20 Thread Kyle Babich
t then the number inside of current.txt is supposed to increment. Every pair created should be the next number, a dash, then the date and time. It will increment once to 2, but all created files are 1- and nothing else happens no matter how much I do it. What went wront? Thanks, -- Kyle

[PHP] Now what's wrong with this?

2003-06-21 Thread Kyle Babich
ummer vacation for fun. -- Kyle -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Newbie mail () question

2002-11-22 Thread Kyle Gibson
ipient, $subject, $message, $headers); //...end The above code seems to work for me. -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: put result of "include" into a variable

2002-11-22 Thread Kyle Gibson
to a variable. Does anyone have an idea how to circumvent this problem? Try: $fp = fopen ("http://www.example.com/";, "r"); $data = ""; while(!feof($fp)) { $data .= fread($fp,1024); } //$data now contains all the html for the website fclose($f

[PHP] strtotime() question

2003-09-14 Thread Kyle Bisignani
ly jumped a day or duplicated a day when DST was coming up or ending. When using the "+19 days" syntax in the strtotime() function, does it take into account DST and not cause similar problems? Thank you very much for any help. ~Kyle Bisignani -- PHP General Mailing List

Re: [PHP] SSH file transfers

2001-01-10 Thread Kyle Jerviss
jeremy brand wrote: > > > How can I upload / download files using SSH through PHP? > > Use scp. > > I built a rather complex document system that is more > than I want to mention for this topic, but... > > > Has anyone ever did it before? > > Yes. You can run "any" program from php. Just us

Re: [PHP] SSH file transfers

2001-01-10 Thread Kyle Jerviss
Yeek! Not quite what I meant. I don't think that web servers have any business being on windows boxes. I was wondering if there were a way to upload using something like scp from a windows (or other) browser to a unix server. bard wrote: > > the people who make putty (my favorite ssh client f

Re: [PHP] "Authenticating" across sites/servers

2001-01-23 Thread Kyle Jerviss
Here is an idea I had, but will require that all the sites in question maintain very accurate clock synchronization, but doesn't require any database writes. It assumes that the passwords are stored using MySQL's PASSWORD("") function. $user_table="website.authorized_users"; $now=gmmktime(); $in

[PHP] Trim a string

2001-05-06 Thread Kyle Mathews
Hello: I have a signup form that asks for a website address. I don't need them to put in the http://, but I'm thinking that some will try anyway. Is there a way to check for this and remove it when the user submits the form? Thanks, Kyle [EMAIL PROTECTED] http://www.thedip.net

[PHP] Image Upload

2001-05-06 Thread Kyle Mathews
Hello: I'm looking for some code that will upload images to my server from a form submission. I'd also like it to check for a max file size of the images. Any help would be appreciated. Thanks, Kyle [EMAIL PROTECTED] http://www.thedip.net -- PHP General Mailing List (http://w

Re: [PHP] Trim a string

2001-05-06 Thread Kyle Mathews
Thanks, that worked great. - Kyle ""Jack Dempsey"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > if you're string is a variabe $address, then > eregi("http://",$address) will tell you if they'v

[PHP] $HTTP_SERVER_VARS

2002-05-04 Thread Kyle Gibson
It changes everytime, so it is hard to say. I'm running on PHP Version 4.0.6, if that helps. Thanks, Kyle Gibson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] SSH

2002-05-04 Thread Kyle Gibson
along with the functions system(), shell_exec(), and exec(). Thanks, Kyle Gibson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $HTTP_SERVER_VARS

2002-05-04 Thread Kyle Gibson
ok at my phpinfo page here: http://php.plaguenet.com/MyAdmin/phpinfo.php. Kyle Gibson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $HTTP_SERVER_VARS

2002-05-04 Thread Kyle Gibson
Whoops. It wont show unless you come from somewhere else... Go here and click the link: http://www.plaguenet.com/wreferer.php Thanks, Kyle Gibson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: SSH

2002-05-04 Thread Kyle Gibson
Thanks, I'll try what you suggested. -Kyle -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: $HTTP_SERVER_VARS

2002-05-04 Thread Kyle Gibson
My firewall prevented me from seeing the variable in action. Ignore this. -Kyle -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: HTML to mysql - from msql to html

2002-05-04 Thread Kyle Gibson
You entered data into a text area field that was entered into a mysql row. Then you tried to print it out. Try this: $content = str_replace("\n","",$row["row_name"]); echo $content; -Kyle -- PHP General Mailing List (http://www.php.net/) To unsubscr

Re: [PHP] weird foreach problem when calling date or getdate function,

2002-05-04 Thread Kyle Gibson
mat (otherwise known as the Unix timestamp format). MySQL uses a MMDDHHMMSS format whereas PHP uses a format. MySQL timestamp: 20020207164744 PHP (Unix) timestamp: 1013096864 -Kyle -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $HTTP_SERVER_VARS

2002-05-05 Thread Kyle Gibson
> My last guess, was to turn off my Firewall (*Norton* Personal Firewall) > and after that my PC returned a correct HTTP_REFERER! Exactly what I did. Funky, huh? Thanks, Kyle Gibson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: SSH

2002-05-05 Thread Kyle Gibson
I've tried this, $cmd = `ftpwho`; echo $cmd; and/or $cmd = shell_exec("ftpwho"); echo $cmd; But I get this error: Warning: Cannot execute using backquotes in safe mode in test.php on line 2 -Kyle -- PHP General Mailing List (http://w

Re: [PHP] Re: SSH

2002-05-05 Thread Kyle Gibson
e Mode ; safe_mode = Off --- -Kyle -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Who's having a good hosting experience these days?

2002-05-05 Thread Kyle Gibson
ng thus messing it all up. http://solutions.plaguenet.com/ HTH -Kyle -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: SSH

2002-05-05 Thread Kyle Gibson
> What does phpinfo() have to say about it? It says that the Local Value is "on" but the master value is "off". -Kyle -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Databases?

2001-10-25 Thread Kyle Smith
Can someone please give me the simplest tutorial to databases they can find?

[PHP] PHP.... i suck at it

2001-07-22 Thread Kyle Smith
Ok this may sound really pathetic but how do i add a new line (like a space) to a code like this cause when i try the code out it looks like IPADDRESS127.0.0.1 and i want it to look like IP ADDRESS 127.0.0.1 or IP ADDRESS 127.0.0.1 so what do i put in? Thanks for your time :)

[PHP] Automatic survey

2001-07-22 Thread Kyle Smith
I have made a small page containing the following PHP "; echo $REMOTE_ADDR; echo "Port number"; echo $REMOTE_PORT; echo "System info"; echo $HTTP_USER_AGENT; echo "Last page visited in this window"; echo $HTTP_REFERER; ?> is there any way i can make the PHP file email me the info above without r

[PHP] Whats wrong with this code?

2001-07-22 Thread Kyle Smith
$message = $IP, $PORT, $SYSTEM, $PAGE; what should i change in the $message code so that it contains the words assigned to the variables? -legokiller666- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666

[PHP] Another how do i question

2001-07-23 Thread Kyle Smith
I made this code for a simple for (the end of it) but what do i change in the $message variable so there is a new line between each other variable in $message (ive tried $name. . $last_name and. happens) -legokiller666- http://www.StupeedStudios.f2s.com New address new site IC

[PHP] Resolution

2001-07-23 Thread Kyle Smith
is there a code to show a users screen resolution and/or make a webpage go to a certain page of the site depending on the users screen resolution? -legokiller666- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666

[PHP] D d d d database?

2001-07-23 Thread Kyle Smith
ok i dont know the first thing about data bases so could someone please guide me through the process of making a score board for a flash game i have made with the variables $name and $score?? (note: i have hosting at f2s.com so i have to use myADMIN) -legokiller666- http://www.StupeedStudios.f2

[PHP] URGENT... NEED HELP!!!

2001-07-24 Thread Kyle Smith
What is wrong with this code? (note: the variables $email and $comments are sent from another page but i get the error message from this page saying "Warning: Could not deliver email. You are over quota. in /web/sites/197/lk6/www.stupeedstudios.f2s.com/email.php on line 15" in which line 15 is

[PHP] URGENT... NEED HELP!!!

2001-07-24 Thread Kyle Smith
What is wrong with this code? (note: the variables $email and $comments are sent from another page but i get the error message from this page saying "Warning: Could not deliver email. You are over quota. in /web/sites/197/lk6/www.stupeedstudios.f2s.com/email.php on line 15" in which line 15 is

  1   2   3   >