Re: [PHP] Paypal Integration
At 5:32 PM -0700 9/15/08, mike wrote: On Mon, Sep 15, 2008 at 5:25 PM, Ashley Sheridan [EMAIL PROTECTED] wrote: From experience of using Paypal, HSBC and Google Checkout for online payments, I'd go Google. It was a breeze to set up and it's very easy for a consumer to use as well. Also, I got a lot more support from Google guys than I did from Paypal. Not to mention Paypal has a shadyness about them. I've been bitten by them. Since they're not a bank they don't need to do anything for you. Theoretically it's not your money - they're holding money earmarked for you (and collecting interest) ... they can put a hold on your account, take the money, lose it, etc... and your only recourse is to try to sue it back from them... Paypalsucks.com :) I've had the opposite experience. Their service has served me well over several years, sites, and clients. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: header
Alain R. wrote: Hi, how in PHP can i create the similar header as following ? head base href=www.mywebsite.com /head thx. A. just incase everybody ese went down a complete tangent: head base href=?php echo $_SERVER['HTTP_HOST']; ? /head -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: header
Alain R. wrote: Hi, how in PHP can i create the similar header as following ? head base href=www.mywebsite.com /head thx. A. just incase everybody else went down a complete tangent on this one head base href=?php echo $_SERVER['HTTP_HOST']; ? /head it's not nice, elegant, the *proper* way to do things but it'll do the job if I understand you correctly -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: GPG in PHP
Emil Edeholt wrote: Hi! I have trouble executing gpg via php. GPG returns error code 127. I got like one google hit on that saying it had to do with open_basedir being on, it's off here. And anyway I would like to do this even if open_basedir was active. This is my test code (both return the same error): $result = exec(gpg -h, $output, $errorcode); $result = exec(gpg --list-keys, $output, $errorcode); Any ideas of what can be wrong? I've been asking some GPG folks, but haven't been able to get a good answer. Kind Regards Emil are you sure the apache user (www-data if still default) can run gpg? if not then you wanna chmod 777 /usr/bin/gpg OR add www-data to the sudoers file then exec(sudo gpg -h ...) if that fails then you need to add a passwd to www-data (# passwd www-data) then try: exec(echo thepassword | sudo gpg -h ...) if it's none of the above permission style things then I don't know so will leave it to somebody gpg proficient! regards -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Passing an array from PHP to Javascript
http://www.nabble.com/file/p19511848/untitled-1.gif N.B : I had to use anchor to replace the 'anchor tag' in the code below because nabble was disallowing it hi, i am not a js guru so pls permit my naiveness. I need the 'delete' button on the highlighted graphic to delete all checked pics for delete. My view has the checkboxes as an array so i need to pass this array to a javascript function. Code: li class=remove_chk2input name=delete[] type=checkbox value=?=$pics['PicID'];? //li //$pics['PicID'] is from the db - the pic div class=page_button1 p anchor href=javascript:confirmationMultiples('delete[]', ?=$this-galleryID;?, ?php echo ' . $type . '; ?)Delete/anchor /p /div So once clicked ('delete' button) one would get a pop up asking if all pictures should be deleted. But in actual fact the pictures are just flagged inactive in the db table for the pics. Code: function confirmationMultiples(ID, Request, Type) { var answer = confirm(Are you sure you want to delete the selected pictures?) if (answer){ alert(Entry Deleted) window.location = http://mainevent.com/admin/galleries/delete-pics/pid/; + ID + /type/ + Type + /id/ + Request; } else{ alert(No action taken) } } // where request is the id for the gallery // type is the type of gallery - event/venue gallery // ID - should be the pics checked from the view on POST WHat exactly am i doing wrong??? currently my URL reads as Code: http://mainevent.com/admin/galleries/delete-pics/pid/delete[]/type/event/id/313 I think the main hassle is from posting the form getting all the checkboxes in array delete[] to the js and then to the controller that then initiates the delete by reading the parameter from the URL, iterating over the array variable etc. Pls help!! - dee -- View this message in context: http://www.nabble.com/Passing-an-array-from-PHP-to-Javascript-tp19513035p19513035.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2
At 4:27 PM -0500 9/15/08, Philip Thompson wrote: Has anyone seen the new M$ commercial where they are asking these people to review the next version of their OS. Some of the responses of the people were that they really thought this new OS was cool/neat/whatever. Then afterwards, M$ told them it was Vista. Yes, I saw that commercial. It's one of those type of commercials that if you like the product, you'll like the commercial -- if you don't, then you'll find fault with it. I look at the commercial as M$'s attempt to try to patch up a failing product. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2
At 10:35 PM +0100 9/15/08, Ashley Sheridan wrote: Ah I'd heard of this story. What you've forgotten to mention was that the computers were all set up on hardware chosen by Microsoft, and all running software especially picked by Microsoft. Now, I'd hazard a guess that even Microsoft is smart enough to pick a combination that is extremely unlikely to crash on the end user. I'd love to see the same test on the same people set up by Mac people and Linux gurus. I think that as this is not really a fair test, you can pretty much get any answer you want. Ash www.ashleysheridan.co.uk Of course, when it's your dime, you present things the way you like. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Passing an array from PHP to Javascript
I would use an unserializer. http://code.activestate.com/recipes/414334/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2
At 9:53 PM +0100 9/15/08, Stut wrote: As for Microsoft (will people please stop screwing with their name, it's impolite), they've certainly made some bad choices over the years and Windows has suffered for it. I screw with the M$ name because I don't like them! It's not due to their questionable business practices that ultimately ended Gates in front of Congress answering questions; or running Netscape out of business; or the hundreds of other instances of them being a dick, but rather what they did to *me*. You see, many years ago M$ developed and provided QuickBasic for the Mac. Myself and hundreds of other developers devoted our livelihoods to that product. Then one day, M$ sent out notice that they would no longer support QuickBasic and that was the end of that. All of our current, and past work, was on a dead-end street. We were left to fend for ourselves. Imagine if PHP suddenly stopped development and you had to find a different language (i.e., ruby). Sure we could all do it, but we picked this language for a reason and now we have to choose again -- and perhaps that choice was our second choice. I don't like being forced to settle for my second choice. Now, should have M$ continued to support a product that wasn't making sufficient money for them? I dunno, but I don't care either -- they screwed with my life and I'll spend the rest of it calling M$, M$. Similarly, I had a run-in with American Express over 30 years ago and even to this day I return all their sales promotion in their self-addressed no-postage envelope they provide. Over the years, I suspect they have paid postage for over 100 pounds of profitless correspondence and the time for their staff to examine it. Now, do I have problems? Perhaps, but I'm happy. :-) Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Passing an array from PHP to Javascript
Yeti schrieb: I would use an unserializer. http://code.activestate.com/recipes/414334/ Hi, why not JSON? Regards Carlos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2
At 11:30 PM +0100 9/15/08, Stut wrote: Wow, talk about hitting the nail on the head. When Microsoft pick the hardware their OS runs on and the software it runs with it works perfectly. Not exactly. I seem to remember when Gates gave a presentation at Mac World and his slide show locked up. I actually felt sorry for the guy, but I had a cookie and the feeling passed. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Paypal Integration
Ashley Sheridan wrote: I don't recommend HSBC at all. They make you jump your code through so many hoops and their documentation was awful. I don't know why large companies think it's acceptable to produce bad/out-of-date documentation and expect it all to be OK. Thanks for the heads-up. I also did have a look at 2Checkout some time ago but found it pretty sketchy, as someone else pointed out. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2
At 11:57 PM +0100 9/15/08, Ashley Sheridan wrote: I agree on your point about trying before bashing. I've tried Vista. Hell, I had to use it for 2 months solid while I was working in India, so I really got to test it out. I had more crashes on that in the 2 months I was using it than I had on Fedora in 2 years. Now, admittedly I was working on Vista during every working hour, and I only use my Fedora machine at weekends and evenings, but I think if you tally up the total time, it was really not in Windows' favour. As an OS, XP was not all that bad, but I've found I really do prefer the way Linux behaves, that and I can get pretty much whatever software I want for free, which just isn't always so easy with Windows. I spend at least 10 to 12 hours per day (including weekends) working on my machine and I've been running my current Mac for over 6 years with my Mac experience dating back to 1984 (the original 128k Mac, which I still have). In the last 6 years, I remember my current Mac locking up only once and that was on start-up after I had installed additional drive. I had to hold the on button to get it to shut down. But, the next boot was uneventful. Yet people think that the occasional crash is acceptable when working with computers. I can only say, they must not be Mac people. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2
tedd wrote: Imagine if PHP suddenly stopped development and you had to find a different language (i.e., ruby). Sure we could all do it, but we picked this language for a reason and now we have to choose again -- and perhaps that choice was our second choice. I don't like being forced to settle for my second choice. Careful Tedd... that came perilously close to being on-topic again there! :p /me hides for playing no small part in stretching out this thread... Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mandriva Linux Contributor [http://www.mandriva.com/] PulseAudio Hacker [http://www.pulseaudio.org/] Trac Hacker [http://trac.edgewall.org/] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Passing an array from PHP to Javascript
dele454 wrote: http://www.nabble.com/file/p19511848/untitled-1.gif N.B : I had to use anchor to replace the 'anchor tag' in the code below because nabble was disallowing it hi, i am not a js guru so pls permit my naiveness. I need the 'delete' button on the highlighted graphic to delete all checked pics for delete. My view has the checkboxes as an array so i need to pass this array to a javascript function. NB I already replied to this topic over in the ZendFrame work mailing list.. (where it was quite off topic really). But for completeness here it is again. And to the OP you should not really cross post questions to different lists as it considered bad netiquette unless you do so openly and there is a valid reason. My Reply: As a general bit of advice, I would never do any destructive with GET requests (e.g. manipulating the URL and redirecting via window.location). If you need to do it fully in javascript, look at some kind of AJAX call that can do POSTs (my preference is jquery, but dojo may be preferred with ZF...) But, really this is over engineered and you should look at a different approach.. here is my hint: 1. Just use a normal form. Have all the checkboxes and the Delete Selected button on the same form. 2. POST said form (do not use GET). 3. If you want to give the user a chance to backout with a javascript confirmation, define an onsubmit handler for the form. Depending on what this handler returns, the browser will either process or cancel the form submission. So you in it's most basic form: form method=post action=myurl onsubmit=return confirm('Are you sure?'); That should be better! Oh, and just for future reference if you want to pass arrays or generic classes to javascript from php, you want to look into JSON and specifically the json_encode() function (although there may be a ZF wrapped up version - not sure!) Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mandriva Linux Contributor [http://www.mandriva.com/] PulseAudio Hacker [http://www.pulseaudio.org/] Trac Hacker [http://trac.edgewall.org/] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2
At 8:42 AM +0100 9/16/08, Colin Guthrie wrote: tedd wrote: 3. wasn't something I was going to work on -- not because I refused to do it for her but rather because I refuse to work with windozes -- period. In this case I would have blitzed windows and slapped on linux distro of choice instread (see below for *my* choice :)) I've done this recently... a friend aquired a tablet PC thing. It didn't let him in as it came with some XP+admin password and while I could have just made windows work, there were no apps on it and he only wanted it for surfing the web from his sofa... so the simple answer there is: put linux on it! Personally, if I have to help out someone who has a niche little computer or a niche need, it's a no brainer these days. Linux isn't hard to use, and if I have to help out my friends every couple years doing an upgrade than so be it. It's a price I pay gladly for making my life far less painful in the meantime! Co: Yes, but this is where I lack the experience you have. All of the above you say is foreign to me. My abilities (if any) are to be found elsewhere. I know how to set Mac's up -- actually that's not an accomplishment because you don't have to do anything, so there's nothing complicated about that -- you just need to explain to people how to use them. I often set the elderly (yes, there are people older than me) up with Mac's so they can email one another and surf the net. The biggest problem I've encountered with older-than-me types is having them RTM -- they simply don't want to do it! So the more obvious things are, the better it is and I've found Macs to be more obvious and easier for the elderly to use. Many years ago (circa 1987) I created a survey about computer usage and sent it to over 10,000 companies world-wide. I received about a 12 percent return -- this was an outstanding return because 2 percent is common. I think the survey hit a nerve. One of the questions I asked on the survey was On a scale of 1-10, should a computer be as easy to use as a telephone? I sorted the answers per age and found the older you are, the more you want the computer to be as easy to use as a telephone. There were a lot of interesting things that came from that survey and I published my results in the AAPG. But the point here was there are differences between how people use computers and how useful computers are -- it's almost a clique that Mac's are easier and my experience supports that. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2
At 4:41 PM +0100 9/16/08, Colin Guthrie wrote: tedd wrote: Imagine if PHP suddenly stopped development and you had to find a different language (i.e., ruby). Sure we could all do it, but we picked this language for a reason and now we have to choose again -- and perhaps that choice was our second choice. I don't like being forced to settle for my second choice. Careful Tedd... that came perilously close to being on-topic again there! :p /me hides for playing no small part in stretching out this thread... Col LOL !!! My meandering often makes wide circles but usually returns to the point. My first and second posts to a thread are usually on topic. But if it takes more than that, then something went horribly wrong. My post are like salt and pepper. You can't make a whole meal of them, but they're nice to have around to spice things up. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: header
At 3:16 PM +0100 9/16/08, Nathan Rixham wrote: Alain R. wrote: Hi, how in PHP can i create the similar header as following ? head base href=www.mywebsite.com /head thx. A. just incase everybody else went down a complete tangent on this one head base href=?php echo $_SERVER['HTTP_HOST']; ? /head it's not nice, elegant, the *proper* way to do things but it'll do the job if I understand you correctly I don't see anything wrong with it. It looks nice, elegant and proper to me. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Paypal Integration
On Tue, Sep 16, 2008 at 10:02 AM, tedd [EMAIL PROTECTED] wrote: At 10:14 AM +1000 9/16/08, Andrew Barnett wrote: Has anyone got any example integration of PHP with the Paypal API? I'm looking to build a site where people register for a nominal fee, and gain access to the site indefinately. So I just want to check a user against whether they have paid or not. Andrew Andrew: -- simple way From what you describe, that's very simple -- you don't even need php for it. For example -- please review at the How to win part of this: http://sperling.com/quarters/ and view the ten lines of html code that sends the user to PayPal to collect $5. From there, PayPal then notifies me via email and I act accordingly. Similarly, you could add people to your site the same way. But you would have to know who these people are (user id, password, and email address) to grant them access. --- less simple way If you want this done automagically, then: 1. Have a script where people can register for your site -- IOW, a script to gather user id, email address and password; 2. Place the PayPal purchase code in your form. 3. Place the grant access code in the thanks.php script (see PayPal html code) to be approved when the $ transaction is done. [snip] I would only add that PayPal offers Immediate Payment Notification (IPN). The PayPal server requests a URL on your site with the transaction details. It worked pretty well the last time I used it, and IMO it's a little more secure. I have not used the other services, so I can't comment on whether they provide similar functionality. Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: header
tedd wrote: At 3:16 PM +0100 9/16/08, Nathan Rixham wrote: Alain R. wrote: Hi, how in PHP can i create the similar header as following ? head base href=www.mywebsite.com /head thx. A. just incase everybody else went down a complete tangent on this one head base href=?php echo $_SERVER['HTTP_HOST']; ? /head it's not nice, elegant, the *proper* way to do things but it'll do the job if I understand you correctly I don't see anything wrong with it. It looks nice, elegant and proper to me. Cheers, tedd thanks tedd, to be full proof though there's a lot lacking; for example http/1.0 browsers don't pass through HTTP_HOST seeing as it's only in http/1.1; also even on http/1.1 it's sometimes spoofed; further there's the whole HTTPS_HOST to concider; there's only one full proof method and thats to simple hard code or define it: define('PUBLIC_BASE_HREF' , 'http://php.net/') head ?php echo PUBLIC_BASE_HREF; ? /head or the will probably work for all http/1.1 https calls multi-site version: ?php define('ACCESS_PROTOCOL', isset($_SERVER['HTTPS']) $_SERVER['HTTPS'] ? ( $_SERVER['HTTPS'] strtolower($_SERVER['HTTPS']) != 'off' ? 'https' : 'http' ) : 'http' . '://'); if( isset($_SERVER['HTTP_HOST']) $_SERVER['HTTP_HOST'] ) { define('PUBLIC_BASE_HREF', ACCESS_PROTOCOL . strtolower($_SERVER['HTTP_HOST']) . '/'); } else { define('PUBLIC_BASE_HREF', FALSE); } function html_base_href() { return PUBLIC_BASE_HREF ? 'base href=' . PUBLIC_BASE_HREF . '' . PHP_EOL : ''; } ? head ?php echo html_base_href(); ? /head and I really don't have the time to go into templating; somebody should really bring out a class environment or such like with all of this in it.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: header
On Tue, 2008-09-16 at 17:49 +0100, Nathan Rixham wrote: tedd wrote: At 3:16 PM +0100 9/16/08, Nathan Rixham wrote: Alain R. wrote: Hi, how in PHP can i create the similar header as following ? head base href=www.mywebsite.com /head thx. A. just incase everybody else went down a complete tangent on this one head base href=?php echo $_SERVER['HTTP_HOST']; ? /head it's not nice, elegant, the *proper* way to do things but it'll do the job if I understand you correctly I don't see anything wrong with it. It looks nice, elegant and proper to me. Cheers, tedd thanks tedd, to be full proof though there's a lot lacking; for example http/1.0 browsers don't pass through HTTP_HOST seeing as it's only in http/1.1; also even on http/1.1 it's sometimes spoofed; further there's the whole HTTPS_HOST to concider; there's only one full proof method and thats to simple hard code or define it: I think you mean fool proof when you say full proof. It's synonymous with idiot proof. Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: header
Robert Cummings wrote: On Tue, 2008-09-16 at 17:49 +0100, Nathan Rixham wrote: tedd wrote: At 3:16 PM +0100 9/16/08, Nathan Rixham wrote: Alain R. wrote: Hi, how in PHP can i create the similar header as following ? head base href=www.mywebsite.com /head thx. A. just incase everybody else went down a complete tangent on this one head base href=?php echo $_SERVER['HTTP_HOST']; ? /head it's not nice, elegant, the *proper* way to do things but it'll do the job if I understand you correctly I don't see anything wrong with it. It looks nice, elegant and proper to me. Cheers, tedd thanks tedd, to be full proof though there's a lot lacking; for example http/1.0 browsers don't pass through HTTP_HOST seeing as it's only in http/1.1; also even on http/1.1 it's sometimes spoofed; further there's the whole HTTPS_HOST to concider; there's only one full proof method and thats to simple hard code or define it: I think you mean fool proof when you say full proof. It's synonymous with idiot proof. Cheers, Rob. indeed; I also meant consider simply; I also meant: define('PUBLIC_BASE_HREF' , 'http://php.net/') head base href=?php echo PUBLIC_BASE_HREF; ? / /head and further thinking there has to be an easier / cleaner way of getting http://; / https://; in php.. ps: please excuse the typo's etc. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] __toString friends
Jim Lucas wrote: Leurent Francois wrote: I was asking myself if there was a good reason __toBool // __toInt NOT been present in my favorite language, It is so coool beeing able to cast object as string resulting in a __toString() call I'll really love being able to class error extends exeption { __toBool(){return false; } } if((bool) $result ) echo This is ok; .. 131 - praying for a automatic method called at casting request. I felt this would be a nice feature to have also. So, I added methods to my classes that would allow for this ability. concurred; I recently made a class that turn's all objects into XML; and implented it in my __toString()'s :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: header
On Tue, 2008-09-16 at 18:13 +0100, Nathan Rixham wrote: I also meant: define('PUBLIC_BASE_HREF' , 'http://php.net/') head base href=?php echo PUBLIC_BASE_HREF; ? / /head and further thinking there has to be an easier / cleaner way of getting http://; / https://; in php.. What's wrong with $_SERVER['HTTPS'] ? Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2
On 16 Sep 2008, at 16:06, tedd wrote: At 11:30 PM +0100 9/15/08, Stut wrote: Wow, talk about hitting the nail on the head. When Microsoft pick the hardware their OS runs on and the software it runs with it works perfectly. Not exactly. I seem to remember when Gates gave a presentation at Mac World and his slide show locked up. I actually felt sorry for the guy, but I had a cookie and the feeling passed. You're making the huge assumption that they chose the hardware on that occasion, something that is in no way reasonable to do in my opinion. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2
On 16 Sep 2008, at 15:59, tedd wrote: At 9:53 PM +0100 9/15/08, Stut wrote: As for Microsoft (will people please stop screwing with their name, it's impolite), they've certainly made some bad choices over the years and Windows has suffered for it. I screw with the M$ name because I don't like them! It's not due to their questionable business practices that ultimately ended Gates in front of Congress answering questions; or running Netscape out of business; or the hundreds of other instances of them being a dick, but rather what they did to *me*. You see, many years ago M$ developed and provided QuickBasic for the Mac. Myself and hundreds of other developers devoted our livelihoods to that product. Then one day, M$ sent out notice that they would no longer support QuickBasic and that was the end of that. All of our current, and past work, was on a dead-end street. We were left to fend for ourselves. I don't mean any disrespect but devoting your livelihood on a technology with a single provider is probably not the smartest move you've made. It's not nice for Microsoft to have pulled support for it but they're a business and they made that decision because they didn't see a profitable future there, they weren't out to screw you. Imagine if PHP suddenly stopped development and you had to find a different language (i.e., ruby). Sure we could all do it, but we picked this language for a reason and now we have to choose again -- and perhaps that choice was our second choice. I don't like being forced to settle for my second choice. Speaking only for myself I would have no problem with it at all, for a few reasons... 1) PHP is open source so the chances of development stopping dead is highly unlikely even if Zend were to cease to be. 2) PHP is not my strongest language, and it definitely isn't the only language I know. I work hard to make sure I'm up with current developments in C/C++, C#, Ruby and a number of other languages. I've recently started learning Scala. I've also engineered my career so it involves more than one core language/technology at any one time so my CV stays fresh and my options stay plentiful. 3) I have no real preference for a particular language or technology. Throughout my career I've had the attitude that the method of software engineering is far more important than the tools. I feel confident that I could apply my skills using any language, something that's been tested a few times over the years. Now, should have M$ continued to support a product that wasn't making sufficient money for them? I dunno, but I don't care either -- they screwed with my life and I'll spend the rest of it calling M $, M$. That's your choice, but don't take offence when I say that's changed my opinion of you somewhat. Similarly, I had a run-in with American Express over 30 years ago and even to this day I return all their sales promotion in their self-addressed no-postage envelope they provide. Over the years, I suspect they have paid postage for over 100 pounds of profitless correspondence and the time for their staff to examine it. You're not alone in doing this, but how much a dent do you really think you've made in their profits? It's like spam, if it wasn't worth doing they wouldn't do it. Your efforts would be better spent trying to get your address blacklisted... or learning Scala! Now, do I have problems? Perhaps, but I'm happy. :-) Good for you. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Paypal Integration
On Tue, Sep 16, 2008 at 7:08 AM, tedd [EMAIL PROTECTED] wrote: I've had the opposite experience. Their service has served me well over several years, sites, and clients. It's a crap shoot. They're fine until you get bit. I used them for quite a long time and I still have a paypal account for various reasons, but I do not keep any money in it for any amount of time and don't let them associate themselves to anything important. Just wait until someone puts up a spam/porn image on one of your sites. You'll be suspended pending review and even if you remove the image, or flat out take paypal off your site, they'll keep their suspension on you. Don't even try to appeal. But then an 18 year old girl I know with an amateur porn site using Paypal for membership got her account reopened though... funny how that worked. Totally against their policies. Mine? I took paypal off the site completely. They didn't care. Still closed my account. At least I got the money that was in it. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: header
Robert Cummings wrote: On Tue, 2008-09-16 at 18:13 +0100, Nathan Rixham wrote: I also meant: define('PUBLIC_BASE_HREF' , 'http://php.net/') head base href=?php echo PUBLIC_BASE_HREF; ? / /head and further thinking there has to be an easier / cleaner way of getting http://; / https://; in php.. What's wrong with $_SERVER['HTTPS'] ? Cheers, Rob. my way ?php function get_http_protocol() { $proto = 'http'; if ( isset($_SERVER['HTTPS']) strtolower($_SERVER['HTTPS']) !== 'off' ) { $proto .= 's'; } return $proto . '://'; # Adding the :// is optionial } echo get_http_protocol(); ? That is about as simple as you can get. -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2
On Tue, 2008-09-16 at 10:59 -0400, tedd wrote: Similarly, I had a run-in with American Express over 30 years ago and even to this day I return all their sales promotion in their self-addressed no-postage envelope they provide. Over the years, I suspect they have paid postage for over 100 pounds of profitless correspondence and the time for their staff to examine it. I do the same with all that sort of post, but I recently found en evil use for all of that spare change in the form of 1p's and 2p's... Funnily enough, I've not had much for a while... Ash www.ashleysheridan.co.uk
Re: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2
On Tue, 2008-09-16 at 11:26 -0400, tedd wrote: At 11:57 PM +0100 9/15/08, Ashley Sheridan wrote: I agree on your point about trying before bashing. I've tried Vista. Hell, I had to use it for 2 months solid while I was working in India, so I really got to test it out. I had more crashes on that in the 2 months I was using it than I had on Fedora in 2 years. Now, admittedly I was working on Vista during every working hour, and I only use my Fedora machine at weekends and evenings, but I think if you tally up the total time, it was really not in Windows' favour. As an OS, XP was not all that bad, but I've found I really do prefer the way Linux behaves, that and I can get pretty much whatever software I want for free, which just isn't always so easy with Windows. I spend at least 10 to 12 hours per day (including weekends) working on my machine and I've been running my current Mac for over 6 years with my Mac experience dating back to 1984 (the original 128k Mac, which I still have). In the last 6 years, I remember my current Mac locking up only once and that was on start-up after I had installed additional drive. I had to hold the on button to get it to shut down. But, the next boot was uneventful. Yet people think that the occasional crash is acceptable when working with computers. I can only say, they must not be Mac people. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com I rarely get any crashes with Linux, probably about the same as my flatmate gets, on his Mac. Both are very stable and secure, which is what you want from an OS. The OS is there to make your life easier, not to get in the way with dozens of warning message, blockades and workarounds. Ash www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] textarea html generation problem
On Tue, 2008-09-16 at 17:15 +0930, Michael Kubler wrote: I've just been playing with FCKeditor, it seem pretty good. Good documentation and I could get it working fairly quickly, although I haven't got it picking up the style sheet from a secondary domain yet, but that's probably a PEBKAC on my part. Michael Kubler *G*rey *P*hoenix *P*roductions http://www.greyphoenix.biz Ashley Sheridan wrote: Whats wrong with trying one of the major ones in use at the moment, like FCKEditor? Ash www.ashleysheridan.co.uk It's just unfortunate that the guys initials happened to be what they were... More than one client has raised an eyebrow when they saw FCKEditor... Ash www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Paypal Integration
On Tue, Sep 16, 2008 at 2:43 PM, mike [EMAIL PROTECTED] wrote: On Tue, Sep 16, 2008 at 7:08 AM, tedd [EMAIL PROTECTED] wrote: I've had the opposite experience. Their service has served me well over several years, sites, and clients. It's a crap shoot. They're fine until you get bit. I used them for quite a long time and I still have a paypal account for various reasons, but I do not keep any money in it for any amount of time and don't let them associate themselves to anything important. Just wait until someone puts up a spam/porn image on one of your sites. You'll be suspended pending review and even if you remove the image, or flat out take paypal off your site, they'll keep their suspension on you. Don't even try to appeal. But then an 18 year old girl I know with an amateur porn site using Paypal for membership got her account reopened though... funny how that worked. Totally against their policies. Mine? I took paypal off the site completely. They didn't care. Still closed my account. At least I got the money that was in it. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Well that's why I mentioned fraud and security. Porn sites are subject to the same rules with Visa/MC as they are with PayPal. The difference is with Visa/MC, you can find a processor that will allow it, but you have to pay thousands per year in surcharges. I myself had a guy on an Asian network hack a guy's account in the United States. He then came to my site, signed up two monthly recurring accounts, setup subscriptions to pay on paypal, and left. Had I not had fraud protection in there and acted on it, I would have lost money, and probably had my paypal account locked also. You just have to cover yourself best you can. -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life.
Re: [PHP] Paypal Integration
Paypalsucks.com :) I've had the opposite experience. Their service has served me well over several years, sites, and clients. I think, like a lot of things, you will always get people with good experiences and bad experiences. Unfortunately the people who have had bad experiences tend to be more vocal than those who've had good ones, so the outlook appears to be over negative. -- Richard Heyes HTML5 Graphing for IE7, FF, Chrome, Opera and Safari: http://www.phpguru.org/RGraph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2
On Tue, Sep 16, 2008 at 2:51 PM, Ashley Sheridan [EMAIL PROTECTED] wrote: On Tue, 2008-09-16 at 11:26 -0400, tedd wrote: At 11:57 PM +0100 9/15/08, Ashley Sheridan wrote: I agree on your point about trying before bashing. I've tried Vista. Hell, I had to use it for 2 months solid while I was working in India, so I really got to test it out. I had more crashes on that in the 2 months I was using it than I had on Fedora in 2 years. Now, admittedly I was working on Vista during every working hour, and I only use my Fedora machine at weekends and evenings, but I think if you tally up the total time, it was really not in Windows' favour. As an OS, XP was not all that bad, but I've found I really do prefer the way Linux behaves, that and I can get pretty much whatever software I want for free, which just isn't always so easy with Windows. I spend at least 10 to 12 hours per day (including weekends) working on my machine and I've been running my current Mac for over 6 years with my Mac experience dating back to 1984 (the original 128k Mac, which I still have). In the last 6 years, I remember my current Mac locking up only once and that was on start-up after I had installed additional drive. I had to hold the on button to get it to shut down. But, the next boot was uneventful. Yet people think that the occasional crash is acceptable when working with computers. I can only say, they must not be Mac people. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com I rarely get any crashes with Linux, probably about the same as my flatmate gets, on his Mac. Both are very stable and secure, which is what you want from an OS. The OS is there to make your life easier, not to get in the way with dozens of warning message, blockades and workarounds. Ash www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php I regularly use Windows XP Vista, OS X, and Ubuntu. All three do exactly what I ask of them without crashes or errors. I use them on a variety of different hardware too. Unfortunately in the year 2008 no operating system is the ultimate solution for my needs. I do have lots of opinions good and bad on each of them. I would say that Ubuntu is my favorite though. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2
On Tue, 2008-09-16 at 15:04 -0400, Eric Butera wrote: On Tue, Sep 16, 2008 at 2:51 PM, Ashley Sheridan [EMAIL PROTECTED] wrote: On Tue, 2008-09-16 at 11:26 -0400, tedd wrote: At 11:57 PM +0100 9/15/08, Ashley Sheridan wrote: I agree on your point about trying before bashing. I've tried Vista. Hell, I had to use it for 2 months solid while I was working in India, so I really got to test it out. I had more crashes on that in the 2 months I was using it than I had on Fedora in 2 years. Now, admittedly I was working on Vista during every working hour, and I only use my Fedora machine at weekends and evenings, but I think if you tally up the total time, it was really not in Windows' favour. As an OS, XP was not all that bad, but I've found I really do prefer the way Linux behaves, that and I can get pretty much whatever software I want for free, which just isn't always so easy with Windows. I spend at least 10 to 12 hours per day (including weekends) working on my machine and I've been running my current Mac for over 6 years with my Mac experience dating back to 1984 (the original 128k Mac, which I still have). In the last 6 years, I remember my current Mac locking up only once and that was on start-up after I had installed additional drive. I had to hold the on button to get it to shut down. But, the next boot was uneventful. Yet people think that the occasional crash is acceptable when working with computers. I can only say, they must not be Mac people. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com I rarely get any crashes with Linux, probably about the same as my flatmate gets, on his Mac. Both are very stable and secure, which is what you want from an OS. The OS is there to make your life easier, not to get in the way with dozens of warning message, blockades and workarounds. Ash www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php I regularly use Windows XP Vista, OS X, and Ubuntu. All three do exactly what I ask of them without crashes or errors. I use them on a variety of different hardware too. Unfortunately in the year 2008 no operating system is the ultimate solution for my needs. I do have lots of opinions good and bad on each of them. I would say that Ubuntu is my favorite though. Would it be totally off topic if everyone were to say what their favourite OS was and why? I'm just a little curious as to what OS's people use in this field. Ash www.ashleysheridan.co.uk
Re: [PHP] Paypal Integration
On Tue, Sep 16, 2008 at 12:04 PM, Richard Heyes [EMAIL PROTECTED] wrote: I think, like a lot of things, you will always get people with good experiences and bad experiences. Unfortunately the people who have had bad experiences tend to be more vocal than those who've had good ones, so the outlook appears to be over negative. Find me a bank that has held people's funds for years with no recourse. *Normal* people - not terrorists, money launderers, or other things like that. Then we'll talk :) Remember - Paypal is not a bank. They almost had to play by bank rules. AFAIK they never wound up having to though, and your mileage -can- vary. I wish someone would make a Paypal clone that did not have such an odd history of shadyness. Their interface is simple, the idea is great, adding an API was great, etc. But I won't trust them for 100% of my income, ever. I'd diversify and/or go with a third party merchant (or get and use my own merchant) long before that. For the most part, people have no problems. But if you're one of those people with a problem you'll feel the wrath of how shady the whole appeals process is. Try to talk to someone in appeals - you can't. You have to use a mail form to try to communicate with them. You're given no names or accountability, nobody to talk to. You're guilty until proven innocent. But again, I'm just one of those people who got bit - ignorance is bliss :) Idea: A+ Execution: F -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Paypal Integration
On Tue, Sep 16, 2008 at 3:13 PM, mike [EMAIL PROTECTED] wrote: On Tue, Sep 16, 2008 at 12:04 PM, Richard Heyes [EMAIL PROTECTED] wrote: I wish someone would make a Paypal clone that did not have such an odd history of shadyness. Their interface is simple, the idea is great, Revolution Money Exchange just started up a few months ago. Its owned by a bank (although I can't recall which). Same concept as far as I can tell, although I don't think they have any business services yet. Another note I should add. And I touched on this in my first post about this. Do not solely rely on PayPal. Shop around for your credit card services. PayPal is quite expensive in comparison. I myself only use them to accept PayPal payments, not visa/mc. -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life.
Re: [PHP] Paypal Integration
On Tue, Sep 16, 2008 at 12:20 PM, Dan Joseph [EMAIL PROTECTED] wrote: Revolution Money Exchange just started up a few months ago. Its owned by a bank (although I can't recall which). Same concept as far as I can tell, although I don't think they have any business services yet. Another note I should add. And I touched on this in my first post about this. Do not solely rely on PayPal. Shop around for your credit card services. PayPal is quite expensive in comparison. I myself only use them to accept PayPal payments, not visa/mc. There was another one a long time ago - I forget. I want to say Yahoo started one and it was backed with a bank, and then after what seemed like only a few months, dropped it. Trying to battle Paypal alone wouldn't be the worst, but trying to battle Paypal+eBay is going to be hard. I'd expect Paypal receives 90%+ of it's users via eBay and the majority of the income to start out came from it too (hence why eBay bought them) - so I think it's hard for anyone to get into the market. (There's some shadyness with eBay too that I've read about in the past...) Anyway - use authorize.net for example. They've got a simple documented HTTP based API and it can interface with every major shopping cart package/etc. Like you said - use Paypal only for Paypal payments. Don't use them for anything else :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Paypal Integration
On Tue, 2008-09-16 at 12:27 -0700, mike wrote: On Tue, Sep 16, 2008 at 12:20 PM, Dan Joseph [EMAIL PROTECTED] wrote: Revolution Money Exchange just started up a few months ago. Its owned by a bank (although I can't recall which). Same concept as far as I can tell, although I don't think they have any business services yet. Another note I should add. And I touched on this in my first post about this. Do not solely rely on PayPal. Shop around for your credit card services. PayPal is quite expensive in comparison. I myself only use them to accept PayPal payments, not visa/mc. There was another one a long time ago - I forget. I want to say Yahoo started one and it was backed with a bank, and then after what seemed like only a few months, dropped it. Trying to battle Paypal alone wouldn't be the worst, but trying to battle Paypal+eBay is going to be hard. I'd expect Paypal receives 90%+ of it's users via eBay and the majority of the income to start out came from it too (hence why eBay bought them) - so I think it's hard for anyone to get into the market. (There's some shadyness with eBay too that I've read about in the past...) Anyway - use authorize.net for example. They've got a simple documented HTTP based API and it can interface with every major shopping cart package/etc. Like you said - use Paypal only for Paypal payments. Don't use them for anything else :) I think once Google Checkout goes more global (which it plans to) it will be something to use as a viable alternative to Paypal. There's quite a few large corporations use it already. Ash www.ashleysheridan.co.uk
Re: [PHP] Paypal Integration
Tue, Sep 16, 2008 at 12:34 PM, Ashley Sheridan [EMAIL PROTECTED] wrote: I think once Google Checkout goes more global (which it plans to) it will be something to use as a viable alternative to Paypal. There's quite a few large corporations use it already. I was excited when Google announced it, but it didn't seem to be an apples-to-apples match to Paypal. If anyone could take on eBay/Paypal, it would be Google. I hope they beef it up to make it more like a generic money exchange. Maybe get in bed with a bank too. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Paypal Integration
Hi, I think once Google Checkout goes more global (which it plans to) it will be something to use as a viable alternative to Paypal. There's quite a few large corporations use it already. Without looking into it too much, can it be done transparently (ie the customer doesn't see any Google logos)? -- Richard Heyes HTML5 Graphing for IE7, FF, Chrome, Opera and Safari: http://www.phpguru.org/RGraph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Paypal Integration
On Tue, Sep 16, 2008 at 3:39 PM, Richard Heyes [EMAIL PROTECTED] wrote: Hi, I think once Google Checkout goes more global (which it plans to) it will be something to use as a viable alternative to Paypal. There's quite a few large corporations use it already. Without looking into it too much, can it be done transparently (ie the customer doesn't see any Google logos)? -- Richard Heyes HTML5 Graphing for IE7, FF, Chrome, Opera and Safari: http://www.phpguru.org/RGraph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php You can integrate it the way you like. I have mine setup like PayPal's easy way. It just tosses you out to a PayPal payment site, and then it tosses you back. Its how my billing/ordering system works. -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life.
Re: [PHP] Paypal Integration
On Tue, 2008-09-16 at 20:39 +0100, Richard Heyes wrote: Hi, I think once Google Checkout goes more global (which it plans to) it will be something to use as a viable alternative to Paypal. There's quite a few large corporations use it already. Without looking into it too much, can it be done transparently (ie the customer doesn't see any Google logos)? -- Richard Heyes HTML5 Graphing for IE7, FF, Chrome, Opera and Safari: http://www.phpguru.org/RGraph No, there are certain terms and conditions for using Google Checkout. You have to display their logo prominently, and they say they will terminate accounts of anyone not adhering to these terms. Ash www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Paypal Integration
No, there are certain terms and conditions for using Google Checkout. You have to display their logo prominently, and they say they will terminate accounts of anyone not adhering to these terms. Hmm, might not be so bad. I would think a Google logo instils trust. -- Richard Heyes HTML5 Graphing for IE7, FF, Chrome, Opera and Safari: http://www.phpguru.org/RGraph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Paypal Integration
On Tue, 2008-09-16 at 20:51 +0100, Richard Heyes wrote: No, there are certain terms and conditions for using Google Checkout. You have to display their logo prominently, and they say they will terminate accounts of anyone not adhering to these terms. Hmm, might not be so bad. I would think a Google logo instils trust. I think they also have a limit on how many clicks it takes to get through to their checkout, but I don't remember off the top of my head. Ash www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: header
Jim Lucas wrote: Robert Cummings wrote: On Tue, 2008-09-16 at 18:13 +0100, Nathan Rixham wrote: I also meant: define('PUBLIC_BASE_HREF' , 'http://php.net/') head base href=?php echo PUBLIC_BASE_HREF; ? / /head and further thinking there has to be an easier / cleaner way of getting http://; / https://; in php.. What's wrong with $_SERVER['HTTPS'] ? Cheers, Rob. my way ?php function get_http_protocol() { $proto = 'http'; if ( isset($_SERVER['HTTPS']) strtolower($_SERVER['HTTPS']) !== 'off' ) { $proto .= 's'; } return $proto . '://'; # Adding the :// is optionial } echo get_http_protocol(); ? That is about as simple as you can get. lol this one's got my brain going; here's mine: ?php function get_http_protocol() { return 'http' . ($_SERVER['SERVER_PORT'] == 443 ? 's' : '') . '://'; } echo get_http_protocol(); ? Nathan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: header
On Tue, 2008-09-16 at 21:18 +0100, Nathan Rixham wrote: Jim Lucas wrote: Robert Cummings wrote: On Tue, 2008-09-16 at 18:13 +0100, Nathan Rixham wrote: I also meant: define('PUBLIC_BASE_HREF' , 'http://php.net/') head base href=?php echo PUBLIC_BASE_HREF; ? / /head and further thinking there has to be an easier / cleaner way of getting http://; / https://; in php.. What's wrong with $_SERVER['HTTPS'] ? Cheers, Rob. my way ?php function get_http_protocol() { $proto = 'http'; if ( isset($_SERVER['HTTPS']) strtolower($_SERVER['HTTPS']) !== 'off' ) { $proto .= 's'; } return $proto . '://'; # Adding the :// is optionial } echo get_http_protocol(); ? That is about as simple as you can get. lol this one's got my brain going; here's mine: ?php function get_http_protocol() { return 'http' . ($_SERVER['SERVER_PORT'] == 443 ? 's' : '') . '://'; } echo get_http_protocol(); ? Just because 443 is the default HTTPS port, doesn't mean HTTPS is being served over 443, nor does it mean HTTPS isn't also being served over another port. This is less effective than using $_SERVER['HTTPS']. Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2
On Tue, Sep 16, 2008 at 3:11 PM, Ashley Sheridan [EMAIL PROTECTED]wrote: On Tue, 2008-09-16 at 15:04 -0400, Eric Butera wrote: On Tue, Sep 16, 2008 at 2:51 PM, Ashley Sheridan [EMAIL PROTECTED] wrote: On Tue, 2008-09-16 at 11:26 -0400, tedd wrote: At 11:57 PM +0100 9/15/08, Ashley Sheridan wrote: I agree on your point about trying before bashing. I've tried Vista. Hell, I had to use it for 2 months solid while I was working in India, so I really got to test it out. I had more crashes on that in the 2 months I was using it than I had on Fedora in 2 years. Now, admittedly I was working on Vista during every working hour, and I only use my Fedora machine at weekends and evenings, but I think if you tally up the total time, it was really not in Windows' favour. As an OS, XP was not all that bad, but I've found I really do prefer the way Linux behaves, that and I can get pretty much whatever software I want for free, which just isn't always so easy with Windows. I spend at least 10 to 12 hours per day (including weekends) working on my machine and I've been running my current Mac for over 6 years with my Mac experience dating back to 1984 (the original 128k Mac, which I still have). In the last 6 years, I remember my current Mac locking up only once and that was on start-up after I had installed additional drive. I had to hold the on button to get it to shut down. But, the next boot was uneventful. Yet people think that the occasional crash is acceptable when working with computers. I can only say, they must not be Mac people. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com I rarely get any crashes with Linux, probably about the same as my flatmate gets, on his Mac. Both are very stable and secure, which is what you want from an OS. The OS is there to make your life easier, not to get in the way with dozens of warning message, blockades and workarounds. Ash www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php I regularly use Windows XP Vista, OS X, and Ubuntu. All three do exactly what I ask of them without crashes or errors. I use them on a variety of different hardware too. Unfortunately in the year 2008 no operating system is the ultimate solution for my needs. I do have lots of opinions good and bad on each of them. I would say that Ubuntu is my favorite though. Would it be totally off topic if everyone were to say what their favourite OS was and why? I'm just a little curious as to what OS's people use in this field. Ash www.ashleysheridan.co.uk To paraphrase You are about to insult Microsoft. Cancel or Allow? -- Bastien Cat, the other other white meat
Re: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2
On Tue, 2008-09-16 at 16:50 -0400, Bastien Koert wrote: On Tue, Sep 16, 2008 at 3:11 PM, Ashley Sheridan [EMAIL PROTECTED]wrote: On Tue, 2008-09-16 at 15:04 -0400, Eric Butera wrote: On Tue, Sep 16, 2008 at 2:51 PM, Ashley Sheridan [EMAIL PROTECTED] wrote: On Tue, 2008-09-16 at 11:26 -0400, tedd wrote: At 11:57 PM +0100 9/15/08, Ashley Sheridan wrote: I agree on your point about trying before bashing. I've tried Vista. Hell, I had to use it for 2 months solid while I was working in India, so I really got to test it out. I had more crashes on that in the 2 months I was using it than I had on Fedora in 2 years. Now, admittedly I was working on Vista during every working hour, and I only use my Fedora machine at weekends and evenings, but I think if you tally up the total time, it was really not in Windows' favour. As an OS, XP was not all that bad, but I've found I really do prefer the way Linux behaves, that and I can get pretty much whatever software I want for free, which just isn't always so easy with Windows. I spend at least 10 to 12 hours per day (including weekends) working on my machine and I've been running my current Mac for over 6 years with my Mac experience dating back to 1984 (the original 128k Mac, which I still have). In the last 6 years, I remember my current Mac locking up only once and that was on start-up after I had installed additional drive. I had to hold the on button to get it to shut down. But, the next boot was uneventful. Yet people think that the occasional crash is acceptable when working with computers. I can only say, they must not be Mac people. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com I rarely get any crashes with Linux, probably about the same as my flatmate gets, on his Mac. Both are very stable and secure, which is what you want from an OS. The OS is there to make your life easier, not to get in the way with dozens of warning message, blockades and workarounds. Ash www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php I regularly use Windows XP Vista, OS X, and Ubuntu. All three do exactly what I ask of them without crashes or errors. I use them on a variety of different hardware too. Unfortunately in the year 2008 no operating system is the ultimate solution for my needs. I do have lots of opinions good and bad on each of them. I would say that Ubuntu is my favorite though. Would it be totally off topic if everyone were to say what their favourite OS was and why? I'm just a little curious as to what OS's people use in this field. Ash www.ashleysheridan.co.uk To paraphrase You are about to insult Microsoft. Cancel or Allow? Hmm, not sure, both ways lead to a General Protection Fault... Ash www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2
-Original Message- From: tedd [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 10:06 AM To: Stut; [EMAIL PROTECTED] Cc: Philip Thompson; PHP General list Subject: Re: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2 At 11:30 PM +0100 9/15/08, Stut wrote: Wow, talk about hitting the nail on the head. When Microsoft pick the hardware their OS runs on and the software it runs with it works perfectly. Not exactly. I seem to remember when Gates gave a presentation at Mac World and his slide show locked up. I actually felt sorry for the guy, but I had a cookie and the feeling passed. I read a hilarious article not too long ago (just before Gates stepped down as CEO.. or maybe after, but before he completely cut corporate ties with MSFT) about Bill Gates' end user experience with Windows XP. Needless to say: he was pissed off. Nothing worked like he wanted it to, and he had to download 8 extra software packages and STILL didn't wind up getting what he wanted (Windows Movie Maker). I found it on Fark, maybe I can track it down again. Fantastic read. Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2
At 7:40 PM +0100 9/16/08, Stut wrote: On 16 Sep 2008, at 15:59, tedd wrote: Then one day, M$ sent out notice that they would no longer support QuickBasic and that was the end of that. All of our current, and past work, was on a dead-end street. We were left to fend for ourselves. I don't mean any disrespect but devoting your livelihood on a technology with a single provider is probably not the smartest move you've made. No offense taken and what you say at face value is true. However, that was a past lifetime -- how smart were you 20 years ago? And I didn't really devote MY livelihood to one technology nor industry for that matter -- never have. That's the reason why I have several businesses going concurrently. I just wished one of them would hit the log-ball so I could retire and program for a hobby. --- It's not nice for Microsoft to have pulled support for it but they're a business and they made that decision because they didn't see a profitable future there, they weren't out to screw you. Of course they were not out to screw me, but even if they were, that's not relevant. I think the important point here is that if you create a development product which requires others to have faith in you, then you also inherent a responsibility to those who have invested their time into helping you secure your product. Software development is a symbiotic relationship. If you want to pull the plug and cut that relationship, that's your choice. But that action comes with a cost. From my perspective, M$ is just reaping what it sowed. Besides, grant me my windmills to tilt. --- Imagine if PHP suddenly stopped development and you had to find a different language (i.e., ruby). Sure we could all do it, but we picked this language for a reason and now we have to choose again -- and perhaps that choice was our second choice. I don't like being forced to settle for my second choice. Speaking only for myself I would have no problem with it at all, for a few reasons... I've been there before and survived -- like you, I have numerous languages under my belt -- in fact they all look the same to me now. So, that wouldn't be a big problem, just an annoying one. --- Now, should have M$ continued to support a product that wasn't making sufficient money for them? I dunno, but I don't care either -- they screwed with my life and I'll spend the rest of it calling M$, M$. That's your choice, but don't take offence when I say that's changed my opinion of you somewhat. No offense taken, but if your opinion of me has changed over that, be advised I've done far worse than name calling. I realize that you take the high-road on things like this -- I respect that -- that used to be my practice as well. It's very predicable from a business perspective. But times change and I kind of like telling people what I really think -- somewhat like the member of the family who no longer cares if he farts in public -- if you get the drift. --- Similarly, I had a run-in with American Express over 30 years ago and even to this day I return all their sales promotion in their self-addressed no-postage envelope they provide. Over the years, I suspect they have paid postage for over 100 pounds of profitless correspondence and the time for their staff to examine it. You're not alone in doing this, but how much a dent do you really think you've made in their profits? It's like spam, if it wasn't worth doing they wouldn't do it. Your efforts would be better spent trying to get your address blacklisted... or learning Scala! Well... that was the idea, to get blacklisted. Just about every thing I sent back had my address on it and included a message which basically said This what I think of your service and you just paid the postage for me to say it. Now take me off your list! But, it hasn't happened yet. How much has it cost them? I could estimate, but I'm sure the total amount wouldn't be substantial. However, if everyone did what I do, then spam mail would halt pretty quick. Companies don't like spending more than they take in on anything. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] SQL outer join problem
have a very simple script which connects to a database, execute a query then displays the result. This script uses odbc_connect and functions. There are two identical Apache web servers and one MS SQL database server. When the script is ran on web server #1, all the results are returned correctly. Ran on server #2, however, some entries are missing. Same script, different result.. I am using left outer join in the SQL query and the missing items are the ones that should be canceled out from this join. I directly ran the query on the database and made sure it is not causing and problems. I checked the odbc setting on php.ini and odbc.ini on both servers. No difference. No permission problems either as I am logging in as the same user... Any ideas???
[PHP] Re: __toString friends
Nathan Rixham wrote: concurred; I recently made a class that turn's all objects into XML; and implented it in my __toString()'s :) In that case rather than __toBool() __toInt() etc. it should really support a magic __cast() method or similar. This method would contain a single argument that represents the type (e.g. a class name or a builtin type function __cast($type) { switch ($type) { case 'string': return 'Foo'; case 'array': return array('Foo'); case 'DomDocument': // etc. } } And if you did: $foo = new MyClass; $xml = (DomDocument)$foo; It would return the result of __cast called with $type == 'DomDocument'. That would be nice and generic. I could see that being quite useful (tho' arguably, itmplementing a cast() method is not that hard: $xml = $foo-cast('DomDocument'); It's not as neat tho' :) col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mandriva Linux Contributor [http://www.mandriva.com/] PulseAudio Hacker [http://www.pulseaudio.org/] Trac Hacker [http://trac.edgewall.org/] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2
On Tue, 2008-09-16 at 18:54 -0400, tedd wrote: I realize that you take the high-road on things like this -- I respect that -- that used to be my practice as well. It's very predicable from a business perspective. But times change and I kind of like telling people what I really think -- somewhat like the member of the family who no longer cares if he farts in public -- if you get the drift. Mother of Mercy... it's drifitng over here!! LIGHT A MATCH! :B Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Error Reporting
I am trying to turn on errors in the browser, but for some reason they are being suppressed. In php.ini I have display_errors = On and error_reporting = E_STRICT What else could be suppressing errors? السلام عليكم - Naz. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Error Reporting
E_STRICT only shows one type of error. If you want everything than you need to set E_ALL | E_STRICT http://usphp.com/manual/en/errorfunc.constants.php#errorfunc.constants.errorlevels.e-strict Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com Naz wrote: I am trying to turn on errors in the browser, but for some reason they are being suppressed. In php.ini I have display_errors = On and error_reporting = E_STRICT What else could be suppressing errors? السلام عليكم - Naz. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] SQL outer join problem
Compare phpinfo() on both servers. Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com Liz Kim wrote: have a very simple script which connects to a database, execute a query then displays the result. This script uses odbc_connect and functions. There are two identical Apache web servers and one MS SQL database server. When the script is ran on web server #1, all the results are returned correctly. Ran on server #2, however, some entries are missing. Same script, different result.. I am using left outer join in the SQL query and the missing items are the ones that should be canceled out from this join. I directly ran the query on the database and made sure it is not causing and problems. I checked the odbc setting on php.ini and odbc.ini on both servers. No difference. No permission problems either as I am logging in as the same user... Any ideas??? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2
At 8:11 PM +0100 9/16/08, Ashley Sheridan wrote: Would it be totally off topic if everyone were to say what their favourite OS was and why? I'm just a little curious as to what OS's people use in this field. Obviously, mine is Mac and OSX 10.4.11. My next one will be whatever is the top of the line Apple has at the time I have to money for it. Why? Long story -- I won't go into my pre-Apple days building various computers, but I started my relationship with Apple in 1977 when I bought a mail order a 16k integer Apple ][. I wrote a lot of software for the critter as it evolved over the years. I bought my first Mac in 1984, and have continued with Mac's ever since. My current system provides me with everything I want better than any development system I have had before -- and I've had many. I don't want to change to something else, because this works great for me and until I'm faced with something I can't do, then I'll continue the current course. But another consideration -- I watched the micro-computer industry change from kids in a garage wanting to show the world what they can do -- to the world's largest corporations maximizing profits. Sure the kids in a garage have matured and care about profits like any other business, but they still seem to want to show people what they can do rather than maximizing profits. There appears to be a difference, at least to me. So, partly what I have chosen is not only based upon on how stable the platform is, and what it can do for me, but what I perceive the parent company to be. Call it naive if you want, maybe I'm just a treckie who doesn't know any better, or some washed up has-been -- but -- I've done some amazing things in programming efforts by simply not knowing better and relying on Apple to do their part. Thus far, they haven't let me down -- at least from a product point of view. With respect to management, advertising, and establishing their product as their product should be, they suck! How someone can lose the market share to a problem prone second rate product is beyond me -- but, that's another topic. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2
On Tue, 16 Sep 2008 20:11:22 +0100, Ashley Sheridan wrote: Would it be totally off topic if everyone were to say what their favourite OS was and why? I'm just a little curious as to what OS's people use in this field. Likely yes, but: Fedora 9 works nicely for me and SWMBO. Essentially though, any Linux with a decent desktop manager would do. I just wish I could find a Linux-native data modelling tool I liked, then I could ditch WinXP for all except testing in IE! :) (actually, not quite true; some customers manage to create incredible concoctions in Microsoft Word that just don't come across right in any Linux word processor, so I still need to open up Microsoft Word occasionally) -- Ross McKay, Toronto, NSW Australia Let the laddie play wi the knife - he'll learn - The Wee Book of Calvin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: Re[2]: [PHP] check if a file is included
On Tue, Sep 16, 2008 at 3:09 AM, ANR Daemon [EMAIL PROTECTED] wrote: Greetings, Jochem Maas. In reply to Your message dated Tuesday, September 16, 2008, 3:38:44, ANR Daemon schreef: Greetings, Jochem Maas. In reply to Your message dated Friday, September 12, 2008, 17:05:58, I like my 'schreef' better. Why you talking to my template? It has strict order to not speak with unknown people. actually $_SERVER[script_name] is probably better if not being used from a webserver. you didn't mention wanting to use the cmdline. untested code follows: ?php function indirectCall($s) { if (php_sapi_name() == 'cli') { return strstr($s, $argv[0]) !== false; } else { return strstr($s, $_SERVER[REQUEST_URI]) !== false; } } Actually, it must be (Windows-proof): a, why must it be windows proof, nobody asked for that? It must work similarly on every platform it can be executed. b, does this take into account that $_SERVER['SCRIPT_FILENAME'] is not available of some versions of IIS? I was unaware of this issue. Is it PHP-specific? c, you'd think __FILE__ and $_SERVER['SCRIPT_FILENAME'] used consistent slashes on a given system, no? (I doubt you need to do the funky translation. Apache/W32 2.2, PHP/W32 5.2.6 __FILE__ has backspashes, $_SERVER['SCRIPT_FILENAME'] has forward slashes. d, there is no account take for symlinks, if you really want to be pedantic: realpath(__FILE__) != realpath(getenv('PATH_TRANSLATED')) RTFM anyone? cgi.fix_pathinfo boolean Provides real PATH_INFO/PATH_TRANSLATED support for CGI. PHP's previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting this to 1 will cause PHP CGI to fix it's paths to conform to the spec. A setting of zero causes PHP to behave as before. Default is zero. You should fix your scripts to use SCRIPT_FILENAME rather than PATH_TRANSLATED. PATH_TRANSLATED isn't available under apache2 (and 2.2) SAPI. But in contrast to issue you mentioned above, this behaviour is well-documented. e. the OP wanted it to work on the cmdline as well (sounds silly to me but there you have it) It works on cmdline flawlessly. Tested on both local and network locations as well as from web server, with any possible mix of slashes. but really this is all madness. put the file outside the webroot That's what i'm typically doing. Only one PHP file that available from webserver root is the index.php. -- Sincerely Yours, ANR Daemon [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Hi all, I don't know who know phpbb, but i like it's approach to this problem... simple set a constant in the scripts you should access and use defined function for check it on includes... like: index.php define( 'IN_MY_APP', 1 ); include1.php if ( !defined( 'IN_MY_APP' )) { **header( 'HTTP/1.1 404 Not Found' ); header( 'Location: /' ); } -- Thanks, Diogo Neves Web Developer @ SAPO.pt by PrimeIT.pt
Re: [PHP] textarea html generation problem
Thanks to all for your responses. I ended up using htmlentities. Thanks Stephen. Also, the reason I didn't use a premade editor is that I am planning on selling a web-editor system and don't want any troubles with licenses. quote Hi all! I am trying to make a PHP HTML editor. I have made the entire editor function, but it has a big problem. If the page contains a /textarea tag, it ends the editor's textarea and the browser starts rendering the HTML. How do I go about preventing this from happening? Thanks a lot! --Zootboy /quote
[PHP] MySQL Workbench coming for Linux
Posting this here, because a few people responded when I mentioned not having a Linux-native data modelling tool. Apparently, MySQL Workbench should be alpha-ready by end of the month... http://dev.mysql.com/workbench/?p=138 Maybe I can ditch Visio one day soon... :) -- Ross McKay, Toronto, NSW Australia Hope is the dream o a foolish man - The Wee Book of Calvin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: header
Robert Cummings schreef: On Tue, 2008-09-16 at 21:18 +0100, Nathan Rixham wrote: Jim Lucas wrote: Robert Cummings wrote: On Tue, 2008-09-16 at 18:13 +0100, Nathan Rixham wrote: I also meant: define('PUBLIC_BASE_HREF' , 'http://php.net/') head base href=?php echo PUBLIC_BASE_HREF; ? / /head and further thinking there has to be an easier / cleaner way of getting http://; / https://; in php.. What's wrong with $_SERVER['HTTPS'] ? Cheers, Rob. my way ?php function get_http_protocol() { $proto = 'http'; if ( isset($_SERVER['HTTPS']) strtolower($_SERVER['HTTPS']) !== 'off' ) { $proto .= 's'; } return $proto . '://'; # Adding the :// is optionial } echo get_http_protocol(); ? That is about as simple as you can get. lol this one's got my brain going; here's mine: ?php function get_http_protocol() { return 'http' . ($_SERVER['SERVER_PORT'] == 443 ? 's' : '') . '://'; } echo get_http_protocol(); ? Just because 443 is the default HTTPS port, doesn't mean HTTPS is being served over 443, nor does it mean HTTPS isn't also being served over another port. This is less effective than using $_SERVER['HTTPS']. although I hazard to offer the following as more complete: function get_http_protocol() { $proto = 'http'; if (isset($_SERVER['HTTPS']) $_SERVER['HTTPS'] strtolower($_SERVER['HTTPS']) !== 'off') { $proto .= 's'; } return $proto . '://'; # Adding the :// is optionial } because if $_SERVER['HTTPS'] happens to be false (which I don't think it ever should be) it would cause the return value to be 'https://' which I don't think would be correct in that case (even thought the case is theoretical and likely to indicate an engine problem if it did occur) Cheers, Rob. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] MySQL Workbench coming for Linux
Ross McKay schreef: Posting this here, because a few people responded when I mentioned not having a Linux-native data modelling tool. Apparently, MySQL Workbench should be alpha-ready by end of the month... http://dev.mysql.com/workbench/?p=138 no news of MacOSX, what's the chance this will build on that? Maybe I can ditch Visio one day soon... :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Large/unreliable file uploading over HTTP
Wouldn't you know - the latest Google Gears has the capability to upload files - I haven't delved deeper to understand how it works on the server end of it, but it allows for a standard file upload box and has capabilities built in for progress bars, etc. The blob interface allows you to use a slice of the file too. Sounds to me like it can split files up? I'm trying to hack up my first run of a Google Gears app right now, but it looks like it will be a little bit more time consuming than I thought. Using this page for reference: http://www.youtube.com/my_videos_multiupload -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php