[PHP] Hello again. new newbie querstion
I have done as you explain for me an it works very vell in the halft part of my application. But below is my snippet of my source code where the number of items and weight not will update itself. This code do as what number I write in the oppdater_stk_nonel_tenner[] field is written as result, instead of the calculated result. I am also using var_dump() to check my viariables but there is something here I have missed. I hope it is ok to post my norwegian search code as an exaple. If this source code is to difficult because of my long norwegian name (Description of the meaning of varable) i will re-write it all in English as I appricate your good advice and help! Tanks. // My form with array's input type=hidden name=varenr[] value=?php echo $varenr; ? input type=hidden name=stk_pa_lager[] value=?php echo $stk_pa_lager; ? input type=hidden name=kg_pa_lager[] value=?php echo $kg_pa_lager; ? input type=number name=oppdater_stk_nonel_tenner[] size=6 input type=hidden name=valgt_lager value=?php echo $valgt_lager; ? input class=submitKnapp type=submit name=oppdater_nonel_tennere value=Neste if(isset($_POST['oppdater_nonel_tennere'])){ $valgt_lager = $_POST['valgt_lager']; $varenr = $_POST['varenr']; $kg_pa_lager = $_POST['kg_pa_lager']; $stk_pa_lager = $_POST['stk_pa_lager']; $oppdater_stk_nonel_tenner = $_POST['oppdater_stk_nonel_tenner']; include('../../tilkobling.php'); // count how many serialnumber it is the the array for use later in for loop. $antall_varenr = count($varenr); // Run for loop as long as $i is less than or equal to $antall_varenr. for($i=0;$i$antall_varenr;$i++){ // update amont in stock. Adding value of $oppdater_stk_nonel_tenner[$i] to $stk_pa_lager $stk_pa_lager[$i] += $oppdater_stk_nonel_tenner[$i]; // Get new weight in kg in stock $kg_pa_lager = $stk_pa_lager[$i] * 0.001; // Update the database table $sql = UPDATE nonel_tennere SET stk_pa_lager = '$stk_pa_lager[$i]', kg_pa_lager = '$kg_pa_lager' WHERE varenr = '$varenr[$i]' LIMIT 1; mysql_query($sql,$tilkobling) or die(mysql_error()); var_dump($sql); } echo pstrongDatabasen er oppdatert/strong/p; ? form action=index.php method=post input type=hidden name=valgt_lager value=?php echo $valgt_lager; ? input type=hidden name=admin_oppgave value=vis_status input class=submitKnapp type=submit name=velg_lager value=Neste /form ?php } ? I can't figure out why $stk_pa_lager[$i]; is the same as written in $oppdater_stk_nonel_tennere[$i] as long I have us this += operator in $stk_pa_lager[$i] += $oppdater_stk_nonel_tenner[$i]; I have just copy and past it from a working example above and chance the table name and $oppdater_stk_nonel_tenner[$i] variable. Thanks for your time. Karl
Re: [PHP] Hello again
On Sun, Jul 1, 2012 at 6:21 PM, RGraph.net support supp...@rgraph.net wrote: Just thought I'd say hello again. Back to brush up on my PHP a little after a bit of a break - more reading than replying I'd imagine. I have some pretty bad jokes too that I might surreptitiously insert here and there... Welcome back. Friday is mainly the free-for-all day (philosophical questions, puns, jokes) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hello again
Hi, Just thought I'd say hello again. Back to brush up on my PHP a little after a bit of a break - more reading than replying I'd imagine. I have some pretty bad jokes too that I might surreptitiously insert here and there... Cheers. -- Richard Heyes, RGraph.net support RGraph: JavaScript charts for your website http://www.rgraph.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] hello everybody
I think this would be an ideal resource for beginners http://www.w3schools.com/php/php_forms.asp. I used it when i began php. I would suggest doing the entire course in there. Really helpful. Regards Midhun Girish On Sun, Mar 18, 2012 at 10:05 PM, Jeremy Wei shuimuqing...@gmail.comwrote: you can read the content about form dealing in php manual: http://us.php.net/manual/en/tutorial.forms.php On Sun, Mar 18, 2012 at 7:34 PM, saeed ahmed mycomputerbo...@gmail.com wrote: i am a full time warehouse worker and do not have time.i hardly can spend 2/3 hours a week on internet(at work we do not use internet but only computer)i am learning php and have xampp installed on my computer and i think i am learning slowly slowly.i want ot ask one favor to someone,who is capable of doing this small work.i have learned that when visitor fill a form after visitor get message with his name.how this function is added and where? can anyon give me a example like giving a example to a child of 10 years.i would like if someone explain me. -- JeremyWei(魏志锋,字静之) Mob: 18914495716 新浪微博:@JeremyWei QQ: 327493482 Home: www.weizhifeng.net Less is more -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] hello everybody
w3schools is not a good source. http://w3fools.com/ On Thu, Mar 22, 2012 at 5:33 PM, Midhun Girish midhungir...@gmail.com wrote: I think this would be an ideal resource for beginners http://www.w3schools.com/php/php_forms.asp. I used it when i began php. I would suggest doing the entire course in there. Really helpful. Regards Midhun Girish On Sun, Mar 18, 2012 at 10:05 PM, Jeremy Wei shuimuqing...@gmail.comwrote: you can read the content about form dealing in php manual: http://us.php.net/manual/en/tutorial.forms.php On Sun, Mar 18, 2012 at 7:34 PM, saeed ahmed mycomputerbo...@gmail.com wrote: i am a full time warehouse worker and do not have time.i hardly can spend 2/3 hours a week on internet(at work we do not use internet but only computer)i am learning php and have xampp installed on my computer and i think i am learning slowly slowly.i want ot ask one favor to someone,who is capable of doing this small work.i have learned that when visitor fill a form after visitor get message with his name.how this function is added and where? can anyon give me a example like giving a example to a child of 10 years.i would like if someone explain me. -- JeremyWei(魏志锋,字静之) Mob: 18914495716 新浪微博:@JeremyWei QQ: 327493482 Home: www.weizhifeng.net Less is more -- 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] hello everybody
i am a full time warehouse worker and do not have time.i hardly can spend 2/3 hours a week on internet(at work we do not use internet but only computer)i am learning php and have xampp installed on my computer and i think i am learning slowly slowly.i want ot ask one favor to someone,who is capable of doing this small work.i have learned that when visitor fill a form after visitor get message with his name.how this function is added and where? can anyon give me a example like giving a example to a child of 10 years.i would like if someone explain me.
Re: [PHP] hello everybody
you can read the content about form dealing in php manual: http://us.php.net/manual/en/tutorial.forms.php On Sun, Mar 18, 2012 at 7:34 PM, saeed ahmed mycomputerbo...@gmail.com wrote: i am a full time warehouse worker and do not have time.i hardly can spend 2/3 hours a week on internet(at work we do not use internet but only computer)i am learning php and have xampp installed on my computer and i think i am learning slowly slowly.i want ot ask one favor to someone,who is capable of doing this small work.i have learned that when visitor fill a form after visitor get message with his name.how this function is added and where? can anyon give me a example like giving a example to a child of 10 years.i would like if someone explain me. -- JeremyWei(魏志锋,字静之) Mob: 18914495716 新浪微博:@JeremyWei QQ: 327493482 Home: www.weizhifeng.net Less is more -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hello everybody - php newbie from switzerland
Dan Joseph wrote: On Wed, Apr 21, 2010 at 8:38 PM, David McGlone da...@dmcentral.net wrote: Are we gonna have to have a discussion on the use of threading? LOL We just might. Personally, I use it to sow holes in the toe of my socks. My newsreader supports threading. -- Per Jessen, Zürich (7.4°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hello everybody - php newbie from switzerland
On Wed, 2010-04-21 at 00:08 +0200, Nick Balestra wrote: Hello everybody, I am NIck, from Locarno (southern switzerland) i am getting into php development for my own start-up company, maybe there are other people near me that would be nice to know for networking and alike. I will post here all my questions if i don't find any answer already on this list. Welcome to the list Nick. Words of Wisdom: Don't ask if PHP supports threading. ;-) -- Blessings, David M. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hello everybody - php newbie from switzerland
At 12:08 AM +0200 4/21/10, Nick Balestra wrote: Hello everybody, I am NIck, from Locarno (southern switzerland) i am getting into php development for my own start-up company, maybe there are other people near me that would be nice to know for networking and alike. I will post here all my questions if i don't find any answer already on this list. Cheers from Switzerland Welcome Nick. Do you own a bank? :-) Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hello everybody - php newbie from switzerland
On 21 April 2010 18:02, tedd tedd.sperl...@gmail.com wrote: Welcome Nick. Do you own a bank? :-) Cheers, tedd C'mon, this is the PHP list, not COBOL :) But yes, welcome to the list. Frequenting a list is one of the best things you can do when learning a language. Don't be afraid to ask should anything confuse you. Michiel
Re: [PHP] Hello everybody - php newbie from switzerland
What's wrong with asking if PHP supports threading? On Wed, Apr 21, 2010 at 5:33 PM, Michiel Sikma mich...@thingmajig.orgwrote: On 21 April 2010 18:02, tedd tedd.sperl...@gmail.com wrote: Welcome Nick. Do you own a bank? :-) Cheers, tedd C'mon, this is the PHP list, not COBOL :) But yes, welcome to the list. Frequenting a list is one of the best things you can do when learning a language. Don't be afraid to ask should anything confuse you. Michiel -- A Brandon_R Production
Re: [PHP] Hello everybody - php newbie from switzerland
On Wed, Apr 21, 2010 at 6:21 PM, Brandon Rampersad brandon.add...@gmail.com wrote: What's wrong with asking if PHP supports threading? Nothing? PHP itself does not. You can check out fork though. I've never personally used it with PHP, but I did for a Perl project years ago. I guess it worked ok. http://us3.php.net/manual/en/function.pcntl-fork.php -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry
RE: [PHP] Hello everybody - php newbie from switzerland
-Original Message- From: Dan Joseph [mailto:dmjos...@gmail.com] Sent: Wednesday, April 21, 2010 4:49 PM To: php-general@lists.php.net Subject: Re: [PHP] Hello everybody - php newbie from switzerland On Wed, Apr 21, 2010 at 6:21 PM, Brandon Rampersad brandon.add...@gmail.com wrote: What's wrong with asking if PHP supports threading? Nothing? PHP itself does not. You can check out fork though. I've never personally used it with PHP, but I did for a Perl project years ago. I guess it worked ok. http://us3.php.net/manual/en/function.pcntl-fork.php -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry Keep in mind that's only applicable on Linux Unix OSes, including Mac/Apple since Apple OS is based on BSD and other Unix implementations. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hello everybody - php newbie from switzerland
On Wed, 2010-04-21 at 18:21 -0400, Brandon Rampersad wrote: What's wrong with asking if PHP supports threading? Nothing really, I was just kidding. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hello everybody - php newbie from switzerland
On Wed, Apr 21, 2010 at 8:09 PM, David McGlone da...@dmcentral.net wrote: On Wed, 2010-04-21 at 18:21 -0400, Brandon Rampersad wrote: What's wrong with asking if PHP supports threading? Nothing really, I was just kidding. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php lol.. I didn't see your email where you said not to ask -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry
Re: [PHP] Hello everybody - php newbie from switzerland
On Wed, 2010-04-21 at 20:12 -0400, Dan Joseph wrote: On Wed, Apr 21, 2010 at 8:09 PM, David McGlone da...@dmcentral.net wrote: On Wed, 2010-04-21 at 18:21 -0400, Brandon Rampersad wrote: What's wrong with asking if PHP supports threading? Nothing really, I was just kidding. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php lol.. I didn't see your email where you said not to ask Are we gonna have to have a discussion on the use of threading? LOL -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hello everybody - php newbie from switzerland
On Wed, Apr 21, 2010 at 8:38 PM, David McGlone da...@dmcentral.net wrote: Are we gonna have to have a discussion on the use of threading? LOL We just might. Personally, I use it to sow holes in the toe of my socks. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry
[PHP] Hello everybody - php newbie from switzerland
Hello everybody, I am NIck, from Locarno (southern switzerland) i am getting into php development for my own start-up company, maybe there are other people near me that would be nice to know for networking and alike. I will post here all my questions if i don't find any answer already on this list. Cheers from Switzerland Nick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hello everybody - php newbie from switzerland
On Tue, Apr 20, 2010 at 6:08 PM, Nick Balestra n...@beyounic.com wrote: I am NIck, from Locarno (southern switzerland) i am getting into php development for my own start-up company, maybe there are other people near me that would be nice to know for networking and alike. I will post here all my questions if i don't find any answer already on this list. Hi Nick, Welcome to the community! -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry
[PHP] Hello, I have a question about php array max number
Hello, I have an array including 2000 records in database, but when fetch all of them, why just get 1500 records? Does that depend on my computer? Peter __ Information from ESET NOD32 Antivirus, version of virus signature database 3997 (20090409) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hello, I have a question about php array max number
Hello, I have an array including 2000 records in database, but when fetch all of them, why just get 1500 records? Does that depend on my computer? Peter __ Information from ESET NOD32 Antivirus, version of virus signature database 3997 (20090409) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hello, I have a question about php array max number
On Thu, Apr 9, 2009 at 2:36 PM, PeterDu pete...@telus.net wrote: Hello, I have an array including 2000 records in database, but when fetch all of them, why just get 1500 records? Does that depend on my computer? Peter __ Information from ESET NOD32 Antivirus, version of virus signature database 3997 (20090409) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Could be the memory limit on the server, could be the query only returning 1500 rows. -- Bastien Cat, the other other white meat
[PHP] hello
Dear Madam/sir, We are a wholesaler which deal with all kinds of such electronic products as motorcycles, TV, Notebooks, Phones, Psp, Projectors, GPS, DVD, DV, DC, MP3/4, musical instruments, toys, watches and so on. We can offer quality goods with reasonable price. We deliver our items by EMS to our customers around the world, When you have time, welcome to visit our website and contact us. Thanks. If you have any question, please don't hesitate to let us know. We will glad to help you. Welcome to our website and enjoy your purchasing. Our website: { www.setgert.com } Mail:{ [EMAIL PROTECTED] } Mail:{ [EMAIL PROTECTED] } MSN: { [EMAIL PROTECTED] } I hope to hear from you soon.
[PHP] Hello, I have a php/apache question
I just recently installed apache 2.0 on my comp with php 5.2.5 aswell. Apache is working and I am trying to get php to be configured into apache as a module, I put the ini file in the load module so it looks like this: #LoadModule vhost_alias_module modules/mod_vhost_alias.so #LoadModule ssl_module modules/mod_ssl.so LoadModule php5_module c:/php/php5apache2.dll AddType application/x-httpd-php .php PHPIniDir C:/php The problem is that when I test php in the web browser nothing comes up, I put a test.php notepad file in the document root with a ?php phpinfo(); ? function in it and nothing comes up. Also when I restart apache I get this message: apache is running a threaded mpm, but your php module is not compiled to be threadsafe. You need to recompile php. preconfiguration failed. Any suggestions would be helpful, thank you for your time. -Josh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hello, I have a php/apache question
Josh McDowell wrote: I just recently installed apache 2.0 on my comp with php 5.2.5 aswell. Apache is working and I am trying to get php to be configured into apache as a module, I put the ini file in the load module so it looks like this: #LoadModule vhost_alias_module modules/mod_vhost_alias.so #LoadModule ssl_module modules/mod_ssl.so LoadModule php5_module c:/php/php5apache2.dll That seems like a strange mix, .so files are for *nix machines and .dll files are for windows. Is this on a windows machine or a *nix box? (Maybe the default config for apache + windows has the .so lines in there, I don't have apache on my windows machine so I can't look at it). apache is running a threaded mpm, but your php module is not compiled to be threadsafe. There were a few hits on google for this phrase, any useful results? -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hello list
At 4:27 PM -0700 2/4/07, PHP Fusebox wrote: I've tried subscribing 3 times now. This is a test. For the third time -- we didn't get this. tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hello list
On Mon, 2007-02-05 at 11:01 -0500, tedd wrote: At 4:27 PM -0700 2/4/07, PHP Fusebox wrote: I've tried subscribing 3 times now. This is a test. For the third time -- we didn't get this. Didn't get what? :B Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hello list
I've tried subscribing 3 times now. This is a test. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hello
Edward wrote: How do I create a php document so that people in my nonprofit can vote on issues online through the organization's website? Search google for 'php voting script' or some such variant, I'm sure there are lots of them available. -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hello
How do I create a php document so that people in my nonprofit can vote on issues online through the organization's website? Thanks, Edward -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hello
Edward wrote: How do I create a php document so that people in my nonprofit can vote on issues online through the organization's website? Thanks, Edward Start with PHP, add MySQL or your database of choice, mix and prepare. Serves 500+. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hello
On 1/13/07, John Meyer [EMAIL PROTECTED] wrote: Edward wrote: How do I create a php document so that people in my nonprofit can vote on issues online through the organization's website? Thanks, Edward Start with PHP, add MySQL or your database of choice, mix and prepare. Serves 500+. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Edward, Maybe start by telling the group your level of experience with PHP, MySQL, (Javascript), ... Just a thought. David
Re: [PHP] Hello
I think David is going to need to install something like PostNuke that comes with a polls module or something like that. But David's suggestion is a good one... how much PHP/MySQL experience do you have? Skip David Giragosian wrote: On 1/13/07, John Meyer [EMAIL PROTECTED] wrote: Edward wrote: How do I create a php document so that people in my nonprofit can vote on issues online through the organization's website? Thanks, Edward Start with PHP, add MySQL or your database of choice, mix and prepare. Serves 500+. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Edward, Maybe start by telling the group your level of experience with PHP, MySQL, (Javascript), ... Just a thought. David -- Skip Evans Big Sky Penguin, LLC 61 W Broadway Butte, Montana 59701 406-782-2240 =-=-=-=-=-=-=-=-=-=-= Check out PHPenguin, a lightweight and versatile PHP/MySQL development framework. http://phpenguin.bigskypenguin.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Hello, I'm new...
|-Original Message- |From: Jason Barnett [mailto:[EMAIL PROTECTED] |Sent: 13 May 2005 21:21 |To: php-general@lists.php.net |Subject: Re: [PHP] Hello, I'm new... | [SNIP] |Based on the somewhat vague OP, you have somewhat vague (but somewhat |useful) answers. ;) I apologise for the vagueness of my original post. It was meant to be a quick hello, I'm new to php... I only really put in the bit about the community site as a sort of statement about where I would like to go in my php quest. When I recently looked at asp.net, Microsoft had a Community starter kit/framework which included all the basic modules/applications needed to get such a site up and running and detailed documentation about it's design and implementation. I have found most of the suggestions/comments to be useful, some a little to personal and insulting than was warranted. Anyway thank you for your time and suggestions, I will try to make my questions more focused and clear in the future. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Hello, I'm new...
When I recently looked at asp.net, Microsoft had a Community starter kit/framework which included all the basic modules/applications needed to get such a site up and running and detailed documentation about it's design and implementation. I've not looked at asp, but that sounds like a completely different world. Maybe the equivalent is to find an open source application that does pretty much what you want and use that, even join in with its development. Check in sourceforge or freshmeat. AFAIK, PHP doesn't offer that kind of packaged approach. Perhaps there's a major difference between the way MS approaches things and the way PHP/open source does. J PS. there it is again, hit reply and the 'to' address is the email sender, not the list. How so? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hello, I'm new...
I only really put in the bit about the community site as a sort of statement about where I would like to go in my php quest. When I recently looked at asp.net, Microsoft had a Community starter kit/framework which included all the basic modules/applications needed to get such a site up and running and detailed documentation about it's design and implementation. If you're looking for a php equivlent of the ASP.NET framework, then the php interpreter has a lot of the ASP.NET framework functionality built in. For the remainder, of the ASP.NET framework functionality, in PHP you should take it on a case by case basis. For example if you need database abstraction(a similar set of functions for accessing different types of database) you can use PEAR::DB or ADODB. Most of what you need however is built into the php interpretor. The php documentation is Excellent. I used it to learn php from scratch, and I've yet to come across better, or easier to understand docs. I have found most of the suggestions/comments to be useful, some a little to personal and insulting than was warranted. I don't think any post on the list was meant to be personal, or insulting, and it would be a pity if you took it in that way. Perhaps you received some private replys, that we didn't see, but I think perhaps the post that could be most easly interpreted as a personal insult would have been my own, where I pointed out the Guide for new members, and ESR's smart questions guide. The new members guide is, as far as I know, sent to the list regularly(albeit not frequently), and ESR's guide is usually sent to anyone who posts to the list saying they're new, or asks for advice on how best to use the list. I assure you that none of my points were intended to insult, and apologise if you took them out of their intended scope. Anyway thank you for your time and suggestions, I will try to make my questions more focused and clear in the future. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Hello, I'm new...
|-Original Message- |From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] |Sent: 14 May 2005 11:35 |To: php-general@lists.php.net |Subject: RE: [PHP] Hello, I'm new... | | |PS. there it is again, hit reply and the 'to' address is the email |sender, not the list. How so? | I am on a number of lists they all behave differently, I just hit reply to all. I notice that this one forwards the delivery status requests as well (I've turned that off now). -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hello, I'm new...
AFAIK, PHP doesn't offer that kind of packaged approach. Perhaps there's a major difference between the way MS approaches things and the way PHP/open source does. Traditional ASP, and PHP, were fairly similar. ASP.NET and PHP are two very different solutions, to what is possibly the same problem. With microsofts changing direction to a Java design(which is basicly what dotNET is), ASP.NET is taking a lot of ideas from JSP. JSP is based on the ideas of packages that it inherited from Java. You'll see a lot of arguments as to whether ASP is better than PHP, or visa-vearsa, containing ASP.NET arguments. The fact of the matter is that PHP is better than ASP, and different from ASP.NET. PS. there it is again, hit reply and the 'to' address is the email sender, not the list. How so? Is there a 'reply to all' button on your mail client. Some mailing lists add a 'Reply-to' header asking all clients to redirect replys to the list. PHP-general doesn't have such a feature. I know it gets annoying at times. -- 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] Hello, I'm new...
PS. there it is again, hit reply and the 'to' address is the email sender, not the list. How so? Is there a 'reply to all' button on your mail client. Some mailing lists add a 'Reply-to' header asking all clients to redirect replys to the list. PHP-general doesn't have such a feature. I know it gets annoying at times. Oh yers. I don't think I've ever used that before. How irritating :-) J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hello, I'm new...
Hi all, I have only recently started to look at php, I hope this list dose not mind 'noob' questions. I have got 'Programming PHP' by Rasmus Lerdorf, Kevin Tatroe and 'Web Database Applications with PHP and MySQL' Hugh E. Williams, David Lane. I would like to create a 'community' website and was wondering if there was a framework available to get me started? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hello, I'm new...
On Fri, 2005-05-13 at 07:10, [EMAIL PROTECTED] wrote: Hi all, I have only recently started to look at php, I hope this list dose not mind 'noob' questions. I have got 'Programming PHP' by Rasmus Lerdorf, Kevin Tatroe and 'Web Database Applications with PHP and MySQL' Hugh E. Williams, David Lane. I would like to create a 'community' website and was wondering if there was a framework available to get me started? Google for mambo or php nuke -- s/:-[(/]/:-)/g BrianGnuPG - KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu == gpg --keyserver pgp.mit.edu --recv-keys 04A4F0DC Key Info: http://gfx-design.com/keys Linux Registered User #339825 at http://counter.li.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hello, I'm new...
A community website. Explain. Decide what features you want this community site to have. Once you've figured out(or explained) what type of services you want to offer to your community, and then check out hotscripts.com, or google. Three scripts that come to mind, are phpgroupware, phpbb, and phpnuke(or postnuke) I have only recently started to look at php, I hope this list dose not mind 'noob' questions. Personally I don't like the term noob, but there are very few people on this list that I've come across who object to beginners questions. We were all beginners at some stage. On the other hand, quite a few of us(myself included), object to stupid questions. An example of a stupid question would be I would like to create a 'community' website and was wondering if there was a framework available to get me started?. A better question would be: I want to create a community website, where community members can send each other messages, post to a publicly viewable bulletin board, and share files. What frameworks are available for this.. Ok that wasn't that bad of a question(hey, I needed an example), but once you've read ESR's guide to asking smart questions( http://www.catb.org/~esr/faqs/smart-questions.html ), and/or the guide for new members, that is regularly posted to this list. You can find it here: http://apache2triad.net/forums/archive/o_t__t_3613__newbie-guide-for-the-benefit-of-new-posters.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hello, I'm new...
i think that you're best bet would be to find some open source community software and go with that. i built a community site from scratch one time, and while it was a lot of fun, it proved to be much more difficult that i had anticipated. so the next client that asked for a similar site ended up with a modified version of the other site with phpbb2 for a message board, another package for a photo gallery (can't recall the name right now), etc. so, in short, find some already written code, modify it a bit to suit your needs, and go with that. it'll save you a lot of time. On 5/13/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all, I have only recently started to look at php, I hope this list dose not mind 'noob' questions. I have got 'Programming PHP' by Rasmus Lerdorf, Kevin Tatroe and 'Web Database Applications with PHP and MySQL' Hugh E. Williams, David Lane. I would like to create a 'community' website and was wondering if there was a framework available to get me started? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- dc .. drewcore.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hello, I'm new...
On 5/13/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all, I have only recently started to look at php, I hope this list dose not mind 'noob' questions. no we don't mind it, we do mind poor spelling though ;) jk I have got 'Programming PHP' by Rasmus Lerdorf, Kevin Tatroe and 'Web Database Applications with PHP and MySQL' Hugh E. Williams, David Lane. I would like to create a 'community' website and was wondering if there was a framework available to get me started? Are you looking for a framework for building you're application, or an application that's already built for you that you just need to customize? IMO, I would start off with trying to write you're own application from scratch, like maybe a guestbook or something simple. Once you get the basics down you can expand you're horizons into whatever you feel like... Thanks. You're very welcome... Good Luck! -- jamwil.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hello, I'm new...
-- jamwil.com Also, when I hit reply to James' reply, the to field in my email client was only sending to James, not to the list. How so? I've noticed that before. How can sometimes the responses go to the list, and other times to the person who sent the message? And isn't there a correct protocol for this somewhere? J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hello, I'm new...
I would like to create a 'community' website and was wondering if there was a framework available to get me started? Well now I don't even know what a framework is. I was expecting someone to say Oh, you should use model view controller or something. All the answers seem to be applications. Are applications frameworks? J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hello, I'm new...
Well now I don't even know what a framework is. I was expecting someone to say Oh, you should use model view controller or something. All the answers seem to be applications. Are applications frameworks? I never checked the dict def of a framework, but I always considered them to be pieces of sw that you can develop on top of. The only piece of code(for php) that I can think of that advertises itself as a framework, would be the horde framework. checkout www.horde.org J -- 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] Hello, I'm new...
[EMAIL PROTECTED] wrote: I would like to create a 'community' website and was wondering if there was a framework available to get me started? Well now I don't even know what a framework is. I was expecting someone to say Oh, you should use model view controller or something. All the answers seem to be applications. Are applications frameworks? J I would call MVC a design pattern... but then again I never took a CS class in college so my knowledge of the lingo might be lacking. In any case based on the responses others have given to the OP (including your own responses) there are really multiple questions that you need to address: - what content / features do you want? - what kind of user interface do you want? - do you want a solution that is fully integrated? - If so, then also consider the licensing options for each solution. - If you don't want the full integration then you get to other questions like: - what design pattern fits my overall application? (likely MVC) - what pre-existing code does the best job for each part of my site? - what amount of flexibility do I want to build into my application? - what can I do to make this code as easy as possible to understand in the future, because I or someone else will have to debug it later? I'm missing a lot of questions out of my list, but it gets you started. Really it comes down to having a good mental picture of what it is you want the site to do and how it will work / look / feel. Then you get all of that down on paper and start finding code / packages / tutorials to fill in the blanks. Based on the somewhat vague OP, you have somewhat vague (but somewhat useful) answers. ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hello, I'm new...
Think he means a CMS || Forumpackage || Portal package? www.opensourcecms.com -brian - Original Message - From: Jason Barnett [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Friday, May 13, 2005 3:20 PM Subject: Re: [PHP] Hello, I'm new... [EMAIL PROTECTED] wrote: I would like to create a 'community' website and was wondering if there was a framework available to get me started? Well now I don't even know what a framework is. I was expecting someone to say Oh, you should use model view controller or something. All the answers seem to be applications. Are applications frameworks? J I would call MVC a design pattern... but then again I never took a CS class in college so my knowledge of the lingo might be lacking. In any case based on the responses others have given to the OP (including your own responses) there are really multiple questions that you need to address: - what content / features do you want? - what kind of user interface do you want? - do you want a solution that is fully integrated? - If so, then also consider the licensing options for each solution. - If you don't want the full integration then you get to other questions like: - what design pattern fits my overall application? (likely MVC) - what pre-existing code does the best job for each part of my site? - what amount of flexibility do I want to build into my application? - what can I do to make this code as easy as possible to understand in the future, because I or someone else will have to debug it later? I'm missing a lot of questions out of my list, but it gets you started. Really it comes down to having a good mental picture of what it is you want the site to do and how it will work / look / feel. Then you get all of that down on paper and start finding code / packages / tutorials to fill in the blanks. Based on the somewhat vague OP, you have somewhat vague (but somewhat useful) answers. ;) -- 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] HELLO, some question about php :)
Dear WM, Sorry to take your time, i wish to build a cluster, but i am not sure the php can support cluster function or not, if so, where can find it? Mysql also hope to run on the cluster, I didn't find any document about this tips! Does PHP and Mysql supports CLUSTER library or function to be called? Best wishes! :o) Kevin Yu WM of volcanoSearch
Re: [PHP] HELLO, some question about php :)
KevinYu wrote: Sorry to take your time, i wish to build a cluster, but i am not sure the php can support cluster function or not, if so, where can find it? Mysql also hope to run on the cluster, I didn't find any document about this tips! Does PHP and Mysql supports CLUSTER library or function to be called? Best wishes! :o) As I understand it, PHP is a shared nothing architecture. Translation: There's nothing to *do* to make it work on a cluster, it just works. Every PHP install will be completely independent, by design. MySQL is a bit more tricky, but if you check the MySQL site for replication and related topics, you'll find that current/future versions have some pretty cool stuff for providing distributed tables and processing farms. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] hello list
Do you guys know of any php based text indexers? similar to lucene? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] hello
Try this, or nothing! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] hello
Hello. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 01, 2004 3:14 PM Subject: [PHP] hello Try this, or nothing! -- 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] hello
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] on Thursday, April 01, 2004 6:14 AM said: Try this, or nothing! ok, will do. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] hello world == 0 ?
why is var_dump( 0 == 'hello world') TRUE and not FALSE? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] hello world == 0 ?
Hi, Wednesday, March 10, 2004, 12:22:08 AM, you wrote: t why is var_dump( 0 == 'hello world') TRUE and not FALSE? because 0 is integer and the integer value of 'hello world' is 0 so they are equal. -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] hello world == 0 ?
many thanx Am Di, 2004-03-09 um 15.27 schrieb Tom Rogers: Hi, Wednesday, March 10, 2004, 12:22:08 AM, you wrote: t why is var_dump( 0 == 'hello world') TRUE and not FALSE? because 0 is integer and the integer value of 'hello world' is 0 so they are equal. http://jessikak.de -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] hello world == 0 ?
Hello test, Tuesday, March 9, 2004, 2:22:08 PM, you wrote: t why is var_dump( 0 == 'hello world') TRUE and not FALSE? The same reason: intval('hello world') will equal 0. -- Best regards, Richard Davey http://www.phpcommunity.org/wiki/296.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] hello
read it immediately! attachment: release.zip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] hello to making the php pages
Dagfinn Reiersøl mailto:[EMAIL PROTECTED] on Tuesday, January 20, 2004 10:19 PM said: If he kept the old wife, he needs to talk to both wives. If not, replacing the colon with a semicolon might help. she was kicked by bull pulling plow. new wife much better. make very happy. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] hello to making the php pages
Hey hey hey, a little respect here guys, stop talking about this guy's (new) wifes colon...or her semi-colon :-p cheers, -Ryan If he kept the old wife, he needs to talk to both wives. If not, replacing the colon with a semicolon might help. she was kicked by bull pulling plow. new wife much better. make very happy. -- 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] hello to making the php pages
Ryan A wrote: Hey hey hey, a little respect here guys, stop talking about this guy's (new) wifes colon...or her semi-colon :-p cheers, -Ryan You can always use php's enema(int bag-size [, string orifice]) function to fix the colon problems. -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] hello to making the php pages
hello you, i am here to ask of help from the mailing list. i have PHP Codes like this kind: echo Welcome to my homepage Mom. See my brand new wife!: I have problem with PHP Codes from above. Where to fix Codes? :P Sorry I couldn't resist!!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] hello to making the php pages
Chris W. Parker wrote: hello you, Hello me. i am here to ask of help from the mailing list. I think the mailing list is gone for the day. Try back tomorrow. i have PHP Codes like this kind: What's PHP? echo Welcome to my homepage Mom. See my brand new wife!: You must echo out what happened to your old wife before you send new wife to the brower. I have problem with PHP Codes from above. Where to fix Codes? Joe's garage and PHP service station. They have specials on Friday's. ;) -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] hello to making the php pages
Hi, I think mr chris w parker you have not read the manual or the list newbie guide. I couldn't resist either :-) Chris W. Parker wrote: hello you, i am here to ask of help from the mailing list. i have PHP Codes like this kind: echo Welcome to my homepage Mom. See my brand new wife!: I have problem with PHP Codes from above. Where to fix Codes? :P Sorry I couldn't resist!!! -- Raditha Dissanayake. http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 150 KB | with progress bar. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] hello to making the php pages
echo Welcome to my homepage Mom. See my brand new wife!: You must echo out what happened to your old wife before you send new wife to the brower. If he kept the old wife, he needs to talk to both wives. If not, replacing the colon with a semicolon might help. I have problem with PHP Codes from above. Where to fix Codes? Joe's garage and PHP service station. They have specials on Friday's. ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hello
Hello, I hope you will manage to help me. I have some troubles with this script and I receive a message in the navigator : if(is_uploaded_file($_FILES['image']['tmp_name']) $_FILES['image']['size'] $MAX_FILE_SIZE){ if(move_uploaded_file($_FILES['image']['tmp_name'],$dirroot./images/photos_ elt/.$_FILES['image']['name']) send_sql(INSERT INTO $table_categories SET nom_cat = '.$info_admin['input_nom_element'].',image_cat = '.$_FILES['image']['name'].', id_parent = $id_parent)) $message = La cateacute;gorie a bien eacute;teacute; ajouteacute;e ; else $message = La cateacute;gorie n'a pas eacute;teacute; ajouteacute;e car une erreur de chargement de fichier s'est produite.; /* is_uploaded_ file() s'occupe de vrifier si le fichier est bien mis dans le dossier temporaire */ /* move_uploaded_file() s'occupe de tlcharger le fichier dans le dossier '../images/photos_elt/' */ /* $image_name est une variable contenant le nom du fichier et est gnr automatiquement */ /* $image est le chemin et le nom du fichier enregistr temporairement */ /* la requete $sql est efectu si un fichier est existant sinon une autre requte est faite */ } elseif(send_sql(INSERT INTO $table_categories SET nom_cat = '.$info_admin['input_nom_element'].', id_parent = $id_parent)) $message = La cateacute;gorie a bien eacute;teacute; ajouteacute;e ; else $message = Cateacute;gorie non ajouteacute;e, veuillez contacter l'adiministrateur pour signaler une eacute;ventuelle anomalie en deacute;crivant l'anomalie..; The message is : Warning: Unable to create '/home/sites/site82/web/images/photos_elt/ail.jpg': Permission denied in /home/sites/site82/web/gestion_site/bve_navigation.php on line 73 Warning: Unable to move '/tmp/phpeZc96V' to '/home/sites/site82/web/images/photos_elt/ail.jpg' in /home/sites/site82/web/gestion_site/bve_navigation.php on line 73 Thanks a lot. Sylvain - [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
[PHP] Hello! eBay Login Cookie Problem!!
Hi! I'm sure lots of you have already tackled this, and so I hope someone can help!!! I'm trying to write a PHP script to make it as easy as 1 or 2 clicks for me to launch my auctions, and I'm writing a db routine to handle payments, auto reminders and print out packing labels etc... so I'm not dependant on someone else's server / service etc... And like many people, I'm having a problem with the way ebay works with cookies when signing in! I've found lot's of code and this piece is 99% not mine, but I forget where I found it, it gets as close to logging in as I've seen, but when you run it, you'll see that the little ('Sign In') at the top right of the screen isn't correct, when it works it should be ('Sign Out') So I'd love any suggestions, hints, help, or even working code! Thank you all in advance!!! HTML BODY BGCOLOR=#FF TEXT=#00 ?php $useragent = 'Mozilla/4.0 (compatible; MSIE 6.01; Windows NT 5.0)'; $ch = curl_init('http://cgi3.ebay.com/aw-cgi/eBayISAPI.dll'); $cookiefile = 'cookie.txt'; // IS it the name of the cookie?? This cookie usually ends in up your Apache system dir. $uid=USERID; $pss=PASSWORD; curl_setopt($ch, CURLOPT_HEADER, 1); curl_setopt($ch, CURLOPT_VERBOSE, 1); curl_setopt($ch, CURLOPT_USERAGENT, $useragent); curl_setopt($ch, CURLOPT_COOKIEJAR, $cookiefile); curl_setopt($ch, CURLOPT_COOKIEFILE, $cookiefile); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_URL,http://cgi3.ebay.com/aw-cgi/eBayISAPI.dll;); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, MfcISAPICommand=SignInWelcomeuserid=$uidpass=$psskeepMeSignInOption= 1); //Maybe the problem is in the way the POST fields are posted to. //I'm very new to CURL! $page = curl_exec($ch); // execute the curl command echo pre$pageBRBRCURL infoBR; print_r(curl_getinfo($ch)); curl_close($ch); print BRBRSERVER infoBR; print_r($_SERVER); print BRBR Cookie infoBR; print_r($_COOKIE); //include(http://cgi5.ebay.com/ws1/eBayISAPI.dll?ListItemForSale;); ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hello, php is awsome.
Hello everyone. This is kinda off topic but im new. Not to php the list. Im going to post some of my php in here for the fun of it. Incase anyone needs some cool php or anything. Thankyou. -- - Tim Hoffmeyer - Zizzo.biz __ Try AOL and get 1045 hours FREE for 45 days! http://free.aol.com/tryaolfree/index.adp?375380 Get AOL Instant Messenger 5.1 for FREE! Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promos=380455 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hello and help
I am a PHP newbie, and I am having difficulty in getting my records to display here is my code ?php $Host=localhost; $User=us34992a; $Password=*; $DBname=db34992a; $Tablename=calendar; $Link=mysql_pconnect($Host, $User, $Password) or die (YOu suck1); $db=mysql_select_db($DBname, $Link) or die (ISUCKEGGS); $result=mysql_query(SELECT * from calendar, $Link) or die (YOu suck3); print(table width=53% border=0 cellpadding=0 cellspacing=0\n); print (tr\n); print (td background=topbig.gif\n); print (div align=centerfont face=Arial, Helvetica, sans-serifbfont color=#FFCalender/font/b/font/div /td /tr\n); print (tr bgcolor=#009ACE\n); print(td$result[meeting_name]/td\n)or die (you suck); mysql_close ($Link); ? any help?
Re: [PHP] Hello and help
Use this instead: ?php $Host=localhost; $User=us34992a; $Password=*; $DBname=db34992a; $Tablename=calendar; $Link=mysql_pconnect($Host, $User, $Password) or die (YOu suck1); $db=mysql_select_db($DBname, $Link) or die (ISUCKEGGS); $result=mysql_query(SELECT * from calendar, $Link) or die (YOu suck3); print(table width=\53%\ border=\0\ cellpadding=\0\ cellspacing=\0\\n); print (tr\n); print (td background=\topbig.gif\\n); print (div align=\center\font face=\Arial, Helvetica, sans-serif\bfont color=\#FF\Calender/font/b/font/div /td /tr\n); print (tr bgcolor=\#009ACE\\n); print(td{$result['meeting_name']}/td\n) or die (you suck); mysql_close ($Link); ? So basically make sure you escape your double quotes within your print statements, plus you should use single quotes in your associative array. Cheers! Rick Sir my concern is not whether God is on our side. My great concern is to be on God's side. - Abraham Lincoln From: Todd Barr [EMAIL PROTECTED] Date: Fri, 3 Jan 2003 16:32:08 -0800 To: [EMAIL PROTECTED] Subject: [PHP] Hello and help I am a PHP newbie, and I am having difficulty in getting my records to display here is my code ?php $Host=localhost; $User=us34992a; $Password=*; $DBname=db34992a; $Tablename=calendar; $Link=mysql_pconnect($Host, $User, $Password) or die (YOu suck1); $db=mysql_select_db($DBname, $Link) or die (ISUCKEGGS); $result=mysql_query(SELECT * from calendar, $Link) or die (YOu suck3); print(table width=53% border=0 cellpadding=0 cellspacing=0\n); print (tr\n); print (td background=topbig.gif\n); print (div align=centerfont face=Arial, Helvetica, sans-serifbfont color=#FFCalender/font/b/font/div /td /tr\n); print (tr bgcolor=#009ACE\n); print(td$result[meeting_name]/td\n)or die (you suck); mysql_close ($Link); ? any help? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hello and help
You are on the right track, but missed one major thing. Anytime you want to retrieve information from a database result set you have to follow 3 basic steps. 1) Connect to the database *you got that one 2) Execute a query *you got that one 3) Retrieve the resultset ***missed this one See http://www.php.net/mysql_fetch_assoc for the appropriate syntax. - Original Message - From: Todd Barr [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 03, 2003 6:32 PM Subject: [PHP] Hello and help I am a PHP newbie, and I am having difficulty in getting my records to display here is my code ?php $Host=localhost; $User=us34992a; $Password=*; $DBname=db34992a; $Tablename=calendar; $Link=mysql_pconnect($Host, $User, $Password) or die (YOu suck1); $db=mysql_select_db($DBname, $Link) or die (ISUCKEGGS); $result=mysql_query(SELECT * from calendar, $Link) or die (YOu suck3); print(table width=53% border=0 cellpadding=0 cellspacing=0\n); print (tr\n); print (td background=topbig.gif\n); print (div align=centerfont face=Arial, Helvetica, sans-serifbfont color=#FFCalender/font/b/font/div /td /tr\n); print (tr bgcolor=#009ACE\n); print(td$result[meeting_name]/td\n)or die (you suck); mysql_close ($Link); ? any help? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hello ! How to write a programme in PHP which executes a routine at a given time ?
Dear all , Hello ! I am a student and going to write a suit of programme . The producers as follow producer 1. User A add an new appointment A ( open Winamp at 2:30 on computer B) through IE in his local computer A . producer 2. Computer A send the message to server A through http . The Servlet / ASP.net which locates on server A receives the message and send message to computer B (IP or domain name of computer B is given , named www.computerB.com) . producer 3. Computer B receives the message from server A through http at 1:01 . It is expected to implement the new added appointment A ( open Winamp at 2:30 on computer B ) at given time . I know what to implement the producer 1 and 2. However , I don't know how to implement producer 3. Do you mind to tell me how to make a PHP programme to execute a centian routine at a given time ? Thank you ! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Hello ! How to write a programme in PHP which executes a routine at a given time ?
Hi Jonathan, Do you mind to tell me how to make a PHP programme to execute a centian routine at a given time ? Thank you ! PHP doesn't have anything built in that'll do this for you (at least, nothing that I'm aware of). The best solution is to call your script from your OS's scheduler - cron under unix/linux, or task scheduler in Windows. I usually trigger the script with lynx and pipe it to /dev/null, but if you have PHP compiled as a standalone instead of a server module, you could call it directly. Cheers Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] hello everybody - date problem -
Hi everybody out there, my name is Christopher (loc:germany), and i'm new in here. My actual pain is: I expecting ?php $timestamp = ($now - $five_minutes_ago); print date(H:i:s, $timestamp); ? to print something like 00:05:00. The two given timstamps, differing (e.g.) five minutes, wich is 300 seconds, print this instead: 01:05:00. Whatever I try, the result always is an hour to much. Any 'hacks' on this ?-) Thanks for your time, Christopher -- sym.net - martin butz christoph siefer gbr zwirnerstrasse 26 - 50678 koeln - 0221/3762591 email: [EMAIL PROTECTED] - netz: http://www.sym.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] hello everybody - date problem -
-Original Message- From: Christoph Siefer [mailto:[EMAIL PROTECTED]] Sent: 26 September 2002 16:16 I expecting ?php $timestamp = ($now - $five_minutes_ago); print date(H:i:s, $timestamp); ? to print something like 00:05:00. The two given timstamps, differing (e.g.) five minutes, wich is 300 seconds, print this instead: 01:05:00. Whatever I try, the result always is an hour to much. This looks like it might be a time-zone issue, as I'd guess being in Germany you're 1 hour different from GMT. Let's see: $timestamp should contain 300, which equates to 00:05:00 01-Jan-1970 GMT -- but if you're 1 hour ahead of GMT, date will compensate for this and return 01:05:00 01-Jan-1970 in your local timezone. Try using gmdate instead, which does not do any timezone compensation. Cheers! Mike - Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: [EMAIL PROTECTED] Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] hello the list
Welcome Nicolas, =You didn't actually say what the problem was! =Some have made suggestions, please also consider (below): i'm new and i'm trouble with this code :'( can U help me please ?? this is the code : while ($cd_tbl = mysql_fetch_array ($result)) { $cd_id = $cd_tbl['cd_id']; $cd_oeuvre = $cd_tbl['cd_oeuvre']; $cd_chef = $cd_tbl['cd_chef']; $cd_compositeur = $cd_tbl['cd_compositeur']; ---partie concernée- //-Debut Seth //-- // name : _ALTERNANCE_COULEUR_ // desc : test de 'id' pour l'alternance de couleur //-- if(is_int($cd_id) = TRUE) =there is no need for the double-quotes in this statement. =you should be coding equality (==) or even equality and type equivalence (===) Regards, =dn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] hello the list
i'm new and i'm trouble with this code :'( can U help me please ?? this is the code : while ($cd_tbl = mysql_fetch_array ($result)) { $cd_id = $cd_tbl['cd_id']; $cd_oeuvre = $cd_tbl['cd_oeuvre']; $cd_chef = $cd_tbl['cd_chef']; $cd_compositeur = $cd_tbl['cd_compositeur']; ---partie concernée- //-Debut Seth //-- // name : _ALTERNANCE_COULEUR_ // desc : test de 'id' pour l'alternance de couleur //-- if(is_int($cd_id) = TRUE) { $bgcolor=#00; } else { $bgcolor=#33; } echo tr; echo td bgcolor=$bgcolorfont face=Verdana size=1b$cd_id/b/font/td; echo td bgcolor=$bgcolorfont face=Verdana size=1b$cd_compositeur/b/font/td; echo td bgcolor=$bgcolorfont face=Verdana size=1b$cd_oeuvre/b/font/td; echo td bgcolor=$bgcolorfont face=Verdana size=1b$cd_chef/b/font/td; echo td bgcolor=$bgcolor; echo a href=detail.php?cd_id=$cd_idfont face=Verdana size=1bFiche complète/b/font/a; echo /td; echo /tr; } //- Fin Seth echo /table; } ^lease help me !! :'( thx ! Seth
Re: [PHP] hello the list
ðÒÉ×ÅÔ! Nicolas GUILLOU wrote: You may either write: echo td bgcolor='$bgcolor'font face=Verdana size=1b$cd_id/b/font/td; or echo td bgcolor=.$bgcolor.font face=Verdana size=1b$cd_compositeur/b/font/td; ðÏËÁ áÌØÂÅÒÔÏ ëÉÅ× -_=}{=_-@-_=}{=_--_=}{=_-@-_=}{=_--_=}{=_-@-_=}{=_--_=}{=_- LoRd, CaN yOu HeAr Me, LiKe I'm HeArInG yOu? lOrD i'M sHiNiNg... YoU kNoW I AlMoSt LoSt My MiNd, BuT nOw I'm HoMe AnD fReE tHe TeSt, YeS iT iS ThE tEsT, yEs It Is tHe TeSt, YeS iT iS ThE tEsT, yEs It Is... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] hello the list
echo td bgcolor=$bgcolorfont face=Verdana size=1b$cd_id/b/font/td; Strings work differently when the outer quotes are double or single quotes. Inside double quotes variables will be converted into their values. Inside single they will not. So: $var = 'Hello World'; echo $varbr\n; will result in Hello Worldbrnewline and: $var = 'Hello World'; echo '$varbr\n'; will result in $varbr\n //actual two characters '\' and 'n' and not newline. Inside double or single quotes, you can use the other quote: $var = 'Hello World'; echo $varbr\n; Hello Worldbrnewline $var = Hello 'World'; echo $varbr\n; Hello 'World'brnewline Your trouble is that you're using double quotes inside a double quoted string and the second double quote that php encounters will terminate the string. The next thing encountered is your variable $bgcolor, but that syntax isn't correct. php sees your string as three pieces: 1. td bgcolor= 2. $bgcolor 3. font face=Verdana size=1b$cd_id/b/font/td; So you could either convert the double quotes inside the string into single quotes: echo td bgcolor='$bgcolor'font face=Verdana size=1b$cd_id/b/font/td; or escape the double quotes like this: echo td bgcolor=\$bgcolor\font face=Verdana size=1b$cd_id/b/font/td; or you could concatenate the three pieces: echo td bgcolor= . $bgcolor .font face=Verdana size=1b$cd_id/b/font/td; I personally like all of the tag values double quoted so I'd echo td bgcolor=\$bgcolor\font face=\Verdana\ size=\1\b$cd_id/b/font/td; When php parses the outside double quoted string, it has to do extra work to convert variables. I generally use single quotes unless there's a variable or special char to convert (like newline). It doesn't really matter though, it's fast anyway. If your using arrays inside a double quoted string, you need to help php out and use special coding. This code won't work: $arr = array('fish' ='Tuna','reptile' = 'Snake','rodent' = 'mouse'); echo $arr['fish']br\n; This will work: $arr = array('fish' ='Tuna','reptile' = 'Snake','rodent' = 'mouse'); echo {$arr['fish']}br\n; // note the curly braces around the array -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hello, q about ./configure (php) on linux
Hello, I have a question, I just want to confirm something When I use the -- with in ./configure such as: --with-png-dir=/usr/local for LIBPNG My libpng is actually located (The top level directory) at: /home/sites/home/users/admin/libpng-1.2.1 however, libpng.so is at /usr/local/lib which path do I use in the --with It might sound like silly q, but I want to make sure I do this right, I am just confused if I point to the top level or the .so. Why would I ask this? All examples show pointing to usr/local/lib for my type of linux, but I found the top level elsewhere and that concerned me. now I am confused if libjpeg/png/gd all have /usr/local/lib or the path to the top level directory... Thanks for your time Joel
Re: [PHP] Hello, q about ./configure (php) on linux
If you library is in /usr/local/lib, then chances are the corresponding header files are in /usr/local/include, the common directory is /usr/local and thus you must use --with-png-dir=/usr/local -Rasmus On Thu, 20 Dec 2001 [EMAIL PROTECTED] wrote: Hello, I have a question, I just want to confirm something When I use the -- with in ./configure such as: --with-png-dir=/usr/local for LIBPNG My libpng is actually located (The top level directory) at: /home/sites/home/users/admin/libpng-1.2.1 however, libpng.so is at /usr/local/lib which path do I use in the --with It might sound like silly q, but I want to make sure I do this right, I am just confused if I point to the top level or the .so. Why would I ask this? All examples show pointing to usr/local/lib for my type of linux, but I found the top level elsewhere and that concerned me. now I am confused if libjpeg/png/gd all have /usr/local/lib or the path to the top level directory... Thanks for your time Joel -- 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] Hello, per making .zip files
Hello, I have tried the zend.com articles to no avail on php/linux 4.03 or even 4.05 whatever is there a way to speciy a directory, in let's say zip.php and when joe schmoe goes to that page, that directory which is specified is downloaded immediately as zip? Not a user interface to make them nobody seems to have a straight answer trying not to talk about 3rd party $10m components can php do this? If so, how? I get errors with every 'solution' so I figured I'd ask here. Thanks
[PHP] hello
How might I post a ?bariable in the http stream using a javascript dynamic menu? Do I need to turn it into a form to do this. andrew
[PHP] Hello, I'm new one here
Hello there! I'm new one on this mailing list, and at the begining of this mail I would like to excuse myself for my poor english. I have a question about cURL library in Apache: Is it capable of making SSL (https) link to specific server using specific CRT formatted certificate? Command: 'curl_setopt($curl_handle, CURLOPT_SSLCERT, "file" )' doesn't work. Kamil 'Hilarion' Nowicki -- 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] Hello
Dear Neighbor: I'm having a tax problem and I want you to be the beneficiary instead of the IRS... My business has had a phenomenal year so far in 2001. In fact, we've done so well I'm probably going to pay 2½ times more corporate taxes than I did last year. And if we make any more money this year, the tax problem will only get worse... I'll have to pay even more money to the IRS. I have employees who I don't want to lay-off. So in order to keep my employees busy and not give more money to the IRS, I've decided on a strategy that's so bold so daring that I doubt anyone else would even dare try it. I have decided to offer windows and siding to you, at our basic cost. In other words, I'm going to offer you windows and siding for no personal profit whatsoever! This will increase our expenses thereby decrease our percent of profits. Just click the link below to set up an appointment with one of my sales representatives today! Brian Elias President Hansons Windows Siding P. S. This a one time email offer only good for the next 9 day or until we decrease our tax problem. **If you wish to have your e-mail removed from our list, please reply to this email with REMOVE as the subject. -- 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] hello and a question
Hi. I just joined the list and, of course, I have a question. I've searched for quite a bit of time now, but to no avail.. mostly, I suspect, because all the relevant search terms are to broad. But heres my problem: I have a journal I whipped up and tweak often that uses PHP and MySQL (no small club there. :p ). The functionality I'm trying to add right now is to be able to enclose text in a hide tag (what? you didnt see that hide? html and email just don't mix) and it will not be displayed in the browser. example: I had a good day today. hideI shot the milkman. /hideTho nothign much happened. then i use: $entry_hidden = eregi_replace(hide.+/hide,hidden,$entry); and this works just fine, replacing the secret text with a non-displayed hidden tag. The problem arises when I use the tag 2 or more times: Hey hidelosers!/hide I think that I hide do not/hide like corn. in this case, the above blurb gets outputted as: hey hidden like corn. So how do I make it stop pattern-matching when it reaches the first instance of /hide, and make it work properly for each subsequent set of the tag? This is prolly something pretty basic in regular expressions, but in my limited working knowledge (and the 3 tutorials I've tried), it's not addressed. searches in the archive, the php manual, and google have also failed me. worthy list? I thank you in advance and hope I can tolerate the mail volume long enough to return the favor. --kevin -- 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] $hello ?
hello, i got myfile.txt saying: i say: $hello now i write a script like: $hello = hello world; $lines = join(\n, file(myfile.txt)); method 1: === echo(\$text = \\$lines\;); var_dump($text); method 2: $temp = $var; $text = $temp; none of the method assigns the value i say: hello world to $text they both still parse $text to i say: $hello How can i solve this, I know it's silly,...but i surrender at the moment... -elias http://eassoft.cjb.net -- 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] $hello ?
sorry, in method 1 i meant: eval() instead of echo() elias [EMAIL PROTECTED] wrote in message 9cp0io$uuf$[EMAIL PROTECTED]">news:9cp0io$uuf$[EMAIL PROTECTED]... hello, i got myfile.txt saying: i say: $hello now i write a script like: $hello = hello world; $lines = join(\n, file(myfile.txt)); method 1: === echo(\$text = \\$lines\;); var_dump($text); method 2: $temp = $var; $text = $temp; none of the method assigns the value i say: hello world to $text they both still parse $text to i say: $hello How can i solve this, I know it's silly,...but i surrender at the moment... -elias http://eassoft.cjb.net -- 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 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] hello
http://www.webmin.com -Original Message- From: Maxim Maletsky [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 25, 2001 12:10 AM To: 'SuiteNet Operations Manager'; php-general Subject: RE: [PHP] hello what about Webmin? it's wuite cool, it has it all. (don't remember the URL, it comes with Linux Mandrake 7.2 for sure) try searching on google Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: SuiteNet Operations Manager [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 25, 2001 1:59 PM To: php-general Subject: [PHP] hello Im looking to set-up a customer based control panel for my servers. Running linux/apache. I was wondering if you had any advice on ware to look for programs or scripts that might help me to do this. I tried looking. And I have not found anything any help would be highly appreciated thank you. -- Regards Herb McDonald SuiteNet Comm Inc., Operations Manager http://www.suite.net/ PLEASE MAKE A NOTE THANK YOU ! Support has been changed from 1-954-971-4025 TO 1-561-784-9407 Order/New Account Info Only 1-800-510-1936 MESSAGE SEPARATOR -- 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 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 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] hello
Im looking to set-up a customer based control panel for my servers. Running linux/apache. I was wondering if you had any advice on ware to look for programs or scripts that might help me to do this. I tried looking. And I have not found anything any help would be highly appreciated thank you. -- Regards Herb McDonald SuiteNet Comm Inc., Operations Manager http://www.suite.net/ PLEASE MAKE A NOTE THANK YOU ! Support has been changed from 1-954-971-4025 TO 1-561-784-9407 Order/New Account Info Only 1-800-510-1936 MESSAGE SEPARATOR -- 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] Hello $variable, whats your name?
I would like to know if there is a way to determine the name of a variable. Example: I have the variable $firstname, with a value of Jon I want to be able to echo name_of_variable : value_of_variable; So the user would see firstname : Jon I want to be able to do this without knowing what variables will be passed to the PHP script in advance. Any help is appreciated in advance. Jon === And shepards we shall be For thee, my lord, for thee For thou hath descended forth from thy hands That our feats may swiftly carry out thy command We will flow a river forth unto thee And teaming with souls shall it ever be... === http://jcampbell.blacklightning.net -- 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] Hello $variable, whats your name?
If it's in some kind of collections, you could iterate through the collection. ($HTTP_POST, $HTTP_GET, any associative array, etc.) Cal http://www.calevans.com -Original Message- From: JCampbell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 12, 2000 6:06 PM To: Main PHP List Subject: [PHP] Hello $variable, whats your name? I would like to know if there is a way to determine the name of a variable. Example: I have the variable $firstname, with a value of Jon I want to be able to echo name_of_variable : value_of_variable; So the user would see firstname : Jon I want to be able to do this without knowing what variables will be passed to the PHP script in advance. Any help is appreciated in advance. Jon === And shepards we shall be For thee, my lord, for thee For thou hath descended forth from thy hands That our feats may swiftly carry out thy command We will flow a river forth unto thee And teaming with souls shall it ever be... === http://jcampbell.blacklightning.net -- 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 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] Hello $variable, whats your name?
$HTTP_POST_VARS Jerry Lake- [EMAIL PROTECTED] Web Designer Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -Original Message- From: JCampbell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 12, 2000 4:06 PM To: Main PHP List Subject: [PHP] Hello $variable, whats your name? I would like to know if there is a way to determine the name of a variable. Example: I have the variable $firstname, with a value of Jon I want to be able to echo name_of_variable : value_of_variable; So the user would see firstname : Jon I want to be able to do this without knowing what variables will be passed to the PHP script in advance. Any help is appreciated in advance. Jon === And shepards we shall be For thee, my lord, for thee For thou hath descended forth from thy hands That our feats may swiftly carry out thy command We will flow a river forth unto thee And teaming with souls shall it ever be... === http://jcampbell.blacklightning.net -- 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 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] Hello $variable, whats your name?
You can cycle through the $HTTP_POST_VARS or $HTTP_GET_VARS arrays depending on whether you use 'post' or 'get' for the methos in you form while(list($key,$val)=each($HTTP_POST_VARS)) { print "$key:$valbr\n"; } - Original Message - From: JCampbell [EMAIL PROTECTED] To: Main PHP List [EMAIL PROTECTED] Sent: Tuesday, December 12, 2000 4:05 PM Subject: [PHP] Hello $variable, whats your name? I would like to know if there is a way to determine the name of a variable. Example: I have the variable $firstname, with a value of Jon I want to be able to echo name_of_variable : value_of_variable; So the user would see firstname : Jon I want to be able to do this without knowing what variables will be passed to the PHP script in advance. Any help is appreciated in advance. Jon === And shepards we shall be For thee, my lord, for thee For thou hath descended forth from thy hands That our feats may swiftly carry out thy command We will flow a river forth unto thee And teaming with souls shall it ever be... === http://jcampbell.blacklightning.net -- 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 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] Hello $variable, whats your name?
theres even $GLOBALS() ""Data Driven Design"" [EMAIL PROTECTED] wrote in message 001301c0b347$d96ca5c0$[EMAIL PROTECTED]">news:001301c0b347$d96ca5c0$[EMAIL PROTECTED]... You can cycle through the $HTTP_POST_VARS or $HTTP_GET_VARS arrays depending on whether you use 'post' or 'get' for the methos in you form while(list($key,$val)=each($HTTP_POST_VARS)) { print "$key:$valbr\n"; } - Original Message - From: JCampbell [EMAIL PROTECTED] To: Main PHP List [EMAIL PROTECTED] Sent: Tuesday, December 12, 2000 4:05 PM Subject: [PHP] Hello $variable, whats your name? I would like to know if there is a way to determine the name of a variable. Example: I have the variable $firstname, with a value of Jon I want to be able to echo name_of_variable : value_of_variable; So the user would see firstname : Jon I want to be able to do this without knowing what variables will be passed to the PHP script in advance. Any help is appreciated in advance. Jon === And shepards we shall be For thee, my lord, for thee For thou hath descended forth from thy hands That our feats may swiftly carry out thy command We will flow a river forth unto thee And teaming with souls shall it ever be... === http://jcampbell.blacklightning.net -- 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 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 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] JDBC? Was: [PHP] Hello! PHP
I'm not quite sure what you mean. You use a JDBC driver to connect your java program to an sql db. PHP has an abstracted db layer which parallels the function of JDBC for the php environment. PHP also has db-specific API's, which tend to be somewhat faster and can take advantage of specific db features. Does that help? J on 3/16/01 7:36 PM, andrew at [EMAIL PROTECTED] wrote: On a related noted, does PHP have JDBC support? I'm unable to find anything about this - anyone know if it's possible? regards, andrew -- Julian Wood Learning Technologies and Digital Media University of Calgary -- 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] JDBC? Was: [PHP] Hello! PHP
actually, just wondering if PHP can use JDBC drivers to connect to databases. what is the 'abstracted db layer' that you mention? regards, andrew On 3/17/01 2:52 PM, "Julian Wood" [EMAIL PROTECTED] wrote: I'm not quite sure what you mean. You use a JDBC driver to connect your java program to an sql db. PHP has an abstracted db layer which parallels the function of JDBC for the php environment. PHP also has db-specific API's, which tend to be somewhat faster and can take advantage of specific db features. Does that help? J on 3/16/01 7:36 PM, andrew at [EMAIL PROTECTED] wrote: On a related noted, does PHP have JDBC support? I'm unable to find anything about this - anyone know if it's possible? regards, andrew -- Julian Wood Learning Technologies and Digital Media University of Calgary -- 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]