Re: [PHP] Php Projects

2002-02-08 Thread mike cullerton
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

Re: [PHP] copy + chmod problems ...

2002-02-07 Thread mike cullerton
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,

Re: [PHP] Why does heredoc fail in this instance?

2002-02-04 Thread mike cullerton
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

Re: [PHP] Attaching a file via MAIL()

2002-02-01 Thread mike cullerton
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

Re: [PHP] command line are -c doesn't work on win2k?

2002-01-18 Thread mike cullerton
-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

Re: [PHP] help installing php

2002-01-18 Thread 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

Re: [PHP] $this objects and vars

2002-01-18 Thread mike cullerton
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

Re: [PHP] command line are -c doesn't work on win2k?

2002-01-18 Thread mike cullerton
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

Re: [PHP] function arguments

2002-01-18 Thread mike cullerton
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

Re: [PHP] Php.ini file missing

2002-01-17 Thread mike cullerton
. 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

Re: [PHP] PHP Security - view source code

2002-01-17 Thread mike cullerton
. -- 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]

Re: [PHP] Lazy evaluation?

2002-01-16 Thread mike cullerton
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

Re: [PHP] mysql_insert_id?

2002-01-16 Thread mike cullerton
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

Re: [PHP] Lazy evaluation?

2002-01-16 Thread mike cullerton
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

Re: [PHP] PHP as a cron job

2002-01-16 Thread mike cullerton
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

Re: [PHP] Maintenance of POP3 accounts

2002-01-16 Thread mike cullerton
:) 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]

Re: [PHP] PHP as a cron job

2002-01-16 Thread mike cullerton
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

Re: [PHP] mySQL select statement with mulitple where definitions

2002-01-16 Thread mike cullerton
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

Re: [PHP] mysql_insert_id?

2002-01-16 Thread mike cullerton
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

Re: [PHP] PHP HTML: newbie question

2002-01-16 Thread mike cullerton
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

Re: [PHP] PHP Security - view source code

2002-01-16 Thread mike cullerton
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

Re: [PHP] Linux Book

2002-01-16 Thread mike cullerton
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

Re: [PHP] Another question - not exactly what i was looking for

2002-01-15 Thread mike cullerton
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

Re: [PHP] 404 Redirection

2002-01-13 Thread mike cullerton
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

Re: [PHP] Newbie database question

2002-01-13 Thread mike cullerton
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

Re: [PHP] convert yyyy/mm/dd to mm/dd/yyyy, how?

2002-01-13 Thread mike cullerton
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

Re: [PHP] beginer

2002-01-13 Thread mike cullerton
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

Re: [PHP] External Function

2002-01-13 Thread mike cullerton
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

Re: [PHP] Php.ini file missing

2002-01-13 Thread 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

Re: [PHP] Php.ini file missing

2002-01-13 Thread mike cullerton
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

Re: [PHP] mysql_fetch_row win32 to Linux

2002-01-12 Thread mike cullerton
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

Re: [PHP] php executing system commands..

2002-01-11 Thread mike cullerton
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

[PHP] RTFM code snippet

2002-01-11 Thread mike cullerton
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]

Re: [PHP] preg_replace help

2002-01-11 Thread mike cullerton
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

Re: [PHP] headers showing up in browser

2002-01-10 Thread mike cullerton
#!/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

Re: [PHP] Form Question

2002-01-10 Thread mike cullerton
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

Re: [PHP] eregi

2001-10-02 Thread mike cullerton
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

Re: [PHP] eregi

2001-10-01 Thread mike cullerton
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

Re: [PHP] DB.php, and how to use?

2001-09-25 Thread mike cullerton
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

Re: [PHP] Determining IP address

2001-09-06 Thread mike cullerton
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

Re: [PHP] networking

2001-08-31 Thread mike cullerton
, 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]

Re: [PHP] Sessions and Cookies on Macs

2001-08-28 Thread mike cullerton
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

Re: [PHP] The future of PHP

2001-08-28 Thread mike cullerton
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

Re: [PHP] How can I read the value of an existing cookie?

2001-08-25 Thread mike cullerton
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

Re: [PHP] $i % 2 ? 0:

2001-08-25 Thread mike cullerton
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

Re: [PHP] code check

2001-08-23 Thread mike cullerton
: $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

Re: [PHP] print_r question

2001-08-23 Thread mike cullerton
. 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]

Re: [PHP] server run page

2001-08-12 Thread mike cullerton
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

Re: [PHP] if(!$submit)

2001-08-07 Thread mike cullerton
; 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

Re: [PHP] checking for null form fields fails

2001-08-07 Thread mike cullerton
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

Re: [PHP] Re: Host OnLine ?

2001-08-06 Thread mike cullerton
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

Re: [PHP] Session problem

2001-08-06 Thread mike cullerton
(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

Re: [PHP] What's the difference between echo and print?

2001-08-06 Thread mike cullerton
. 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

Re: [PHP] Form call a function on submit

2001-08-06 Thread mike cullerton
($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

Re: [PHP] How do I write a compound variable?

2001-08-06 Thread 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

Re: [PHP] running stand-alone php

2001-08-06 Thread mike cullerton
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]

Re: [PHP] How do I write a compound variable?

2001-08-06 Thread mike cullerton
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

Re: [PHP] Phone Number #s Only?

2001-08-04 Thread mike cullerton
: 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

Re: [PHP] weird behavior with a form

2001-08-04 Thread mike cullerton
(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

Re: [PHP] mySQL Autoincrement Field

2001-08-03 Thread 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

Re: [PHP] Re: Phone Number #s Only?

2001-08-03 Thread mike cullerton
= $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

[PHP] thoughts on sessions and members

2001-08-03 Thread mike cullerton
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]

Re: [PHP] web traffic report

2001-08-03 Thread mike cullerton
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

Re: [PHP] SQL syntax error in PHP script. dunno what's wrong

2001-08-02 Thread mike cullerton
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

Re: [PHP] What would you want in a PHP web host?

2001-08-02 Thread mike cullerton
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

Re: [PHP] Adopt A Newbie (ME)

2001-08-02 Thread mike cullerton
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

Re: [PHP] Phone Number #s Only?

2001-08-02 Thread mike cullerton
); -- 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]

Re: [PHP] html parsing question

2001-08-02 Thread mike cullerton
. 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

Re: [PHP] HTTP_SESSION_VARS

2001-08-01 Thread mike cullerton
] 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

Re: [PHP] What would you want in a PHP web host?

2001-08-01 Thread mike cullerton
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

Re: [PHP] fopen(fd, w) doesn't work?

2001-08-01 Thread mike cullerton
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

Re: [PHP] Fun Question - What if...

2001-08-01 Thread mike cullerton
? 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]

Re: [PHP] not null

2001-08-01 Thread mike cullerton
== ???) { 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

Re: [PHP] Re: issues with __sleep() and __wakeup()

2001-08-01 Thread mike cullerton
'); } 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

Re: [PHP] Attitude of B van Ouwerkerk

2001-07-31 Thread mike cullerton
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

Re: [PHP] issues with __sleep() and __wakeup()

2001-07-31 Thread mike cullerton
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]

Re: [PHP] Execute mixed php code from mysql?

2001-07-31 Thread mike cullerton
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]

Re: [PHP] dumb mysql_connect issue

2001-07-31 Thread mike cullerton
, 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

Re: [PHP] dumb mysql_connect issue

2001-07-31 Thread mike cullerton
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

[PHP] include_once vs require_once

2001-07-31 Thread mike cullerton
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

Re: [PHP] Re: include_once vs require_once

2001-07-31 Thread mike cullerton
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

Re: [PHP] Can't write to file via php, just via ftp...Can anyonehelp?

2001-07-30 Thread mike cullerton
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

Re: [PHP] mkdir

2001-07-28 Thread mike cullerton
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

Re: [PHP] idiotic question

2001-07-27 Thread mike cullerton
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

Re: [PHP] array through url?

2001-07-27 Thread mike cullerton
/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]

Re: [PHP] Using Variable Variables...

2001-07-26 Thread mike cullerton
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]

Re: [PHP] asp to php

2001-07-26 Thread mike cullerton
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

Re: [PHP] newbie seeks template info

2001-07-25 Thread mike cullerton
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

Re: [PHP] max_execution_time header

2001-07-09 Thread mike cullerton
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

Re: [PHP] registering objects as session variables

2001-07-08 Thread mike cullerton
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

Re: [PHP] can't generate gif!!!

2001-07-08 Thread mike cullerton
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

Re: [PHP] add user from the web interface

2001-07-08 Thread mike cullerton
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

Re: [PHP] Re: when to delete a temporary file ?

2001-07-08 Thread mike cullerton
://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]

[PHP] magic functions

2001-07-08 Thread mike cullerton
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

Re: [PHP] Global Variables -- why not have them?

2001-07-08 Thread mike cullerton
,$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]

Re: [PHP] Question about how to do this...

2001-07-08 Thread mike cullerton
, 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

Re: [PHP] Post a form within a running php-script

2001-07-08 Thread mike cullerton
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

Re: [PHP] chdir() help

2001-07-07 Thread mike cullerton
); ? - 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]

[PHP] registering objects as session variables

2001-07-07 Thread mike cullerton
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]

Re: [PHP] Question: Processing files in directory and parsing...

2001-07-07 Thread mike cullerton
,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   2   >