Re: [PHP] I'm new in PHP
www.htmlgoodies.com - The best site for HTML On Mon, 27 Jan 2003, Philip Olson wrote: On Sun, 26 Jan 2003, Beogradjanin wrote: Zdravo php-general, Hi I have setup PHP Apache MySql. I;m new in this stuff where can I learn hot to make web pages in PHP...??? Go here: Learn HTML http://www.w3schools.com/html/ Learn SQL http://www.w3schools.com/sql/ http://www.sqlcourse.com/ Learn PHP http://www.faqts.com/knowledge_base/view.phtml/aid/2836/fid/51 http://www.php.net/manual/ http://www.php.net/links.php Regards, Philip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] You gotta love it...
Well, we're all human. On Sat, 4 Jan 2003, Michael J. Pawlowsky wrote: When doing a function seach at www.php.net I just got: Parse error: parse error in /local/Web/sites/phpweb/search.php on line 233 Twice in a row... Maybe they will be posting us a question soon!! :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Greetings
Indeed, Merry Christmas to all! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: mail()
Yeah, br is the best alternative. On Fri, 20 Dec 2002, John W. Holmes wrote: I changed this and it works fine but I now lose my formating. It doesn't seem to recognize the \n breaks. Am I asking for to much? Well, you'll be required to learn HTML if you're going to send HTML emails. Use br. ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] php / unix functions
Well, what do you want them to do? On Wed, 18 Dec 2002, Martin Towell wrote: the only other way I know is to use: $output = `$cmd`; (ie, backticks) -Original Message- From: Greg [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 18, 2002 1:27 PM To: [EMAIL PROTECTED] Subject: [PHP] php / unix functions Hi- Is there a built in way, besides using exec and system, to get the output from commands like 'uptime' and 'df' on a linux system? Thanks! -Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Code appearing suddenly!.
Perhaps you made an error when you configured it? On Mon, 16 Dec 2002, Lic. Rodolfo Gonzalez Gonzalez wrote: Hi, I've just recompiled PHP 4.2.3 on RedHat w/Apache, after having upgraded from Perl 5.6.0 to 5.8.0 (I had to disable mod_perl for now, due to incompatible libraries). But now something weird is happening: sometimes as a page with PHP code loads in the browser, it's not processed by PHP, but the PHP code is shown (!), and the weird part of the problem is that sometimes the very same page gets executed correctly! (no code is displayed, and of course no modification is done in httpd.conf or mime types, etc.). Any idea of the cause of this weird problem?. Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Array
What you have to do, at least I think, is you have to type: $r = $monthschedule[Jun]; That is what I think you have to do. The other way you did it was when you have a value-only array. On Mon, 16 Dec 2002, Mako Shark wrote: I have an array I set up like this: $monthschedule = array(1 = Jan, 2 = Feb, 3 = Mar, 6 = Jun); When I try to access them, doing this: $r = $monthschedule[6]; nothing comes up ($r is blank). Any thoughts? There are missing elements (4,5,7-12) in $monthschedule. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Array
I see. Well, in that case I don't really know what to do. Sorry. On Tue, 17 Dec 2002, Quentin Bennett wrote: Hi, No I don't think that is right. $monthschedule[Jun] is not what is being looked for, but $monthschedule[something]=Jun; Try doing a loop to see what is in the array. Example, from PHP Bible, function print_keys_and_values_each($arr) { reset($arr); while ($cell = each($arr)) { $c = $cell['value']; $k = $cell['key']; print (Key: $k; Value: $cBR); } } Quentin -Original Message- From: Andy Turegano [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 17 December 2002 10:25 a.m. To: Mako Shark Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Array What you have to do, at least I think, is you have to type: $r = $monthschedule[Jun]; That is what I think you have to do. The other way you did it was when you have a value-only array. On Mon, 16 Dec 2002, Mako Shark wrote: I have an array I set up like this: $monthschedule = array(1 = Jan, 2 = Feb, 3 = Mar, 6 = Jun); When I try to access them, doing this: $r = $monthschedule[6]; nothing comes up ($r is blank). Any thoughts? There are missing elements (4,5,7-12) in $monthschedule. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php The information contained in this email is privileged and confidential and intended for the addressee only. If you are not the intended recipient, you are asked to respect that confidentiality and not disclose, copy or make use of its contents. If received in error you are asked to destroy this email and contact the sender immediately. Your assistance is appreciated. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] how to send an MSWORD email?
The easiest way to include a picture in the email would be through the html. The second way sounds much more complex. Right now, I really don't know of any other ways. Perhaps copy and paste? On Sun, 15 Dec 2002, Chris Shiflett wrote: --- See Kok Boon [EMAIL PROTECTED] wrote: I want to send emails that have graphics, for example the pub logo. I know that there are 2 ways to do so (maybe there are more, pls enlighten me): 1. use html email with img src=http://www.mydomain.com/logo.gif; 2. use MSWORD to insert the logo into the email. MSWORD will then send the logo.gif as an attachment and will ALSO use img tags. I doubt anyone on this list is going to know what your second method is, though I would guess that MS Word does nothing special and does the same thing you mention in your first method, except that it attaches the image to the email rather than reference it via URL. You can probably search the archives for more information on sending HTML email as well as sending attachments, which is all you are trying to do. I detest such email myself, so I cannot offer any help. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Parse Errors
I am a PHP beginner so this error may be a stupid one. Anyway, I'm trying to write a simple addition script. The client enters two numbers, then my script (adder.php) adds them. However, when the script is run, I get Parse Error On Line 3 I have no idea exactly what I have done wrong. Here is the script. ? print (Your first number is:$firstnumber\n) print (Your second number is:$secondnumber\n) $answer=$firstnumber+$second number echo (The answer is: $answer\n) ? Any help would be greatly appreciated. Thank you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] question
Yes, that is indeed true. On Sun, 15 Dec 2002, Justin French wrote: I assume you know that running PHP on Apache 2 is NOT RECOMMENDED YET, or at the very least, listed as experimental?? Justin on 15/12/02 11:13 AM, r.vellinga ([EMAIL PROTECTED]) wrote: Hello, still trying to get PHP 4 support on Apache 2. (Windows ME) Mysql is working Fine, Apache also. but when i insert the 2 or 3 lines Load module etc. the server will shut down can somebody help me please ? ricardo Justin French http://Indent.com.au Web Development Graphic Design -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php