on a friday
night after a few cold ones was always fun :)
-- mike cullerton michaelc at bakednotfried dot com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
i just tried a test and it works on MacOS X. even with the space between
'chmod' and '('.
what platform are you on? is this a standalone script/app or from a web
page? can you perform the chmod from the command-line? what is the entire
error message?
also, the error doesn't really suggest this,
on 2/4/02 11:32 AM, Peter J. Schoenster at [EMAIL PROTECTED] wrote:
Hi
If I use $snippet = ; and escape the quotes in the block then it
works. But if I use it as is below, it fails with no useful error
message. Why?
not sure if this is it or not, but from the manual
on 2/1/02 11:36 AM, Dave at [EMAIL PROTECTED] wrote:
How can I add an attachment to an email using MAIL(). So far I have been
able to successfully send email by using:
mail($to, $subject, $message, $headers);
Is there something I can add in the $headers to add an attachment??
you
-type: text/html
attempting to deliver the mailbr
bWarning/b: Unknown error in bmail_test.php/b on line b3/bbr
didn't notice any other responses, and this is just a guess here, but how
about taking the '()' out of the body of the message. ie, command line mail
test
-- mike cullerton
directory (what files
are in). Maybe I can search it manually.
-- 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
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]
For additional commands, e-mail: [EMAIL PROTECTED
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.
Mike Cullerton [EMAIL PROTECTED] wrote
want to pass argc if i dont need it, and to pass void arguments
like '' is annoying...
-- 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
.
so, to test all this
- login to your isp
- find out your hostname (nslookup ip_address)
- edit /etc/hostconfig to add hostname
- see if it works
- woohooo!
now, the hard part is automating that :)
good luck,
mike
-- mike cullerton michaelc at cullerton dot com
--
PHP General Mailing
.
-- 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]
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't the if fail after evaluating $a?
thanks,
mike
-- mike cullerton michaelc at cullerton dot com
--
PHP General
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://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
evaluating this line?
shouldn't the if fail after evaluating $a?
thanks,
mike
-- mike cullerton michaelc at cullerton dot com
-- mike cullerton michaelc at cullerton dot com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
I have no idea why PHP parser is making this confusion.
Could anyone bring some light to this mistery please?
Atenciosamente,
Tiago Luchini
Diretor Técnico-Comercial
Galluch Soluções Internet
Tel.: 0xx11 6912-3255
Cel.: 0xx11 7839-7740
-- mike cullerton michaelc at cullerton dot
:)
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]
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
what's the first line of the file being called by cron? is it
#!/usr/local/bin/php -q
-- mike cullerton michaelc at cullerton dot com
--
PHP
where catalognumber in (120106,120095) order by
you may need quotes around the stuff in the parens, ('120106','120095')
-- 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
result
and not an error in this case and never looked for the last_insert_id,
right?
;)
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
something to do with the 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
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, e-mail: [EMAIL PROTECTED
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.
snip
S. slightly OT, but what is the best linux book out there, aimed at
admin/DNS/Networking?
-- mike cullerton michaelc at cullerton dot com
--
PHP
lastname='$lastname' and
firstname='$firstname' and age='$age' and weight='$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
to overcome the above.
Thanks in advance
Lee
-- 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
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 additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
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]
For additional
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://www.php.net
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 cullerton
thank you in advance for the kindness and the attention.
Greetings,
Michael
-- 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
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 have something.
mike
-- mike cullerton
--
PHP
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 list administrators, e
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: [EMAIL PROTECTED
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://www.php.net
#!/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 List (http://www.php.net
keep the data in a variable and do something like
INPUT TYPE=text NAME=name VALUE=?php print($name); ?
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
on 10/2/01 8:51 AM, CC Zona at [EMAIL PROTECTED] wrote:
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Mike Cullerton) wrote:
eregi(^[a-z0-9_\-]+$,$string)
notice that i had to escape the dash with a backslash
Are you sure? 'Cuz AFAIK, escaping shouldn't be necessary on a hyphen
lid. For example, theres the word expressio_n that will be
valid,
but
the word express%^$-n will be invalid.
Thankyou,
Tim
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
it in PHP.
--
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.281 / Virus Database: 149 - Release Date: 9/18/2001
-- mike cullerton
--
PHP General
contains sensitive or confidential data then I
would suggest you do both - username/password and IP
-- 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
,
and the internet from the linux machine?
-- 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]
to develop my
sites, and many of them use sessions without a problem. when i turn off
cookies in the browser (usually the latest version of ie) php handles it
smoothly.
let me know if you have any questions,
mike
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
language seems a pretty
noble goal to me.
Regards,
Manuel Lemos
have a good one,
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
with the requested language.
How can I retrieve the existing value of the cookie? (My cookie looks
language,spanish or english or german,time()+1 year).
$HTTP_COOKIE_VARS[language]
if register_globals is on, you should be able to use $language
mike
Thank you for your support.
Pere
-- mike
in my script to assign different
value for $bgcolor variable to color rows in result, but I want to
understand what does it mean.
Thank you in advance,
Youri
God is our provider
http://www.body-builders.org
-- mike cullerton
--
PHP General Mailing List (http://www.php.net
:
$basefont = Verdana, Helvetica, Serif;
endif;
It doesn't return an error, but that doesn't mean it works. I really
appreciate your help. TIA
Tom Malone
Web Designer
http://www.tom-malone.com
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
.
Thanx,
James
-- 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]
php ?
inside php.ini
; automatically add files before or after any PHP document
auto_prepend_file =
auto_append_file=
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
;
Parse error: parse error, expecting `T_VARIABLE' or `'$''
Could someone please tell me the more than likely simple sollution.
Thanks
Taz
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
is). syntactically, i know that
functions require parentheses.
with echo, the manual says you _cannot_ use parantheses if you are echoing
more than one thing.
http://www.php.net/manual/en/function.echo.php
-- mike cullerton
You're right, return is a statement.
I never said, though, to use
on 8/6/01 11:17 PM, Arcadius A. at [EMAIL PROTECTED] wrote:
What if the host I'm checking is a simple workstation not running neither a
HTTP nor a FTP server ?
I'm writing this script for an intranet to check which machines are
currently on ...
maybe some kind of snmp query?
-- mike
(Location: menu.php);
menu.php:
session_start();
echo Welcome, $NAME;
So like, what the hell. Why would it keep losing track of $NAME?
Thanks,
Chad
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
. it is a language construct. (i'm not sure of all the
implications of this) also, you do not need parantheses. so,
echo $thing;
is valid.
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
($submit) {
case my_value:
my_function();
break;
case my_other_value:
my_other_function();
break;
default:
my_default_function();
break;
}
so, when the form is submitted, i check the value of submit and run the
corresponding function.
hope this helps,
mike
-- mike cullerton
;$year++)
{
$avg_$year=($high_$year+$low_$year)/2 // create $avg_1995, ...
print $avg_$yearbr;
}
?
-- 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
with Yahoo! Messenger
http://phonecard.yahoo.com/
-- 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]
oops, that's printf(avg for %s is %s,$year,($$high + $$low)/2);
:)
sorry
on 8/6/01 6:17 PM, mike cullerton at [EMAIL PROTECTED] wrote:
try
for ($year=1995;$year=2001;$year++) {
$high = high_ . $year;
$low = low_ . $year;
printf(avg for %s is %s,$year,($high + $low)/2);
}
on 8/6
:
Is there a routine out there to strip all characters from a phone
number except the numbers? I was going to write my own but
figured there must already be one out there I can use. Thanks.
Jeff Oien
ereg_replace ([^0-9],,$string);
-- mike cullerton
-- mike cullerton
--
PHP General
(i can't remember which) handles it
differently if there is more than one button on the page.
i think if the browser is ie and there is only one submit button, hitting
enter also returns submit='whatever'. otherwise, no guarantees.
it appears that hiddens are the way to go
-- mike cullerton
are ok with MyISAM or
InnoDB tables. check out the docs on table creation and column types at
mysql.com.
-- 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
= $phone1 . $phone2 . $phone3. i then put $phone in the db.
when i want to display the phone number somewhere, i use phone_to_3() to
turn $phone into $phone1, $phone2, $phone3. i can then format the phone
number making it easy to read.
hope this helps,
mike
-- mike cullerton
--
PHP General
approaches?
thanks everyone,
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]
another vote for analog.
on 8/2/01 9:46 PM, Chris Fry at [EMAIL PROTECTED] wrote:
analog seems to be the industry standard - use it with the extended log
format.
http://www.statslab.cam.ac.uk/~sret1/analog/
-- mike cullerton
--
PHP General Mailing List (http://www.php.net
title='$title',speaker='$speaker',event_date='$tdate',time='$time',bldg='$bu
ilding'
,rm='$room' WHERE id='$id';
Without the quotes, SQL doesn't know that Something Amazing is
supposed to
go together in the same string.
HTH
-- mike cullerton
--
PHP General Mailing List (http
in new PHP extensions without re-compiling
everything, but you'll need to check up on the stability issue.
this is cool to know, thanks.
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
dude, aren't you being a little harsh?
I hereby nominate Kyle as the official George W. Bush of the PHP General
mailing list. Anyone second it?
to dubya, that is :)
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
);
-- 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]
.
Anyone have a quick solution?
i would check out http://php.net/strpos
Thanks,
Chuck
-- 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
] wrote:
SORRY i just coppied it wrong
the actual code is capitalized
while(list($k, $v) = each($HTTP_SESSION_VARS))
-- mike cullerton [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
that you can give me.
well, not much of my knowledge is php related, but what the heck :)
--derek
-- 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
on 8/1/01 8:39 AM, Ibrahim Noor at [EMAIL PROTECTED] wrote:
I tried to create file by fopen(fd, w) function, but it didn't work.
Permission Denied, server said.
maybe you (the user your script is running as) don't have permission to
write the file?
-- mike cullerton
--
PHP General
? What else would you need, if anything?
-- 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]
== ???)
{
bla
bla
bla
}
My condition wants there to be nothing in $value.
-- 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
');
}
function __wakeup() {
$this-svar['test'] = I'm here!;
}
}// end class
?
-- 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
you around.
hope we can help you out some. two places you should go to get started are
php.net and link.to.list.faq
let me know if there already is one.
have a day,
mike
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
is an object itself?
thanks,
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]
in advanced
- Kyle
-- 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]
, CGI GUY wrote:
Is there anything (add. parameters, etc.) that I'm
missing that would possibly explain why the following
code won't execute?
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
expects a table.
try select table_name.column_name1,table_name.column_name2
from table_name
-- 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
one is a copy/paste and the
other is some kind of read. is there any different behavior we should expect
in scripts using one method vs another.
my first guess was that require_once wouldn't evaluate the file, but i can
execute code from within a file using either method.
thanks,
mike
-- mike
into the file whereas an included file is only imported if the
include() statement is executed. The same is true for the _once()
versions except that the statement evaluates to nothing if the file has
already been imported by another statement.
Cheers,
Sterling
Mike Cullerton wrote:
hey
the file and choose
Set Permissions... from the Listing diresctory. then make sure the box for
group write is checked.
Have a nice day,
Stephan Huebner
hope this helps,
mike
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
mkidir has a switch to force it to create any needed
directories along the way.
-- 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
on 7/27/01 3:46 PM, Jerry Lake at [EMAIL PROTECTED] wrote:
for the life of me I can't remember
how to convert a string to just the first
letter of itself i.e. $string = test
...a function
$string_first = t
$word = substr($word,0,1);
-- mike cullerton
--
PHP General Mailing List
/add.php?num[]=2num[]=3num[]=4num[]=5
-- 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]
global $_VARIABLE_, $$_VARIABLE_;
-- 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]
it produces, but you'll find patterns and you can search and
replace some. it's a great way to get some of your typing done if nothing
else.
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
clearly, I admit--about
apps like Smarty and PhpLib and Pear, which I've heard so much about.
-- 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
on 7/9/01 8:17 AM, Peter Schumacher at [EMAIL PROTECTED] wrote:
I still run into the max_execution_time!!! I thought it would be reset as I
redirect to another page.
within your script
ini_set(max_execution_time, $some_bunch_of_seconds);
-- mike cullerton
--
PHP General Mailing List
on 7/8/01 5:53 AM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote:
Hi mike!
On Sat, 07 Jul 2001, mike cullerton wrote:
hey folks,
i'm trying to register an object as a session variable and feel like i'm
chasing my tail. i either get the define class before starting session
problem
on 7/8/01 10:51 AM, Tom Carter at [EMAIL PROTECTED] wrote:
I thought convert was an imagemagick command, rather than unix by default?
could be wrong tho...
yes, but you can install it on a box without xwindows and still use it. a
pretty cool tool.
-- mike cullerton
--
PHP General
the web application create a file, and then have a
cron job as root come by and read the file and add the user(s).
-- 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
://www.php.net/session
-- 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]
of
variables to serialize. should i include the db object in this array?
anyone have a simple example to start from?
any help appreciated, thanks,
mike
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
,$rid-getMessage())
}
-- 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]
, parsing drops out of PHP mode and into HTML mode at the
beginning of the target file, and resumes again at the end. For this reason,
any code inside the target file which should be executed as PHP code must be
enclosed within valid PHP start and end tags.
-- mike cullerton
--
PHP General
to simulate the entering of the information and clicking of the
submit button?
i'm not sure if this is what you are asking, but i can have an url like
http://mysite.com/?submit=click_meopt=my_option
and refer to those inside my program as $submit and $opt
-- mike cullerton
--
PHP General
);
?
-
Please help me to fix the problem. Thanks.
-- 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]
serialize?
maybe i'm missing something easy...
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]
,0,x);
$field2 = substr($buffer,x,y);
$field3 = substr($buffer,x+y,z);
...
where x is the length of the first field, y length of the second ...
also, you may want to trim() the fields.
i'm sure others around here can come up with something better.
:)
-- mike cullerton
--
PHP General Mailing
1 - 100 of 124 matches
Mail list logo