Re: [PHP] RE: **[SPAM]** RE: [PHP] Newsgroups Space

2004-10-08 Thread Matthew Sims
s only because there aren't > any SI prefixes higher than Yotta (10^24). > Yeah, that Super Turbo Lobster Fighter Alpha EX2 Special is freakin' huge. -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] sending mail -- nullmailer

2004-10-08 Thread Matthew Sims
Does nullmailer have a sendmail wrapper? mail() in unix/linux looks for the sendmail binary. mail() on windows uses the settings in php.ini. -- --Matthew Sims --<http://killermookie.org> > > > Ok, so I came across nullmailer, which seems to do exactly what I want - >

Re: [PHP] setting index of array as 1

2004-10-18 Thread Matthew Sims
t','second','third'); echo $new_array[1]; <--- Will echo first -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help! No output from PHP CLI

2004-10-19 Thread Matthew Sims
89 8777 Fax: +61 8 9389 8444 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Isn't there a --enable-cli option when compiling PHP for command line? If so, was that included as part of the install? I saw thi

RE: [PHP] Re-compiling PHP

2004-10-21 Thread Matthew Sims
t; > It's not finding them by itself..so you my need to be a bit more > specific. > > ..you have mysql libs installed, right? > > -Robby I think just doing --with-mysql=/path/to/mysql is all you need to do. Once PHP sees the MySQL base directory it knows where the headers and libs a

Re: [PHP] MySQL & PHP database script PLEASE

2004-10-21 Thread Matthew Sims
array to query your DB? $result = mysql_query("select * from gen_table where GO like ''.$_GET["go"].'' and ym like ''.$_GET["dt"].'' and Tit like ''.$_GET["ti".'' and Aut like ''.$_GE

Re: [PHP] Thanks but problem Again! (MySQL & PHP database script PLEASE)

2004-10-22 Thread Matthew Sims
re probably correct. There's something not right with your query string. A good test to try is to run the query from the mysql prompt and substitute the vars with actual values and see if it returns correctly. -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Streaming

2004-06-28 Thread Matthew Sims
is CSI and won't insert data into your database. You need an SSI like PHP do to that. The PUSH thing you're referring to? Are you talking about the PSH flag in TCP? PUSH is a transport-layer protocal. HTTP only has GET and POST (as well as OPTION,HEAD,PUT,DELETE,TRACE and CONNECT) which are application-layered. --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Works in Mozilla, not in IE

2004-06-28 Thread Matthew Sims
how the browser will handle > the filedownload. You're at the mercy of the intellegence of the > browser :/ > Read as: IE is stupid. ;) --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: test if $int is integer

2004-06-29 Thread Matthew Sims
evaluates whether $n has been typed as a string or as an integer, not whether the value of $n is an integer. Can anyone comment on this? --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] TAB Syntax

2004-06-29 Thread Matthew Sims
assword"); > > I've tried: > > print_r("Host: \t$hostUser: $userPassword: $password"); > > and god knows what else with the brackets etc. > > Any ideas...? > I think your understanding of print_r is a little fuzzy. Try just using print. --Matthew Sims --<http:

Re: Re[2]: [PHP] Is there a name for this kind of DOS attack?

2004-06-29 Thread Matthew Sims
Fraggle, SYN, et all). > > Best regards, > > Richard Davey This should help. http://www.unixcities.com/dos-attack/index1.html --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] session id changing all the time on some pc's

2004-07-02 Thread Matthew Sims
ing on their user level. Passing the $_SESSION variables around was just plain easier than setting up cookies. I also felt I had a greater control over the whole process from login to logout. Instead of passing the session_id through the URL ($_GET) just assign it to $_SESSION and pass that around. Then it'll stay transparent to the user. --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] session id changing all the time on some pc's

2004-07-02 Thread Matthew Sims
What if you used this? session_start(); $_SESSION['sid']=session_id($HTTP_GET_VARS['sid']); Now as long as each of your pages has session_start() at the top, you can use $_SESSION['sid'] whereever. To the mailing list: Am I doing this correctly? --Matthew Sims -

Re: [PHP] session id changing all the time on some pc's

2004-07-02 Thread Matthew Sims
> "Matthew Sims" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> >> >> Instead of passing the session_id through the URL ($_GET) just assign > it >> >> to $_SESSION and pass that around. Then it'll stay transparent to the

Re: [PHP] session id changing all the time on some pc's

2004-07-02 Thread Matthew Sims
n another page: if ($_SESSION['sid']==session_id()) { continue browsing; } else { redirect to front page; } or however you want it to be. The above isn't tested. Not sure if session_id needs to be assigned to a variable. Is this what you're referring to or am I just misreading wha

RE: [PHP] Password encyption

2004-07-02 Thread Matthew Sims
point. If you don't run your own server, you might want to see other options about running your site. If you do run your own server, maybe store the passwd as an MD5 hash on the web page that sends it to a script outside your web root. If the MD5 hashes match, return the passwd back to the web

Re: [PHP] session id changing all the time on some pc's

2004-07-02 Thread Matthew Sims
turned on then the session id is different with each page. Bleh. Okay...so...ignore all that I said. :) So I guess $_GET is the only option...that sucks. Sorry dude. --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Web Mail

2004-07-05 Thread Matthew Sims
the > server the way IMAP does. POP3 delivers the mail to > the client and then drops it. > > --John Just like John says, webmail should use IMAP. Mail clients should use POP3. If you want a webmail, you should be using IMAP. I've been using SquirrelMail for over a year and it

Re: [PHP] Dissappering Tables Server wide

2004-07-05 Thread Matthew Sims
> * Thus wrote Chris: >> Hi All. >> >> What would cause all the tables in all the databases to be deleted all >> at >> once? > > a magic spell? > > > Curt The Keibler Elves --Matthew Sims --<http://killermookie.org> -- PHP General Mailing

Re: [PHP] user tracking

2004-07-06 Thread Matthew Sims
tions of a specific user, you'll need to look > elsewhere. > > - > michal migurski- contact info and pgp key: > sf/cahttp://mike.teczno.com/contact.html > Though not PHP, I've been using Awstats and love it. http://awstats.

Re: [PHP] Malicious SQL

2004-07-07 Thread Matthew Sims
HTML, > use htmlentities(). etc. > On top of that, the fact that you can turn it off creates different PHP environments between different servers. So now programmers are forced to check that magic_quotes_gpc is on each time and take appropriate action when it's off. I think a good progra

Re: [PHP] Client IP

2004-07-07 Thread Matthew Sims
> Can someone help me ? > > Thanks in advance! $_SERVER["REMOTE_ADDR"] --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] User Redirection if login fails

2004-07-08 Thread Matthew Sims
index.php"); exit; } } So if the login fails, they'll still be sitting at the login page. The above code needs to be set before any HTML code, else the redirect won't work. http://us4.php.net/manual/en/function.header.php --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Slideshow using PHP

2004-07-08 Thread Matthew Sims
ed to use client side instructions, aka javascript. You're probably not going to get it to work so well using PHP which is server side instructions. Part of getting the slideshow to work is making the browser switch to the next image and well, PHP doesn't really make the browser do anything.

Re: [PHP] Malicious SQL

2004-07-08 Thread Matthew Sims
f mysql do allow multiple queries. I've heard the same thing, regarding MySQL 4. But someone else mentioned that this only applies to the command line of MySQL only. True? False? --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Retrieving Data To Edit

2004-07-09 Thread Matthew Sims
n the form > field, even though the database holds a value in that field. > > What am I doing wrong...? > > -- > - > Michael Mason Do you need to use a while loop? If you're expecting only 1 query result from the database, skip the while loo

[PHP] OO woes

2004-07-12 Thread Matthew Sims
es not contain any quotes, the class works perfectly. But whenever quotes are passed through, I get the following error: Fatal error: Uncaught exception 'Exception' in /www/htdocs/classes/db_class.php:53 Stack trace: #0 /www/htdocs/letter.php(51): DB_Mysql->execute('INSERT into aeM...

RE: [PHP] OO woes

2004-07-12 Thread Matthew Sims
> Hi, > > Doesn't sound like an OO issue, sounds like you're kiling the query > with the '. You should go thru and maybe do an str_replace( "'", "\'", > $_POST['test'] ) on all your post variables. > > -Dan J

Re: [PHP] Exceptions

2004-07-12 Thread Matthew Sims
t;].'\''; >$dbh->execute($query); > } > catch (Exception $e) { >// This just prints, but you could do other things like ignoring >// the error or trying to reconnect, etc. >echo $e->getMessage(); >print_r( $e->getTrace() ); > } > Nice, that makes it easier on the eyes to read. --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] OO woes

2004-07-12 Thread Matthew Sims
mysql_escape_string","$_POST"); And it all worked on nicely. --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and HTML Conventions

2004-07-12 Thread Matthew Sims
read the code. Also, using the PHP tags can mean fewer characters in your webpage making it slightly smaller. But...that's just my preference. :) --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Anyone knows when PHP5 is released?

2004-07-13 Thread Matthew Sims
> So is there a date set yet or is it just to wait? > > How is the progrese one the respons to RC3? Is it many bugs left? > > Dear Reagrds I've been using RC3 for the past month and so far I haven't run into any problems. I want to get used to the new OO setup

Re: [PHP] php 4.3.7/5.0

2004-07-13 Thread Matthew Sims
but the problem is, what if $var was converted to $var = "0" instead > of $var = 0 somewhere throughout the code that I didn't know about? > > Is there a way to be sure what's going on here? > > -- > -Josh What about the isset function? Or any of the following: h

[PHP] Yay!

2004-07-13 Thread Matthew Sims
PHP5 released today! (for those that don't know yet) ;) http://www.php.net/ --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Storing text with carriage returns in MySQL

2004-07-15 Thread Matthew Sims
> Umm this is very weird - I've checked the database and the string is > only stored upto the first carriage return everything else appears to > be missing, BUT, when I display it in the webpage (using > stripslashes()) the entire original message is intact - but on a > single line!!! :S Magic

Re: [PHP] Login Script

2004-07-19 Thread Matthew Sims
nyone (regardless of cookies being allowed or not) to be able to use my > service, but I would still like it to be secure. > If security is in mind, adding SSL to your website is a great start. --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP configuration problem on Solaris 2.7

2004-07-19 Thread Matthew Sims
/usr/local/apache/bin/apxs > loading cache ./config.cache > checking host system type... sparc-sun-solaris2.7 > > > Any assistance would be deeply appreciated > > -- Mark Perkoski Do you have GCC installed? That usually the next step. If you type gcc at the command prompt you

Re: [PHP] Apache 2 and PHP for Production?

2004-07-19 Thread Matthew Sims
Gremlins Associates -> www.gremlins.biz Apache2 had been well known to not work completely with PHP. It's not PHP's fault. Though some people have managed to get it right. YMMV. You'll probably have an easier time using Apache1.3. --Matthew Sims --<http://killermookie.org>

Re: [PHP] Plain Number

2004-07-19 Thread Matthew Sims
; If by no comma or decimal point you mean rounding to a whole integer, check out the round() function. http://us3.php.net/manual/en/function.round.php --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] textarea/display question...

2004-07-20 Thread Matthew Sims
> > ps.. to you guys who said that the doesn't have a value=''.. it > does... Please, in this documentation from the W3C's site, show me where there's a value attribute for textarea. http://www.w3.org/TR/1998/REC-html40-19980424/interact/forms.h

Re: [PHP] PHP configuration problem on Solaris 2.7

2004-07-20 Thread Matthew Sims
> > Curt, > > I checked the log file as you recommended but it doesn't reveal any > meaningful > clues. Its funny, I've installed > tons of packages and never had a configuration crap out like this. > > ws3 {root} 28: more config.log > This file contains any messages produced by compilers while > r

Re: [PHP] PHP-5 book

2004-07-21 Thread Matthew Sims
>> Can someone advise me of a very good PHP-5 book. > > Hands down the best: > > Advanced PHP Programming > by George Schlossnagle > > Regards, > Philip I also recommend this book. It covers the new OO model of PHP5 very well. --Matthew Sims --<http://killermoo

Re: [PHP] 'echo' and 'html_decode'

2004-07-21 Thread Matthew Sims
ql-result.php For example: $query = "SELECT * from tablename where index='var'"; $result = mysql_result($query); while ($row = mysql_fetch_array($result)) { //do stuff with $row } --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www

Re: [PHP] Re: how to use session?

2004-07-21 Thread Matthew Sims
aybe pass along the session id, if needed > echo 'page 2'; > ?> > > Try this: blah blah blah session_start() needs to go before any HTML is outputted (is that a word?). --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Error when using HTTP Location header

2004-07-21 Thread Matthew Sims
; > Thanks in advance, > > Arnout Instead of passing "Incorrect Password" why not simply pass something easier like the number 1 or the word no? Then check if $error=="1" (or "no") and simply go from there? --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] 'echo' and 'html_decode'

2004-07-21 Thread Matthew Sims
> Matthew Sims wrote: >>>I'm trying to use html_decode with the echo function but failed so far. >>> >>> >>> >>>What would be the correct syntax? >>> >>>TIA >> >> >> You should read up on how to use mysql_res

Re: [PHP] postfix with PHP on Mac OS X

2004-07-22 Thread Matthew Sims
> Astrum Et Securis > > I used the Postfix Enabler software which sets up the mail server. > How do I test the mail server? How can I determine if it actually sends > mail? > > RSJ > > > On 7/22/04 2:45 PM, "Matthew Sims" <[EMAIL PROTECTED]> wrote

Re: [PHP] postfix with PHP on Mac OS X

2004-07-22 Thread Matthew Sims
's an MX record for your machine. nslookup -type=mx >> Diagnostic-Code: X-Postfix; host nymx-1.nyroc.rr.com[24.92.226.31] Heh, I'm orginally from Rochester. :) --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Retain form values on using javascript:window.opener.location.reload()

2004-07-22 Thread Matthew Sims
form fields are usually only sent through a submit request. Maybe changing you Javascript refresh to a submit that redirects back to the same page might help? -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Retain form values on using javascript:window.opener.location.reload()

2004-07-22 Thread Matthew Sims
e of performing a submit...but if there's one thing I really suck at is javascript. :) Google is your friend. http://groups.google.com/groups?q=javascript+submit&ie=UTF-8&hl=en&btnG=Google+Search -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailin

Re: [PHP] Disk serial number

2004-07-22 Thread Matthew Sims
> Hi, > Is there a way to get with PHP script ( maybe with some module) serial > number of the hard disk? > > Thanks in advance! If there's a command on your operating system to get this information, then use PHP's exec function. $serialNum = exec('command to get

Re: [PHP] Disk serial number

2004-07-22 Thread Matthew Sims
ogle Groups to see if there's a DOS command for this. -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] what is difference between php and perl

2004-07-22 Thread Matthew Sims
> I would have thought perl and php programmer would want to get together > and trash asp or something. PHP coders trash ASP. Perl coders trash everyone. :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP5 Tutorials...?

2004-10-24 Thread Matthew Sims
You can't really get much better than php.net, the best online documentation for PHP. http://us2.php.net/tut.php -- --Matthew Sims --<http://killermookie.org> > Where can I find detailed PHP5 tutorials, but written for the > beginner...they must be online tutorials as I

[PHP] Register Globals

2004-10-25 Thread Matthew Sims
I just signed up with a new hosting site. So first thing I did was check what phpinfo() had to say. I see that register_globals is turned on. Now I always use the $_GET and $_POST vars but will this still affect me? -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailin

RE: [PHP] Register Globals

2004-10-25 Thread Matthew Sims
sing, and should keep using, the $_GET and $_POST > arrays. > > And this won't pose as a security risk to me? Just for kicks I tried using the .htaccess to turn it off locally but the hosting site doesn't have the AllowOverride option set for me. -- --Matthew Sims --<http:

Re: [PHP] Strange explode()

2004-10-26 Thread Matthew Sims
.something.com/bs3/index1.htm > ) > > Thanks, > Ryan Not sure what you're thinking of explode means but the above is correct. You've defined http:// as the boundry so anything before and after the boundry is placed into the final2 array. http:// appears twice in your string. -

Re: [PHP] User Screen Resolution

2004-10-27 Thread Matthew Sims
r. In fact, PHP can't do anything with the browser. I should just copy and save the above and paste it into everyone one of these types of questions. ;) -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] About File Paths [unresolved]

2004-10-28 Thread Matthew Sims
> > Im not only using this for fopen. So does php work relative to the > script being called or not? > > Much thanks... > -- > Nick W When in doubt, use absolute. -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Learning PHP5

2004-10-28 Thread Matthew Sims
n=507846 -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Learning PHP5

2004-10-28 Thread Matthew Sims
> On Thu, 2004-10-28 at 15:03 -0700, Matthew Sims wrote: >> About a week ago someone was asking where are beginner can go to learn >> PHP5? This book was just advertised on Slashdot. >> >> Learning PHP 5 >> Only $20 on Amazon.com >> http://www.amazon.com

Re: [PHP] Learning PHP5

2004-10-29 Thread Matthew Sims
ing security in my scripts...something I never thought to brainstorm first. If you're looking specifically for PHP5 object-oriented programming, that's something that needs to be learned outside of any progrmaming language. It's what I'm going through now but PHP is my crutch to

Re: [PHP] getting screen resolution

2004-10-29 Thread Matthew Sims
> Hey! Look what I found in the archives! http://marc.theaimsgroup.com/?l=php-general&m=109891764507039&w=2 -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: getting screen resolution

2004-10-29 Thread Matthew Sims
ing. Staring at my sandals...that's a paddling. Paddling the school canoe...ooh, you better believe that's a paddling. -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Zip Codes

2004-11-04 Thread Matthew Sims
> Thanks for the sarcasm, it definitely helps. > > Why is it that when people ask a question there is always someone that has > a smartass answer? > It keeps us on our toes. Someone's gotta do it. -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailin

RE: [PHP] Re: Passing values from a new window

2004-11-05 Thread Matthew Sims
examples will be yours to behold. > > :7) > Can you pick one for me? ;) -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Patrick Volkerding Battles Mystery Illness

2004-11-16 Thread Matthew Sims
ht now. Thanks. :-) One thing I'd like to clear up is that I am not now, nor have I ever been self-medicating with Cipro or any other antibiotics. I've always taken them under the advice of and with a prescription from a qualified medical doctor. Again, I'm feeling better and hope

Re: [PHP] Object oriented programming

2004-11-16 Thread Matthew Sims
are taking in. If you're already comfortable writing procedual programs with PHP than PHP can be a good stepping stone introduction into the land of OO. -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] isset opposite

2004-11-16 Thread Matthew Sims
gt; thanks in advance! > > d > I'm sure I'll be one of the many who says this: !isset The ! means not. You can use it with most of the functions like !empty (not empty). So you can use it like so: if (!isset($_GET["var"])) { do stuff } -- --Matthew Sims --<

Re: [PHP] PHP Supremacy...

2004-11-17 Thread Matthew Sims
l then that's just too bad. It's proprietary, belongs only to Microsoft and no one has access to the source code to continue its work. Seeing the major breakthrough PHP has made in the past few years, does your boss really think PHP is going away? I see that Perl is still around. -- --Matthew

Re: [PHP] HTML form online

2004-11-19 Thread Matthew Sims
xtarea's do as such: -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Parse error: parse error, expecting `']'' in

2004-12-01 Thread Matthew Sims
7;$_POST[Attend_4_9]','$_POST[Attend_5_9]','$_POST[Attend_6_9]','$_POST[Attend_7_9]','$_POST[Attend_8_9]','$_POST[Attend_9_9]','$_POST[Attend_10_9]','$_POST[Attend_1_10]','$_POST[Attend_2_10]','$_POST[Attend

RE: [PHP] Parse error: parse error, expecting `']'' in

2004-12-02 Thread Matthew Sims
y outside string-quotes echo "A banana is $fruits[banana]."; // Works echo "A banana is " . $fruits['banana'] . "."; Consistency can go a long way. :) You are right about the complex syntax. -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Php Mail not working properly

2004-12-10 Thread Matthew Sims
ive the mail? Can you send mail to the server itself by replying back to the email? If your answer is no to at least the first part, then you need to setup a mail server. -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: php graph?

2004-12-15 Thread Matthew Sims
EMAIL PROTECTED] >> >> Thanks. >> >> Jonathan > > jpgraph is excellent. I haven't checked out the new version yet for > PHP5, but for PHP4 it is by far the best graphing utility I have seen. > jpgraph has recently released support for PHP5 and I'm using

Re: [PHP] Parse Error... how to fix?

2004-12-16 Thread Matthew Sims
: " $language['program_name'] \n" . Try: echo "".$language['program_name']."\n"; You need to concatenate your array. -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How do I find my php.ini file?

2004-12-17 Thread Matthew Sims
k for it in /etc, it is not there. > > How can I find it??? > > Thanks, > Don Quick and dirty way: $ sudo find / -name php.ini -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] OT Re: [PHP] can I compile php source

2004-12-21 Thread Matthew Sims
owing how to find the answer without anyones help. Sometimes it takes a mean push to get someone on the right track. You might not like it but you can't deny the results it can bring. -- --Matthew Sims --<http://killermookie.org> > some people will never get it. > -- PHP Gene

Re: [PHP] can I compile php source

2004-12-21 Thread Matthew Sims
remlins Associates -> www.gremlins.biz You know, I bet that man is getting sick of eating fish all the time. "Teach a man to shoot a cow..." -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem of varibles between webpages

2004-12-23 Thread Matthew Sims
y $_POST['name'] and $_POST['address']. Whatever page action calls, you can have php check that the submit button was executed like: -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem of varibles between webpages

2004-12-23 Thread Matthew Sims
POST is a superglobal var. It's always available to all pages. Is php even working for you? If you just create a test.php with simply: does anything show up in the web browser? -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [Fwd: [PHP] Problem of varibles between webpages]

2004-12-23 Thread Matthew Sims
'var'] which I also ever tried... > But at this time, I'm vary hard to found out what happen ! > > Edward. That doesn't even answer his questions. First, HTML forms: http://www.w3.org/TR/REC-html40/interact/forms.html particually http://www.w3.org/TR/REC-html40/

Re: [PHP] php + html (frame)

2004-12-24 Thread Matthew Sims
do with PHP. Use a HTML/JavaScript mailing list, >> and/or read some howto's for HTML/JavaScript. > > But I want to use php instead of HTML/JavaScript... > So, is there any sample for reference ? > PHP and Javascript are apples and oranges. They are nothing alike and are completely different in everyway. If you want something done with the browser, use Javascript. -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Merry Christmas ;o]

2004-12-24 Thread Matthew Sims
> Merry Christmas and happy new year for all that is > part of php community, god bless us. Peace! > How is this PHP? Please consult the Christmas mailing list. JUST KIDDING! Happy holidays. :) -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://w

Re: Re[3]: [PHP] How to argue with ASP people...

2005-01-06 Thread Matthew Sims
> It should be noted that the MS KnowledgeBase article about trying to do a > dynamic include (as of when I last used ASP, years ago) made absolutely NO > mention of using: > >

<    1   2