Got a problem with sessions.
On my index page, there's a place for people to login. Well, when I test
with two different user names (ie: mike and jlo) it reverts to the first
one when login fails. For example:
I enter in the username "myuen" and a wrong password. I get my
&qu
Thanks for the suggestion, I tried that and it still doesn't seem to be
working.
Here's what i've got so far on my page (index.php).
Hope you can see something I don't. Thanks,
Mike
On Tue, 6 Mar 2001, trogers wrote:
>
> Hi
> You will need to kill the session da
r a school district,
and I don't have a .com address. I have anoka.k12.mn.us. I tried to put in
$basedn = "dc=anoka, dc=k12, dc=mn, dc=us"; but I still receive an error on
ldap_search. Am I doing this correctly?
Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Ok. That makes sense. I have the structure printed out, so I shouldn't have
a problem.
> From: "Nick Talbott" <[EMAIL PROTECTED]>
> Date: Thu, 8 Mar 2001 08:21:15 -
> To: "Mike Tuller" <[EMAIL PROTECTED]>, "php mailing list"
> <[E
at
doesn't seem to have worked either.
Here's a snippet of my code and i'm hoping someone can help me out on
this.
Thanks,
Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contac
Webmin uses templates, so you could create anything you want. If you go into
Webmin configuration under the Webmin tab, you will see templates. When you
go in there you will see a menu for current theme. It should have Calderas
theme. That at least means they are open to template creation.
I agre
Hi, this is a repost and nothing i've tried is working. Basically, I
allow people to upload pictures and they all go to the proper
directories but I can't see the picture. I can see the pictures great
on my windows server but no one else can see it. Obviously the path to
the images is screwed
e"]);
}
}
If the database already has entries which have been submitted from the same
IPAddress, I'd like to have those names and numbers listed.
The previous version of this code is published and available here:
http://openconcept.ca/guide-petition.phtml
Thanks.
Mike
--
Hello Again,
Can anyone tell me what the best form of Email validation there is? It needs to
be quick & as open to - and . as possible.
I've seen the following:
But this one looks quite impressive too:
Not sure which is the best.
Mike
--
Mike Gifford, OpenConcept Consult
t; . stripslashes($LastName) . "
from " . stripslashes($CityState);
// echo "" . stripslashes($sameIP_array["FirstName"]) . " " .
stripslashes($sameIP_array["LastName"]) . " from " .
stripslashes($sameIP_array["CityState"]);
}
}
thout
going to the server.Is this possable.fetchrow seems to go to the server
each time or am i wrong?
Thanks
Mike P
[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
I am having troubles displaying all the information I need from an Exchange
server. I can display name, department, title, but can't get the phone
number to show up. Can someone show me a script that will pull the object
identifiers from the server so that I can make sure I have everything set
rig
I am having troubles displaying all the information I need from an Exchange
server. I can display name, department, title, but can't get the phone
number to show up. Can someone show me a script that will pull the object
identifiers from the server so that I can make sure I have everything set
rig
I am trying to pull info from an Exchange LDAP server to make a dynamically
created phonebook, and am having trouble with one field. I think the problem
is that the script I have has everything pulled in an array, and all but the
field I am having problems with are strings. The telephoneNumber wou
I am trying to pull info from an Exchange LDAP server to make a dynamically
created phonebook, and am having trouble with one field. I think the problem
is that the script I have has everything pulled in an array, and all but the
field I am having problems with are strings. The telephoneNumber wou
I had what I thought was a great idea in creating a downloadable phone
directory using PHP to connect to the LDAP server and gather the info for
output. I originally wanted to have it create a PDF document, and still
would, but I don't think that you can create multiple page documents with
PHP and
how up.
Does anyone have any suggestions?
Mike
--
Mike Gifford, OpenConcept Consulting, http://openconcept.ca
Offering everything your organization needs for an effective web site.
Featured Client: http://rabble.ca - News For the Rest of Us!
If a book doesn't make us better, then what on
the picture-php file.
Can anybody give me a clue, how I can access the array in the picture.php ?
Am I doing something wrong, or is this a bug (in that case I prefere a
workaround).
Regards,
Mike Wes
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
ashes($individuals_array["FirstName"]) . " " .
stripslashes($individuals_array["LastName"]) . " from " .
stripslashes($individuals_array["CityState"]);
}
However, it gave me the following error:
Warning: Supplied argument is not a valid MySQL result r
Thanks Tomasz,
I believe that this will work just fine! :)
Mike
Tomasz Abramowicz wrote:
>
> echo "Recent Signatures\n";
> $query = "SELECT FirstName,LastName,CityState FROM phPetition WHERE
> Public='yes' AND Verified='yes' ORDER BY ID DE
I didn't see that anyone had responded to your question. You need to install
OpenLDAP. It is the only opensource one that I know.
Mike
> From: "Walgamotte, David" <[EMAIL PROTECTED]>
> Date: Tue, 1 May 2001 15:03:25 -0500
> To: [EMAIL PROTECTED]
> Subject: [PHP
3
(3,0)1
(1, 3)2
Does anyone have any code, or any hints on how to go about this? I've
worked on it for a few hours, and am really stuck.
Thanks,
Mike
Mike Potter
OEone Corp.
http://www.oeone.com
--
PHP General Mailing List (http://w
pond to the MIB. Is there a way to get
at least the x.x.x.x.x.x from a MIB file into an array of some kind, or even
better, to get the object names and such into an array?
Thanks for any information,
Mike
_
Do You Yahoo!?
Get your free @ya
How do I continue a line of code to the next line? I like to keep my lines
of code to about 60 characters in width then wrap to the next line. Is this
possible with lines of PHP code?
Thanks,
Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
doesn't matter. the thing in php that separates lines (actually
commands)
> is the --> ; semicolan.
> In theory you could put all your code on one line.
>
> ""Mike Maki"" <[EMAIL PROTECTED]> wrote in message
> 9dsbhr$52j$[EMAIL PROTECTED]">
to work with database data within Flash.
here is the url:
http://www.markme.com/as/flashsql/
mike chambers
--
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
penews.rdf
My parsing definitions are as follows
$itemTitleKey = "^rdf^item^title";
$itemLinkKey = "^rdf^item^link";
$itemDescKey = "^rdf^item^description";
Any help would be appreciated.
Mike
--
Mike Gifford, OpenConcept Consulting, http://openconcept.ca
Off
Anyone do anything in this arena yet? I searched the archives for 2001
but have yet to go farther back. I know I can use the COM ability to get
info from Domino but I'm looking for any success stories with Lotus Domino.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
lable here:
http://www.airdiv-cupe.org/portal/newsfeed_new_parser.php
And I've included the full script in the email (at the very bottom of this message).
Thanks.
Mike
Fabian Raygosa wrote:
> for xml you have to escape certain characters in the file, one is th
php
I've also attached the full script (since I've made some changes to it).
Any additional help would be appreciated.
Mike
> "Mike Gifford" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
>> Hello,
>>
;insert into dbrss (Feed, Title, URL, Abstract, Old)
VALUES ('$Feed','$Title','$URL','$Date','",$db);
Any help would be appreciated.
Mike
--
Mike Gifford, OpenConcept Consulting, http://openconcept.ca
Offering everything your organization needs fo
Hello Michael,
You hit the nail on the head... Not sure how I missed that...
In anycase, thank you.
Mike
[EMAIL PROTECTED] wrote:
> please forgive me if your typo concerns only your posting, but you didn't close your
>VALUES parenthesis.
> Then, the order of the data
t, a jpg, for example. I can't even
get the raw data. I've tried converting it to base 16 and inserting it, but
I still can't pull it out. I know how to do this in mysql, so posting that
won't help. I need to
t, a jpg, for example. I can't even
get the raw data. I've tried converting it to base 16 and inserting it, but
I still can't pull it out. I know how to do this in mysql, so posting that
won't help. I need to know how to do this with access.
Thanks
Mike.
--
PHP General Mailing
Blobs, that update statement is not getting run. There's
only 1 row in the table, but the description and ole object do not get
updated. If I switch the driver to use mysql as opposed to odbc, it works
fine on an identical table (on linux, not windows). Any ideas?
Mike B.
On Wednesday 26
it still gives errors.
I've hacked it up a little bit, but it doesen't look like the test stuff will
work for access. Has anyone successfully done this, and how? I cannot
believe that I'm the only person who's ever stored binary data in Access,
regardless of how bad of
There's no way that I have found to actually execute a script as a
specified user, however:
Should tell you what user the web server is running as.
Mike
Charlesk wrote:
> I have been looking through the docs and found no help on either finding which user
>the EXEC'ed com
I'm working php script that would perform such a feat. I'll post news on
php.general when/if it's finished.
Mike
George Nicolae wrote:
> do you know if exist a php code beautifier for win32? pls tell me the
> address.
>
> --
>
>
> Best re
Try doing this
';
print_r(array($HTTP_SERVER_VARS,$HTTP_ENV_VARS));
echo '';
?>
And see if the information you want is in there anywhere.
Mike
> I don't believe that the system variables are available to php. I work on
> *nix mostly, but I have a window
This happens when a tag is not within a block in
netscape 4.. if the select isn't meant to be part of a form, and is just
for navigation (javascript onchange or whatever), then just do
...
Mike
Edwin Boersma wrote:
> Hi,
>
> I'm developing a website for multiple brow
foldername
Then your mail database:
int auto_inc mailid
int default(0) folderid
subject
... etc ...
I would suggest setting up an IMAP server somewhere.. in which case all
you really need to do is grab Horde/IMP from http://www.horde.org/imp
and use that. The latest version is quite good.
Mike
Checkout the preg_replace page in the PHP manual (at
http://www.php.net/manual/en). There is an example there on removing all
HTML tags. You can just modify it to work on just comments.
Mike
Martin wrote:
> Hello! How can I easily strip off all html-comments () from
> a string?
>
il to their users, and Turba is a contact list
manager that integrates with IMP and Horde. For more info, go check out
their site.
Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
$HTTP_SERVER_VARS['HTTP_REFERER']
or (php 4.1.x)
$_SERVER['HTTP_REFERER']
Mike
Matthew Walker wrote:
> Related to my last question about the cookies in images, is there any
> way to get the referrer from the calling page without passing it as an
> argument t
o code in C (or C++ for
that matter), nor the time. So I donate this idea to the PHP community
in hopes that someone out there has the knowledge and the ambition to
make it happen.
Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
up?
"news" would actually be a PHP script, of course. I know how to handle
/2002/01/02/keyword as parameters, my question is on making "news" be
interpreted through PHP.
Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
?
I guess that would be the best solution. :)
Or would it? What if I have an images/ subfolder.. I certainly wouldn't
want all my images being thrown through PHP. That could cause some
ugliness. So I guess it would have to be un-doable. Is it?
Mike
Jason Murray wrote:
>>"new
I don't want to mess with the whole site, just a file or 10, or one
directory, etc.
Mike
Jason Murray wrote:
>>True, but if I remember right, the hit will end up in your
>>error_log not in your access_log.
>>
>
> Ah. Bugger.
>
> But since this would requ
That's the whole point of this thread.. that's what I want to avoid. I
want to have a URI that is easier to remember, and less ugly, and also
provides a sense of security (even if it is only a faint sense) through
obscurity.
Mike
Philip Hallstrom wrote:
> Why not just make th
all go on one line. That is a good hack for now,
but I still think it would be great to have the PHP site's search bar
kind of in my browser, and it would launch a new window or whatever
(with the drop-down to select function ref/online manual/etc)
Mike
Jason Murray wrote:
>>Like goo
s
changing all our password generation code to create 2-letter salts.
Any help much appreciated.
In short -- I want crypt() to work like it did in 4.0.6.
Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAI
It's too late for that. And I don't believe that the system's crypt()
function just magically changed at exactly the same time we upgraded to
PHP 4.1
Mike
Patrik Wallstrom wrote:
> On Tue, 8 Jan 2002, Mike Eheler wrote:
>
>
>>Is there any way to force PHP 4
help! I'll see what I can do.
Mike
Patrik Wallstrom wrote:
> On Tue, 8 Jan 2002, Mike Eheler wrote:
>
>
>>It's too late for that. And I don't believe that the system's crypt()
>>function just magically changed at exactly the same time we upgraded to
>&
echo date('m/d/Y', strtotime('September 1, 2002'));
http://www.php.net/manual/en/function.date.php
Mike
Aurelio wrote:
> hi,
>
> how i make to catch a future date, with this formatting 09/01/2002.???
>
> thanks,
> Aurélio Sabino
>
>
--
PHP G
itCPU
directive had no effect on this.
Is there any directives in PHP which can perform the same feat (i.e.
killing a process for running for too long, or limiting it's CPU usage).
Thanks,
Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROT
said, but I think this should give you some good arguments to start with.
Mike
Jake wrote:
> Hello there, I need some help.
>
> I have to do a technical report(about 2200 words) comparing PHP to ASP. I
> have already decided to make PHP the winner becasue it is superior. But I
#!/usr/local/bin/php -q
on 1/10/02 12:16 PM, Mark at [EMAIL PROTECTED] wrote:
> I've got this problem that won't go away.
>
> The headers are showing up at the top of the page when I run php in
> cgi mode. any ideas?
-- mike cullerton
--
PHP General Mailing Li
keep the data in a variable and do something like
on 1/10/02 1:30 PM, Lerp at [EMAIL PROTECTED] wrote:
> Hi there, how do I keep values in a form if the user has to go back and fill
> in some missing fields?
>
> Thx Joe :)
>
>
-- mike cullerton
--
PHP General
on 1/11/02 1:35 AM, louie miranda at [EMAIL PROTECTED] wrote:
> Hi, can php execute system commands
> like df, and then print it to html ?
http://www.php.net/manual/en/ref.exec.php
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
eally going on in the
RTFM code with the "false !==" part?
thanks y'all,
mike
-- mike cullerton
--
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]
on 1/11/02 8:20 PM, Gaylen Fraley at [EMAIL PROTECTED] wrote:
> Can someone recommend a good tutorial
> or book on this subject?
Mastering Regular Expressions
Jeffrey Friedl
O'Reilly & Associates
ISBN 1-56592-257-3
-- mike cullerton
--
PHP General Mailing List (http://w
ult)){
this tells me that $myresult is not a valid mysql result resource
identifier. how do you obtain $myresult?
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the l
nclusion (include_path='') in
> /var/virt/home/stuffwefound-co-uk/public_html/index.php on line 70
>
> I have got an error page for any other url i.e. apagenotfound.php but I
> dont know how to overcome the above.
>
> Thanks in advance
>
> Lee
>
-- mike cull
ll it exactly the same each time.
you may need to figure out some other unique identifier to determine if it's
the 'same' person.
hope this helps,
mike
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
me for getting
dates in and out of mysql using $month,$day,$year.
for any project, i also create functions for formatting $month,$day,$year
however the customer requires the output.
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
on 1/13/02 10:32 AM, Vania Lavielle Castro at [EMAIL PROTECTED] wrote:
> how work with sql server and code php?
> i try with the functions and the results are bad
> i need examples, please :(
http://www.php.net/links.php
-- mike cullerton
--
PHP General Mailing List (http://ww
on 1/13/02 10:06 AM, Cory at [EMAIL PROTECTED] wrote:
> Is it possible to put all of my functions in a text file and just call it
> and use the functions in it?
http://www.php.net/manual/en/function.require-once.php
http://www.php.net/manual/en/function.include-once.php
-- mike cul
macosxhints.com
hope this helps,
mike
on 1/13/02 6:03 PM, Michael Sciascia at [EMAIL PROTECTED] wrote:
> Hi,
> I am new to this list and also to php and I am sorry to already bother you
> with a question you might find really stupid, but I looked around for this
> information several d
-
to
MAILSERVER=-YES-
(isn't everything different in macosx)
again, you need to do this from an administrator account. this will start
sendmail each time you reboot. i'm not exactly sure how to start sendmail
correctly from the command line, but one of the sites i mentioned earlier
might
#x27;
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../librecode.a(hash.o)(.text+0xa20):
first defined here
/usr/bin/ld: Warning: size of symbol `hash_lookup' changed from 126 to
112 in misc.o
Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
Of course by --with-record I meant --with-recode
Mike
Mike Eheler wrote:
> I get this error when compiling php with ./configure
> --with-imap=../imap-2001a --with-record
>
> Any ideas on a workaround for this?
>
> /web/src/imap-2001a/c-client/libc-client.a(mi
27;$weight'";
>
> $result = mysql_query ($query);
> $num_results = mysql_num_rows($result);
>
> ...the $num_results is ALWAYS zero unless I typed in all four fields.
>
> Any help?
>
> Thanks!
>
-- mike cullerton michaelc at cullerton dot com
--
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]
so i'll bite. hopefully someone can explain what
i'm missing.
if i have a statement like
if (($a == 'a') && ($b == 'b')) blahblahblah();
and, $a != 'a'.
why should php even look at the value for $b while evaluating this line?
shouldn
ive MySQL persistent link identifier on success
this is why you use the link identifier in things like mysql_query, and lets
mysql 'know' what 'your' last insert was.
hope this helps,
mike
-- mike cullerton michaelc at cullerton dot com
--
PHP General Mailing List (http:
even if $a != 'a'? that's not what my test shows (hi bogdan :)
so, is there something other than && that forces the other half to be
evaluated?
interesting...
mike
on 8/23/01 5:19 PM, TD - Sales International Holland B.V. at [EMAIL PROTECTED]
wrote:
> On Wednesday
>> Unable to open /home/admin/webmin-0.85/ in Unknown on line 0
this is possibly a path or env issue. have you tried using absolute
filenames?
mike
on 1/16/02 10:07 AM, Tiago Luchini at [EMAIL PROTECTED] wrote:
> I am trying to run directly via PHP.
>
> I have tried setting 75
t the answer you wanted to hear, but i've lived on both sides of
this fence :)
mike
-- mike cullerton michaelc at cullerton dot com
--
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]
someone here has to know the syntax for using multiple items in a where
definition, something like:
$values = 120106,120095;
$sql = "SELECT * FROM products WHERE catalognumber = $values ORDER BY
price";
Does this make sense,
» Michael Krisher
[EMAIL PROTECTED]
--
PHP General Mailing List (h
>>>
>>> Yes. Same thing happens with absolute or relative paths.
>>
>> what's the line in your code where this error occurs?
>
> it doesn't run any line at all. don't matter what I put on my code, it just
> says "unable to open"
on 1/16/02 11:57 AM, Mike Krisher at [EMAIL PROTECTED] wrote:
> someone here has to know the syntax for using multiple items in a where
> definition, something like:
>
> $values = 120106,120095;
> $sql = "SELECT * FROM products WHERE catalognumber = $values ORDER BY
> pr
n the last_insert_id of previous INSERT query (from previous
> 'session')
but of course, you'd have checked that the result id returned a valid result
and not an error in this case and never looked for the last_insert_id,
right?
;)
mike
-- mike cullerton michaelc at cullerton
fact that have to use their CGI
> server to run PHP???
>
> Cheers
>
> Richard S
>
-- mike cullerton michaelc at cullerton dot com
--
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]
ne requests a file ending in .inc, apache won't
deliver it. however, php will still be allowed to include those files
itself.
-- mike cullerton michaelc at cullerton dot com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
gest starting with the Guides at the Linux
> Documentation Project,
> http://www.linuxdoc.org/guides.html
> and work from there, and don't forget the HOWTO's.
>> S. slightly OT, but what is the best linux book out there, aimed at
>> admin/DNS/Networking?
I can not wrap my head around variable variables today, not awake yet or
something.
For instance I trying something like this:
while ($i<$loopcounter) {
$temp = "size";
$valueofsize = $$temp$i;
$i++;
}
this doesn't work obviously, $valueofsize ends up with a literal valu
ch/software/macosx/php/
> Which values do you think I should write in the hostconfig file? My usual
> provider domain (i.e. www.tiscali.it)?
ideally, you would type the fully qualified domain name of your computer.
so, to test all this
- login to your isp
- find out your hostname (nslookup i
erver runs
as. my webserver runs as www.www so i added myself to the www group.
-- mike cullerton michaelc at cullerton dot com
--
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]
ic = array([1..100]);
Or something of that sort. Just something that popped into my mind. PHP
feels like a language that has been built on little suggestions like
this, so I thought I'd post it. :)
Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECT
In electronic format that I can have? It is included in the book 'MySQL' by Paul
DuBois ? I have a parse error in my script that I simply cannot find (after many, many
tries).
TIA
Regards
Mike C
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
t;
> php mail_test.php
>
> and getting,
>
> X-Powered-By: PHP/4.0.6
> Content-type: text/html
>
> attempting to deliver the mail
> Warning: Unknown error in mail_test.php on line 3
didn't notice any other responses, and this is just a guess here, but how
a
it for next time. the configure string might look something like
./configure \
--enable-track-vars \
--with-mysql=/usr/local \
--with-apache=/usr/src/apache_1.3.22 \
--enable-trans-sid \
--with-snmp \
--with-ftp \
--with-gd
depending on what
context isn't referring to itself at that point but some
memory space allocated to the variable named 'this' instead, i guess.
?
mike
-- mike cullerton michaelc at cullerton dot com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
what about the "[EMAIL PROTECTED]"? is it failing on a 'bad' email address? or
maybe putting everything in variables and trying
mail($to,$subject,$message);
on 1/18/02 9:14 AM, Jeff D. Hamann at [EMAIL PROTECTED] wrote:
> nope. no difference.
>
> jeff.
>
>
range() is good, but what I was getting at was a
shorthand/shortcut/alternate syntax kinda thing.
Mike
Julio Nobrega Trabalhando wrote:
> $array = range('a','z');
> ?>
>
> As usual your mileage may vary but it worked here :-)
>
> --
>
>
passed...
>
> example:
> function func($arga, $argb, $argc)
> {
> do_something_with_arga;
> do_another_thing_with_argb;
> and_if_argc_was_passed_do_something_with_it_too;
> }
>
> because i dont want to pass argc if i dont need it, and to pass void arguments
> like '' is annoying...
>
&
mo4QE9
and $filename_name=BackB.gif (or whatever)
When the client is IE (I tried V5.5 and 6.0) I get
$filename=F:\\disk_e\\Butter\\BackB.gif
and $filename_name (etc) are empty.
Has anyone else run into this? Any suggestions as to how I can further
debug this?
Thanks,
Mike at nutfield.net
--
P
I have not been able to find an electronic copy of the above script that is in the
book 'MySQL'.
Is anyone prepared to help me out. My, self-typed version contains a parse error that
I cannot find?
Regards
Mike C
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
_affected_rows () > 0)
print ("Entry updated successfully.\n");
else
print ("Entry not updated.\n");
}
function nullable ($result, $col_name)
{
for ($i = 0; $i < mysql_num_fields ($result); $i++)
{
if (!($fld = mysql_fetch_field ($result, $i)))
continue;
if ($fld->name == $col_name)
return (!$fld->not_null);
}
return (0);
}
if (empty ($action))
$action = INITIAL_PAGE;
$title = "Historical League member editing form";
html_begin ($title, $title);
samp_db_connect()
or die ("Cannot connect to the server");
switch ($action)
{
case initial_page:
solicit_member_id ();
break;
case display_entry:
display_entry ();
break;
case update_entry:
update_entry ();
break;
default:
die ("Unknown action code ($action)");
}
html_end ();
?>
_
#samp_db.inc
\n");
print ("\n");
if ($title)
print ("$title\n");
print ("\n");
print ("\n");
if ($header)
print ("$header\n");
}
function html_end ()
{
print ("\n");
}
?>
Regards
Mike
--
--
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]
Hi Janet,
>
>The problem is on this line.
>
>print ("\n");
>
>There is a space between the \ and the " before Submit.
Yes indeed :-(, how could I miss that
Your wonderful :-) Thank you (and others) so much.
Regards
Mike C
--
--
PHP General Mail
holdups in
the system anywhere, and his userload at any one time on any of those
systems is higher than what you expect by far. The biggest concern is to
get the systems set up properly, like configuring Apache and PHP. Those two
will suck of RAM if you aren't careful, not to mention CPU res
1001 - 1100 of 3013 matches
Mail list logo