Re: [PHP] Help me debug this
Patrick Moloney wrote: I've tried their help forum, but they keep telling me to create an empty database. Have you tried creating an empty database? Stephen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Help me debug this
Stephen wrote: Patrick Moloney wrote: I've tried their help forum, but they keep telling me to create an empty database. Have you tried creating an empty database? Stephen yes. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Help me debug this
On Apr 20, 2009, at 17:23, Patrick Moloney webpa...@gmail.com wrote: Some months ago I downloaded and installed Apache, PHP and MySql. With only light use they seem to be working. I have downloaded a Test Script from the VBulletin vendor that is supposed to determine if your setup could run their product. The Test Script is php and appears as a form that allows you to enter a Mysql database name, user and password. I fill it in and select the button. The large blue window remains but the entry boxes and a border disappear. It hasn't totally crashed and can be closed - but it has stopped. I've tried their help forum, but they keep telling me to create an empty database. Maybe the problem has something to do with Mysql, but for a test script, I'm getting zero feedback. I have an empty database and one with a couple of tables. I don't see a problem with Mysql. So, how does one begin to debug this php test script to see what's failing? I'm kind of new to php. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Perhaps your install of php is blocking the error reporting from telling you where the problem is. Trying turning error reporting on Bastien -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Help me debug this
i find var_dump useful in these situations, and for error reporting try trigger error. http://php.net/manual/en/function.trigger-error.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Help me understand unit testing?
On Wed, Jan 21, 2009 at 7:01 PM, Murray planetthought...@gmail.com wrote: Hi All, I'd like to understand unit testing better (or, in fact, at all). I understand the broad idea that testing Is A Very Good Thing, but when I have tried to look into it further (for example, have just been looking through the PHPUnit site), I always end up thinking 'This looks like more trouble than it's worth.' I'm sure that's down to me and not the process of unit testing, but I'd like to get some idea of how people on the list actually use unit testing in the real world. I'm assuming that you have your actual application classes and functions designed in their own files, and then you build a series of unit testing classes / functions in their own sort of space, but do you build these in parallel to your application code, or during alpha / beta testing etc? Any practical or even theoretical advice welcome! Many thanks, M is for Murray Well this was a hard topic for me to grasp too. A lot of times I still get lazy about it, but I strive to do my best. Unit testing makes sure your code works as expected. So if you're messing around with stuff, keep re-running your test suite and see if your changes break any of your tests. This way you know whether or not your changes are breaking the very apps that rely on your code. Unit testing also allows you to quickly assess problems with different servers, php upgrades, whatever. Of course these are just little points. Just give it a try and keep going at it. Once I started I noticed that I had been writing my code all wrong. Lots of weird dependencies, reliance on hard to recreate state, stuff like that. It helped me to start writing leaner methods that targeted what they were supposed to do a lot better. There's a lot of info on this subject all across the net in books. It isn't just limited to php, but programming in general. V is for Vendetta? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Help me understand unit testing?
I think this is my problem -- basically to know how to get some benefit from it. If I have a function in a class that is supposed to return some rows, how would I go about performing a useful unit test on it? In theory (and in my current practice), I can simply dump the array or object, or step through the code with XDebug in Netbeans PHP (love this app!) to see what is taking place. Where would a unit test come into this process in a useful way? Is it because I can abstract the call to that function / class without having code that puts it to the page? Some other benefit? M is for Murray On Thu, Jan 22, 2009 at 10:13 AM, Eric Butera eric.but...@gmail.com wrote: On Wed, Jan 21, 2009 at 7:01 PM, Murray planetthought...@gmail.com wrote: Hi All, I'd like to understand unit testing better (or, in fact, at all). I understand the broad idea that testing Is A Very Good Thing, but when I have tried to look into it further (for example, have just been looking through the PHPUnit site), I always end up thinking 'This looks like more trouble than it's worth.' I'm sure that's down to me and not the process of unit testing, but I'd like to get some idea of how people on the list actually use unit testing in the real world. I'm assuming that you have your actual application classes and functions designed in their own files, and then you build a series of unit testing classes / functions in their own sort of space, but do you build these in parallel to your application code, or during alpha / beta testing etc? Any practical or even theoretical advice welcome! Many thanks, M is for Murray Well this was a hard topic for me to grasp too. A lot of times I still get lazy about it, but I strive to do my best. Unit testing makes sure your code works as expected. So if you're messing around with stuff, keep re-running your test suite and see if your changes break any of your tests. This way you know whether or not your changes are breaking the very apps that rely on your code. Unit testing also allows you to quickly assess problems with different servers, php upgrades, whatever. Of course these are just little points. Just give it a try and keep going at it. Once I started I noticed that I had been writing my code all wrong. Lots of weird dependencies, reliance on hard to recreate state, stuff like that. It helped me to start writing leaner methods that targeted what they were supposed to do a lot better. There's a lot of info on this subject all across the net in books. It isn't just limited to php, but programming in general. V is for Vendetta?
Re: [PHP] Help me understand unit testing?
On Wed, Jan 21, 2009 at 7:24 PM, Murray planetthought...@gmail.com wrote: I think this is my problem -- basically to know how to get some benefit from it. If I have a function in a class that is supposed to return some rows, how would I go about performing a useful unit test on it? In theory (and in my current practice), I can simply dump the array or object, or step through the code with XDebug in Netbeans PHP (love this app!) to see what is taking place. Where would a unit test come into this process in a useful way? Is it because I can abstract the call to that function / class without having code that puts it to the page? Some other benefit? M is for Murray On Thu, Jan 22, 2009 at 10:13 AM, Eric Butera eric.but...@gmail.com wrote: On Wed, Jan 21, 2009 at 7:01 PM, Murray planetthought...@gmail.com wrote: Hi All, I'd like to understand unit testing better (or, in fact, at all). I understand the broad idea that testing Is A Very Good Thing, but when I have tried to look into it further (for example, have just been looking through the PHPUnit site), I always end up thinking 'This looks like more trouble than it's worth.' I'm sure that's down to me and not the process of unit testing, but I'd like to get some idea of how people on the list actually use unit testing in the real world. I'm assuming that you have your actual application classes and functions designed in their own files, and then you build a series of unit testing classes / functions in their own sort of space, but do you build these in parallel to your application code, or during alpha / beta testing etc? Any practical or even theoretical advice welcome! Many thanks, M is for Murray Well this was a hard topic for me to grasp too. A lot of times I still get lazy about it, but I strive to do my best. Unit testing makes sure your code works as expected. So if you're messing around with stuff, keep re-running your test suite and see if your changes break any of your tests. This way you know whether or not your changes are breaking the very apps that rely on your code. Unit testing also allows you to quickly assess problems with different servers, php upgrades, whatever. Of course these are just little points. Just give it a try and keep going at it. Once I started I noticed that I had been writing my code all wrong. Lots of weird dependencies, reliance on hard to recreate state, stuff like that. It helped me to start writing leaner methods that targeted what they were supposed to do a lot better. There's a lot of info on this subject all across the net in books. It isn't just limited to php, but programming in general. V is for Vendetta? Think of an ecommerce app. You've got code that calculates price based on lots of different factors. Unit testing lets you make sure that your prices will always add up correctly based on those factors. Too many times have I messed something up and all of a sudden Michigan tax isn't acting right. Unit testing prevents those 4:50pm mistakes. :D Start small just testing the logic of your app. Don't worry so much about making sure a query has x data. You can do something called mock that out later on once you've got a better handle on things. You might also look at established code and see their unit tests to maybe get a better idea of how it is really useful. Really tho -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Help me understand unit testing?
On Wed, Jan 21, 2009 at 7:31 PM, Eric Butera eric.but...@gmail.com wrote: On Wed, Jan 21, 2009 at 7:24 PM, Murray planetthought...@gmail.com wrote: I think this is my problem -- basically to know how to get some benefit from it. If I have a function in a class that is supposed to return some rows, how would I go about performing a useful unit test on it? In theory (and in my current practice), I can simply dump the array or object, or step through the code with XDebug in Netbeans PHP (love this app!) to see what is taking place. Where would a unit test come into this process in a useful way? Is it because I can abstract the call to that function / class without having code that puts it to the page? Some other benefit? M is for Murray On Thu, Jan 22, 2009 at 10:13 AM, Eric Butera eric.but...@gmail.com wrote: On Wed, Jan 21, 2009 at 7:01 PM, Murray planetthought...@gmail.com wrote: Hi All, I'd like to understand unit testing better (or, in fact, at all). I understand the broad idea that testing Is A Very Good Thing, but when I have tried to look into it further (for example, have just been looking through the PHPUnit site), I always end up thinking 'This looks like more trouble than it's worth.' I'm sure that's down to me and not the process of unit testing, but I'd like to get some idea of how people on the list actually use unit testing in the real world. I'm assuming that you have your actual application classes and functions designed in their own files, and then you build a series of unit testing classes / functions in their own sort of space, but do you build these in parallel to your application code, or during alpha / beta testing etc? Any practical or even theoretical advice welcome! Many thanks, M is for Murray Well this was a hard topic for me to grasp too. A lot of times I still get lazy about it, but I strive to do my best. Unit testing makes sure your code works as expected. So if you're messing around with stuff, keep re-running your test suite and see if your changes break any of your tests. This way you know whether or not your changes are breaking the very apps that rely on your code. Unit testing also allows you to quickly assess problems with different servers, php upgrades, whatever. Of course these are just little points. Just give it a try and keep going at it. Once I started I noticed that I had been writing my code all wrong. Lots of weird dependencies, reliance on hard to recreate state, stuff like that. It helped me to start writing leaner methods that targeted what they were supposed to do a lot better. There's a lot of info on this subject all across the net in books. It isn't just limited to php, but programming in general. V is for Vendetta? Think of an ecommerce app. You've got code that calculates price based on lots of different factors. Unit testing lets you make sure that your prices will always add up correctly based on those factors. Too many times have I messed something up and all of a sudden Michigan tax isn't acting right. Unit testing prevents those 4:50pm mistakes. :D Start small just testing the logic of your app. Don't worry so much about making sure a query has x data. You can do something called mock that out later on once you've got a better handle on things. You might also look at established code and see their unit tests to maybe get a better idea of how it is really useful. Really tho oops I accidentally sent that before finishing. But you get the idea at any rate. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] help me out with form details converted into pdf file save it one place as well as send mail attactment
On Feb 13, 2008, at 426AM, pretty wrote hi any one help me out, im using cronofirm, i need to field form details will converted into pdf as well as it will go maill attachment doing this in joomla, atleast i need this only php with out joomla. For sending email: The standard mail function http://php.net/mail I've found that for sending anything more than the simplest email, it's usually easier to use something like PHPMailer (http://phpmailer.sf.net ). For creating PDF files, here are a few options: http://fpdf.org http://www.ros.co.nz/pdf/ http://framework.zend.com/manual/en/zend.pdf.html Saving the pdf and sending it as an email shouldn't be difficult: Step 1 - Generate the PDF Step 2 - Save it somewhere on the server Step 3 - Email the PDF as an attachment. I don't fully understand your question, so hopefully this is somewhat helpful. If you have specific questions about parts of the process we will be able to help you better. Best is if you start writing the code and ask questions when you get stuck so we can see what's going on and offer ideas. Best of luck, Brady -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] help me out with form details converted into pdf file save it one place as well as send mail attactment
On 2/13/08, pretty [EMAIL PROTECTED] wrote: hi any one help me out, im using cronofirm, i need to field form details will converted into pdf as well as it will go maill attachment doing this in joomla, atleast i need this only php with out joomla. It might be overkill for your purposes, but you might want to explore pdftex in Tex (or LaTeX), available for both Linux and Windows. Create a string to write to a file, adding these header calls at the top, massaged to your needs: $outputStr = \\documentclass[10pt,fleqn]{article}\n; $outputStr .= \\usepackage[cp850]{inputenc}\n; $outputStr .= \\usepackage{textcomp}\n; $outputStr .= \\setlength{\textwidth}{19.05cm}\n; $outputStr .= \\setlength{\oddsidemargin}{-2.0cm}\n; $outputStr .= \\setlength{\textheight}{26.5cm}\n; $outputStr .= \\setlength{\topmargin}{-1.9cm}\n; $outputStr .= \\setlength{\headheight}{0.0cm}\n; $outputStr .= \\setlength{\topskip}{0.0cm}\n; $outputStr .= \\begin{document}\n; $outputStr .= \\pagestyle{empty}\n; $outputStr .= \\begin{verbatim}\n; $outputStr .= Then append to the string whatever you want, including variables for interpolation, formatted however you want. (Sprintf works really well for alignment, etc...). The verbatim call above leaves in place all text placement on the page.; $outputStr .= Then close the string with these commands...; $outputStr .= \\end{verbatim}\n; $outputStr .= \\end{document}\n; Write to a file: $fh = fopen(FileName.tex, w); fwrite($fh, $outputStr); fclose($fh); `pdflatex FileName.tex`; // ( properly escaped, of course...) and FileName.pdf is created. You can also do a lot of really fancy formatting, but the learning curve can be pretty steep. -- -David. When the power of love overcomes the love of power, the world will know peace. -Jimi Hendrix -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] help me out with form details converted into pdf file save it one place as well as send mail attactment
On Wed, February 13, 2008 6:26 am, pretty wrote: hi any one help me out, im using cronofirm, i need to field form details will converted into pdf as well as it will go maill attachment doing this in joomla, atleast i need this only php with out joomla. To make a PDF, you can use: http://php.net/pdf To save that to a file, you can use: http://php.net/file_put_contents To send the email out, you can use the PEAR mailer, phpmailer, or the Mime Mail class at phpclasses.org or... How you'd fit any of this into Joomla is a Joomla problem :-) -- Some people have a gift link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Help me put this into phpinesse!
On 4/29/07, Brad Sumrall [EMAIL PROTECTED] wrote: ?php ob_start(); session_start(); header(Cache-control: private); require(includes/configure.php); $conn=mysql_connect(DB_SERVER,DB_SERVER_USERNAME,DB_SERVER_PASSWORD); mysql_select_db(DB_DATABASE) or die(mysql_error().: database not available); $show=no; isset($_SESSION['userid']); What's the sense of above line? isset is a function, that returns true or false. if $SESSION=NULL include './phpbb/login_global.php' $show=yes; ? What am I missing? Brad There's no concrete question what you want here. So i guess that is missing. Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Help me put this into phpinesse!
When the page opens, connect to server (this works fine). Look for session, if no session is found, look for phpbb session (two different session possibilities) Reading through the phpbb site, it say I must have the code that is in include './phpbb/login_global.php' Brad -Original Message- From: Tijnema ! [mailto:[EMAIL PROTECTED] Sent: Sunday, April 29, 2007 5:03 AM To: Brad Sumrall Cc: php-general@lists.php.net; [EMAIL PROTECTED] Subject: Re: [PHP] Help me put this into phpinesse! On 4/29/07, Brad Sumrall [EMAIL PROTECTED] wrote: ?php ob_start(); session_start(); header(Cache-control: private); require(includes/configure.php); $conn=mysql_connect(DB_SERVER,DB_SERVER_USERNAME,DB_SERVER_PASSWORD); mysql_select_db(DB_DATABASE) or die(mysql_error().: database not available); $show=no; isset($_SESSION['userid']); What's the sense of above line? isset is a function, that returns true or false. if $SESSION=NULL include './phpbb/login_global.php' $show=yes; ? What am I missing? Brad There's no concrete question what you want here. So i guess that is missing. Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] help me to solve this math maze
2007. 04. 4, szerda keltezéssel 12.44-kor Faisal Murad ezt írta: i am making a program to give money to a group of people lets say that i have to distribute 3000 among 12 people 6 of them are adult and will get 100% 6 them are children those will get 75% from the overall amount. a common solution might appear as divide 3000 to 12 which is 250 give 250 to adults and 75% percent of it to children which is 187.5 after this kind of calculation i have 375 more to give which was supposed to be equally distributed among them can anyone understand my problem and assists me. $adultmoney = $totalmoney / ($adultnumber + 0.75 * $childnumber); $childmoney = 0.75 * $adultmoney; greets Zoltán Németh faisal -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] help me to solve this math maze
You'll give 100 'units' to 6 of them, and 75 to 6, thus: 6 * 100 + 6 * 75 == 1050 units Each 'unit' is valued at: 3000 / 1050 == 2.8571 Thus, you give: 6 * 285.71 + 6 * 214.28 == 2999.94, and you may keep the change ;-) Satyam - Original Message - From: Faisal Murad [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Wednesday, April 04, 2007 11:44 AM Subject: [PHP] help me to solve this math maze i am making a program to give money to a group of people lets say that i have to distribute 3000 among 12 people 6 of them are adult and will get 100% 6 them are children those will get 75% from the overall amount. a common solution might appear as divide 3000 to 12 which is 250 give 250 to adults and 75% percent of it to children which is 187.5 after this kind of calculation i have 375 more to give which was supposed to be equally distributed among them can anyone understand my problem and assists me. faisal No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 03/04/2007 12:48 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] help me to solve this math maze
Satyam wrote: You'll give 100 'units' to 6 of them, and 75 to 6, thus: 6 * 100 + 6 * 75 == 1050 units Each 'unit' is valued at: 3000 / 1050 == 2.8571 Thus, you give: 6 * 285.71 + 6 * 214.28 == 2999.94, and you may keep the change ;-) pity you don't work as bank director Satyam (notice that in real life it's the bank that always pockets the change ;-) Satyam - Original Message - From: Faisal Murad [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Wednesday, April 04, 2007 11:44 AM Subject: [PHP] help me to solve this math maze i am making a program to give money to a group of people lets say that i have to distribute 3000 among 12 people 6 of them are adult and will get 100% 6 them are children those will get 75% from the overall amount. a common solution might appear as divide 3000 to 12 which is 250 give 250 to adults and 75% percent of it to children which is 187.5 after this kind of calculation i have 375 more to give which was supposed to be equally distributed among them can anyone understand my problem and assists me. faisal No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 03/04/2007 12:48 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] help me to solve this math maze
At 12:44 PM +0300 4/4/07, Faisal Murad wrote: i am making a program to give money to a group of people lets say that i have to distribute 3000 among 12 people 6 of them are adult and will get 100% 6 them are children those will get 75% from the overall amount. a common solution might appear as divide 3000 to 12 which is 250 give 250 to adults and 75% percent of it to children which is 187.5 after this kind of calculation i have 375 more to give which was supposed to be equally distributed among them can anyone understand my problem and assists me. faisal Considering that others provided a solution, here's mine. What's left over send to me. :-) 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] Help me specify/develop a feature! (cluster web sessions management)
On Tue, March 13, 2007 7:27 pm, Mark wrote: I have a web session management server that makes PHP clustering easy and fast. I have been getting a number of requests for some level of redundancy. As it is, I can save to an NFS or GFS file system, and be redundant that way. Talk to Jason at http://hostedlabs.com if you haven't already. I just did, he's using memcached not MCache. The name space for this class of project is fairly limited. He's rolling out a distributed redundant PHP architecture using your MCache as an almost turn-key webhosting service. Not quite sure exactly how he's makeing the MCache bit redundant, but he's already doing it. He's using memcache, which is redundant, but it doesn't do what MCache does. The memcached program is strictly a cache for things SQL queries. MCache is more like an object data store. Here is an explanation of how it works: http://www.mohawksoft.org/?q=node/36 NB: There is a typo in False Scalability section: ... but regardless of what you do you, every design has a limit. I took me a few minutes to see the typo even after you posted it. Thanks. What would you be looking for? How would you expect redundancy to work? In the ideal world, the developers are also working as an N-tier architecture in their Personnel Org Chart. :-) One Lead has to understand the whole system and the intricacies of your system, as well as its implications and gotchas really well. In an ideal world the Lead can then arrange things so that other Developers (non lead) can just program normally and have little or no impact on their process to roll-out to the scalable architecture. This is not to say that they can squander resources, but rather that if their algorithm works correctly and quickly (enough) on their dev box with beefy datasets, it should seemlessly work on the scaled boxes, assuming the datasets are not dis-proportionately larger comparing hardware to hardware pro-rated to dataset size. Yes, if the algorithm is anything bigger than O(n) this is not really safe but it's a close rule of thumb, and you can generally figure out pretty fast if your algorithm is un-workable. At least in my experience, if I can get it to work on a relatively large dataset on my crappy dev box, the real server can deal with it. So the less intrusive the redundant architecture can be, the better. I think a lot of people go completely overboard with redundancy. Yea, you need a load balancer and multiple web servers, but outside some hypothetical requirement of never any down time, I can't see much value in trying to create a single 5 nines system. If you can't deploy two independent service platforms, you will most likely suffer a failure somewhere. I think the big focus should be ensuring data integrity and fast recovery in the event of a failure. I mean sure, if you have the capital, go for it, but you can save a lot of money on your data center if you take a more rational view of downtime. Documentation of exactly how it all works is crucial -- If it's all hand-waving, the Lead will never be able to figure out where the gotchas are going to be. I'd also expect true redundancy all across the board, down to spare screws for the rack-mounts. Hey, a screw *could* sheer off at any moment... :-) Like I said, a lot of people go nuts about redundancy. Multiple data centers on a few different continents. US, Europe, Asia, India (which seems to have caught the American consumerism big-time lately...) Australia... Probably need 2 or 3 just in the US. That really is the *only* way to prevent down time. Some folks need WAY more bigger farms than others. Offer a wide variety of choices, from a simple failsafe roll-over up to sky's-the-limit on every continent. [Well, okay, you can probably safely skip Antartica. :-)] I'm not sure it makes sense to try to target huge web farms. That really is a different problem. Think about a SQL database. As long as you can replicate to a hot spare, most web farms settle for that. A truly distributed SQL database cluster is a big deal, and most sites won't ever need it. I'd like a status board web panel of every significant piece of gear and a health status in one screen of blinking lights. :-) If I have to be the one to SysAdmin the things, make that a control panel as well. Okay, in reality, I would *not* be the one to SysAdmin that stuff, as I would still need to hire a guy actually qualified to do that. Which is why we're working with Jason (above) who's essentially our out-source SysAdmin guy taking care of all this hardware and redundancy stuff so we can focus on our WEb App from a business perspective (mostly) instead of constantly fighting with hardware. [I am so *not* a hardware guy...] And, of course, *when* an MCache box falls over, the user should seemlessly be sent to the next-closest box, with their session data already waiting for them. I have plans for a
Re: [PHP] Help me specify/develop a feature! (cluster web sessions management)
On Tue, March 13, 2007 7:27 pm, Mark wrote: I have a web session management server that makes PHP clustering easy and fast. I have been getting a number of requests for some level of redundancy. As it is, I can save to an NFS or GFS file system, and be redundant that way. Talk to Jason at http://hostedlabs.com if you haven't already. He's rolling out a distributed redundant PHP architecture using your MCache as an almost turn-key webhosting service. Not quite sure exactly how he's makeing the MCache bit redundant, but he's already doing it. Here is an explanation of how it works: http://www.mohawksoft.org/?q=node/36 NB: There is a typo in False Scalability section: ... but regardless of what you do you, every design has a limit. What would you be looking for? How would you expect redundancy to work? In the ideal world, the developers are also working as an N-tier architecture in their Personnel Org Chart. :-) One Lead has to understand the whole system and the intricacies of your system, as well as its implications and gotchas really well. In an ideal world the Lead can then arrange things so that other Developers (non lead) can just program normally and have little or no impact on their process to roll-out to the scalable architecture. This is not to say that they can squander resources, but rather that if their algorithm works correctly and quickly (enough) on their dev box with beefy datasets, it should seemlessly work on the scaled boxes, assuming the datasets are not dis-proportionately larger comparing hardware to hardware pro-rated to dataset size. Yes, if the algorithm is anything bigger than O(n) this is not really safe but it's a close rule of thumb, and you can generally figure out pretty fast if your algorithm is un-workable. At least in my experience, if I can get it to work on a relatively large dataset on my crappy dev box, the real server can deal with it. So the less intrusive the redundant architecture can be, the better. Documentation of exactly how it all works is crucial -- If it's all hand-waving, the Lead will never be able to figure out where the gotchas are going to be. I'd also expect true redundancy all across the board, down to spare screws for the rack-mounts. Hey, a screw *could* sheer off at any moment... :-) Multiple data centers on a few different continents. US, Europe, Asia, India (which seems to have caught the American consumerism big-time lately...) Australia... Probably need 2 or 3 just in the US. Some folks need WAY more bigger farms than others. Offer a wide variety of choices, from a simple failsafe roll-over up to sky's-the-limit on every continent. [Well, okay, you can probably safely skip Antartica. :-)] I'd like a status board web panel of every significant piece of gear and a health status in one screen of blinking lights. :-) If I have to be the one to SysAdmin the things, make that a control panel as well. Okay, in reality, I would *not* be the one to SysAdmin that stuff, as I would still need to hire a guy actually qualified to do that. Which is why we're working with Jason (above) who's essentially our out-source SysAdmin guy taking care of all this hardware and redundancy stuff so we can focus on our WEb App from a business perspective (mostly) instead of constantly fighting with hardware. [I am so *not* a hardware guy...] And, of course, *when* an MCache box falls over, the user should seemlessly be sent to the next-closest box, with their session data already waiting for them. I.e., it's not enough that there will always be a working MCache box for new users -- Logged-in users have to have their session data replicated to at least one other box. There also have to be enough spare cycles in the sum of all boxes that a single failure won't just take them all down in a dominoe effect. [shudder] So it's gotta be more like Raid 5 or whatever it is, with the session data striped across different boxes. Something like this dominoe effect bit Dreamhost in the [bleep] awhile back on their switch setup. Actually, go read all their woes on their blog/newsletter and don't do that. :-) [Though at Dreamhost pricing, it's really hard to complain...] [And at least they tell you they screwed up instead of making it a State Secret.] Speaking of pricing: Session replication is just a tiny piece of the puzzle, really. A crucial piece, relatively easy to factor out for most web apps, and a great target for optimization and modularization for that very reason. But one also needs to make the web-farm, the app-farm, and the db-farm all scalable... So if you can do ALL of those in one nice package, or even some of those, that's a Good Thing, imho, as many of the same issues you'll have for session data are the same issues for web/app/db interaction. Or you could specialize in the session replication, and be a vendor to the folks replication whole systems -- Probably better, really, to stay focussed. But either way, the price has to
Re: [PHP] Help me about using php with tomcat server.
# [EMAIL PROTECTED] / 2007-01-04 15:05:54 +0700: I have two web application running on php and jsp. But i don't know how can to use php and jsp on tomcat server. Please help me. Find an implementation of PHP in Java (tough luck) or the official library wrapped in a JNI interface. But you'll make it a lot easier on yourself if you just install Apache with PHP beside the Tomcat. -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't THERE. http://bash.org/?255991 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Help me about using php with tomcat server.
Hi, The Tomcat server now includes the php javabridge, its a war file called JavaBridge.war. Also, you can find this war file in php-java-bridge.sourceforge.net . The instllation is pretty easy just copy the war file in the root directory (e.g webapps/) and then run it from the browser (eg. localhost/JavaBridge), Hope this helps Naved On 1/4/07, Le Phuoc Canh [EMAIL PROTECTED] wrote: Dear all, I have two web application running on php and jsp. But i don't know how can to use php and jsp on tomcat server. Please help me. thanks best regard.
Re: [PHP] Help me about detect client screen resolution!!!
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Just remember in web context is a server-side language ... so you couldn't have more information than client would want to send to you in web context, the navigator send some information to the server (like what navigator, address, proxy, ...) so ... has David show you, use javascript for example, and can your php which screen resolution : index.html: script type=text/javascript location.href=index.php?h=+screen.heigth+w= +screen.width; /script = it will redirect to your php script which $_GET['h'] = heigth client resolution, and $_GET['w'] = width client resolution have fun -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (MingW32) - WinPT 1.0.1 iD8DBQFFm5XdEg3iyspSWPARAiwbAJ9bFE+m/oFAcka236Xnccjzb6YY/ACdFc8G FuH5WvpqWEEkhMK0cYHhvOc= =syLI -END PGP SIGNATURE-
Re: [PHP] Help me about detect client screen resolution!!!
Le Phuoc Canh wrote: Can we use php to detect client screen resolution? Please help me ? No we can't. You need Javascript or another client-side technology for that. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Help me about detect client screen resolution!!!
On 1/2/07, Stut [EMAIL PROTECTED] wrote: Le Phuoc Canh wrote: Can we use php to detect client screen resolution? Please help me ? No we can't. You need Javascript or another client-side technology for that. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php script type=text/javascript var thisSize; function showStats() { thisSize = 'Screen resolution is ' + screen.width + ' x ' + screen.height; if (thisSize) { document.getElementById(output).innerHTML = thisSize; } } /script html a href=javascript:showStats();Screen Resolution/a p id=output/p /html I think this should work. David
Re: [PHP] Help me about detect client screen resolution!!!
At 1/2/2007 12:24 AM, Le Phuoc Canh wrote: Can we use php to detect client screen resolution? Please help me ? Do you really want screen resolution or do you want browser window size? Not every PC user keeps their windows maximized, and I have yet to meet a Mac user who attempts to do so. For cross-browser javascript that measures the viewport, see Peter-Paul Koch's page: Viewport properties http://www.quirksmode.org/viewport/compatibility.html PHP and javascript can act in concert. If PHP doesn't yet know the monitor size, it can download a javascript-only page that will talk back, e.g.: document.location.href = '?width=' . x . 'height=' . y which PHP can receive as $_GET['x'] and $_GET['y'] and then use to download the desired page. Keep in mind that the user can change window size at any time and many people do so from one page to the next to accommodate varying content and their other desktop activities at the time. Therefore you can't really rely on intial measurements; if the proper rendering of your page DEPENDS on knowing the window size, you'll need to re-measure it for every pageview. Downloading a measuring script in advance of each web page would make the browsing experience a bit sluggish. If possible, try to make your page layouts more robust. There are many techniques for engineering pages to tolerate a wide spectrum of window widths; see the CSS-D wiki for links: http://css-discuss.incutio.com/ Regards, Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Help me about audio stream...
On Mon, December 4, 2006 1:37 am, Le Phuoc Canh wrote: Dears, I want to make a web app about music online. But i don't know how to use streaming in PHP to load a music file for playing. Please help me for the best direction. Thanks alot and best regard. You are making this too complicated. Fortunately, I've had to explain this to many many musicians in other forums, and can simplify it: Step #1. Create your MP3 somehow with a CD-ripper/encoder or whatever. Step #2. Upload the MP3 to your website, just like an HTML page, but be sure it uploads as BINARY and not ASCII Step #3. Test the uploaded file as a download. Just make a link to the MP3, the same way you'd link to an HTML page, only it will have somethine like somesong.mp3 in it. That should do a download for your MP3 player. If not, and it prompts you to save it as an unknown type, or shows a bunch of gibberish on the browser window, then you have to figure out how to convince your web-server that the correct mime-type for that file ending in .mp3 is: audio/mpeg Step #4. Copy/paste the URL to the MP3 into a plain text file. Not MS Word, nor even FrontPage nor DreamWeaver, but just plain old Notepad (SimpleText on the Mac). Save the file as somesong.m3u The .m3u is crucial for the file type. Step #5. Upload that .m3u file to your webserver, and make a link to THAT URL, just like you do for HTML files and just like you did in Step#2, only with the .m3u URL instead. Step #6. Test the .m3u link, and it should be a streaming audio file for your MP3 player. Again, if not, you have to convince your web-server that the correct mime-type for an .m3u file is: audio/mpeg-url That's it. You now have streaming audio on your server. None of this has anything to do with PHP, really, so some obligatory PHP comments are in order. :-) You can use a script like sample to sort of funnel requests for the MP3s and have that be a PHP script which keeps a log who played what, or it can do something fun like prepend the ID3 tags to the MP3 stream, so that your ID3 data can easily be changed without dinking around with monstrous MP3 files to edit them. Here is a sample script for that purpose, and more: http://uncommonground.com/sample.phps This script also has some stuff in it to upload the MP3 from a second tier server into a caching system, which you can mostly ignore. Or steal, as you see fit. YMMV -- Some people have a gift link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] help me plz
Hey Suresh, You could use AJAX to populate your dropwdown boxes without reloading your browser. I used something like that in a project just now. Essentially, you will call a php script that would select your second box's data according to the value of the first. You can also do this with javascript (if you do not need 'fresh' data) Thomas -Original Message- From: Robert Graham [mailto:[EMAIL PROTECTED] Sent: 19 January 2006 09:34 AM To: suresh kumar Cc: php-general@lists.php.net Subject: Re: [PHP] help me plz suresh kumar wrote: hi, i am using 2 combo box one for country another one for city.when i select country name from combo box their corresponding city names has to be changed in their corresponding combo box.i dont know how 2 implement this.pz give me some idea.its urgent. A.suresh Send instant messages to your online friends http://in.messenger.yahoo.com Hi Suresh Have a look at QuickForm ( PEAR Module), and make use of the HierSelect option. Have a look at the following page for more info: http://www.thelinuxconsultancy.co.uk/quickform.php Regards Robert -- 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] help me plz
If this is on the same web page, your question has nothing to do with PHP - look into, i.e., JavaScript. suresh kumar wrote: hi, i am using 2 combo box one for country another one for city.when i select country name from combo box their corresponding city names has to be changed in their corresponding combo box.i dont know how 2 implement this.pz give me some idea.its urgent. A.suresh Send instant messages to your online friends http://in.messenger.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] help me pllzzzzzz
[snip] i am having 2 combo box one for city another one for country,when i select particular country say india their corresponding cities will be displayed in city combobox as delhi,bangalore.,when i select Australia thier cities like perth,brisbanewill be displayed.plz help me itz very urgent. [/snip] H, is everything you do urgent? Anyhow, you want JavaScript for this, not PHP. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] help me pllzzzzzz
Jay Blanchard wrote: [snip] i am having 2 combo box one for city another one for country,when i select particular country say india their corresponding cities will be displayed in city combobox as delhi,bangalore.,when i select Australia thier cities like perth,brisbanewill be displayed.plz help me itz very urgent. [/snip] H, is everything you do urgent? I think he and I must have the same boss. -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Holdings of Buffalo 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] help me pllzzzzzz
Or my sense of sailing to deadlines :) -Original Message- From: John Nichel [mailto:[EMAIL PROTECTED] Sent: 18 January 2006 16:11 To: php-general@lists.php.net Subject: Re: [PHP] help me pllzz Jay Blanchard wrote: [snip] i am having 2 combo box one for city another one for country,when i select particular country say india their corresponding cities will be displayed in city combobox as delhi,bangalore.,when i select Australia thier cities like perth,brisbanewill be displayed.plz help me itz very urgent. [/snip] H, is everything you do urgent? I think he and I must have the same boss. -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Holdings of Buffalo 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ NOD32 1.1370 (20060118) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] help me pllzzzzzz
I have a combo php javascript to do that. Trying to dig it up. Send email to [EMAIL PROTECTED] and ill have it separated by then. -Original Message- From: Dan Parry [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 18, 2006 10:18 AM To: 'John Nichel'; php-general@lists.php.net Subject: RE: [PHP] help me pllzz Or my sense of sailing to deadlines :) -Original Message- From: John Nichel [mailto:[EMAIL PROTECTED] Sent: 18 January 2006 16:11 To: php-general@lists.php.net Subject: Re: [PHP] help me pllzz Jay Blanchard wrote: [snip] i am having 2 combo box one for city another one for country,when i select particular country say india their corresponding cities will be displayed in city combobox as delhi,bangalore.,when i select Australia thier cities like perth,brisbanewill be displayed.plz help me itz very urgent. [/snip] H, is everything you do urgent? I think he and I must have the same boss. -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Holdings of Buffalo 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ NOD32 1.1370 (20060118) Information __ This message was checked by NOD32 antivirus system. http://www.eset.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] help me pllzzzzzz
suresh kumar wrote: hi, i am having 2 combo box one for city another one for country,when i select particular country say india their corresponding cities will be displayed in city combobox as delhi,bangalore.,when i select Australia thier cities like perth,brisbanewill be displayed.plz help me itz very urgent. hire a ([EMAIL PROTECTED](*#% programmer? because we are here to help you not write your whole project for you. I'll tell you what I do when things are urgent (I think John's boss is a client of mine because 'urgent' occurs 20 times a day)... I go here: http://www.yahoo.com or here: http://www.google.com or here: http://php.net or here: http://beeblex.com then I type something relevant into a search box, hit send and start reading (nice side effect of reading is that you learn that words like 'please', for instance, don't contain any 'z's but it does contain a number of vowels) click below for approx 586,000 pages related to your urgent problem: http://www.google.com/search?num=100q=dynamic+combo+boxes+php A.suresh rgd, A. Raving Loon. Send instant messages to your online friends http://in.messenger.yahoo.com we let it go because its a yahoo ad ;-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] help me pllzzzzzz
You need to build JavaScript logic for that. Try searching on JavaScript developer sites and mailing lists. This has nothing to do with PHP -- unless you are dynamically building the JavaScript. -- Anas Mughal On 1/18/06, suresh kumar [EMAIL PROTECTED] wrote: hi, i am having 2 combo box one for city another one for country,when i select particular country say india their corresponding cities will be displayed in city combobox as delhi,bangalore.,when i select Australia thier cities like perth,brisbanewill be displayed.plz help me itz very urgent. A.suresh Send instant messages to your online friends http://in.messenger.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Anas Mughal
Re: [PHP] help me pllzzzzzz
On Wed, 2006-01-18 at 11:11, John Nichel wrote: Jay Blanchard wrote: [snip] i am having 2 combo box one for city another one for country,when i select particular country say india their corresponding cities will be displayed in city combobox as delhi,bangalore.,when i select Australia thier cities like perth,brisbanewill be displayed.plz help me itz very urgent. [/snip] H, is everything you do urgent? I think he and I must have the same boss. At least you don't write help emails in stupid speak. Every time I see plz and itz and 2 I want to go find a big brick... well nevermind. 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
Re: [PHP] help me pllzzzzzz
Whatever Suresh, I know as a beginer you are facing this problems. I would suggest that you check standalone htm version of php document. The dynamic combo script can be located at http://www.weberdev.com/get_example.php3?count=4074mode=text This site has 1000s of FREE ready to use PHP,MySQL scripts. Check out and list can saved from future urgent requests :) Thanks, Richard Correia On 1/18/06, suresh kumar [EMAIL PROTECTED] wrote: hi, i am having 2 combo box one for city another one for country,when i select particular country say india their corresponding cities will be displayed in city combobox as delhi,bangalore.,when i select Australia thier cities like perth,brisbanewill be displayed.plz help me itz very urgent. A.suresh Send instant messages to your online friends http://in.messenger.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] help me plz
suresh kumar wrote: hi, i am using 2 combo box one for country another one for city.when i select country name from combo box their corresponding city names has to be changed in their corresponding combo box.i dont know how 2 implement this.pz give me some idea.its urgent. A.suresh Send instant messages to your online friends http://in.messenger.yahoo.com Hi Suresh Have a look at QuickForm ( PEAR Module), and make use of the HierSelect option. Have a look at the following page for more info: http://www.thelinuxconsultancy.co.uk/quickform.php Regards Robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] help me in creating tables on the fly
Suresh Pandian wrote: hello friends, im currently working on creating musical forum. i need to create tables for every song uploaded on the fly to save the comments and rates entered by the viewers. im unable to create tables on the fly. ... if I upload 1000 songs to your server then that will ammount to a 1000 tables. and a 1000 songs is nothing the whole idea of creating a table for every song is wrong and will get you into trouble (100,000 songs will crash your system), you only need one table to store all the comments for each song - and possible one extra table to store the rates for all songs. can anyone know how to create tables on the fly .plz tell me . all you need to do is generate an sql query with the CREATE TABLE syntax. and then run it the same way you would run a normal query - thsi assumes that youre database actually allows the relevant user to create tables. Also, can u tell me the way to how to play the song using php.. i uploaded the songs to mysql database... if u know the same kind of work anywhere in the net as tutorials and help .plza tell me the URL Google for 'Database design' 'Data Normalization' and stuff like that - you seem to be in need of knowledge regarding how to create a half decent database (one that wont bite you in the ass) Thanks to all.. Suresh.P - Yahoo! India Matrimony: Find your partner now. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] help me in creating tables on the fly
Suresh Pandian wrote: im currently working on creating musical forum. i need to create tables for every song uploaded on the fly to save the comments and rates entered by the viewers. im unable to create tables on the fly. can anyone know how to create tables on the fly .plz tell me . Also, can u tell me the way to how to play the song using php.. i uploaded the songs to mysql database... if u know the same kind of work anywhere in the net as tutorials and help .plza tell me the URL AHHH! Don't create a table for every song Have a `songs` table containing all of the songs. Something like: CREATE TABLE songs (songID INT UNSIGNED NOT NULL AUTO_INCREMENT, artist VARCHAR(50) NOT NULL, title VARCHAR(50) NOT NULL, PRIMARY KEY(songID)); (simplified) and another table `comments` like this: CREATE TABLE comments (commentID INT UNSIGNED NOT NULL AUTO_INCREMENT, songID INT UNSIGNED NOT NULL, comment TEXT NOT NULL, PRIMARY KEY(commentID), KEY(songID)); and another `ratings` like this: CREATE TABLE ratings (ratingID INT UNSIGNED NOT NULL AUTO_INCREMENT, songID INT UNSIGNED NOT NULL, rating TINYINT UNSIGNED NOT NULL, PRIMARY KEY(ratingID), KEY(songID)); That's why it's called a *relational* database. If you're using InnoDB you can even define the relations between the tables using foreign keys. Go to http://dev.mysql.com/doc/en/mysql/ and have a good read of the MySQL manual, it will be very helpful for you. Please don't just copy-paste the above table definitions, they're meant to be modified to suit your needs. I'll leave your other question to be answered by someone with experience of streaming audio from PHP, as I've never had occasion to do that. -- Jasper Bryant-Greene Freelance web developer http://jasper.bryant-greene.name/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] help me to draw a listview in my website
Nahalingam N. Kanakavel wrote: hi all, If any scripts available to draw a list view. Plz help me, by giving some links or scripts avilable with you. What is a list view? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] help me to draw a listview in my website
Hi there! What do you mean with listview? Of what? /G http://www.varupiraten.se/ - Original Message - From: Nahalingam N. Kanakavel [EMAIL PROTECTED] To: PHP php-general@lists.php.net Sent: Monday, September 12, 2005 11:05 AM Subject: [PHP] help me to draw a listview in my website hi all, If any scripts available to draw a list view. Plz help me, by giving some links or scripts avilable with you. thanks in advance. -- with regds, Nahalingam. No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.21/96 - Release Date: 2005-09-10 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] help me to draw a listview in my website
hi, I want to display several fields of values as a row, with header such as -- | Name age mail-id | Header part, by clicking over this I want to sort the --- | rows below this. . here rows of values. . - On 9/12/05, Gustav Wiberg [EMAIL PROTECTED] wrote: Hi there! What do you mean with listview? Of what? /G http://www.varupiraten.se/ - Original Message - From: Nahalingam N. Kanakavel [EMAIL PROTECTED] To: PHP php-general@lists.php.net Sent: Monday, September 12, 2005 11:05 AM Subject: [PHP] help me to draw a listview in my website hi all, If any scripts available to draw a list view. Plz help me, by giving some links or scripts avilable with you. thanks in advance. -- with regds, Nahalingam. No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.21/96 - Release Date: 2005-09-10 -- with regds, Nahalingam.
Re: [PHP] help me to draw a listview in my website
Maybe this could be something? I haven't tried it though. http://www.activewidgets.com/grid/ /Jesper -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] help me
K Karthik wrote: i'd like to get a date from my database(mysql).and then show a combobox of calendar(date-month-year) with the retrieved data selected. can you help me doing this?? am new to php. http://www.google.com/search?q=PHP+date+combobox -- 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
RE: [PHP] help me
This is how I would do it, don't know if it is the best way. A. get the date out of the database Let's say $maindate is that date you retrieved from the database B. split up the date into several parts for day month and year The day as a number (dd): $day=date (j, strtotime($maindate)); The month as a number (mm): $month= date (m, strtotime($maindate)); The month as a number (yy): $year= date (Y, strtotime($maindate)); C. Now in your combobox you must do something like: select name=comboday ?PHP for($aday=01;$aday32;$aday++) //fill the combobox with the numbers 1-31 { echo('option value='.$aday.''); if($day==$aday) { //if the day from the database equals this aday then echo selected so that //day is selected in the combobox echo( selected); } echo(''.$aday.'/option'); } ? /select That should do the trick Greetz Reinhart -Oorspronkelijk bericht- Van: K Karthik [mailto:[EMAIL PROTECTED] Verzonden: woensdag 23 februari 2005 13:41 Aan: php-general@lists.php.net Onderwerp: [PHP] help me dear sir, i'd like to get a date from my database(mysql).and then show a combobox of calendar(date-month-year) with the retrieved data selected. can you help me doing this?? am new to php. thanks, karthikeyan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.4.0 - Release Date: 22/02/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.4.0 - Release Date: 22/02/2005 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] help me
http://www.php.net/date On Fri, 18 Feb 2005 12:07:14 +0530, K Karthik [EMAIL PROTECTED] wrote: i am so surprised for the immediate reply.thank you so much. i'll be thank ful again if you could help me finding the current date and time using php. thanks, karthik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Pablo M. Rivas. http://www.pmrivas.com http://www.r3soft.com.ar --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] help me
On Thu, 2005-02-17 at 19:11 +0530, K Karthik wrote: can u help me to use $_SERVER['remote_addr'] to find the IP address ? i am new to php. i also want to find what page of my site he is viewing ? print_r($_SERVER); what do you see? -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting Development * --- Now hosting Ruby on Rails Apps --- / -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] help me split chars w/o spaces by 2... like: 2004
I did something like this a while back, I believe I used chunk_split [code] ? $year_split = date(Y); $chars = chunk_split($year_split,2); print_r($chars); ? [/code] it'll output something along the lines of: 20 04 Hope this helps, -- Jasper Howard - Database Administration ApexEleven.com 530 559 0107 --- On Thu, 9 Dec 2004 10:21:49 +0800, Louie Miranda [EMAIL PROTECTED] wrote: ?php $hello2 = chop($year_split); echo $hello2; ? outputs: 2004 Whats the correct syntax for it? The manual said.. This function is an alias of rtrim(). and: rtrim (PHP 3, PHP 4 ) rtrim -- Strip whitespace from the end of a string On Wed, 08 Dec 2004 18:11:19 -0800, Tyler Replogle [EMAIL PROTECTED] wrote: have you tride using chop() ? # begin code $year_split = date(Y); $chars = chop($year_split); $chars[0] // = 2 $chars[1] // = 0 $chars[2] // = 0 $chars[3] //= 4 # end code I hope that will help From: Louie Miranda [EMAIL PROTECTED] Reply-To: Louie Miranda [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [PHP] help me split chars w/o spaces by 2... like: 2004 Date: Thu, 9 Dec 2004 09:55:57 +0800 MIME-Version: 1.0 Received: from pb1.pair.com ([216.92.131.4]) by mc6-f24.hotmail.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 8 Dec 2004 17:56:52 -0800 Received: (qmail 21242 invoked by uid 1010); 9 Dec 2004 01:56:02 - Received: (qmail 21150 invoked by uid 1010); 9 Dec 2004 01:56:01 - X-Message-Info: 6sSXyD95QpUKIecQn+Z/xIP21pcg8LTu Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Precedence: bulk list-help: mailto:[EMAIL PROTECTED] list-unsubscribe: mailto:[EMAIL PROTECTED] list-post: mailto:[EMAIL PROTECTED] Delivered-To: mailing list [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=gp2OcpYqK7wZkSMBhO5OvxdTzhTOQdM1+n9ZtLJ4lmsKWFpVRb9Y2kyjNIrRIX/rvXeFfwCVGh7LT6kub0DMmCGdeRiLKeCjJkxK4fWxSrP2D+FexciD2lT8ASKD7TNYC3YGIZLZbk5UEJIq9Yx2TkbIdgNd/Op3+iEviy1scI4= Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 09 Dec 2004 01:56:53.0406 (UTC) FILETIME=[5AF313E0:01C4DD92] Help me split chars w/o spaces by 2... like: 2004 How can i make it? first: 20 second: 04 Im working on this.. # begin code $year_split = date(Y); $chars = preg_split('//', $year_split, -1, PREG_SPLIT_NO_EMPTY); # end code But it splits the whole 2004 string.. Array ( [0] = 2 [1] = 0 [2] = 0 [3] = 4 ) -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Jasper Howard - Database Administration ApexEleven.com 530 559 0107 --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] help me split chars w/o spaces by 2... like: 2004
have you tride using chop() ? # begin code $year_split = date(Y); $chars = chop($year_split); $chars[0] // = 2 $chars[1] // = 0 $chars[2] // = 0 $chars[3] //= 4 # end code I hope that will help From: Louie Miranda [EMAIL PROTECTED] Reply-To: Louie Miranda [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [PHP] help me split chars w/o spaces by 2... like: 2004 Date: Thu, 9 Dec 2004 09:55:57 +0800 MIME-Version: 1.0 Received: from pb1.pair.com ([216.92.131.4]) by mc6-f24.hotmail.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 8 Dec 2004 17:56:52 -0800 Received: (qmail 21242 invoked by uid 1010); 9 Dec 2004 01:56:02 - Received: (qmail 21150 invoked by uid 1010); 9 Dec 2004 01:56:01 - X-Message-Info: 6sSXyD95QpUKIecQn+Z/xIP21pcg8LTu Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Precedence: bulk list-help: mailto:[EMAIL PROTECTED] list-unsubscribe: mailto:[EMAIL PROTECTED] list-post: mailto:[EMAIL PROTECTED] Delivered-To: mailing list [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=gp2OcpYqK7wZkSMBhO5OvxdTzhTOQdM1+n9ZtLJ4lmsKWFpVRb9Y2kyjNIrRIX/rvXeFfwCVGh7LT6kub0DMmCGdeRiLKeCjJkxK4fWxSrP2D+FexciD2lT8ASKD7TNYC3YGIZLZbk5UEJIq9Yx2TkbIdgNd/Op3+iEviy1scI4= Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 09 Dec 2004 01:56:53.0406 (UTC) FILETIME=[5AF313E0:01C4DD92] Help me split chars w/o spaces by 2... like: 2004 How can i make it? first: 20 second: 04 Im working on this.. # begin code $year_split = date(Y); $chars = preg_split('//', $year_split, -1, PREG_SPLIT_NO_EMPTY); # end code But it splits the whole 2004 string.. Array ( [0] = 2 [1] = 0 [2] = 0 [3] = 4 ) -- Louie Miranda http://www.axishift.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] help me split chars w/o spaces by 2... like: 2004
On Thu, 2004-12-09 at 09:55 +0800, Louie Miranda wrote: Help me split chars w/o spaces by 2... like: 2004 How can i make it? first: 20 second: 04 Im working on this.. # begin code $year_split = date(Y); $chars = preg_split('//', $year_split, -1, PREG_SPLIT_NO_EMPTY); # end code But it splits the whole 2004 string.. Array ( [0] = 2 [1] = 0 [2] = 0 [3] = 4 ) First of all, what sort of code are you building that needs to split the year by 2 sets of 2 digits? Second, you can do this like so: $foo = date(Y); $bar = array(); $bar[] = substr($foo,0,2); $bar[] = substr($foo,2,2); print_r($bar); Array ( [0] = 20 [1] = 04 ) -Robby -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting Development *--- Now supporting PHP5 --- / signature.asc Description: This is a digitally signed message part
Re: [PHP] help me split chars w/o spaces by 2... like: 2004
?php $hello2 = chop($year_split); echo $hello2; ? outputs: 2004 Whats the correct syntax for it? The manual said.. This function is an alias of rtrim(). and: rtrim (PHP 3, PHP 4 ) rtrim -- Strip whitespace from the end of a string On Wed, 08 Dec 2004 18:11:19 -0800, Tyler Replogle [EMAIL PROTECTED] wrote: have you tride using chop() ? # begin code $year_split = date(Y); $chars = chop($year_split); $chars[0] // = 2 $chars[1] // = 0 $chars[2] // = 0 $chars[3] //= 4 # end code I hope that will help From: Louie Miranda [EMAIL PROTECTED] Reply-To: Louie Miranda [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [PHP] help me split chars w/o spaces by 2... like: 2004 Date: Thu, 9 Dec 2004 09:55:57 +0800 MIME-Version: 1.0 Received: from pb1.pair.com ([216.92.131.4]) by mc6-f24.hotmail.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 8 Dec 2004 17:56:52 -0800 Received: (qmail 21242 invoked by uid 1010); 9 Dec 2004 01:56:02 - Received: (qmail 21150 invoked by uid 1010); 9 Dec 2004 01:56:01 - X-Message-Info: 6sSXyD95QpUKIecQn+Z/xIP21pcg8LTu Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Precedence: bulk list-help: mailto:[EMAIL PROTECTED] list-unsubscribe: mailto:[EMAIL PROTECTED] list-post: mailto:[EMAIL PROTECTED] Delivered-To: mailing list [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=gp2OcpYqK7wZkSMBhO5OvxdTzhTOQdM1+n9ZtLJ4lmsKWFpVRb9Y2kyjNIrRIX/rvXeFfwCVGh7LT6kub0DMmCGdeRiLKeCjJkxK4fWxSrP2D+FexciD2lT8ASKD7TNYC3YGIZLZbk5UEJIq9Yx2TkbIdgNd/Op3+iEviy1scI4= Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 09 Dec 2004 01:56:53.0406 (UTC) FILETIME=[5AF313E0:01C4DD92] Help me split chars w/o spaces by 2... like: 2004 How can i make it? first: 20 second: 04 Im working on this.. # begin code $year_split = date(Y); $chars = preg_split('//', $year_split, -1, PREG_SPLIT_NO_EMPTY); # end code But it splits the whole 2004 string.. Array ( [0] = 2 [1] = 0 [2] = 0 [3] = 4 ) -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Help Me Understand PHP5, register_globals=off, $HTTP_POST_VARS, and $_POST
On Wednesday 13 October 2004 15:08, Francis Chang wrote: [snip] access the post variables. My question is, is the $HTTP_POST_VARS global still populated for backwards compatibility? In other words, if I have an old script that has the following piece of code running on a PHP5.0 environment with register_globals off (after submission of a form), would it still work as expected? Function someFunction($variable) { global $HTTP_POST_VARS; return IsSet($HTTP_POST_VARS[$variable]) } manual Appendix B. Migrating from PHP 4 to PHP 5 see section New Directives. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general -- /* There are more dead people than living, and their numbers are increasing. -- Eugene Ionesco */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] help me to get out of this mass mailing
I'm implementing mass mailing program...as there are hundred's of users that receive mails...as a result i'm getting this error... Fatal error: Maximum execution time of 30 seconds exceeded in d:\phpsites\ac\asc\acendo on line 42 take a look at http://us4.php.net/manual/en/ref.info.php#ini.max-execution-time you need to bump it up -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] help me to get out of this mass mailing
On Sat, 9 Oct 2004 16:41:28 +0530, suneel [EMAIL PROTECTED] wrote: I'm implementing mass mailing program...as there are hundred's of users that receive mails...as a result i'm getting this error... Fatal error: Maximum execution time of 30 seconds exceeded in d:\phpsites\ac\asc\acendo on line 42 This was just discussed in great detail like 2 or 3 days ago. Did you try searching the mailing list archives? http://marc.theaimsgroup.com/?l=php-general -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] help me with eregi
w ho do you make a eregi so it looks at the var as a single line If anyone helps you after you posted 15KB of pointless HTML.. twice.. I'll be amazed. Best regards, Richard Davey -- http://www.launchcode.co.uk - PHP Development Services I am not young enough to know everything. - Oscar Wilde -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] help me with eregi
sorry i didn't relise i did that till just now Richard Davey [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] w ho do you make a eregi so it looks at the var as a single line If anyone helps you after you posted 15KB of pointless HTML.. twice.. I'll be amazed. Best regards, Richard Davey -- http://www.launchcode.co.uk - PHP Development Services I am not young enough to know everything. - Oscar Wilde -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] help me with eregi
water_foul wrote: ho do you make a eregi so it looks at the var as a single line use the preg_ functions. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals www.phparch.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] help me
Dave, First thing you need to do is find the location of your php.ini file. I typically create a document with the function phpinfo (); and load it up in the browser. This will tell you the location of the php.ini file. From there you need to use your favorite command line editor to open the php.ini file. I prefer to use VI, so I will give you instructions for that. (I will list the actual keystrokes you need to press to open/save the file. E.g. Enter would be pressing the enter key and / would be pressing the / key.) 1. vi /location/to/php.ini 2. /upload_max_filesizeEnter 3. Arrow keys to the the position where the 2 (or whatever number it is) is. 4. x 5. i 6. 99 (or what ever value you want) 7.Esc:wqEnter (Escape, colon, w, q, Enter) From there you will want to reload apache or whatever webserver you are using. HTH Jordan S. Jones Feel free to donate https://www.paypal.com/xclick/business=list%40racistnames.comitem_name=Jordan+S.+Jonesno_note=1tax=0currency_code=USD Dave wrote: Hi I need to edit my php.ini file. I tried to do this through ftp but no go. I am really desperate. How do I do it through putty. Ie I log in su to root NOW WHAT? Please give me step by step instructions including how to save and make my changes. I need to do the following I need to change my php ini file as follows ; Maximum allowed size for uploaded files. upload_max_filesize = 2M Chance It To ; Maximum allowed size for uploaded files. upload_max_filesize = 9M Please Help me I am so desperate. :( -- I am nothing but a poor boy. Please Donate.. https://www.paypal.com/xclick/business=list%40racistnames.comitem_name=Jordan+S.+Jonesno_note=1tax=0currency_code=USD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] help me
Dave wrote: Hi I need to edit my php.ini file. I tried to do this through ftp but no go. I am really desperate. How do I do it through putty. Ie I log in su to root NOW WHAT? vi? Please give me step by step instructions including how to save and make my changes. I need to do the following I need to change my php ini file as follows ; Maximum allowed size for uploaded files. upload_max_filesize = 2M Chance It To ; Maximum allowed size for uploaded files. upload_max_filesize = 9M Please Help me I am so desperate. :( -- 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] help me
Dave wrote: Hi I need to edit my php.ini file. I tried to do this through ftp but no go. I am really desperate. How do I do it through putty. Ie I log in su to root NOW WHAT? Find your php.ini file -- A few ways to do this. The easiest would be to look at the output of phpinfo(). Just create a blank file with ?php phpinfo(); ? in it, upload it to your web server's root directory, and navigate to it. The output will show you the path to the php.ini file that you want. If you don't feel like doing that, you can try any one of these commands : locate php.ini whereis php.ini find / -name php.ini Either way you will end up with the location of your php.ini Next step would be to edit it, for which you can use any text editor available on your shell. vi is common, so is vim. Some even have pico available. If you don't know how to use any of these, most will work if you give them the path to the file you would like to open, something like : vi /home/httpd/htdocs/index.html If you have a few hours to kill, you can read the online manual for the programs, which is available via the man command. Simply type man vi and hit enter for the manual for vi. Please give me step by step instructions including how to save and make my changes. I need to do the following I need to change my php ini file as follows ; Maximum allowed size for uploaded files. upload_max_filesize = 2M Chance It To ; Maximum allowed size for uploaded files. upload_max_filesize = 9M Why do you want to do something like that? There is a reason it defaults to 2M -- its to prevent from browsers from timing out when trying to upload huge files. You might want to rethink why you are doing this (why ARE you doing it?) -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] help me
Dave wrote: I am setting up downloads.ca so as to be like downloads.com I need to be able to upload files several gigs in size Dave Dave : Don't top post. FTP is what you need to upload files several gigs in size -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Help me compose myself... I'm about to kill Microsoft....
On Thu, 19 Jun 2003 13:21:07 +0200, Daniel wrote: Okay, I think I'll have to kill myself... I can't believe I am this stupid, but it turned out I was working on a copy of the file, not the real one. D'OH!!! Sorry, guys! Daniel That's no reason not to kill M$... +a Steve -- Steve Mansfield-Devine Aéro-club d'Andaines - LFAO - Bagnoles de l'Orne (Couterne) http://www.webvivant.com/aero-andaines -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Help me compose myself... I'm about to kill Microsoft....
LOL =) Steve M [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Thu, 19 Jun 2003 13:21:07 +0200, Daniel wrote: Okay, I think I'll have to kill myself... I can't believe I am this stupid, but it turned out I was working on a copy of the file, not the real one. D'OH!!! Sorry, guys! Daniel That's no reason not to kill M$... +a Steve -- Steve Mansfield-Devine Aéro-club d'Andaines - LFAO - Bagnoles de l'Orne (Couterne) http://www.webvivant.com/aero-andaines -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Help me compose myself... I'm about to kill Microsoft....
try something like this, not sure if this what you want create a random value like $random = rand(); then attach it to the each page.. like index.php?random=$random good luck - Original Message - From: Daniel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 19, 2003 11:34 AM Subject: [PHP] Help me compose myself... I'm about to kill Microsoft ARGH! I'm losing my marbles here! I'm developing a small CMS for IE, but IE is teasing me! It insists on using its cached files instead of those I'm working on. I've set the cache size to 0, Check for newer versions of stored pages: to Every visit to the page, and even put this at the top of my PHP scripts: header( Last-Modified: . gmdate( D, d M Y H:i:s, filemtime( $_SERVER['SCRIPT_FILENAME'] ) ) . GMT ); It just keeps on using the cached files! WHY?!??! I'm in TEARS here! Help!!! -- 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] Help me compose myself... I'm about to kill Microsoft....
Thanks for the advice, but that would mean I'd have to change the way the code works, and that would a bit much, I think... I was hoping for some registry editing or a little utility or something... But thanks =) Daniel Awlad Hussain [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] try something like this, not sure if this what you want create a random value like $random = rand(); then attach it to the each page.. like index.php?random=$random good luck - Original Message - From: Daniel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 19, 2003 11:34 AM Subject: [PHP] Help me compose myself... I'm about to kill Microsoft ARGH! I'm losing my marbles here! I'm developing a small CMS for IE, but IE is teasing me! It insists on using its cached files instead of those I'm working on. I've set the cache size to 0, Check for newer versions of stored pages: to Every visit to the page, and even put this at the top of my PHP scripts: header( Last-Modified: . gmdate( D, d M Y H:i:s, filemtime( $_SERVER['SCRIPT_FILENAME'] ) ) . GMT ); It just keeps on using the cached files! WHY?!??! I'm in TEARS here! Help!!! -- 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] Help me compose myself... I'm about to kill Microsoft....
Okay, I think I'll have to kill myself... I can't believe I am this stupid, but it turned out I was working on a copy of the file, not the real one. D'OH!!! Sorry, guys! Daniel Daniel [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Thanks for the advice, but that would mean I'd have to change the way the code works, and that would a bit much, I think... I was hoping for some registry editing or a little utility or something... But thanks =) Daniel Awlad Hussain [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] try something like this, not sure if this what you want create a random value like $random = rand(); then attach it to the each page.. like index.php?random=$random good luck - Original Message - From: Daniel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 19, 2003 11:34 AM Subject: [PHP] Help me compose myself... I'm about to kill Microsoft ARGH! I'm losing my marbles here! I'm developing a small CMS for IE, but IE is teasing me! It insists on using its cached files instead of those I'm working on. I've set the cache size to 0, Check for newer versions of stored pages: to Every visit to the page, and even put this at the top of my PHP scripts: header( Last-Modified: . gmdate( D, d M Y H:i:s, filemtime( $_SERVER['SCRIPT_FILENAME'] ) ) . GMT ); It just keeps on using the cached files! WHY?!??! I'm in TEARS here! Help!!! -- 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] Help me pervade Bristol City council to use PHP
Ben Edwards wrote: Am talking to a part Bristol City Council in the UK. To persuade them to use PHP I need to find some high profile reference sites. You may find some useful references in the archive of this list. I remember a poster with the subject of: Is php used by U.S. Government? By U.S. DoD?, and there were qute a few useful responses in the thread. Its dated 31/05/02. Lets get all our councils using LAMP, then the NHS, then all the UK government! HTH Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] help me please
download and install the apache web server. that along with php should do the trick. if you're doing any database work you may want to pick up the windows version of that too. some decent instructions are here: http://www.thesitewizard.com/archive/php4install.shtml -Original Message- From: Blair Robinson [mailto:[EMAIL PROTECTED] Sent: Sunday, March 16, 2003 7:47 PM To: [EMAIL PROTECTED] Subject: [PHP] help me please Hello, I am making a web site i just want to be able to view my php outputs On my Computer how do i do this i have downlaoded the 1mb windows php installer. and have the zipped version(4.3.0) that is 4mb I have windows xp. Can you please point me in the right direction or give me some answers on how to view my pages. Thanks Blair. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Help me
On Friday 07 March 2003 03:42, Cavallaro, Vito wrote: Do You Know java mail list? I don't, but I bet google does. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general -- /* Reality is bad enough, why should I tell the truth? -- Patrick Sky */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] help me
make sure that the php3_xml.dll is in your system path and it can be found. Ray On Tue, 2003-02-11 at 07:38, Cavallaro, Vito wrote: how i do work php with xml? In php3.ini add extension = php3_xml.dll but not work. is runnig on winnt workstation -- 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] help me
all *.dll are C:\PHP3 but internet explorer make unload the file.xml -Mensaje original- De: Ray Hunter [mailto:[EMAIL PROTECTED]] Enviado el: martes 11 de febrero de 2003 15:06 Para: Cavallaro, Vito Cc: [EMAIL PROTECTED] Asunto: Re: [PHP] help me make sure that the php3_xml.dll is in your system path and it can be found. Ray On Tue, 2003-02-11 at 07:38, Cavallaro, Vito wrote: how i do work php with xml? In php3.ini add extension = php3_xml.dll but not work. is runnig on winnt workstation -- 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] help me
The system needs to be able to find the dll so you might need to add C:\PHP3 to your system path... On Tue, 2003-02-11 at 11:05, Cavallaro, Vito wrote: all *.dll are C:\PHP3 but internet explorer make unload the file.xml -Mensaje original- De: Ray Hunter [mailto:[EMAIL PROTECTED]] Enviado el: martes 11 de febrero de 2003 15:06 Para: Cavallaro, Vito Cc: [EMAIL PROTECTED] Asunto: Re: [PHP] help me make sure that the php3_xml.dll is in your system path and it can be found. Ray On Tue, 2003-02-11 at 07:38, Cavallaro, Vito wrote: how i do work php with xml? In php3.ini add extension = php3_xml.dll but not work. is runnig on winnt workstation -- 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] help me
the only difference to structure is this line is in the first file and not the second. fw_menu_2.addMenuItem(STANDARD PROMOTION,location='http://www.bis.org.in/sf/sfp2.htm'); diff is a wonderful tool!!! Enjoy Jim - Original Message - From: Amit Gupta [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 23, 2003 9:21 PM Subject: [PHP] help me Hi, How are you? My friends following are two javascript files for pop-up menus. menu2.js is working satisfactorily while menu.js is not working. I tried lot to trace the loophole but all in vain. kindly compare the two files and help me. menu2.js function fwLoadMenus() { if (window.fw_menu_0) return; window.fw_menu_1_1 = new Menu(DIRECTORY,130,17,Arial,10,#003300,#cc,#cc9966,#00); fw_menu_1_1.addMenuItem(HEADQUATER,location='http://www.bis.org.in/dir/hq .htm'); fw_menu_1_1.fontWeight=bold; fw_menu_1_1.hideOnMouseOut=true; window.fw_menu_1 = new Menu(root,213,17,Helvetica,10,#003300,#cc,#cc9966,#00); fw_menu_1.addMenuItem(fw_menu_1_1); fw_menu_1.fontWeight=bold; fw_menu_1.hideOnMouseOut=true; window.fw_menu_2 = new Menu(root,208,0,sans-serif,10,#003300,#cc,#cc9966,#00); fw_menu_2.addMenuItem(STANDARD PROMOTION,location='http://www.bis.org.in/sf/sfp2.htm'); fw_menu_2.fontWeight=bold; fw_menu_2.hideOnMouseOut=true; window.fw_menu_3 = new Menu(root,208,17,Helvetica,10,#003300,#cc,#cc9966,#00); fw_menu_3.addMenuItem(STANDARD PROMOTION,location='http://www.bis.org.in/sf/sfp2.htm'); fw_menu_3.fontWeight=bold; fw_menu_3.hideOnMouseOut=true; fw_menu_3.writeMenus();} menu.js function fwLoadMenus() { if (window.fw_menu_0) return; window.fw_menu_1 = new Menu(root,213,17,Verdana, Arial, Helvetica, sans-serif,11,#003300,#cc,#cc9966,#00); window.fw_menu_1_1 = new Menu(,213,17,Verdana, Arial, Helvetica, sans-serif,11,#003300,#cc,#cc9966,#00); fw_menu_1_1.addMenuItem(u,location='http://www.bi2s.org.in/other/iscd.htm '); fw_menu_1_1.fontWeight=bold; fw_menu_1_1.hideOnMouseOut=true; fw_menu_1.addMenuItem(fw_menu_1_1); fw_menu_1.fontWeight=bold; fw_menu_1.hideOnMouseOut=true; window.fw_menu_2 = new Menu(root,208,17,Helvetica,10,#003300,#cc,#cc9966,#00); fw_menu_2.fontWeight=bold; fw_menu_2.hideOnMouseOut=true; window.fw_menu_3 = new Menu(root,213,17,Verdana, Arial, Helvetica, sans-serif,11,#003300,#cc,#cc9966,#00); fw_menu_3.addMenuItem(,location=' http://www.bi3s.org.in/other/iscd.htm'); fw_menu_3.fontWeight=bold; fw_menu_3.hideOnMouseOut=true; fw_menu_3.writeMenus(); } Keep smiling. It cost nothing but gives everything. Yours Amit Gupta -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Help me learn! with an explanation of these two functions.
On Thursday 07 November 2002 15:15, Steve Jackson wrote: My second query still doesn't return anything? Even with $orderid = $row removed as Jason suggested. What exactly do you mean by doesn't return anything? a) Does the second query fail? b) Do you get any errors? If no to both (a) and (b) then your query succeeded. Now, your code below as-is does not do anything with the 2nd query results. You've only used extract() on it, which by itself is not much use, unless you use the variables that has been extracted. Read my previous post about what extract() does (and read the manual for heaven's sake) Also make liberal use of print_r() to see what values your variables contain at different stages of your program. This is my current function. function get_order_numbers() { $conn = db_connect(); $query = select orders.orderid from orders, email where orders.orderid = email.orderid and email.checked='no'; $result = mysql_query($query) or die(Error: cannot select orderidBR$queryBR.mysql_error()); while( $row = mysql_fetch_array($result)) { extract($row); //$orderid = $row; print_r($row); $query2 = SELECT * FROM orders WHERE orderid=\$orderid\; $result2 = mysql_query($query2) or die(Error: cannot fetch orderBR$query2BR.mysql_error()); extract(mysql_fetch_array($result2)); } } -- Jason Wong - Gremlins Associates - www.gremlins.com.hk Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * /* One Bell System - it works. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Help me learn! with an explanation of these two functions.
Finally I have it! Cheers to all that helped. I was querying twice when I didn't need to and as Jason said not doing anything with the extracted information. This code works and displays data nicely. function get_order_numbers() { $conn = db_connect(); $query = select * from orders, email where orders.orderid = email.orderid and email.checked='no'; $result = mysql_query($query) or die(Error: cannot select orderidBR$queryBR.mysql_error()); while( $row = mysql_fetch_array($result)) { extract($row); if (is_array($row)) //print_r($row); { //echo tests and ; echo $row[orderid]; echo $row[ship_name]; } } } Steve Jackson Web Developer Viola Systems Ltd. http://www.violasystems.com [EMAIL PROTECTED] Mobile +358 50 343 5159 -Original Message- From: Jason Wong [mailto:php-general;gremlins.com.hk] Sent: 7. marraskuuta 2002 10:06 To: [EMAIL PROTECTED] Subject: Re: [PHP] Help me learn! with an explanation of these two functions. On Thursday 07 November 2002 15:15, Steve Jackson wrote: My second query still doesn't return anything? Even with $orderid = $row removed as Jason suggested. What exactly do you mean by doesn't return anything? a) Does the second query fail? b) Do you get any errors? If no to both (a) and (b) then your query succeeded. Now, your code below as-is does not do anything with the 2nd query results. You've only used extract() on it, which by itself is not much use, unless you use the variables that has been extracted. Read my previous post about what extract() does (and read the manual for heaven's sake) Also make liberal use of print_r() to see what values your variables contain at different stages of your program. This is my current function. function get_order_numbers() { $conn = db_connect(); $query = select orders.orderid from orders, email where orders.orderid = email.orderid and email.checked='no'; $result = mysql_query($query) or die(Error: cannot select orderidBR$queryBR.mysql_error()); while( $row = mysql_fetch_array($result)) { extract($row); //$orderid = $row; print_r($row); $query2 = SELECT * FROM orders WHERE orderid=\$orderid\; $result2 = mysql_query($query2) or die(Error: cannot fetch orderBR$query2BR.mysql_error()); extract(mysql_fetch_array($result2)); } } -- Jason Wong - Gremlins Associates - www.gremlins.com.hk Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * /* One Bell System - it works. */ -- 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] Help me learn! with an explanation of these two functions.
On Thursday 07 November 2002 16:28, Steve Jackson wrote: Finally I have it! sigh if this is your final code then you still don't have it ! Cheers to all that helped. I was querying twice when I didn't need to and as Jason said not doing anything with the extracted information. extract($row); You're still not gaining anything by using extract() ... if (is_array($row)) //print_r($row); { //echo tests and ; echo $row[orderid]; echo $row[ship_name]; ... the whole point of using extract() is that instead of using echo $row['orderid']; you could simply use: echo $orderid; -- Jason Wong - Gremlins Associates - www.gremlins.com.hk Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * /* Don't feed the bats tonight. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Help me learn! with an explanation of these two functions.
Of course you are correct. I forgot to remove the $row[orderid] etc.. I was just testing the function and thought I'd post the code rather than waste someones time answering me. However thanks for the help. Much appreciated. Steve Jackson Web Developer Viola Systems Ltd. http://www.violasystems.com [EMAIL PROTECTED] Mobile +358 50 343 5159 -Original Message- From: Jason Wong [mailto:php-general;gremlins.com.hk] Sent: 7. marraskuuta 2002 11:51 To: [EMAIL PROTECTED] Subject: Re: [PHP] Help me learn! with an explanation of these two functions. On Thursday 07 November 2002 16:28, Steve Jackson wrote: Finally I have it! sigh if this is your final code then you still don't have it ! Cheers to all that helped. I was querying twice when I didn't need to and as Jason said not doing anything with the extracted information. extract($row); You're still not gaining anything by using extract() ... if (is_array($row)) //print_r($row); { //echo tests and ; echo $row[orderid]; echo $row[ship_name]; ... the whole point of using extract() is that instead of using echo $row['orderid']; you could simply use: echo $orderid; -- Jason Wong - Gremlins Associates - www.gremlins.com.hk Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * /* Don't feed the bats tonight. */ -- 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] Help me learn! with an explanation of these two functions.
Ok this is starting to get complex! (For me anyway) This is my function: function get_order_numbers() { $conn = db_connect(); $query = select orders.orderid from orders, email where orders.orderid = email.orderid and email.checked='no'; $result = mysql_query($query) or die(Error: cannot select orderidBR$queryBR.mysql_error()); while( $row = mysql_fetch_array($result)) { extract($row); $orderid = $row; $query2 = SELECT * FROM orders WHERE orderid=\$orderid\; $result2 = mysql_query($query2) or die(Error: cannot fetch orderBR$query2BR.mysql_error()); extract(mysql_fetch_array($result2)); } } The SQL works Ok. At least I get no errors now. It's my PHP to display the SQL I think I get a result of 8 errors with the following message. Warning: Wrong datatype in call to extract() in /www/u1255/eadmin/eshop_fns.php on line 40. Where line 40 is: extract(mysql_fetch_array($result2)); I am trying to display the message on another page using: ? include ('eshop_fns.php'); get_order_numbers(); $ship_name = $result2[ship_name]; echo tests and $ship_name; ? What does extract do? I am under the assumption it extracts row information so why a datatype error? Any pointers? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Help me learn! with an explanation of these two functions.
At 09:52 06.11.2002, Steve Jackson said: [snip] function get_order_numbers() { $conn = db_connect(); $query = select orders.orderid from orders, email where orders.orderid = email.orderid and email.checked='no'; $result = mysql_query($query) or die(Error: cannot select orderidBR$queryBR.mysql_error()); while( $row = mysql_fetch_array($result)) { extract($row); $orderid = $row; $query2 = SELECT * FROM orders WHERE orderid=\$orderid\; $result2 = mysql_query($query2) or die(Error: cannot fetch orderBR$query2BR.mysql_error()); extract(mysql_fetch_array($result2)); } } The SQL works Ok. At least I get no errors now. It's my PHP to display the SQL I think I get a result of 8 errors with the following message. Warning: Wrong datatype in call to extract() in /www/u1255/eadmin/eshop_fns.php on line 40. Where line 40 is: extract(mysql_fetch_array($result2)); Steve, maybe the second fetch doesn't return anything because the resultset is empty? You should assign the second fetch to a variable and test it before passing it to extract (as with the first fetch): $row2 = mysql_fetch_array($result2); if (is_array($row2)) { extract($row2); // ... } What does extract do? I am under the assumption it extracts row information so why a datatype error? Any pointers? --- [doc] --- int extract ( array var_array [, int extract_type [, string prefix]]) This function is used to import variables from an array into the current symbol table. It takes an associative array var_array and treats keys as variable names and values as variable values. For each key/value pair it will create a variable in the current symbol table, subject to extract_type and prefix parameters. --- [/doc] -- May I suggest getting the Camel Book, or at least consult the EXCELLENT online PHP manual at http://www.php.net/manual/en/. If you read about mysql_fetch_array you'll notice the additional optional parameter result_type. Since you're going to pass the resulting data to extract it helps to specify MYSQL_ASSOC as result_type, this will omit the numerically indexed data from the fetched array, which isn't used by extract() anyway. -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/
Re: [PHP] Help me learn! with an explanation of these two functions.
On Wednesday 06 November 2002 16:52, Steve Jackson wrote: Ok this is starting to get complex! (For me anyway) This is my function: function get_order_numbers() { $conn = db_connect(); $query = select orders.orderid from orders, email where orders.orderid = email.orderid and email.checked='no'; $result = mysql_query($query) or die(Error: cannot select orderidBR$queryBR.mysql_error()); while( $row = mysql_fetch_array($result)) { extract($row); According to your query it should return a single result (assuming your orderid is unique -- and it should be), and that single result contains a single field called orderid. Use print_r($row) to see exactly what it contains (good for reference and debugging). extract($row) would assign to $orderid the value of $row['orderid'] (ie $orderid = $row['orderid']) ... $orderid = $row; ... thus, I don't know why you have this line here. Remove it. $query2 = SELECT * FROM orders WHERE orderid=\$orderid\; This fails because $row is an array and you assigned that to $orderid. What does extract do? I am under the assumption it extracts row information so why a datatype error? rtfm for details and examples. -- Jason Wong - Gremlins Associates - www.gremlins.com.hk Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * /* Take that, you hostile sons-of-bitches! -- James Coburn, in the finale of _The_President's_Analyst_ */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Help me learn! with an explanation of these two functions.
On Wednesday 06 November 2002 16:52, Steve Jackson wrote: Ok this is starting to get complex! (For me anyway) This is my function: function get_order_numbers() { $conn = db_connect(); $query = select orders.orderid from orders, email where orders.orderid = email.orderid and email.checked='no'; $result = mysql_query($query) or die(Error: cannot select orderidBR$queryBR.mysql_error()); while( $row = mysql_fetch_array($result)) { extract($row); According to your query it should return a single result (assuming your orderid is unique -- and it should be), and that single result contains a single field called orderid. Use print_r($row) to see exactly what it contains (good for reference and debugging). It doesn't contain a single result. It returns 16 order numbers (which is correct - 8 should be in the table emails with no checked and therefore the query has worked and pulled out 8 from the orders table also). What I want the function to do is say OK where the orderid's match pull out all the address details for each orderid and display what I want displayed accordingly. At the moment I get this array returned by using print_r($row). Array ( [0] = 100040 [orderid] = 100040 ) Array ( [0] = 100041 [orderid] = 100041 ) Array ( [0] = 100043 [orderid] = 100043 ) Array ( [0] = 100044 [orderid] = 100044 ) Array ( [0] = 100046 [orderid] = 100046 ) Array ( [0] = 100050 [orderid] = 100050 ) Array ( [0] = 100051 [orderid] = 100051 ) Array ( [0] = 100052 [orderid] = 100052 ) Where do I go from here? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Help me learn! with an explanation of these two functions.
On Wednesday 06 November 2002 21:46, Steve Jackson wrote: It doesn't contain a single result. It returns 16 order numbers (which is correct - 8 should be in the table emails with no checked and therefore the query has worked and pulled out 8 from the orders table also). What I want the function to do is say OK where the orderid's match pull out all the address details for each orderid and display what I want displayed accordingly. At the moment I get this array returned by using print_r($row). Array ( [0] = 100040 [orderid] = 100040 ) Array ( [0] = 100041 [orderid] = 100041 ) Array ( [0] = 100043 [orderid] = 100043 ) Array ( [0] = 100044 [orderid] = 100044 ) Array ( [0] = 100046 [orderid] = 100046 ) Array ( [0] = 100050 [orderid] = 100050 ) Array ( [0] = 100051 [orderid] = 100051 ) Array ( [0] = 100052 [orderid] = 100052 ) Where do I go from here? Well, like I said in my previous post if you remove the line: $orderid = $row; then your second query *should* work. -- Jason Wong - Gremlins Associates - www.gremlins.com.hk Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * /* New members are urgently needed in the Society for Prevention of Cruelty to Yourself. Apply within. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Help me learn! with an explanation of these two functions.
My second query still doesn't return anything? Even with $orderid = $row removed as Jason suggested. This is my current function. function get_order_numbers() { $conn = db_connect(); $query = select orders.orderid from orders, email where orders.orderid = email.orderid and email.checked='no'; $result = mysql_query($query) or die(Error: cannot select orderidBR$queryBR.mysql_error()); while( $row = mysql_fetch_array($result)) { extract($row); //$orderid = $row; print_r($row); $query2 = SELECT * FROM orders WHERE orderid=\$orderid\; $result2 = mysql_query($query2) or die(Error: cannot fetch orderBR$query2BR.mysql_error()); extract(mysql_fetch_array($result2)); } } What I want the function to do is say OK where the orderid's match pull out all the address details for each orderid and display what I want displayed accordingly. At the moment I get this array returned by using print_r($row). Array ( [0] = 100040 [orderid] = 100040 ) Array ( [0] = 100041 [orderid] = 100041 ) Array ( [0] = 100043 [orderid] = 100043 ) Array ( [0] = 100044 [orderid] = 100044 ) Array ( [0] = 100046 [orderid] = 100046 ) Array ( [0] = 100050 [orderid] = 100050 ) Array ( [0] = 100051 [orderid] = 100051 ) Array ( [0] = 100052 [orderid] = 100052 ) Where do I go from here? Well, like I said in my previous post if you remove the line: $orderid = $row; then your second query *should* work. -- Jason Wong - Gremlins Associates - www.gremlins.com.hk Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Help me learn! with an explanation of these two functions.
$orderid WILL NOT contain all the rows. mysql_fetch_array() returns only one row each time it is called. Upon fetching last row, it returns NULL/FALSE/0. Therefore, as you fetch each row, you will then execute your second function to pull all the data for that particular order number. Finally, when executing mysql_query(), ALWAYS execute it in conjuction with die(mysql_error()) in order to get error messages concerning failures. Execute mysql_connect() and mysql_db_connect() only ONCE per script. function get_live_orders() { $query = select orderid from email where checked='no'; $result = mysql_query($query) or die(Error: cannot select orderidBR$queryBR.mysql_error()); while( $row = mysql_fetch_array($result)) { extract($row); $query2 = SELECT * FROM orders WHERE orderid=\$orderid\; $result2 = mysql_query()) or die(Error: cannot fetch orderBR$query2BR.mysql_error()); extract(mysql_fetch_array($result2)); } - Original Message - From: Steve Jackson [EMAIL PROTECTED] To: PHP General [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 8:50 AM Subject: [PHP] Help me learn! with an explanation of these two functions. Can someone run over these functions I have written to explain if my logic is correct. I'm still new to PHP and am trying to get my head round it! This first function is to collect a list of order numbers from my database where checked = no. Am I correct in assuming that the variable $orderid will be an array of results returned? How can I check this? function get_live_orders() { $conn = db_connect(); $query = select orderid from email where checked='no'; $result = @mysql_query($query); if(mysql_numrows($result)0) $orderid = @mysql_fetch_array($result); return $orderid; } This second function is to take these order numbers and compare them to order numbers in a second table and return the result of that. So if order number 11 is in the first array from the above function and there is a number 11 in the second query result I want to take all the data in that row and return it. function get_order_details() { $orderid = get_live_orders(); $conn = db_connect(); $query = select * from orders where orderid='$orderid'; $result = @mysql_query($query); if (!$result) return false; $result = mysql_result($result, 0, orderid); return $result; } I haven't actually run this yet but I'd like someone to explain to me what these functions will do so I am not just copy pasting code and hoping to get it right eventually! Probably I have written this wrong anyway and would like help before I actually attempt to do what I am after. I'll look back on this tomorrow so any help will be greatly appreciated. Kind regards, Steve Jackson Web Developer Viola Systems Ltd. http://www.violasystems.com [EMAIL PROTECTED] Mobile +358 50 343 5159 -- 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] Help me learn! with an explanation of these two functions.
Your first function is only going to return one row of 'checked=no' records. The second function will only return one column of the result. What you want is a JOIN. You can do all of this with a single query. Without knowing the format of your tables exactly, I can't give you the syntax, though. Check the MySQL manual and read the chapter on JOINs. ---John Holmes... - Original Message - From: Steve Jackson [EMAIL PROTECTED] To: PHP General [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 9:50 AM Subject: [PHP] Help me learn! with an explanation of these two functions. Can someone run over these functions I have written to explain if my logic is correct. I'm still new to PHP and am trying to get my head round it! This first function is to collect a list of order numbers from my database where checked = no. Am I correct in assuming that the variable $orderid will be an array of results returned? How can I check this? function get_live_orders() { $conn = db_connect(); $query = select orderid from email where checked='no'; $result = @mysql_query($query); if(mysql_numrows($result)0) $orderid = @mysql_fetch_array($result); return $orderid; } This second function is to take these order numbers and compare them to order numbers in a second table and return the result of that. So if order number 11 is in the first array from the above function and there is a number 11 in the second query result I want to take all the data in that row and return it. function get_order_details() { $orderid = get_live_orders(); $conn = db_connect(); $query = select * from orders where orderid='$orderid'; $result = @mysql_query($query); if (!$result) return false; $result = mysql_result($result, 0, orderid); return $result; } I haven't actually run this yet but I'd like someone to explain to me what these functions will do so I am not just copy pasting code and hoping to get it right eventually! Probably I have written this wrong anyway and would like help before I actually attempt to do what I am after. I'll look back on this tomorrow so any help will be greatly appreciated. Kind regards, Steve Jackson Web Developer Viola Systems Ltd. http://www.violasystems.com [EMAIL PROTECTED] Mobile +358 50 343 5159 -- 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] Help me learn! with an explanation of these two functions.
Joins. Cool. Never heard of them before now but have started experimenting with them. What does this error mean? Error: cannot select orderid select orderid from orders, email where orders.orderid = email.orderid and email.checked='no' Column: 'orderid' in field list is ambiguous My query function syntax is: function get_order_numbers() { $conn = db_connect(); $query = select orderid from orders, email where orders.orderid = email.orderid and email.checked='no'; $result = mysql_query($query) or die(Error: cannot select orderidBR$queryBR.mysql_error()); while( $row = mysql_fetch_array($result)) { extract($row); $orderid = $row; return $orderid; } } What does it mean ambiguous? Cheeky error! Steve Jackson Web Developer Viola Systems Ltd. http://www.violasystems.com [EMAIL PROTECTED] Mobile +358 50 343 5159 -Original Message- From: 1LT John W. Holmes [mailto:holmes072000;charter.net] Sent: 5. marraskuuta 2002 16:59 To: [EMAIL PROTECTED]; PHP General Subject: Re: [PHP] Help me learn! with an explanation of these two functions. Your first function is only going to return one row of 'checked=no' records. The second function will only return one column of the result. What you want is a JOIN. You can do all of this with a single query. Without knowing the format of your tables exactly, I can't give you the syntax, though. Check the MySQL manual and read the chapter on JOINs. ---John Holmes... - Original Message - From: Steve Jackson [EMAIL PROTECTED] To: PHP General [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 9:50 AM Subject: [PHP] Help me learn! with an explanation of these two functions. Can someone run over these functions I have written to explain if my logic is correct. I'm still new to PHP and am trying to get my head round it! This first function is to collect a list of order numbers from my database where checked = no. Am I correct in assuming that the variable $orderid will be an array of results returned? How can I check this? function get_live_orders() { $conn = db_connect(); $query = select orderid from email where checked='no'; $result = @mysql_query($query); if(mysql_numrows($result)0) $orderid = @mysql_fetch_array($result); return $orderid; } This second function is to take these order numbers and compare them to order numbers in a second table and return the result of that. So if order number 11 is in the first array from the above function and there is a number 11 in the second query result I want to take all the data in that row and return it. function get_order_details() { $orderid = get_live_orders(); $conn = db_connect(); $query = select * from orders where orderid='$orderid'; $result = @mysql_query($query); if (!$result) return false; $result = mysql_result($result, 0, orderid); return $result; } I haven't actually run this yet but I'd like someone to explain to me what these functions will do so I am not just copy pasting code and hoping to get it right eventually! Probably I have written this wrong anyway and would like help before I actually attempt to do what I am after. I'll look back on this tomorrow so any help will be greatly appreciated. Kind regards, Steve Jackson Web Developer Viola Systems Ltd. http://www.violasystems.com [EMAIL PROTECTED] Mobile +358 50 343 5159 -- 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] Help me learn! with an explanation of these two functions.
At 08:58 06.11.2002, Steve Jackson said: [snip] Joins. Cool. Never heard of them before now but have started experimenting with them. What does this error mean? Error: cannot select orderid select orderid from orders, email where orders.orderid = email.orderid and email.checked='no' Column: 'orderid' in field list is ambiguous [snip] In this case both tables (order and email) have a column named orderid. The select part pf your statement needs to specify the table name or alias where the orderid field should be taken from: select orders.orderid from orders, email where orders.orderid = email.orderid and email.checked='no' -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] help me regarding redirecting a page
Anjali, Use a BUTTON type element, and some javascript: INPUT TYPE=button VALUE=Cancel Return to menu ONCLICK=self.location=menu.ihtml' Peter At 01:57 PM 9/8/2002 -0700, you wrote: hello, i dont know how to redirect a page... i mean i want to have the effect of submit button without clicking on the submit button. thank you anjali __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php - - - - - - - - - - - - - - - - - - - - - Fourth Realm Solutions [EMAIL PROTECTED] http://www.fourthrealm.com Tel: 519-739-1652 - - - - - - - - - - - - - - - - - - - - - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] help me please! :)
You need to escape the dollar sign with a backslash to prevent PHP trying to interpolate the variable $liv (which presumably doesn't exist). echo \$liv_$i; HTH, - Kev -Original Message- From: Veronica Ghezzi [SMTP:[EMAIL PROTECTED]] Sent: 10 June 2002 09:24 To: Php-General Subject: [PHP] help me please! :) Hi, i must get the information saved in a several select list named liv_1 select name=liv_1 liv_2 select name=liv_2 liv_3 select name=liv_3 liv_n select name=liv_n To get the value i work in this way... $n = 50; for ($i=1; $i=$n;i++){ ... echo $liv_$i; in asp i do: response.write (request(liv_ + i)) ... } But i get only 1 2 3 ... 50 What can i do to get $liv_1 ... $liv_2... ??? Thank you a lot! Veronica Ghezzi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. ** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] help me please! :)
?php $i = 1; $liv_1 = one; $liv_2 = two; $liv_3 = three; $liv_4 = four; $liv_5 = five; while ($i = 5 ) { $do = echo \$liv_{$i};; eval($do); echo br; $i ++; } ? Simply echoing the \$liv_$i will not work, need to evaluate the string after parsed as in example above... Kevin Porter wrote: You need to escape the dollar sign with a backslash to prevent PHP trying to interpolate the variable $liv (which presumably doesn't exist). echo \$liv_$i; HTH, - Kev -Original Message- From: Veronica Ghezzi [SMTP:[EMAIL PROTECTED]] Sent: 10 June 2002 09:24 To: Php-General Subject: [PHP] help me please! :) Hi, i must get the information saved in a several select list named liv_1 select name=liv_1 liv_2 select name=liv_2 liv_3 select name=liv_3 liv_n select name=liv_n To get the value i work in this way... $n = 50; for ($i=1; $i=$n;i++){ ... echo $liv_$i; in asp i do: response.write (request(liv_ + i)) ... } But i get only 1 2 3 ... 50 What can i do to get $liv_1 ... $liv_2... ??? Thank you a lot! Veronica Ghezzi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. ** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] help me please! :)
Try: for ($i=1; $i=$n;i++){ ... $tmp=liv_$i; echo {$$tmp}; ... } Veronica Ghezzi wrote: Hi, i must get the information saved in a several select list named liv_1 select name=liv_1 liv_2 select name=liv_2 liv_3 select name=liv_3 liv_n select name=liv_n To get the value i work in this way... $n = 50; for ($i=1; $i=$n;i++){ ... echo $liv_$i; in asp i do: response.write (request(liv_ + i)) ... } But i get only 1 2 3 ... 50 What can i do to get $liv_1 ... $liv_2... ??? Thank you a lot! Veronica Ghezzi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] help me please! :)
This work for me: liv_1select name=liv[1] liv_2select name=liv[2] liv_3select name=liv[3] liv_nselect name=liv[n] To get the value i work in this way... $liv= $_REQUEST['liv']; $n = 50; for ($i=1; $i=$n;i++){ ... echo $liv[$i]; Josep R. Raurell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] help me....S.O.S...my php doesn't ascend
Maybe you should just ask your question in Spanish, because I have no idea what you just asked... Does it just not work? ---John Holmes... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 01, 2002 2:34 PM To: [EMAIL PROTECTED] Subject: [PHP] help meS.O.S...my php doesn't ascend Hi: I have a Big Problems for my. I have a server with WINNT 4.0 and IIS 3.0, I wanted to install PHP (ver. 4.2.1) and it doesn't ascend. I made it like it was indicated it configures in it paginates it http://www.php.net/manual/fi/configuration.php but neither I am this way, did I lack something?, that happen? I make test with one it paginates call it proves .php and I write several test instruction but it is not: ?php $myvar = Hola. Este es mi primer script en PHP \n; //es mi primer script en PHP \n; //Esto es un comentario echo $myvar; ? BR trtdForma 1/a/td ? echo Hola, este es un mensaje de Prueba con PHP; ? BR trtdForma 2/a/td ?php echo Hola, este es un mensaje de Prueba con PHP; ? BR trtdForma 3/a/td script language=php echo Hola, este es un mensaje de Prueba con PHP; /script BR trtdForma4/a/td % echo Hola, este es un mensaje de Prueba con PHP; % BRBR ? php phpinfo() ? Please that some of you me to help. Oscar Mora -- 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] Re:[PHP] HELP ME PLEASE: php not run on IIS 4.0
25/03/2002 8:27:51 PM hehehe You could start with loosing IIS, it's bad news. The port of Apache for windows is good, if not, Xitami's also quite good. http://www.apache.org/dist/httpd/binaries/win32/ http://www.xitami.com/ But, no, sorry. I can't help you. Berlina [EMAIL PROTECTED] wrote on 25/03/2002 10:19:46 AM: Hi, Im trying to install PHP 4.1.2 under Windows 2000 Server and IIS 4.0 * If I configure PHP as a MODULE, all run but SESSIONS DON'T WORK * If I configure PHP as a CGI, SESSIONS WORK but ORACLE MODULE for PHP not load Any ideas? Anybody can help me? Advanced thanks, Berli -- 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] Help me for unsubscribe
http://www.php.net/unsub.php Should be in the bottom of every email you receive. Dan -Original Message- From: Michele Salerno [mailto:[EMAIL PROTECTED]] Sent: Monday, March 04, 2002 7:53 AM To: php-general Subject: [PHP] Help me for unsubscribe What unsubscribe at mailning list? -- Web Master di: http://www.coopmediante.it Web Administrator di: http://www.mediateca2000.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Help me!!!Can I use PHP to send SMS message???
If you had a suitable cable, phone and controlling software, You could send the SMS using the mobile phone. Not sure how you interface with external apps from PHP though. Frank Hertogs [EMAIL PROTECTED] wrote in message 004f01c1c0a4$b5752f50$3400a8c0@fritzzz57619dp..">news:004f01c1c0a4$b5752f50$3400a8c0@fritzzz57619dp..; Another way of doing it is thru an e-mail to sms gateway; free or paid. That way you could make a simple form and use mail(); Just a thought. Frank. -Oorspronkelijk bericht- Van: Simon Willison [mailto:[EMAIL PROTECTED]] Verzonden: donderdag 28 februari 2002 12:30 Aan: hei CC: [EMAIL PROTECTED] Onderwerp: Re: [PHP] Help me!!!Can I use PHP to send SMS message??? hei wrote: Help me!!!Can I use PHP to send SMS message???If yes, how can I use it??? (((Please e-mail the answer to me [EMAIL PROTECTED]))) One very cheeky way of doing this would be to sign up to one of the free SMS services on the web (such as lycos mobile) and set up a PHP script that can pretend to be a browser, log in to your account and post a message to the send SMS form. You could do this using something along the lines of CURL or Snoopy (I recommend Snoopy as it doesn't require anything to be installed on your web server): http://snoopy.sourceforge.net/ You would have to figure out how the authentication scheme for your chosen web-based SMS service works (most of them use cookies). The main disadvantage is that it's a bit of a dirty hack and it would stop working if the free web service went down or changed the way its authentication / SMS form worked. Free services also tend to limit you to a certain number of messages a day. The professional alternative is to invest in some kind of web to SMS gateway, but I think that's quite an expensive option. -- 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] Help me!!!Can I use PHP to send SMS message???
hei wrote: Help me!!!Can I use PHP to send SMS message???If yes, how can I use it??? (((Please e-mail the answer to me [EMAIL PROTECTED]))) One very cheeky way of doing this would be to sign up to one of the free SMS services on the web (such as lycos mobile) and set up a PHP script that can pretend to be a browser, log in to your account and post a message to the send SMS form. You could do this using something along the lines of CURL or Snoopy (I recommend Snoopy as it doesn't require anything to be installed on your web server): http://snoopy.sourceforge.net/ You would have to figure out how the authentication scheme for your chosen web-based SMS service works (most of them use cookies). The main disadvantage is that it's a bit of a dirty hack and it would stop working if the free web service went down or changed the way its authentication / SMS form worked. Free services also tend to limit you to a certain number of messages a day. The professional alternative is to invest in some kind of web to SMS gateway, but I think that's quite an expensive option. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Help me!!!Can I use PHP to send SMS message???
Another way of doing it is thru an e-mail to sms gateway; free or paid. That way you could make a simple form and use mail(); Just a thought. Frank. -Oorspronkelijk bericht- Van: Simon Willison [mailto:[EMAIL PROTECTED]] Verzonden: donderdag 28 februari 2002 12:30 Aan: hei CC: [EMAIL PROTECTED] Onderwerp: Re: [PHP] Help me!!!Can I use PHP to send SMS message??? hei wrote: Help me!!!Can I use PHP to send SMS message???If yes, how can I use it??? (((Please e-mail the answer to me [EMAIL PROTECTED]))) One very cheeky way of doing this would be to sign up to one of the free SMS services on the web (such as lycos mobile) and set up a PHP script that can pretend to be a browser, log in to your account and post a message to the send SMS form. You could do this using something along the lines of CURL or Snoopy (I recommend Snoopy as it doesn't require anything to be installed on your web server): http://snoopy.sourceforge.net/ You would have to figure out how the authentication scheme for your chosen web-based SMS service works (most of them use cookies). The main disadvantage is that it's a bit of a dirty hack and it would stop working if the free web service went down or changed the way its authentication / SMS form worked. Free services also tend to limit you to a certain number of messages a day. The professional alternative is to invest in some kind of web to SMS gateway, but I think that's quite an expensive option. -- 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] Help me
- Original Message - From: hugh danaher [EMAIL PROTECTED] To: Michele Salerno [EMAIL PROTECTED]; php [EMAIL PROTECTED] Sent: Tuesday, February 26, 2002 10:38 PM Subject: Re: [PHP] Help me Michele, Please show some lines of code in your next message so we can better understand your problem. Hugh Tanks, i have non problem with newsgroup. Send e-mail in mailing list = send post in newsgroup!:-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Help me
Michele, Please show some lines of code in your next message so we can better understand your problem. Hugh - Original Message - From: Michele Salerno [EMAIL PROTECTED] To: php-general [EMAIL PROTECTED] Sent: Tuesday, February 26, 2002 12:09 PM Subject: [PHP] Help me Because the my post non visibility in newsgroup? Exuse me for english errorI Italian! By Michele -- Web Master di: http://www.coopmediante.it Web Administrator di: http://www.mediateca2000.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php