[PHP] Simple HTTP request, with "Range" header

2003-08-14 Thread Ken
tart=1000 and return the document from http://example2.org/test.bin to the user's browser, starting at byte 1000. Any pointers at all would be appreciated. - Ken -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Help with PHP and HTML

2002-09-26 Thread Ken
I have a HTML form that has a session variable called $cost. Now I want to set the value to this table data input field. Anyone know how this is accomplished? Thanks in advance! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Assigning data to fields

2002-09-27 Thread Ken
I am kind of new to PHP. I know how to use a select statement and a query to get data out of a table in MySQL, but how do I assign those fields to variables? I know this must be easy! Thanks in advance!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.n

Re: [PHP] Assigning data to fields

2002-09-27 Thread Ken
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I think this should be a good reference for you: > http://www.php.net/manual/en/function.mysql-fetch-array.php > > HTH > -Brad > > Ken wrote: > > > I am kind of new to PHP. I know how to use a select statement and a que

Re: [PHP] Assigning data to fields

2002-09-27 Thread Ken
Thanks John! That was it! "John W. Holmes" <[EMAIL PROTECTED]> wrote in message 01c26698$1abbc290$7c02a8c0@coconut">news:01c26698$1abbc290$7c02a8c0@coconut... > > I used the examples you have lead me to and I get this error? I am > > stumped? > > > > mysql_fetch_array(): supplied argument

[PHP] MySQL back up

2002-10-07 Thread Ken
Hi All! Anyone know how to code the MySQL command in PHP to make the database script download to your local hard disk, without writing 100 lines of code? I tried the mysqldump without any luck, but I think there is an easy way to do it, just not sure how to code it. Thanks in advance! -- P

[PHP] Re: MySQL back up

2002-10-09 Thread Ken
Here is the code I tired to use: $backupdir/$nam.sql"); passthru("gzip $backupdir/$nam.sql"); ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: MySQL back up

2002-10-09 Thread Ken
Okay here is the new code and this is still not working. $backupdir/$nam.sql"); exec("gzip $backupdir/$nam.sql"); ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: MySQL back up

2002-10-10 Thread Ken
Okay, I took out all the reason for error, I took the variables out of the code and replaced them with the actual values. I do not execute the gzip function. All I get is an empty file. Also I made sure the back up directory is set to 777. Now phpMySQLAdmin will perform the same function, so ther

[PHP] Re: PDF to PHP (code)

2002-10-10 Thread Ken
Jason, I had trouble with PDFLib too, and I turned to this site for help! I found this much easier to implement and the webmaster will give you lots of help!! http://ros.co.nz/pdf/ This does not use PDFLib. "Jason Morehouse" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL P

Re: [PHP] phpwebhosting.com

2001-01-17 Thread Ken
>> have you priced an OC-12 lately? > No I haven't. Can you enlighten me? I was curious :) http://gometanet.com/connect/fiber.htm OC12 622 Mb Monthly Fee $550,000 Setup Fee call (prolly between 10k and 20k) I'll have to ask my wife first... _Ken At 06:24 PM 1/17/01 -0500, you wrote: >>

[PHP] Can't find php.ini on my Linux/Apache module install

2001-02-26 Thread Ken
that this file is still being used? Where SHOULD this file be? And how do I find out for sure which one it is? Is it possible that it doesn't exist? If not, does that mean I could create one in /usr/local/lib? Where am I supposed to get a default version? Thanks, Ken -- PHP General Ma

[PHP] Resolved: Can't find php.ini on my Linux/Apache module install

2001-02-26 Thread Ken
, extracted it, found php.ini-dist, copied it to /usr/local/lib/php.ini, restarted Apache, and I'm in business. So, PHP was using default values in lieu of a php.ini file. - Ken At 12:11 AM 2/27/01 -0500, Ken wrote: >I can't seem to locate the php.ini file on my system. > >Here's

[PHP] IE 5.5,authentication,PHP sessions: IE never stops running?

2001-03-01 Thread Ken
H_USER and $PHP_AUTH_PW...there's no way these can be set unless the browser were already running and the user had previously entered them into their prompts, right?) Has anyone else run into this? My application works perfectly under Netscape 4, IE 4, and Opera 5. Thanks, Ken -- PHP

[PHP] Re: IE 5.5,authentication,PHP sessions: IE never stops running?

2001-03-03 Thread Ken
to not using browser authentication at all, and instead deal with the nuisance or security risk of passing along authentication information in the session, and requiring the user to click "logout" when it's time to logout (forcing a destruction of the information stored

[PHP] Re: IE 5.5,authentication,PHP sessions: IE never stops

2001-03-04 Thread Ken
At 03:11 PM 3/4/01 -0600, Don Read wrote: >On 04-Mar-01 Ken wrote: > > I know about the auth logout. Unfortunately, that means that when a user > > clicks "logout", he gets a "log in" prompt! And, in IE, he has to > > deliberately blank out the passwo

[PHP] Re: IE 5.5,authentication,PHP sessions: IE never stops

2001-03-04 Thread Ken
IE doesn't let you install an older version! Anyway, can someone please test to see if this doesn't happen in IE5.0? I really hate this situation, yessir. - Ken -- 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 PROTECTED]

[PHP] Re: IE 5.5,authentication,PHP sessions: IE never stops

2001-03-04 Thread Ken
At 04:11 PM 3/5/01 +1300, Simon Garner wrote: >From: "Ken" <[EMAIL PROTECTED]> > > Why it's bad is that, if the user clicks "cancel", they are not logged >out. They have to manually clear the field, THEN OK, then they get prompted >AGAIN, THEN they

[PHP] Re: IE 5.5,authentication,PHP sessions: IE never stops

2001-03-04 Thread Ken
At 04:28 PM 3/5/01 +1300, Simon Garner wrote: >From: "Ken" <[EMAIL PROTECTED]> > > Nope - with IE5.5, even with that box NOT checked, the user remains logged >in until either a) the computer is restarted, or b) a new >user-authentication header is sent, AND the user

[PHP] Re: IE 5.5,authentication,PHP sessions: IE never stops

2001-03-05 Thread Ken
will continue to send it with page requests. This happens when you hit "cancel" on the new password prompt. You'd think it would forget the username and password at this point, but it doesn't. You have to clear the password field and hit OK. Crazy, huh? - Ken -- PHP Gen

[PHP] Re: IE 5.5,authentication,PHP sessions: IE never stops

2001-03-05 Thread Ken
ve tried. It changes the realm when appropriate. It sets a flag in the database when the user hits logout. And it works the way it should. Just in IE 5.5 (on the machines I'm testing on) do I get this horrible behavior. - Ken >Later, Chris. -- PHP General Mailing List (http://www.php.n

[PHP] parsing "problem" with 4.0.5

2001-05-03 Thread Ken
just tell them to do this with all the problem ones, but there are a lot. This is on OpenBSD, btw. Thanks. -Ken -- 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

[PHP] PHP Parsing Database Text

2002-01-10 Thread Ken
Is it possible to have PHP parse text queried from a database (security issues notwithstanding)? If so, how? _Ken -- 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,

RE: [PHP] PHP and Apache authorization: how to logout. Help!

2002-02-01 Thread Ken
your own login screen. (Or, of course, reuse an existing one from one of the many good public libraries.) - Ken [EMAIL PROTECTED] >-Original Message- >From: Aras Kucinskas [mailto:[EMAIL PROTECTED]] >Sent: Thursday, January 31, 2002 10:39 AM >To: [EMAIL PROTECTED] >Subject

RE: [PHP] form submission error trapping

2002-02-17 Thread Ken
ng page like the one I've described into one that can re-populate itself on an error condition. Building it that way from scratch is merely a programming task. - Ken [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] session_destroy won't work, PHP 4.0.3pl Win95

2002-03-04 Thread Ken
w about how that works. But I want to destroy the session on the server, which is what I thought session_destroy was supposed to do.) Any ideas? - Ken [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Reg ex help-Removing extra blank spaces before HTML output

2001-12-04 Thread Ken
as n: If input is: bTEXTHEREbbbnnnbnMOREbEVENMORE Then output should be: bTEXTHEREbMOREbEVENMORE I imagine this would be handled by a simple regular expression call, but I'm no pro with them yet. Any help? Thanks, Ken [EMAIL PROTECTED] -- PHP General Mailing List (http://www.ph

RE: [PHP] Reg ex help-Removing extra blank spaces before HTML output

2001-12-06 Thread Ken
replaced with n. Right now the issue is that I'm sometimes getting results that have no line breaks for a really long time, and I know there are reasons to try to avoid individual lines of HTML longer than 200 characters. Thanks! - Ken [EMAIL PROTECTED] -- PHP General Mailing List (

RE: [PHP] Reg ex help-Removing extra blank spaces before HTML output

2001-12-06 Thread Ken
wline is left. If there weren't, then a space is left. Thanks for the help! Ken [EMAIL PROTECTED] At 04:40 PM 12/6/01 -0500, Jack Dempsey wrote: >one call to preg_replace...if you check out php.net/preg_replace, you'll see >what i mean...use arrays... >and as long as you have th

[PHP] Sending PHP script output to stderr?

2001-12-06 Thread Ken
would like to know about errors. Thanks, Ken -- 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 PROTECTED]

Re: [PHP] Positioning HTML output in browser window

2001-12-20 Thread Ken
m Resource Identifiers (URI): Generic Syntax": URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ] absoluteURI = scheme ":" ( hier_part | opaque_part ) relativeURI = ( net_path | abs_path | rel_path ) [ "?" query ] And don't leave out th

Re: [PHP] Client side fatal PHP error

2001-12-25 Thread Ken
HP from the command line and do a "syntax check" on a given file. But I have never tried it and I have no idea if it really works. Check the manual. - Ken [EMAIL PROTECTED] > >> if (strtoupper(substr($xmbrcode,11,1)) != "B" && > >> strtou

[PHP] How to act on many files (i.e. *)

2001-08-24 Thread Ken
). I can't find any function that gets me a list of filenames, either. Am I missing something, or do I have to shell out to do this? - Ken [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] How to act on many files (i.e. *)

2001-08-24 Thread Ken
I got my answer: Use directory functions, not filesystem functions: http://www.php.net/manual/en/ref.dir.php - Ken [EMAIL PROTECTED] At 02:51 PM 8/24/01 -0400, Ken wrote: >I can't find a way in PHP to behave on multiple files, without knowing the script >somehow knowing the filena

Re: [PHP] `T_VARIABLE' or `'$''

2001-08-24 Thread Ken
u left off a "$" before a variable name. It might not be in your preg_replace call. - Ken [EMAIL PROTECTED] ken's last ever radio extravaganza http://free-music.com/ken/extrav/ >anyone know where I can find out abut them, I did a search of the manual but >nothing came up. &g

Re: [PHP] how can i cache php scripts enterpretet

2001-08-24 Thread Ken
ve PHP Cache", open source: http://apc.communityconnect.com/ - Ken [EMAIL PROTECTED] ken's last ever radio extravaganza http://free-music.com/ken/extrav/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To conta

[PHP] Displaying all variables currently set?

2001-08-24 Thread Ken
ld be ridiculously useful for debugging. - Ken [EMAIL PROTECTED] -- 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 PROTECTED]

Re: [PHP] PHP Redirect in the middle of code?

2001-09-10 Thread Ken
re you want the redirect to. Of course, this tag needs to be in the >section, so it might not help you much. Not necessarily true, the part. My application outputs a line really late in the HTML document - definitely inside the section - and the refresh seems to be working for all. - Ken

Re: [PHP] Why is the behavior between Apache2 and Tomcat so different?

2005-03-15 Thread Ken
"Cannot modify header information - headers already sent " output buffering is off on tomcat? check the php.ini or did some error message happen before this - which will cause this error since the error was sent to the browser before your headers. In which case fix it by turning off php.ini e

Re: [PHP] Configure PHP

2005-03-15 Thread Ken
You should check your php.ini file... i haven't used linux for a while so i can't remember where it is... and this is probably distro specific... do a search for it. php.ini. change the settings for session support, the file should be pretty self explanatory then restart apache. On Tue, 15 Mar 2

Re: [PHP] Configure PHP

2005-03-15 Thread Ken
n > my case I would like to "--enable-session" > but not sure exactly how. > steve > > Ken wrote: > > >You should check your php.ini file... > >i haven't used linux for a while so i can't remember where it is... > >and this is probably distro specifi

Re: [PHP] How can i calculate total process time?

2005-03-15 Thread Ken
I do that for my site and sometimes for some very strange reason it returns a negative figure. so i use abs() to make sure it's positive always (but then it might not be true value...) On Tue, 15 Mar 2005 09:08:31 -0600, Chris Boget <[EMAIL PROTECTED]> wrote: > > Hi, i wanna ask if anybody knows

[PHP] Re: [PEAR] Re: HTTP_Download to track amount of bytes downloaded help

2005-03-17 Thread Ken
On Thu, 17 Mar 2005 12:19:38 +0100, Ken <[EMAIL PROTECTED]> wrote: > Header for download script > > http://localhost/download.php?fid=1&SID=bb9309b20034a71e4c59382028afd1c3&user=strikers > > GET /download.php?fid=1&SID=bb93

[PHP] Re: [PEAR] Re: HTTP_Download to track amount of bytes downloaded help

2005-03-17 Thread Ken
i forgot to add: pressing go has the same effect as refresh. On Thu, 17 Mar 2005 12:20:12 +0100, Ken <[EMAIL PROTECTED]> wrote: > On Thu, 17 Mar 2005 12:19:38 +0100, Ken <[EMAIL PROTECTED]> wrote: > > Header for download script > > **

Re: [PHP] sessioncookies?

2005-03-18 Thread Ken
No, you'll have to use another cookie name. Alternatively, you can use arrays setcookie('cookiename['arrayname']', $value, time()); On Fri, 18 Mar 2005 15:07:34 +0200, William Stokes <[EMAIL PROTECTED]> wrote: > Hello, > > I have a following line in my code to set a session cookie when user log

[PHP] sessioncookies?

2005-03-19 Thread Ken
+0200, William Stokes <[EMAIL PROTECTED]> wrote: > OK. so can I set 2 or more session cookies for the same user? Like this: > setcookie("sess_id","$sess_id",0,"/"); > setcookie("cookie2","$another_variable",0,"/"); &g

Re: [PHP] re-setting all cookies

2005-03-22 Thread Ken
/*From the php manual $arr = array(1, 2, 3, 4); foreach ($arr as &$value) { $value = $value * 2; } */ $_COOKIE is a variable... but you need the key for setcookie(). so you can do: foreach($_COOKIE as $key => $value){ setcookie("$key","", time()-3600); } i know there is the $value bit that

[PHP] Session destroy/unset question - the same session_id is regenerated.

2005-03-22 Thread Ken
After unsetting and destroying the session, the same sid is generated. is this a normal behaviour? i did this: session_start() //kill session variables unset($_SESSION); session_destroy(); Thanks in advance ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

Re: [PHP] checkbox value

2005-03-24 Thread Ken
isset($_POST['checkboxname']) or isset($_GET['checkboxname']) depending on the method of your form. a good thing to do is to do var_dump($_POST) or var_dump($_GET) to see all the values posted from the form... hth ken On Thu, 24 Mar 2005 15:42:10 +0200, William Stokes <[

Re: [PHP] convert date format

2005-03-24 Thread Ken
try preg_match('#([0-9]{1,4})-([0-9]{1,2})-([0-9]{1,2}))#', $row['date'], $matches); $month = array('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'); $converted_date = $matches[3]." ".$month[$matches[2]]. " ".$matches[1]; untested... On Thu, 24 Mar 2005

[PHP] Download Link !

2005-03-25 Thread Ken
>On Fri, 25 Mar 2005 11:25:09 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> >wrote: > Hello, > > When I purchased a website template from templatemonster.com, they sent > the download link to my email, this link was active for only 2 or 3 days > then it became inactive. > > Now I'm writing a script

Re: [PHP] redirection, same host, two domains

2005-03-25 Thread Ken
On Fri, 25 Mar 2005 11:42:15 -0500, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > On Friday 25 March 2005 11:36, Alexandru Martin wrote: > > Okay, here is my problem. I had a site hosted on a sub domain > > (mysite.domain.com) , now I registered my own domain, mysite.com . The > > thing is mys

[PHP] header already sent problem

2005-03-25 Thread Ken
On Fri, 25 Mar 2005 15:03:45 -, AndreaD <[EMAIL PROTECTED]> wrote: > is there an alternative way to suppress the headers already sent problem? > Ob_start/flush is not very neat way to so this. > > AD > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php

Re: [PHP] deleting all my cookies

2005-03-30 Thread Ken
setcookie("$name",'',time()-3600); cheers On Wed, 30 Mar 2005 15:29:47 +0100, AndreaD <[EMAIL PROTECTED]> wrote: > I have a button that sets a variable when pressed. I then try delete any > cookies using the following code but no joy. > > if (isset($scrub)){ > echo "this works"; > if (isset($_C

Re: [PHP] getting check box values into an array

2005-03-31 Thread Ken
Thanx for any hints, > > Merlin > > PS: I know that there is another way in passing the checkbox values, but due > to > some JS reasons I do have to go that way. check the php manual for the function foreach foreach($_POST as $value) { $interests[] = $value; } hth,

Fwd: [PHP] if question

2005-04-06 Thread Ken
On Apr 6, 2005 10:47 AM, William Stokes <[EMAIL PROTECTED]> wrote: > > Hello, > > I need to test if a variable value is 3 or 6 or 9 or 12 or 15 or 18 ... > goes > on like this. > > How this can be done? > > Thanks > -Will > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscrib

Re: [PHP] Simple array question, array delete

2005-04-06 Thread Ken
On Apr 6, 2005 3:09 PM, Ryan A <[EMAIL PROTECTED]> wrote: > > Hey, > I have a $data_recs array like this: > > 12 > 445 > 45655 > 4 > 343 > etc > > when the user gives me a number, i have to check if its in the array and > delete that entry...how do i do that? > I have looked at the manual bu

Re: [PHP] Simple array question, array delete

2005-04-06 Thread Ken
On Apr 6, 2005 3:27 PM, Ken <[EMAIL PROTECTED]> wrote: > > On Apr 6, 2005 3:09 PM, Ryan A <[EMAIL PROTECTED]> wrote: > > > Hey, > > I have a $data_recs array like this: > > > > 12 > > 445 > > 45655 > > 4 > > 343 > >

[PHP] setcookie ???

2005-04-06 Thread Ken
On Apr 6, 2005 2:30 PM, William Stokes <[EMAIL PROTECTED]> wrote: > > This doesn't set the cookie? Can you see why? I can't... > > $showbrowseteam = 'somejargon'; > setcookie("showbrowseteam","$showbrowseteam",0,"/"); > > Thanks > -will > > -- > PHP General Mailing List (http://www.php.net/) >

Re: [PHP] zipfile problems

2005-04-07 Thread Ken
ces for the Publishing and Information Industries > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > That's not really an error... that's just a notice... I think everything should be fine with the scr

Re: [PHP] Variable Passing

2005-04-08 Thread Ken
other ways of passing variables by not using URI: cookies session forms... POST / http/1.1 hope this helps... i am sorry if i haven't explained it properly enough. Ken -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How get words on a webpage

2005-04-12 Thread Ken
Information from NOD32 > This message was checked by NOD32 Antivirus System for Linux Mail Server. > http://www.nod32.com > > Man one thing: RTFM http://www.php.net/echo/ http://www.php.net/printf/ Ken -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How get words on a webpage

2005-04-13 Thread Ken
On 4/13/05, issin <[EMAIL PROTECTED]> wrote: > Ken, > > Echo and printf can't get words on other webpage. I want get words, > no only show. > Thanks! > > Issin > > -Original Message- > From: Ken [mailto:[EMAIL PROTECTED] >

Re: [PHP] email through PHP

2005-04-19 Thread Ken
On 19 Apr 2005 15:04:08 +0530, Balwant Singh <[EMAIL PROTECTED]> wrote: > hi, > > I am using FEDORA 3 and PHP. I want to send email to outside by my above > mentioned linux machine through PHP. For this i want to use my SMTP > sever, which is on a WINDOWS machine > > Please inform what setting to

Re: [PHP] Last visitors

2005-04-19 Thread Ken
On 4/19/05, Ryan A <[EMAIL PROTECTED]> wrote: > Hey, > Am a bit puzzled as to how to do this, I am modifying a profiles/dating > site, the site works like this: > if you are a "guest" you can see only limited details of a profile, if you > have logged in, you see many more details. > > On the prof

[PHP] Last visitors

2005-04-19 Thread Ken
On 4/19/05, Ryan A <[EMAIL PROTECTED]> wrote: > > >> the site works like this: > > > if you are a "guest" you can see only limited details of a profile, if > > you > > > have logged in, you see many more details. > > > On the profile page there should be "last 10 visitors", it will not > > registe

Re: [PHP] Last visitors

2005-04-19 Thread Ken
the visit time for anything before the 10th most recent visit. $query = "DELETE FROM profile_visit WHERE user=' " .$object->user." AND visit_time < '$visit_time'"; } } it's probably not very streamlined, but it should work. Try posting on devshed as well. They are very quick and good with this kind of stuff forums.devshed.com HTH Ken execute this in cron, once a day or something like that... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Last visitors

2005-04-19 Thread Ken
what if you have something like 1000 users on your system. you'd have 1000 txt files! :( the DB seems to be a better idea as it's probably more expandable... you can do other queries to it and stuff... whereas 1000 txt files will be a pain in the butt to keep track of. On 4/19/05, Ryan A <[EMAIL P

Re: [PHP] Line feed in a echo

2005-04-26 Thread Ken
On 4/26/05, Andri Heryandi <[EMAIL PROTECTED]> wrote: > Use echo "something "; > > is that what you mean? > > > Mario de Frutos Dieguez wrote: > > > How can i make a line feed in a echo instruction? like printf("foo\n"); > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscr

Re: [PHP] Line feed in a echo

2005-04-26 Thread Ken
On 4/26/05, Ken <[EMAIL PROTECTED]> wrote: > On 4/26/05, Andri Heryandi <[EMAIL PROTECTED]> wrote: > > Use echo "something "; > > > > is that what you mean? > > > > > > Mario de Frutos Dieguez wrote: > > > &g

Re: [PHP] Line feed in a echo

2005-04-26 Thread Ken
On 4/26/05, Mario de Frutos Dieguez <[EMAIL PROTECTED]> wrote: > Andri Heryandi escribió: > > > Use echo "something "; > > > > is that what you mean? > > > > > > Mario de Frutos Dieguez wrote: > > > >> How can i make a line feed in a echo instruction? like printf("foo\n"); > >> > > > yes that's it

Re: [PHP] number of cookies and if there are any cookies set?

2005-04-26 Thread Ken
how many cookies are set but i guess you count the array $_COOKIE. $number = count($_COOKIE) hope this helps. Ken -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] _$ variable

2004-05-13 Thread ken
Please somebody tell me what _$ (start from underscore) variable means. I'm trying to find it from PHP.NET, but I cannot find that.

[PHP] using cookies

2002-11-23 Thread Ken Nagorski
\. What a bummer. I am a little stuck. I will take any suggestions. Maybe I am just going about things the wrong way. *** Shrug *** Thanks Ken -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] returning data from a function in a class

2003-01-02 Thread Ken Nagorski
Hi there, I am totally new at classes and oop... I have never done any object oriented stuff before so I don't know if my question is a php one, a browser issue or an oop one but here goes. I am writing a class that deals with members for a site (I know there are examples on the web, I have used

[PHP] session_destroy problem

2003-01-08 Thread Ken Nagorski
Anyone have any suggestions? I am totally confused. Thanks Ken -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] session_destroy problem

2003-01-09 Thread Ken Nagorski
them. Thank you for your input... Ken > What browser are you running? I find that IE drops the session when > you close the browser window actively working the site. On Mozilla I > have to close every instance of Mozilla regardless of the site before > it drops the session. Pretty ag

[PHP] Read values from Text Area Box

2003-07-26 Thread KEN - 2mediaZone
Hi, there. (B (BI'm trying to find out how to get multiple values from text area box (B. (B (B (BValues are like this. (B (Baaa\n (Bbbb\n (Bccc\n (Bddd\n (Beee\n (B (BI need to take "\n" from each value and put all the values to array. (B (B (BPlease advise me if anyone knows about

[PHP] help with cURL

2003-06-10 Thread Ken Harris
The latest version of curl has a problem with certain SSL certificates. The cURL commandline added a -k option to override the problem. Is there a PHP CURL_something foe curl_setopt to do the same override? Ken - This mail sent through IMP

[PHP] Referral Site...

2002-10-26 Thread Ken Kirtley
ld greatly appreciate any information. Thanks in advance...Ken -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Scripts not running on OS X 10.3

2003-11-01 Thread Ken Tozier
I can't get even the test script to run on my Mac. I turned personal web sharing on, checked the httpd.config file (all is well) type 127.0.0.1/test.php in the browser and get a "source view" of the page (ie: shows up in the browser winbdow). What am I doing wrong? Than

Re: [PHP] Scripts not running on OS X 10.3

2003-11-01 Thread Ken Tozier
I can't get even the test script to run on my Mac. I turned personal web sharing on, checked the httpd.config file (all is well) type 127.0.0.1/test.php in the browser and get a "source view" of the page (ie: shows up in the browser winbdow). What am I doing wrong? Thanks K

Re: [PHP] Scripts not running on OS X 10.3

2003-11-01 Thread Ken Tozier
Ken Tozier wrote: I can't get even the test script to run on my Mac. I turned personal web sharing on, checked the httpd.config file (all is well) type 127.0.0.1/test.php in the browser and get a "source view" of the page (ie: shows up in the browser winbdow). What am I doin

Re: [PHP] Scripts not running on OS X 10.3

2003-11-01 Thread Ken Tozier
night. Clearly, the installer must have messed something important up so I'm just going to reinstall Panther tomorrow (have to partition my drive anyway so what the heck) Thanks for all your help. Ken -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] String display issue

2003-11-24 Thread Ken Ivon
I am writing an application where users will input information such as 6' section of 3/4" pipe How can I get the whole line to show up on the screen when both single and double quotes are contained in the text string. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] sessions simply don't work

2003-12-19 Thread ken lee
on Apache on my intranet and IIS after being uploaded to a web server. The browser is set to recieve cookies. All the books say it should work. Has anybody any ideas? I've wasted a whole day on this joker! Ken Lee. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP/Postgresql problem

2004-01-13 Thread Ken Harris
I am trying to get PHP to work with an instance of postgresql on a server. There is already one, 'proprietary' postgresql running with its own user, own group and own (not default) port. The postgresql I am installing will be used for several database projects. following are my config/makes a

[PHP] PHP/Postgresql problem

2004-01-13 Thread Ken Harris
I am trying to get PHP to work with an instance of postgresql on a server. There is already one, 'proprietary' postgresql running with its own user, own group and own (not default) port. The postgresql I am installing will be used for several database projects. following are my config/makes a

[PHP] Command output into any array?

2001-05-19 Thread Ken Jansons
ut from the script into a form, so I am just wondering if the command/array scenerio is possible. Thank you for any help, Ken Jansons E-Mail: [EMAIL PROTECTED]

[PHP] Object Copying

2002-01-10 Thread Ken Kinder
As we all know, this copies an object in PHP: $obj2 = $obj1 Assuming $obj1 is an object (of a class). I want this never, ever to happen unless I want it to. All the time, I run into something where PHP made a copy of my object for X odd reason -- I pass an object to a function, I put

[PHP] Specific References Incident

2002-01-10 Thread Ken Kinder
I have one specific incident I could use some help with too. I have the following method: function validate() { if ($this->returning) { $errors = array(); foreach ($this->children as $child) { $child->error = "Foo"; $error = $child->validate(); if (

Re: [PHP] Specific References Incident

2002-01-10 Thread Ken Kinder
That's what I had thought too, but no: Parse error: parse error, expecting `T_VARIABLE' or `'$'' in /home/ken/Projects/kwidgets/widgets.inc on line 74 On Thursday 10 January 2002 04:51 pm, Martin Towell wrote: > does this work?? change > foreach ($t

Re: [PHP] Specific References Incident

2002-01-10 Thread Ken Kinder
Negative. On Thursday 10 January 2002 04:54 pm, Mark wrote: > On Thu, 10 Jan 2002 16:49:45 -0700, Ken Kinder wrote: > >That's what I had thought too, but no: > > > >Parse error: parse error, expecting `T_VARIABLE' or `'$'' in > >/home/ken/Pr

[PHP] Second newbie question

2002-01-10 Thread Ken Kinder
I have a second newbie question, and I promise I really did try to find this in the docs. Is there a method that can be called when an attribute or method is called that doesn't exist? A catch-all method? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECT

Re: [PHP] Specific References Incident

2002-01-10 Thread Ken Kinder
Nope. Tried that too. On Thursday 10 January 2002 05:18 pm, Rasmus Lerdorf wrote: > Use a while(list()=each()) loop. > > On Thu, 10 Jan 2002, Ken Kinder wrote: > > Negative. > > > > On Thursday 10 January 2002 04:54 pm, Mark wrote: > > > On Thu, 10 Jan 2

[PHP] FYI: Specific References Incident

2002-01-10 Thread Ken Kinder
>From PHP Cookbook: for ($c = 0; $c < count($topics); $c++) { ... } Only way to do 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: [EMAIL PROTECTED]

[PHP] Re: counting with dates (help!)

2002-01-21 Thread Ken Gregg
",$strdate); $temp = strtotime($strdate); $n = $ndays * 24 * 60 * 60; $n2 = $temp + $n; return( date("Y-m-d", $n2 )); # return(date("m/d/Y", $n2 )); } Ken Gregg Enhanced Data Systems, Inc. http://www.rwre.com for the best in Southwest Oregon Real Estate Sander P

[PHP] open php as stream

2002-01-21 Thread Ken Gregg
while (fgets(buf, 4096, fh) > 0) { print( buf ); print( "" ); } pclose( fh ) } Any ideas as to how to work around this? Thanks in advance Ken Gregg Enhanced Data Systems, Inc. http://www.rwre.com for the best in Southwest Oregon Real Estate -- PHP General Mailing Lis

[PHP] Re: foreach array into mail isn´t working

2002-01-21 Thread Ken Gregg
Blank lines are important to the parsing of mail messages. File does not strip newlines. Try your code and strip the newlines off the email addresses. If you still have problems try it and drop the newlines from the subject. Ken Gregg Enhanced Data Systems, Inc. http://www.rwre.com for the

[PHP] Trouble w/Apache PHP on WinME

2002-04-18 Thread Ken Villines
with ASP pages. Thanks -Ken -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   3   4   >