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
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
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
[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
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
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
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
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
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
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
>> 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:
>>
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
, 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
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
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
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
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]
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
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
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
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
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
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,
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
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
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
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
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 (
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
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]
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
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
).
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
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
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
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
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 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
"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
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
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
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
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
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
> > **
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
+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
/*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
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
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 <[
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
>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
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
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
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
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,
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
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
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
> >
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/)
>
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
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
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
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]
>
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
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
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
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
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
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
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
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
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
Please somebody tell me what _$ (start from underscore) variable means.
I'm trying to find it from PHP.NET, but I cannot find that.
\. 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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]
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
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 (
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
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
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
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
>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]
",$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
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
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
with
ASP pages.
Thanks
-Ken
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 328 matches
Mail list logo