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: > >

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: [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: [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] 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: [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] 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

[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] 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

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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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: 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] 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] 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] 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

[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] 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

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] 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] 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:

[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] 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

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] 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] 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] 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] 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] .htaccess and .htpasswd

2004-10-13 Thread Matthew Sims
? > > Can I use as AuthUserFile ".htpasswd" since they are in the same > directory? > > I know its not smart but let's get this working and I'll move .htpasswd > later to "upper level" :) > > > > -afan Dude...do you know what mailing lis

Re: [PHP] mail problems - phpinfo information

2004-10-13 Thread Matthew Sims
IL PROTECTED] And do you receive it? Does 'which sendmail' return you the path to where the sendmail binary is? You should be contacting the admin of this server and be asking these questions. We can't answer them since we don't own/have access to the machine. -- --Matthew

Re: [PHP] php err msg/issue...

2004-10-13 Thread Matthew Sims
ith php4, but i'm not > certain. > > any thoughts/opinions/comments would be helpful... > > thanks > > -bruce > Without seeing your classes, PHP4 classes will not work with PHP5. The OO model has been completely revamped. So if the code works in PHP4 but not in PHP5, my g

Re: [PHP] mail problems - phpinfo information

2004-10-13 Thread Matthew Sims
onfigure the local server's sendmail program to relay mail to the remote server. /var/mail is where users mail boxes are stored when using to old mail format mbox. Qmail uses the newer format Maildir which resides in user's home directory. So it looks like you have a user by the nam

Re: [PHP] creating a folder in php

2004-10-12 Thread Matthew Sims
> Matthew Sims wrote: >>>Here's what i'm trying to do in php and using a mySQL database: >>> >>>I want a button on a page that if clicked it launches the browser's or >>>OS's >>>"Save As" window, allowing me to specify

Re: [PHP] creating a folder in php

2004-10-12 Thread Matthew Sims
his needs to work on Mac and PC. > > thx in advance > Adil.. > What's wrong with: This isn't even 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] 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] 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] Re: code not working...help?

2004-10-07 Thread Matthew Sims
-MM-dd HH:mm:ss, like: $lastmonth = date("Y-m-d H:i:s", mktime(date("H"), date("i"), date("s"), date("m")-1, date("d"), date("Y")); MySQL will suck it up much better that way. -- --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

2004-10-07 Thread Matthew Sims
> > I'm sorry, I don't know what and MTA is. Can I configure PHP to use any > smtp > server? > MTA = Mail Transfer Agent http://us4.php.net/manual/en/ref.mail.php For unix/linux, PHP ignores the smtp settings in php.ini which means you'll need to setup sendmail fo

Re: [PHP] sending mail

2004-10-07 Thread Matthew Sims
> > > Do I need to have sendmail configured on my linux box to send mail via > PHP? > Thanks! Sendmail or any MTA will do. So yes, you need to have a working mail server. -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] code not working...help?

2004-10-07 Thread Matthew Sims
gt; zero. $countRow is returning 0 or empty? What does print_r($countRow) show you? Also, try running your query from the mysql prompt, substituting the PHP with real values. See if mysql complains about your query. -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] xpath and SimpleXML

2004-10-07 Thread Matthew Sims
> So, using xpath, I have constructed the following function. The problem is > the quotes "" around the number. xpath is treating it as a string, I > believe. Would sprintf() work for this? Something like: $num = sprintf("%d", $xpathNum); I haven't tested

Re: [PHP] general research question(thanks!)

2004-10-07 Thread Matthew Sims
with your boss is to show the similarities between Sharepoint and PHP rather than showing what Sharepoint can't do. That would put your boss on the defensive and make him/her resent you. Then after you show the similarities, show the costs/savings of Sharepoint/PHP. Does that make sense? -- --Ma

Re: [PHP] general research question (maybe a little OT, sorry)

2004-10-07 Thread Matthew Sims
uld just take a moment to READ. Managers don't want to read, they want someone to hold their hand. -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] general research question (maybe a little OT, sorry)

2004-10-07 Thread Matthew Sims
> Matthew Sims wrote: > >> The following sites have been known to use PHP: > >> www.insight.com (is a publicly traded fortune 1000 company. The site is >> 90% PHP) > > > Insight now uses CF. It was a political change, not one agreed on by > the techie

Re: [PHP] general research question (maybe a little OT, sorry)

2004-10-07 Thread Matthew Sims
e tool. If you boss is so in love with Windows, why not PHP on Windows? http://news.netcraft.com/archives/2003/08/30/php_growing_surprisingly_strongly_on_windows.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] general research question (maybe a little OT, sorry)

2004-10-07 Thread Matthew Sims
s/companies do rely on using PHP. Does your PHB consider the list I provided "hobbyists"? -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] general research question (maybe a little OT, sorry)

2004-10-07 Thread Matthew Sims
le.com/failed.php> And guess what! The guy who wrote PHP, Rasmus Lerdorf, works at Yahoo! http://lerdorf.com/resume/ An article about the PHP scalability myth: http://www.onjava.com/pub/a/onjava/2003/10/15/php_scalability.html Anything else? :) -- --Matthew Sims --<http://killermoo

RE: [PHP] Newsgroups Space

2004-10-06 Thread Matthew Sims
> [snip] > i know this isn't completely related to php but i am creating a web > based > news reader in php, how much disk space do you think i need to run my > own > local news server? > [/snip] > > I'd go with a 1TB RAID > Better go with 2TB. You know ho

Re: [PHP] why this doesn't work as an external file but does internally?

2004-10-05 Thread Matthew Sims
> Hi guys, > > I have this code Javascript code: > > if (document.images) { > > img1on = new Image(); img1on.src = " ?>Graphics/"; > img2on = new Image(); img2on.src = " ?>Graphics/"; > > Regards, > > Aaron > When you mix PHP and javascript together in an external file, the file needs

Re: [PHP] Function declaration failing on return value

2004-10-04 Thread Matthew Sims
> When I run the php page, I get > > Parse error: parse error, unexpected T_RETURN in /var/www/html/afi/sq.php > on > line 12 > -- > Whil > function square($num) { $result = $num * $num; return $result; } -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] SF Project: In Need of PHP & MySQL Developers

2004-09-28 Thread Matthew Sims
m a true 3D environment model to a...well, an SSI language with a database is quite a drastic change. With today's advance editors (Doom 3, Unreal, Half-Life 2 soon...) I would think using these would produce better and quicker results. And you don't even have to know how to code. J

RE: [PHP] Does PHP need another mailing list???

2004-09-22 Thread Matthew Sims
t; > -- How about php-check-your-firewall -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] simplexml and xpath

2004-09-22 Thread Matthew Sims
T18:15:00+00:00 > > > My sample of my PHP code is: > > $library = simplexml_load_file('file.rss'); > foreach ($library->item as $item) { > echo $item->xpath('dc:date'); > } > ?> > > I just want to get the date. Am I doing xpath incorrectly or d

Re: [PHP] using foreach() to capture multiple selections

2004-09-21 Thread Matthew Sims
Goals as $value) > > { > > print "$value "; > > } > > ?> Not to do all the work for you but do you mean: You are interested in: -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] simplexml and xpath

2004-09-21 Thread Matthew Sims
item) { echo $item->xpath('dc:date'); } ?> I just want to get the date. Am I doing xpath incorrectly or does xpath not currently work properly in PHP5? -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] very basic php mysql question

2004-09-20 Thread Matthew Sims
#x27;t execute query"); > > while ($row = mysql_fetch_array($result)); > > { > > extract($row); > > echo $company; > > } > > ?> > Your while statment has a ; at the end of it. while ($row = mysql_fetch_array($result)) { echo $row["company"]; } -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP5 Book Recommendation?

2004-09-19 Thread Matthew Sims
finally* all made sense! This book > is *so* well-written, that you really understand the whole OOP mindset > after just the first 3 chapters. > Thanks for the tip. I just ordered the book through Amazon. :) -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing Lis

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Matthew Sims
> HAHAHA, this thread is awsome though, you all must admit the humor > involved here. I hope this thread continues for a couple more days. > or here is an idea for a thread > {PHP} globals.asp wont set my php vars Firewall. -- --Matthew Sims --<http://killermookie.org>

Re: [PHP] Re: mysql_connect does not connect

2004-09-17 Thread Matthew Sims
;> > versions greater than 4.1.0. For that, use MySQLi. >> > >> > mysqli: >> > The mysqli extension is designed to work with the version 4.1.3 or >> > above of MySQL. >> >> What the manual says (as quoted) is either not relevant or is not c

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Matthew Sims
> > "[PHP} Can't get NULL to output anything!" > > hehe > Andre > > Check your firewall. -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Fw: [PHP] mysql_connect does not connect

2004-09-17 Thread Matthew Sims
by name but you will be getting your letters of > termination shortly. > >> >> ---John Holmes... >> > > > -- > Raditha Dissanayake. I still haven't received my (small) paycheck for last week. -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Matthew Sims
lt. http://support.microsoft.com/default.aspx?kbid=842242 A lot of programs are affected by this...possibly MySQL, too? Anyways, I'm telling my friends and family to steer clear of SP2 upgrade till the dust settles and the kinks are worked out. -- --Matthew Sims --<http://killermookie.or

Re: [PHP] Secret Codes in Spam and PHP

2004-09-17 Thread Matthew Sims
> On Thu, 2004-09-16 at 18:33, Matthew Sims wrote: >> I'm immune from assassins. >> >> Gunslingers, hatchet men and thugs, on the other hand, still present a >> problem. > > When I first read this I read "thongs" instead of "thugs". It stil

Re: [PHP] Secret Codes in Spam and PHP

2004-09-16 Thread Matthew Sims
decipher?" Hmm.. interesting. > > Now that they know that we know, we're all in danger. Be on the look out > for assassins. > I'm immune from assassins. Gunslingers, hatchet men and thugs, on the other hand, still present a problem. -- --Matthew Sims --<http://killermo

Re: [PHP] split behaviour differences in perl and php

2004-09-16 Thread Matthew Sims
', 'a,'))."\n"; >> ?> >> >> [EMAIL PROTECTED] sql]$ php -q s1.php >> 2 >> 2 > > split in php isn't the same as perl's split, there is preg_split() > which you can use: > > $results = preg_split('/,/','a,', -1, PREG_SPLIT_NO_EMPTY); > print(count($results)); // outputs: 1 > > > Curt Would explode() provide the same technique? $var = "a,"; $results = explode(",", $var); $results[0] = a; -- --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: XML parser for PHP5

2004-09-15 Thread Matthew Sims
> Matthew Sims wrote: > >> My fault, I should have been more specific. An RSS reader. :) I was >> using >> xmlParser-0.3 and feedParser-0.5 to display news sites. Since I've >> converted to PHP5, they no longer work for me. > > definitely a combination o

Re: [PHP] Re: XML parser for PHP5

2004-09-15 Thread Matthew Sims
> Matthew Sims wrote: > >> Anyone know any good XML parsers that work with PHP5? Most of what I can >> find on freshmeat are still using PHP4 classes and Google isn't turning >> up >> much either. > > What do you want to do? This parses xml pretty

[PHP] XML parser for PHP5

2004-09-15 Thread Matthew Sims
Anyone know any good XML parsers that work with PHP5? Most of what I can find on freshmeat are still using PHP4 classes and Google isn't turning up much either. -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] Assigning one var to multiple vars

2004-09-09 Thread Matthew Sims
> How about: > > $var1 = $var2 = $var3 = 5; > echo $var1 . '' . $var2 . '' . $var3 . ''; > ?> > > Regards, > > Justin > I had something stuck in my head between what Python does and PHP's list function. Not sure why I c

[PHP] Assigning one var to multiple vars

2004-09-09 Thread Matthew Sims
Just mostly curious but is there a way to assign one variable to multiple variables in one single line? Rather than do this: $var2 = $var1; $var3 = $var1; Is there a method to perform a: ($var2,$var3) = $var1; -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List

Re: [PHP] mail functions help

2004-08-31 Thread Matthew Sims
er (your ISP *has* to have one) or install one yourself on your computer. I have no clue what your OS is but if you're using Linux/Unix, go search for sendmail, Qmail or Exim. For windows, Exchange. I think this isn't the place to ask about setting up an SMTP server. -- --Matthew Sims --&l

Re: [PHP] [Newbie Guide] For the benefit of new members

2004-08-30 Thread Matthew Sims
*** Automated Message - Do Not Reply *** Hello, I am currently out on vacation on a warm sunny beach, suckin' down an alcoholic beverage or something and will reply to your message when I return...or not. -- --Matthew Sims --<http://killermookie.org> *** End *** > Another thi

Re: [PHP] Browser back button

2004-08-27 Thread Matthew Sims
ave your vars sitting in $_SESSION. Web page is index.php: ...webpage stuff here... -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mail functions help

2004-08-25 Thread Matthew Sims
, first thing to do is to get to know what it is. You can't send mail without one. First thing: http://www.webopedia.com/TERM/S/SMTP.html I'm not too familiar with what MTA's are out there for windows that are free. All I know is Exchange for windows and I don't

Re: [PHP] PHP/PearDB works on commandline but not via http....

2004-08-18 Thread Matthew Sims
s? >> > > Can't help you unless you give us an error... > And check to see that PostgreSQL is accepting network connections rather than localhost. Is it listening to a port? -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mkdir() permissions

2004-08-18 Thread Matthew Sims
tever UID the web server runs as (nobody, www, etc). If you're running it through a stand alone script, well then, if you don't own the directory or you're not root, that's probably the problem. -- --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 question

2004-08-17 Thread Matthew Sims
emove the frames? Where would the image load then? If you want it to load on the same page, just have the link refresh the page to load the larger image. Not sure what you're really asking. -- --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: mysql_fetch_array()

2004-08-17 Thread Matthew Sims
> $row = mysql_fetch_array($sql, MYSQL_BOTH); >> >> Thank you. >> TR As Tony shows, anything between the [] is optional. -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] FW: Help with PHP 5 - code not working since upgrade

2004-08-17 Thread Matthew Sims
ll languages will be a cinch to learn. They're all the same, just different 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] FW: Help with PHP 5 - code not working since upgrade

2004-08-17 Thread Matthew Sims
> Okay - I apologize but I'm a systems admin - not a programmer - would I > even need those classes now? > > -Original Message- > From: Matthew Sims [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 17, 2004 3:40 PM > To: [EMAIL PROTECTED] > Subject: Re: [PH

Re: [PHP] FW: Help with PHP 5 - code not working since upgrade

2004-08-17 Thread Matthew Sims
27;t have to look much further than this. You have a class that was designed in PHP3 and suddenly you're wondering why it work in PHP5? The OO model in PHP has been vastly revamped. It's closer to what OO is suppose to be. So my guess is that all your classes are now invalid. You'll

Re: [PHP] Techniques for doing story

2004-08-17 Thread Matthew Sims
> Yea, But then I took his advice and found this > http://www.catb.org/~esr/faqs/smart-questions.html#keepcool so I was > not so offended :) > > I had all the other links, but that one and did not think my question > was that "out there" for the list... oh well. > > > On Aug 17, 2004, at 12:31 PM,

Re: [PHP] Techniques for doing story

2004-08-17 Thread Matthew Sims
#x27;s not really different from any other dynamic website. -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Techniques for doing story

2004-08-17 Thread Matthew Sims
passed through $_GET to pull up the cooresponding story. Learn HTML and CSS and you can make a website look however you want it to look. PHP simply makes the pages change depending on user events. -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] SSH Authentication using php

2004-08-16 Thread Matthew Sims
security somewhat, by > enacting strict controls (with authpf) and then routing around them with > an insecure web login. > > -mike. Adding SSL to the mix would probably fix the insecure login part. -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] [discuss] Rename this list

2004-08-12 Thread Matthew Sims
> >> Imagine all the people that'll want to post to a John Holmes list!!! > > People would be wide open for that list. > > Sorry.., I couldn't resist... Just had to take the low road... > > > > alex hogan Damn, that was pretty good. :) -- --Matthe

Re: [PHP] [discuss] Rename this list was:Re: [PHP] mod rewrite urls

2004-08-12 Thread Matthew Sims
> raditha dissanayake wrote: >> I vote this list be renamed as >> >> php-general-apache-mysql-imap-iis discussion list. >> >> all those not in favour please flame. >> >> > > We could just move this list to a Yahoo! group, then we can answer > questions for any topic, and have the trolls too. ;) > >

RE: [PHP] updating a frame from within php...

2004-08-11 Thread Matthew Sims
. Now picture PHP as the guy to writes the HTML and sends it to the browser and stands there waiting for a request to send more HTML to the browser. "Frame? I don't know where this frame is. You'll have to ask the javascript guy where that is." (that's my bad rendition of P

Re: [PHP] updating a frame from within php...

2004-08-11 Thread Matthew Sims
> On Wed, 2004-08-11 at 00:13, Matthew Sims wrote: >> > hi... >> > >> > this probably doens't belong here.. but i'll try! >> > >> > i have a two frame window. when the user logs into the 'main' window, >> i >> > wa

Re: [PHP] redirecting to another frame using php header function

2004-08-11 Thread Matthew Sims
er-side instructions. A header simply sends, well, HTTP headers. You're asking the browser to reload a frame which is different. -- --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: Date and time

2004-08-11 Thread Matthew Sims
>> I have this date in timestamp format: >> >> $a= 20040810114155; >> >> I want to add 7 days to this date. How can i do that? >> >> Thanks >> >> Isn't it considered faster to let the database do the conversion to Unix Timestamp? -- --Matthew Sims

  1   2   >