[PHP] PHP Frameworks
First time caller; long time listener.. I have been looking at various PHP MVC frameworks; Limb3, Symphony, Mojavi, Navigator, WACT, etc. I'm looking for any input anyone might have regarding which framework seems to be the most promising? Thanks, Marc
RE: [PHP] Re: Setting Up A Web Subscription Service
I use WHMCS; not open source yet customizable, reliable with a lot of great features. http://www.whmcs.com/ -Original Message- From: Nathan Rixham [mailto:nrix...@gmail.com] Sent: Monday, March 09, 2009 9:29 PM To: revDAVE Cc: php-general@lists.php.net Subject: [PHP] Re: Setting Up A Web Subscription Service revDAVE wrote: > Rather than reinventing the wheel & trying to set up a Web Subscription > Service from scratch - I imagine there must be a good selection of Web > Subscription Services, pre-made and maybe even open source apps (php/MySql > ?) out there already. I'm not quite sure where to start looking however > > The basic need is to manage : > > - have customers sign up and get charged periodically - most likely monthly > - yearly etc. > > - allow active members access to varied content pages. > amember is pretty much the standard AFAIK -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ Information from ESET Smart Security, version of virus signature database 3922 (20090309) __ The message was checked by ESET Smart Security. http://www.eset.com __ Information from ESET Smart Security, version of virus signature database 3922 (20090309) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Workflow app for software
So, how many infinite subsets are created when two membranes collide? -Original Message- From: George Larson [mailto:george.g.lar...@gmail.com] Sent: Wednesday, April 01, 2009 3:08 PM To: Robert Cummings Cc: bruce; haliphax; php-general@lists.php.net Subject: Re: [PHP] Workflow app for software Please quit side-posting. Thanks. On Wed, Apr 1, 2009 at 2:58 PM, Robert Cummings wrote: > I for one don't find you very | On Wed, 2009-04-01 at 11:46 -0700, > funny Bruce. It's common knowledge | bruce wrote: so haliphax... > that it's very difficult to follow | > > side posts. If not already, then | > since you seem to be the primary > they should certainly be | > person with this issue.. at > dictatorily banned from being used.| > least for now... i'll ahead and >| > nominate you to the guy in > Cheers,| > charge of making sure posters > Rob. | > follow the written rule to not >| > top/down/side/left/right post... > | > > | > have fun!!! > | > > | > > | > > | > -Original Message- From: > | > haliphax > | > [mailto:halip...@gmail.com] > | > Sent: Wednesday, April 01, 2009 > | > 11:42 AM To: > | > php-general@lists.php.net > | > Subject: Re: [PHP] Workflow app > | > for software > | > > | > > | > On Wed, Apr 1, 2009 at 1:38 PM, > | > Robert Cummings > | > wrote: > | > > On Wed, 2009-04-01 at 13:30 > | > >> -0500, haliphax wrote: On > | > >> Wed, Apr 1, 2009 at 11:53 > | > >> > AM, bruce > | > >> > > | > >> > wrote: and haliphax... > | > >> > > | > >> > i specifically sent the > | > >> > reply to only you.. you > | > >> > then felt the need to reply > | > >> > to the list as a whole > | > >> > > | > >> > hmm.. ok.. this thread is > | > >> > officially dead!! > | > >> > > | > >> > unless of course it gets > | > >> > back to the initial > | > >> > question... > | > >> > > | > >> > peace!! > | > >> > > | > >> > > | > >> >> > -Original > | > >> >> > Message- From: > | > >> >> > haliphax >| > >> >> > Sent: Wednesday, April > | > >> >> > 01, 2009 5:38 AM To: > | > >> >> > php-general@lists.php.net > | > >> >> > Subject: Re: [PHP] > | > >> >> > Workflow app for > | > >> >> > software > | > >> > | > >> --8<-- > | > >> > | > >> >> Again, please do not > | > >> >> top-post. It is the > | > >> >> agreed-upon procedure in > | > >> >> this list to bottom-post > | > >> >> when replying to threads. > | > >> >> (I am not just going > | > >> >> "renegade thread-Nazi" on > | > >> >> you.) > | > >> > > | > >> > Could you show me the > | > >> > signed agreement list. > | > >> > While it's convention on > | > >> > this list, it's certainly > | > >> > not
RE: [PHP] CSS & tables
Um... sorry to jump in as a late arrival yet there you go What limitations? You could provide a layered layout using CSS and png graphic format. As for setting up columns check out float and clear and you're all set. TABLE, TR, TD, TBODY, etc were never intended to be used in the manner we see today. If you are blind and you hit a site with a mess of nested tables then.. well you might leave because of the garbage you have to listen to when the page loads. Speaking of which, correct me if I am wrong and my info is out of date but TABLEs are loaded one at a time by browsers and cause longer load times than necessary. All in CSS is the way to go. CSS3 will make our lives easier and will contain so many new features that it will be released in batches (modules) Sorry, I just couldn't read that statement about CSS being limited without speaking up. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ Information from ESET Smart Security, version of virus signature database 4080 (20090515) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] CSS & tables
-Original Message- From: Paul M Foster [mailto:pa...@quillandmouse.com] Sent: Sunday, May 17, 2009 5:44 PM To: php-general@lists.php.net Subject: Re: [PHP] CSS & tables On Sun, May 17, 2009 at 08:40:33PM +0100, Nathan Rixham wrote: > tedd wrote: >> At 11:28 PM +0100 5/15/09, Nathan Rixham wrote: >>> tedd wrote: However, there are occasions such as in a calendar where not using a table would be more than difficult. I haven't received a decree yet as to IF that would be considered column data or not. >>> >>> I'm gonna differ on this one, when you simply float each calender item >>> to the left you're pretty much done, in many cases i find it easier >>> than tables. >> >> Okay -- so you find them easier to use for this purpose. >> >> This is my little php calendar (not all the code is mine): >> >> http://php1.net/my-php-calendar/ >> >> and I use tables. >> >> I would not want to redo this script using pure css, but I probably will >> do it at some point. We all have investments into our code. >> >> Do you have a css calendar to show? >> > > hi tedd, > > didn't have one to hand so quickly knocked up a basic one here: > http://programphp.com/Calendar/ > > all sizes etc are in em so it'll fully resize - you'll see in the source > anyways - all css. > > have to say it's not great but it's just a quick demo to show it's more > than possible. Seems that CSS calendar script is only working in IE8 and the latest Firefox (didn't check it on earlier versions of FF) everything else showed layout issues. Not bad for a "quick throw together" though. As far as Semantics et al. The next 2 years the web will be shifting into newer directions, become much more robust and "intelligent". Obviously it isn't a true intelligence yet. Things like Wolfram Alpha are still to be seen. I hear a lot of hype regarding this new Google killer yet until I see it... Web 3.0 (or the true 2.0 depending on who you ask) will change how many of use view and develop for the WWW. I hope there are some serious back room discussions on the laws of robotics. :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ Information from ESET Smart Security, version of virus signature database 4081 (20090517) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] CSS & tables
All in the head... 8000+ lines of code in the head of this page; mostly CSS Academia.edu -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Accepting Credit Card Payments
-Original Message- From: Gary [mailto:gwp...@ptd.net] Sent: Wednesday, May 20, 2009 8:48 AM To: php-general@lists.php.net Subject: [PHP] Accepting Credit Card Payments Sorry, the first post were put in the wrong place... Not sure this is a direct PHP question, however I know I will get some answers here. I have a customer that I am bidding a small project for. They want to be able to accept credit card payments for enrollment into a class. Their customer will fill out a form and pay via CC on the site. Is this something that I should just look to the host for whatever shopping cart they have or is there an easy to administer software package that I should look into. Or since it is a one item cart, is this something that I could code? Thanks for your help. Gary Your choices in the US are either use a service like PayPal or to call around and find a merchant service that will approve an account for this activity. The second requires transaction records for the past x years or possibly they may ask for your tax returns for the same period. They also will want to know what your average monthly sales are using CC's and how many charge backs you have. Charge backs are bad. The second MAY be had through the clients bank and they should start there. Since this is a virtual product, nothing tangible is being sold, it is considered high risk and this will limit the companies you can get a merchant account from. The first requires the client to register with PayPal and to go through their verification process. PayPal bought Verisign's PayFlow Pro years ago and as such now offers a more professional option than just the old standard. If the client doesn't have a huge revenue stream yet then PayPal may be their best bet to get started. Once you have settled on the merchant account you then need to determine if you need an SSL, normally if you are applying for a "regular" merchant account they will want to see an active SSL on the site they are approving the account for BEFORE they approve you. Lastly, even though I find PCI compliance to be just this side of worthless, you still should look into it and do your best to make sure the site will at least pass the test. Let me clarify my negative statement by saying that everything that is required in the PCI compliance and DSS I was already doing as a matter of what I considered to be common sense. Marc Hall -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ Information from ESET Smart Security, version of virus signature database 4089 (20090519) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Accepting Credit Card Payments
-Original Message- From: tedd [mailto:tedd.sperl...@gmail.com] Sent: Wednesday, May 20, 2009 9:28 AM To: Gary; php-general@lists.php.net Subject: Re: [PHP] Accepting Credit Card Payments At 8:48 AM -0400 5/20/09, Gary wrote: >Sorry, the first post were put in the wrong place... > >Not sure this is a direct PHP question, however I know I will get some >answers here. I have a customer that I am bidding a small project for. >They want to be able to accept credit card payments for enrollment into a >class. Their customer will fill out a form and pay via CC on the site. Is >this something that I should just look to the host for whatever shopping >cart they have or is there an easy to administer software package that I >should look into. Or since it is a one item cart, is this something that I >could code? > >Thanks for your help. > >Gary Gary: Are they wanting to collect the credit card information and then process that data in their shop OR are do they want the complete transaction to be completed online? In both cases you should have your script(s) work in the https directory. If they want to process the cc information themselves in their shop, then that information has to be provided to them in some secure fashion. If they want to use email, then that's a problem because email is not secure. You will have to work out a way for them to log on to a secure area and review the cc information themselves -- this is a clumsy way to do things. The more acceptable approach is to use a credit card clearing company like PayPal.com. They have different types of merchant accounts which offer different types of processing and features and fees. Go to PayPal.com and check it out. Basically there are two types of collection systems. [1] One where you direct the user to PayPal with the item(s) they want to purchase and then PayPal does everything (i.e., collects the cc information and approves the transaction -- the simplest); [2] Two, where you collect all the information and then contact PayPal for authorization (the more complex). While [1] is simpler [2] allows you to have full control over the user -- IOW, they never leave your site. In both cases, after the user has been approved, you are notified of the purchase, you are are credited with the purchase AND the user is [1] or [2] should be directed to a "Thank you" page. While customers like to say "This is a small project" it really isn't and does come with an element of liability on your part. For example, if you somehow make user cc information public, then you have big-time problems. That's something you should consider in your bidding. Good luck, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com Amending my previous reply, I have to agree with those that recommend you hand this over to someone that has experience doing this. I oversimplified the process I feel due to the fact that I have done this so many times, I even helped debug a few premade API's, it is second nature to me. Before you decide to dive into this yourself, consider this: you are asking normal folks to trust that you will protect their CC and personal information in you and your client. When they commit to making the payment they trust their info won't be subject to identity theft and/or CC fraud. Also, I know what you mean about getting your servers certified. It is a lengthy process. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ Information from ESET Smart Security, version of virus signature database 4091 (20090520) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] WHY ARE lists.php.ne USER EMAIL BEING PUBLISH ON THE INTERNET
Most likely afraid that his clients will find out he doesn't know what he is doing. -Original Message- From: Per Jessen [mailto:p...@computer.org] Sent: Friday, May 22, 2009 8:22 AM To: php-general@lists.php.net Subject: Re: [PHP] WHY ARE lists.php.ne USER EMAIL BEING PUBLISH ON THE INTERNET Andrew Williams wrote: > WHY IS php-general@lists.php.net PUBLISHING USER EMAIL ON THE > INTERNET: > > http://www.google.co.uk/search?q=sumitphp5%40gmail.com&sourceid=navclient-ff&ie=UTF-8&rlz=1B3GGGL_enGB303GB303&aq=t > Isn't it common knowledge that places such as marc.info carry archives of e.g. php-general? I'm sure the list is also available at gmane.org. Why are you writing in capitals - are you angry? /Per -- Per Jessen, Zürich (18.3°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ Information from ESET Smart Security, version of virus signature database 4096 (20090522) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] WHY ARE lists.php.ne USER EMAIL BEING PUBLISH ON THE INTERNET
Full disclosure: Marc Christopher Hall 1824 Windsor Park Lane Havertown, PA 19083 610.446.3346 Owner of HallMarc Websites since 2002 I was only making an observation based on a previous statement by the poster regarding their wishes of not being found out by the client that they were coming here for help. Thank you for asking! From: help [mailto:izod...@gmail.com] Sent: Friday, May 22, 2009 8:50 AM To: HallMarc Websites Cc: php-general@lists.php.net Subject: [SPAM] Re: [PHP] WHY ARE lists.php.ne USER EMAIL BEING PUBLISH ON THE INTERNET HallMarc, why are you not using your name? How many client do you have on your website? On Fri, May 22, 2009 at 1:32 PM, HallMarc Websites wrote: Most likely afraid that his clients will find out he doesn't know what he is doing. -Original Message- From: Per Jessen [mailto:p...@computer.org] Sent: Friday, May 22, 2009 8:22 AM To: php-general@lists.php.net Subject: Re: [PHP] WHY ARE lists.php.ne <http://lists.php.ne/> USER EMAIL BEING PUBLISH ON THE INTERNET Andrew Williams wrote: > WHY IS php-general@lists.php.net PUBLISHING USER EMAIL ON THE > INTERNET: > > http://www.google.co.uk/search?q=sumitphp5%40gmail.com <http://www.google.co.uk/search?q=sumitphp5%40gmail.com&sourceid=navclient-f f&ie=UTF-8&rlz=1B3GGGL_enGB303GB303&aq=t> &sourceid=navclient-ff&ie=UTF-8&rlz=1B3GGGL_enGB303GB303&aq=t > Isn't it common knowledge that places such as marc.info <http://marc.info/> carry archives of e.g. php-general? I'm sure the list is also available at gmane.org <http://gmane.org/> . Why are you writing in capitals - are you angry? /Per -- Per Jessen, Zürich (18.3°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ Information from ESET Smart Security, version of virus signature database 4096 (20090522) __ The message was checked by ESET Smart Security. http://www.eset.com <http://www.eset.com/> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Best Wishes A Williams
RE: [PHP] Any conflict with $_POST when 2 users concurrently submitting the same form using POST method?
-Original Message- From: Craige Leeder [mailto:clee...@gmail.com] Sent: Tuesday, June 09, 2009 11:54 AM To: Keith; PHP-General List Subject: Re: [PHP] Any conflict with $_POST when 2 users concurrently submitting the same form using POST method? While yes $_POST is a supergloabal, even a superglobal has it's own scope. The scope of $_POST is to the call of the user to the web server. Therefor, no User A's information will not be overwritten by User B's information. Hope this helps. Let me know if you want any further clarification. This was just a very simplified answer. Keith wrote: > Let's say user A and user B submitting purchase order form with > "order.php" at the same time, with method=post action='confirmation.php'. > > (1) Will $_POST['order'] submitted by user A replaced by > $_POST['order'] submitted by user B, and the both user A & B getting > the same order, which is made by user B? Why? > > (2)Since $_POST['xxx'] is superglobal array, will $_POST['order'] > read by users other than A & B? In shared hosting server environment, > are all domains hosted within that server using the same $_POST array? > Can $_POST array accessible by all domains even if not from the > originating domain? > > Thx for clarification! > > Keith > Wow what a major security risk and headache this would be -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ Information from ESET Smart Security, version of virus signature database 4141 (20090609) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Preventing XSS Attacks
> -Original Message- > From: tedd [mailto:tedd.sperl...@gmail.com] > Sent: Thursday, June 11, 2009 9:28 AM > To: PHP-General List > Subject: Re: [PHP] Preventing XSS Attacks > > At 7:08 PM +0100 6/10/09, Ashley Sheridan wrote: > > > >So something like this would be acceptable?: > > > >$searchTerms = (isset($_REQUEST['q']))?$_REQUEST['q']:''; > >$searchTerms = htmlentities($searchTerms); > >$dbSearchTerms = mysql_real_escape_string($searchTerms); > > > >Giving me two variables, one for display output to user, the other for > >use in the database? > > > >Thanks > >Ash > > Ash: > > I wouldn't use $_REQUEST. If you know the request method then use it. > > There can be problems using $_REQUEST. > > Cheers, > > tedd > > -- > --- > http://sperling.com http://ancientstones.com http://earthstones.com > I agree with tedd whole heartedly and I want to repeat the importance of protecting the data coming back from the db as well by using safeEscapeString in your queries and again the reason for this is to prevent malicious code from being executed. As far as CSRF/XSRF take a read here http://shiflett.org/articles/cross-site-request-forgeries [Marc Hall - HallMarc Websites - http://www.hallmarcwebsites.com 610.446.3346] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: sloppiness & stupidity
> -Original Message- > From: Shawn McKenzie [mailto:nos...@mckenzies.net] > Sent: Tuesday, June 16, 2009 9:11 PM > To: php-general@lists.php.net > Subject: [PHP] Re: sloppiness & stupidity > > PJ wrote: > > I'm sorry, guys, but I am really getting po'd. > > The irresponsible sloppiness and stupidity is just getting to me. > > In my quest for a way to populate a multiple option select box I have > > run across so many errors that it's beyond belief... such nonsense as > > "select for select or select="select" ( think this is right, but then > > who knows?) > > I know. So does the HTML recommendation which states that it is a > boolean attribute, meaning it is stated (on/boolean 1) or it isn't > (off/boolean 0) in the HTML context. So while other variations may > work, this is correct: > > For multiple select: > > > --or-- > > For single select: > > > > & other variations; then theres in_array() that has > > explanations about as clear as a cesspool - the way it's explained is > > not at all clear, -- and somebody did an in_array($tring, "text") - > > which is reversed... don't these idiots read what they are putting up > on > > the internet? > > And some of you wonder why I ask stupid questions? Rare, indeed, is > the > > clear explanation or demonstration. I get the impression that there > are > > a lot of asholeys out there who learn the less than basic programming > > and then forget that even a ignoramus as I can be looking for rather > > complicated guidance. The Internet was a great promise, but god is is > > overbloated with floating intellectual excrement. > > Sorry, but ranting sometimes is good for the psyche. >:o > > > > Rather than copying and pasting from the Internet, learn the basics of > what you are doing and then use the documentation. php.net has GREAT > docs and w3c.org is the answer for all of your HTML/CSS needs. > > -- > Thanks! > -Shawn > http://www.spidean.com > Wow. Leave the list for a few days and miss all the excitement. There are also a lot of good books out there to learn from. Taking a few classes and actually earning a degree wouldn't kill you either. [Marc Hall - HallMarc Websites - http://www.hallmarcwebsites.com 610.446.3346] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] I've some doubts if I should go with 5.2 or go already with 5.3 (for a course)
> -Original Message- > From: paras...@gmail.com [mailto:paras...@gmail.com] On Behalf Of > Daniel Brown > Sent: Wednesday, June 24, 2009 1:34 PM > To: Robert Cummings > Cc: Per Jessen; php-general@lists.php.net > Subject: Re: [PHP] I've some doubts if I should go with 5.2 or go > already with 5.3 (for a course) > > On Wed, Jun 24, 2009 at 13:24, Robert Cummings > wrote: > > > > I prefer "proceed with caution" :) > > Robjects in mirror are closer than they appear? > > -- > > daniel.br...@parasane.net || danbr...@php.net > http://www.parasane.net/ || http://www.pilotpig.net/ > 50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > __ Information from ESET Smart Security, version of virus > signature database 4185 (20090624) __ > > The message was checked by ESET Smart Security. > > http://www.eset.com > [Marc Hall - HallMarc Websites - http://www.hallmarcwebsites.com 610.446.3346] Nice one. :o) Now, for my two centavos: I think anyone needs to base any decision regarding security measures within the context of the current project and what it is you are trying to protect. It seems to go without saying that you should also be aware of your host environment and any limitations, etc that may arise. Fort Knox has the security that it does because of what it is contracted to protect while the banks have their own pared down version of security based on what they are protecting. As far as which version of PHP to include in your curriculum, I suggest staying with 5.2 for now and add in information about 5.3 and the changes we expect to see and what they mean to all concerned. As I once saw in someone elses sig line "Invoice for $0.02 will be sent post-haste." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Does php have multithread, shared object(like jsp application)
No, it doesn't at this time. Have you looked into Quercus? > -Original Message- > From: Eddie Drapkin [mailto:oorza...@gmail.com] > Sent: Thursday, June 25, 2009 11:42 PM > To: WenDong Zhang > Cc: php-general@lists.php.net > Subject: Re: [PHP] Does php have multithread, shared object(like jsp > application) > > PHP doesn't support threading. > > On Thu, Jun 25, 2009 at 10:59 PM, WenDong Zhang > wrote: > > Hi guys: > > > > Now days I want to develop a web application like a chat room. the > requests > > per seconds maybe very large, so I want to save some common info into > to > > memory (quick access). > > > > So, I want to know does php have the follow features or implement > them in > > other ways. > > 1. server scope objects, mostly like application in jsp. // the most > > important~ > > 2. multithread synchronize. > > 3. I want to start a thread timed execute, like Timer in java > > > > thanks > > -- > > Best Regards! > > Wen Dong > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > __ Information from ESET Smart Security, version of virus > signature database 4190 (20090626) __ > > The message was checked by ESET Smart Security. > > http://www.eset.com > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Obeying the rules (was Simple login form with cookies)
> -Original Message- > From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] > Sent: Thursday, July 09, 2009 2:07 PM > To: Tony Marston > Cc: php-general@lists.php.net > Subject: Re: [PHP] Obeying the rules (was Simple login form with > cookies) > > On Thu, 2009-07-09 at 16:57 +0100, Tony Marston wrote: > > It's stupid because there is no valid reason as to why top posting is > > *bad*. > > It has existed on the internet ever since there was an internet, so > > for > > someone to stand up and say "I don't like this, so I'll make a rule > > agains > > it" it just arrogance on their part. > > Tony, I believe I (among others) mentioned a perfectly valid reason for > *not* top-posting. > > In-case you forgot, I'll go through it again: > > This mailing list is ingested (afaik) in three main ways by people: > > 1. One email per message made to the list > 2. Daily email digests > 3. Web-based list archives > > Now, it might not make too much difference where the posts are if you > are reading the list by the first means. Yeah, it's annoying seeing > emails that are a mix of top and bottom-posting, but it can be dealt > with. > > The second way of reading through the list groups together bunches of > the messages, which is difficult to read if the posting is a mix of top > and bottom. > > The web-based content is even more difficult to follow if the posting > types mix. > > This list has always used bottom-posting as a convention, because if > everyone sticks to it, the whole thing is made easier to read by both > members and guests reading the list in their browsers. > > Someone earlier in the thread mentioned escalators. The convention in > the UK is to stand on the right, and walk on the left. It's different > in > the US. Would you try and have an argument with someone on an escalator > because s/he thought you were on the wrong side because you're used to > using a particular side and can't be bothered to go by their > conventions? More and more as you post I find this is actually a likely > scenario, but I'm willing to accept you might not. The thing is, both > these things are general conventions, put in place to benefit others, > which hardly put you out of your way (as I mentioned yesterday, it can > be done in 1-2 seconds) > > Please can you not just keep to the convention used on this list? The > list is not here solely for your benefit, but that of others too. > People > often come here knowing little of PHP, and making their lives more > difficult by having threads that follow no logical convention is just > rude and inconsiderate. > > Thanks > Ash > www.ashleysheridan.co.uk > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > __ Information from ESET Smart Security, version of virus > signature database 4229 (20090709) __ > > The message was checked by ESET Smart Security. > > http://www.eset.com > Having just come in to the particular thread, I actually have work that keeps me away from here, I'm wondering why this is worth the energy and time I have seen wasted on this subject. Seems to me everyone needs to take a deep breath and a step back. As far as anyone going against convention, seems to me that people who think outside the box, go against convention, break the rules, whatever are the ones who keep life interesting and occasionally help us find something new. I would hate to live in a real life "Stepford Wives" existence. [Marc Hall - HallMarc Websites - http://www.hallmarcwebsites.com 610.446.3346] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Obeying the rules (was Simple login form with cookies)
> -Original Message- > From: tedd [mailto:tedd.sperl...@gmail.com] > Sent: Thursday, July 09, 2009 4:55 PM > To: php-general@lists.php.net; a...@ashleysheridan.co.uk > Subject: Re: [PHP] Obeying the rules (was Simple login form with > cookies) > > At 9:03 PM +0100 7/9/09, Ashley Sheridan wrote: > >Also, I'd hardly call anyone here a jumped-up pipsqueak just because > we aren't > >too old to go by new rules. The only reason I'm bringing your age into > this > >is because you keep mentioning your last "30 years" online on mailing > lists. > >There are older members than you on the list, and yet they find no > problem > >following the rules that make this list easy for everyone to use. > > > >-- > >Thanks, > >Ash > > > So someone played the age card and that woke me up... > > Let's see -- the last 30 years on mailing lists? > > Okay I remember the last 30 years, I had here just a second ago. > > Ahhh, there they are -- 30 years would have taken it back to 1979, > right? Subtract the nine, carry the one, three from ten -- yep 1979. > > In 1979, I was attending MSU working on my Masters when Magic Johnson > lead the MSU team to the AACP championship, or something of that > nature. Forgive me, I don't follow baseball. I had a classmate ask me > about Magic Johnson and I said that I never saw him preform -- I > thought he was a David Copperfield type. > > In any event, I was using an Apple ][ computer to write my thesis and > that was unheard of at that time. In fact, the staff in the thesis > office actually came out and marvelled at my thesis submission in > original manuscript that did not contain any photocopies or even > white-outs. Mine was the first original manuscript thesis ever > submitted at MSU (or so they told me). So, that was before the common > word processor. > > Now, do I remember email? No not really. As I understand it, email > came about under ARPANET and converted to the Internet in the early > 80's. So unless he has been doing email and participating on > something other than what's known, I would have to say it's a bunch > of bull. > > But what do I know -- I'm just an old fart who tries to follow the > rules. Now back to sleep z. > > Cheers, > > tedd > > -- > --- > http://sperling.com http://ancientstones.com http://earthstones.com > I was whistling and wondering when someone would catch that obvious load of BS. And I'm running out of popcorn! [Marc Hall - HallMarc Websites - http://www.hallmarcwebsites.com 610.446.3346] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] mysterious " f " character appearing. Why??
> -Original Message- > From: Govinda [mailto:govinda.webdnat...@gmail.com] > Sent: Thursday, July 09, 2009 5:51 PM > To: PHP-General List > Subject: [PHP] mysterious " f " character appearing. Why?? > > The atmosphere is weird now so you all may think I am out there. . but > this is a sincere question- > (and not due to dumb oversight of my HTML code) > > I have a mysterious "f" character (Yes, just the letter " f " ) > appearing in my HTML between these two seemingly benign HTMl tags: > My source file literally has only this in it: > ... > > > ... > > > but what i am getting in the browser is this (as seen in firebug): > ... > >f > > ... > > > The really weird thing is that when I view source in firefox (v. > 3.0.11) (mac), I see only this: > ... > > > ... > > > Note that there is no other in the file, so I know I am > looking at the right place. > > I have no reason to think this is a PHP issue other than I have never > seen anything like this and I am not doing anything other than very > simple straightforward HTML and PHP. There is no PHP at that point in > the file.. and no errors or problems where the PHP does lay, but what > could be causing this? > > ??? > > > Govinda > govinda.webdnat...@gmail.com > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > __ Information from ESET Smart Security, version of virus > signature database 4229 (20090709) __ > > The message was checked by ESET Smart Security. > > http://www.eset.com > Can you send me the link please. [Marc Hall - HallMarc Websites - http://www.hallmarcwebsites.com 610.446.3346] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] mysterious " f " character appearing. Why??
> -Original Message- > From: Eric Wood [mailto:e...@interplas.com] > Sent: Thursday, July 09, 2009 9:17 PM > To: php-general@lists.php.net > Subject: Re: [PHP] mysterious " f " character appearing. Why?? > > Govinda wrote: > > > > I have a mysterious "f" character (Yes, just the letter " f " ) > > appearing in my HTML between these two seemingly benign HTMl tags: > > > On same computer, do a view source in other browsers too - IE, Chrome, > Safari etc. F still there? There could be a FireFox addon module > injecting that artifact during code fix-up phase. Run FF in safe mode > and see if it's still there. > > -eric > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > __ Information from ESET Smart Security, version of virus > signature database 4229 (20090709) __ > > The message was checked by ESET Smart Security. > > http://www.eset.com > problem was solved, it was just a simple typo and sometimes all it takes is a fresh pair of eyes. The confusing part comes in when it prints to the screen and your mind looks in that area of the code and finds nothing because it actually somewhere else and because it is outside of a tag the browser applies the appropriate inherited rules, et viola, the character appears in what seems to be a strange place. [Marc Hall - HallMarc Websites - http://www.hallmarcwebsites.com 610.446.3346] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Font problem
> -Original Message- > From: Jim Lucas [mailto:li...@cmsws.com] > Sent: Tuesday, July 28, 2009 11:52 AM > To: Dušan Novaković > Cc: php-general@lists.php.net > Subject: Re: [PHP] Font problem > > Dušan Novaković wrote: > > Hi, > > > > Is there a possibility that if there is no font installed on client > > side somehow browser finds it and redirect that font form server to > > client machine. For example: I have site that use Microsoft font and > > that font is not available on Linux distributions. So when u open > page > > in FF on some Linux u get some default font (because browser doesn't > > recognize that font). I hope that I've managed to explane a problem > > :-) Does anyone has any solution for this problem??? Please it's very > > urgent > > > > Thanks, > > Dusan > > > > It is possible, but you have to use the proper type of font file. > > It is usually referred to as "Font Embedding" or "Embedding Fonts" > using CSS > > here are a few pages that show examples of how to do this with CSS > > http://www.alistapart.com/articles/cssatten > http://www.webdeveloper.com/forum/archive/index.php/t-37552.html > http://home.tiscali.nl/developerscorner/fdc-varia/font-embedding.htm > http://www.cameraontheroad.com/index.php?p=524 > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > __ Information from ESET Smart Security, version of virus > signature database 4285 (20090728) __ > > The message was checked by ESET Smart Security. > > http://www.eset.com > Jim has listed some nice alternatives, however, they are limited in their scope. I will point you to a solution called Cufon. This by far the best I have found to date (IMHO). This is a JavaScript solution. It will render ANY ttf or rtf font. The common issue you run into is the legal issue. Most of the fonts we want to use need to be purchased by the end user. The developers of Cufon are in talks with the Font Foundries to find a solution that will protect the font from being stolen. As of this writing the Foundries fear that the JavaScript file that is produced from the original fonts could be reverse engineered and give the font away for free. I have tried to put this file outside of the root folder of the site and found that I cannot call it. I haven't spent too much time on this yet. I'm sure there is a way, I just haven't found it yet. Here is the link to Cufon http://wiki.github.com/sorccu/cufon/about the javascript generator can be found here http://cufon.shoqolate.com/generate/ One more thing and I can't stress this enough - USE AT YOUR OWN RISK!!! In the US Intellectual Property Theft is one of those laws whereby you are guilty until proven innocent ad each incident can cost you $100k! [HallMarc Websites] __ Information from ESET Smart Security, version of virus signature database 4286 (20090728) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Font problem {CORRECTION}
> > Jim has listed some nice alternatives, however, they are limited in > their scope. I will point you to a solution called Cufon. This by far > the best I have found to date (IMHO). This is a JavaScript solution. It > will render ANY ttf or rtf font. The common issue you run into is the > legal issue. Most of the fonts we want to use need to be purchased by > the end user. The developers of Cufon are in talks with the Font > Foundries to find a solution that will protect the font from being > stolen. As of this writing the Foundries fear that the JavaScript file > that is produced from the original fonts could be reverse engineered > and give the font away for free. I have tried to put this file outside > of the root folder of the site and found that I cannot call it. I > haven't spent too much time on this yet. I'm sure there is a way, I > just haven't found it yet. > > Here is the link to Cufon > http://wiki.github.com/sorccu/cufon/about > the javascript generator can be found here > http://cufon.shoqolate.com/generate/ > > One more thing and I can't stress this enough - USE AT YOUR OWN RISK!!! > In the US Intellectual Property Theft is one of those laws whereby you > are guilty until proven innocent ad each incident can cost you $100k! > > [HallMarc Websites] > > Argh! I see a typo that I have no excuses for. It should read "any ttf or otf" not rtf. Sorry bout that [HallMarc Websites] __ Information from ESET Smart Security, version of virus signature database 4286 (20090728) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] clean url problem .htaccess
> -Original Message- > From: A.a.k [mailto:blue...@gmail.com] > Sent: Saturday, August 01, 2009 4:13 AM > To: php-general@lists.php.net > Subject: Re: [PHP] clean url problem .htaccess > > what if I don't have access to server to enable mod_rewrite like a > hosting, > is there anyway to work around? > just don't want to build entire website and finally can't get a hosting > to > enable mod_rewrite for me. > > > "Andrew Ballard" wrote in message > news:b6023aa40907312352j405778fevd0c38315c3983...@mail.gmail.com... > On Sat, Aug 1, 2009 at 2:11 AM, A.a.k wrote: > > Hi > > I'm trying to use clean urls in my application: > > lets say convert http://mysite/article.php?id=3 to > > http://mysite/article/3/ > > my problem is to use /article act as it was /article.php > > here is mt .htacess : > > > > ForceType application/x-httpd-php > > > > on php code parsing string from $_SERVER['PHP_SELF'] to get id out. > > > > this one works if i use article.php (http://mysite/article.php/3/ > works) > > but i want to use /article without php extention. is there a way > around? > > > > Look up mod_rewrite. > > Andrew Have you checked to see if you hosting environment allows custom php.ini files? If so, then ask them for information that governs their setup on your server. Thank you, Marc Hall HallMarc Websites 610.446.3346 __ Information from ESET Smart Security, version of virus signature database 4296 (20090801) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] clean url problem .htaccess
> -Original Message- > From: O. Lavell [mailto:olav...@xs4all.nl] > Sent: Saturday, August 01, 2009 12:34 PM > To: php-general@lists.php.net > Subject: Re: [PHP] clean url problem .htaccess > > A.a.k wrote: > > > what if I don't have access to server to enable mod_rewrite like a > > hosting, is there anyway to work around? > > No. > > > just don't want to build entire website and finally can't get a > hosting > > to enable mod_rewrite for me. > > Then make it a requirement when you are choosing a (shared) hosting > provider. > > Meh, there is that! Find a host that has requirements you are looking for. Which reminds me... I do allow this in my hosting packages. Marc Hall HallMarc Websites 610.446.3346 __ Information from ESET Smart Security, version of virus signature database 4296 (20090801) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Need quick got written up yesterday!! OUCH
> -Original Message- > From: Andrew Ballard [mailto:aball...@gmail.com] > Sent: Tuesday, August 04, 2009 10:47 AM > To: a...@ashleysheridan.co.uk > Cc: Miller, Terion; PHP-General List > Subject: Re: [PHP] Need quick got written up yesterday!! OUCH > > On Tue, Aug 4, 2009 at 10:30 AM, Ashley > Sheridan wrote: > > On Tue, 2009-08-04 at 07:16 -0700, Miller, Terion wrote: > >> for($i = 0; $i <= 9; $iﯯ) > > > > I'm noticing an odd character just here (heaven knows what line > number!) > > I'd presume this was meant to be something like a ++ or +=n, but > seems > > to be interpreted as a multibyte character here. I'll let you know if > I > > find anything else. > > > > Thanks, > > Ash > > http://www.ashleysheridan.co.uk > > > > Yeah, well... It's hard to tell what is what in that message. In Gmail > I didn't even get the multi-byte strings. The whole section of code is > one jumbled mess with the usual improper line breaks with the addition > of characters such as '<', '$', and ',' that have been replaced by > sequences like '+ADw-', '+ACq-', and '+ADo-'. > > It'd probably take me more than 45 minutes just to get the code > readable enough to figure out what it should be! > > Andrew > I have noticed a few issues with Gmail and this isn't the first time that mail service has muffed up an email and/or the attachments. It consistently has compromised jpg's, pdf's and the like. I sent an email to a prospective client using my gmail service and the links were messed up when they got it. Made me look bad. Just be aware that what you send may not be what they get when using Gmail. Thank you, Marc Hall HallMarc Websites 610.446.3346 __ Information from ESET Smart Security, version of virus signature database 4305 (20090804) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Need quick got written up yesterday!! OUCH (RESOLVED)
> -Original Message- > From: Miller, Terion [mailto:tmil...@springfi.gannett.com] > Sent: Tuesday, August 04, 2009 11:09 AM > To: a...@ashleysheridan.co.uk; Miller, Terion > Cc: ke...@netsmith.ltd.uk; PHP-General List > Subject: Re: [PHP] Need quick got written up yesterday!! OUCH > (RESOLVED) > > > > > On 8/4/09 10:03 AM, "Ashley Sheridan" wrote: > > print_r($_SERVER); > > I get: > > Array ( [HTTP_HOST] => getpublished.news-leader.com [HTTP_USER_AGENT] > => Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.13) > Gecko/2009073021 Firefox/3.0.13 [HTTP_ACCEPT] => > text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 > [HTTP_ACCEPT_LANGUAGE] => en-us,en;q=0.5 [HTTP_ACCEPT_ENCODING] => > gzip,deflate [HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.7 > [HTTP_KEEP_ALIVE] => 300 [HTTP_CONNECTION] => keep-alive [HTTP_REFERER] > => http://getpublished.news- > leader.com/ResturantInspections/restaurants.php?show=all [HTTP_COOKIE] > => > GCIONID=TExITWZPTUtlZElNQUZrdjlWdkZVQkNOQk1CTEZLKzk3RWEzbENYWE81MD1+MX4 > yMDA5MDgwNH4yfnppcDo2NTgwN3x5b2I6MTk2OHxnZW46MXxjb3U6dXN8c2l0OmdwYXBlcj > E3MQ==; anonId=72bd6954-d270-402a-a4d5-10f109166cef; > rsi_ct=2009_8_4:51; PHPSESSID=ak6iv296ca08bj4eilbjjr0vd7; > GCIONSN=cmVmOjB+bmQxOiU3QiUyMkxldmVsMU5vZGUlMjIlM0ElMjIlMjIlMkMlMjJMZXZ > lbDJOb2RlJTIyJTNBJTIyJTIyJTJDJTIyTmV3Q2xpY2slMjIlM0FmYWxzZSUyQyUyMlVSTC > UyMiUzQSUyMmh0dHAlM0EvL2dldHB1Ymxpc2hlZC5uZXdzLWxlYWRlci5jb20vUmVzdHVyY > W50SW5zcGVjdGlvbnMvdmlldy5waHAlM0ZJRCUzRDExMzclMjIlN0R+bmQyOm51bGw=; > s_sq=%5B%5BB%5D%5D; s_cc=true; REVSCISN=true [HTTP_CACHE_CONTROL] => > max-age=0 [PATH] => /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin > [SERVER_SIGNATURE] => > Apache/2.0.52 (Red Hat) Server at getpublished.news-leader.com Port 80 > [SERVER_SOFTWARE] => Apache/2.0.52 (Red Hat) [SERVER_NAME] => > getpublished.news-leader.com [SERVER_ADDR] => 64.29.29.40 [SERVER_PORT] > => 80 [REMOTE_ADDR] => 64.22.254.4 [DOCUMENT_ROOT] => > /var/www/vhosts/getpublished.news-leader.com/httpdocs [SERVER_ADMIN] => > rjas...@springfi.gannett.com [SCRIPT_FILENAME] => > /var/www/vhosts/getpublished.news- > leader.com/httpdocs/ResturantInspections/view.php [REMOTE_PORT] => > 30353 [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.1 > [REQUEST_METHOD] => GET [QUERY_STRING] => ID=1137 [REQUEST_URI] => > /ResturantInspections/view.php?ID=1137 [SCRIPT_NAME] => > /ResturantInspections/view.php [PHP_SELF] => > /ResturantInspections/view.php [REQUEST_TIME] => 1249398440 ) > > -- [HallMarc Websites] Ugh! Try this from now on echo ""; print_r($_SERVER); echo ""; What gets sent to the window is at least legible by us lower human forms [HallMarc Websites] __ Information from ESET Smart Security, version of virus signature database 4305 (20090804) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Need quick got written up yesterday!! OUCH
> -Original Message- > From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] > Sent: Tuesday, August 04, 2009 2:20 PM > To: Andrew Ballard > Cc: HallMarc Websites; Miller, Terion; PHP-General List > Subject: Re: [PHP] Need quick got written up yesterday!! OUCH > > On Tue, 2009-08-04 at 14:16 -0400, Andrew Ballard wrote: > > On Tue, Aug 4, 2009 at 2:05 PM, HallMarc > > Websites wrote: > > > I have noticed a few issues with Gmail and this isn't the first > time that mail service has muffed up an email and/or the attachments. > It consistently has compromised jpg's, pdf's and the like. I sent an > email to a prospective client using my gmail service and the links were > messed up when they got it. Made me look bad. Just be aware that what > you send may not be what they get when using Gmail. > > > > > > Thank you, > > > Marc Hall > > > HallMarc Websites > > > 610.446.3346 > > > > I know Gmail has its issues, but I don't think this is one of them. > > The message looks the same when I look at it here: > > > > http://marc.info/?l=php-general&m=124939545127492&w=2 > > > > Andrew > > > Isn't it more likely then to be Entourage?! > > Thanks, > Ash > http://www.ashleysheridan.co.uk > > This must be "Have you heard of..." day. I have heard of Entourage by name yet I have never looked into it. Googling it now and why does the code displayed at the marc.info link you gave me regarding this coding fiasco look so messed up? In the email I see: [snip] http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Need quick got written up yesterday!! OUCH (RESOLVED)
> -Original Message- > From: Paul M Foster [mailto:pa...@quillandmouse.com] > Sent: Tuesday, August 04, 2009 5:44 PM > To: php-general@lists.php.net > Subject: Re: [PHP] Need quick got written up yesterday!! OUCH > (RESOLVED) > > On Tue, Aug 04, 2009 at 12:42:11PM -0500, Shawn McKenzie wrote: > > > Miller, Terion wrote: > > > Shawn you know repeatedly have been nothing but an asshole to me on > > > this list, I have said before I'm not a php programmer, I was a > front > > > end designer, need graphics , need a css layout...see meneed > > > backend programming..I'm trying... Stop being such a egomaniacal > > > dickhead, a social life may do you good. > > > > Dearest Terion, > > > > If by "repeatedly", you mean twice, then yes I'll agree. I've also > > helped and/or solved your issues more than twice (once being today if > > you've read it and followed it). Most often my intent was to get you > to > > try and learn and troubleshoot your own issues instead of posting the > > same code problems and syntax errors over and over. You come to this > > list "repeatedly" with errors that are caused by a total lack of > > understanding, and in my opinion, a total lack of due diligence on > your > > part. It's not today or the past week or the past several weeks, > it's > > been for quite some time with little or no improvement. > > > > If by being an "asshole", you mean the time that I suggested that you > > get an editor with syntax checking/highlighting because you posted a > > whole page of wrapped code that had a syntax error (missing > semicolon), > > then yes I have been, though a helpful asshole with good intentions. > At > > some point it gets obnoxious. When is that point? It differs > depending > > upon the person. Many on this list have just stopped replying to > your > > posts altogether. I like them need to see an attempt to help ones > self > > occasionally before I continue with help. > > > > I wasn't defending your boss yelling at you, that's rarely > appropriate. > > However, after the many posts from you on this list, to see "Need > quick > > got written up yesterday!! OUCH", I felt like yelling at you, "Need > > payment doing your work!! CONSTANTLY" :-) > > > > As a CSS/HTML/graphics designer, did you take this job with the > > understanding that you'd have to learn PHP or did they just thrust it > > upon you? If the former, then you need to buckle down and learn it > in a > > constructive manner. If your social life needs to suffer for a short > > time, then that's what it takes. If the latter, then maybe talk to > them > > about some company paid training and mentoring from someone helpful > that > > knows backend programming and PHP. > > > > I may be a "dickhead", but not "egomaniacal". There are many better > PHP > > gurus on this list than I, and I know it. Unfortunately, many of them > > are ignoring your posts entirely. At present my social life is > actually > > overwhelming my ability to devote time to PHP coding, however if > you'd > > like to send pictures I'll give them a look see. > > > > I can understand your frustration and can tell that you're very > > stressed, so I will attempt to not be an "asshole" nor a "dickhead", > but > > please show a little more devotion to learning and helping yourself. > > I have to agree with Shawn on most everything. I'm one of those people > who've chosen not to pay attention to your posts. The masses of code > you > post are nearly indecipherable, and you seem to be constantly tripped > up > by syntax errors, etc. > > PJ blew it with me in the same way. PJ, too, is not a professional > coder. And like you, he seems to be unwilling to buckle down and study > the language, preferring instead to come to experts here to get free > tutoring. But at some point, the patience of people on this list runs > out, and rather than excoriating you, they simply stop helping you. > > My point here is not to insult you or denigrate your abilities. You may > be a very nice person, and quite talented at doing the things you're > trained to do. But programming in PHP is apparently not one of them. > And > if you're going to be doing this for a living, then you're going to > have > to either stop doing this for a living, or actually study the subject. > Because sooner or later, no one here will listen, no matter how nice > you > are, and no matter how well you do the other parts of your job. > > Paul > > -- > Paul M. Foster > > -- [HallMarc Websites] God I love this planet. I agree with Paul. __ Information from ESET Smart Security, version of virus signature database 4306 (20090804) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] "PHP 6 and MySQL 5 for Dynamic Web Sites" Book
> > btw, what's this getting the internet on your computer bit. > Are you telling me my IBM punch cards are outdated? > > [HallMarc Websites] OMG I had forgotten all about cards! I used Hewlett-Packard __ Information from ESET Smart Security, version of virus signature database 4313 (20090806) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] OpenCart
I am wondering if anyone here can provide some hands-on feedback about this OS cart such as can it handle large catalogues of products and high amount of traffic? If you don't know about this cart or know of a better cart that is more closely suited to fulfill an enterprise level ecommerce need. Thank you, Marc Hall HallMarc Websites 610.446.3346 __ Information from ESET Smart Security, version of virus signature database 4380 (20090829) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Displaying image paths with spaces
> -Original Message- > From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] > Sent: Monday, September 07, 2009 1:24 PM > To: Skip Evans > Cc: php-general@lists.php.net > Subject: Re: [PHP] Displaying image paths with spaces > > On Mon, 2009-09-07 at 12:14 -0500, Skip Evans wrote: > > Ashley Sheridan wrote: > > > > > > How are you outputting those URLs? PHP won't just automatically > converty > > > '%20' to a '\ '. > > > > > > What is the raw URL format you're getting from FCKEditor? > > > > > > Thanks, > > > Ash > > > http://www.ashleysheridan.co.uk > > > > > > > The raw code in the FCKeditor looks like this: > > > > > src="/clients/client_118/images//Event%20images/Show%20ads/catspaw1comp > ressed.jpg" > > > > (withing an tag of course) > > > > But when the page displays and the images do not appear, > > viewing the image's properties shows this: (Notice the %5C). > > That %5C is what I think is being converted to a slash. Why it > > shows up is baffling me. > > > > > http://penguinsites.com/clients/client_118/images//Event%5C%20images/Sh > ow%5C%20ads/catspaw1compressed.jpg > > > > I simply output the code from the FCKeditor with a plain echo > > to the browser. > > > > But then if I right-click the image to view it, that's when I > > see this > > > > The requested URL /clients/client_118/images//Event\ > > images/Show\ ads/catspaw1compressed.jpg was not found on this > > server. > > > > So it seems it's not preserving the %20 as coded spaces, and > > also converting that %5C to a slash! > > > > Wh > > > > Thanks, > > Skip > > > > -- > > > > Skip Evans > > Big Sky Penguin, LLC > > 503 S Baldwin St, #1 > > Madison WI 53703 > > 608.250.2720 > > http://bigskypenguin.com > > > > Those of you who believe in > > telekinesis, raise my hand. > > -- Kurt Vonnegut > > > I believe %5C is the http code for %. > > Are you saying then that FCKEditor is sending the %20 encoded URL when > you submit the form? I've not had any problems using FCKEditor myself. > Have you tried using str_replace('%20', ' ', $url) on the URL when you > receive it from the form? > > Thanks, > Ash > http://www.ashleysheridan.co.uk > > Actually, %5C is a \ character, % is %25 Why it is adding a character that is used in local address strings is baffling and I think a clue as to what is going on. Is it possible it is mashing a local file address into a web address? BTW, IMHO using spaces in folder and/or file names is bad practice and should be avoided. Marc Hall HallMarc Websites 610.446.3346 __ Information from ESET Smart Security, version of virus signature database 4403 (20090907) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Odd Endless Loop with Explorer 8 (pc)
> -Original Message- > From: c...@hosting4days.com [mailto:c...@hosting4days.com] > Sent: Saturday, September 12, 2009 10:39 PM > To: php-general@lists.php.net > Subject: [PHP] Odd Endless Loop with Explorer 8 (pc) > > I have many of these tags on a site... > > They work well with all browsers i've tested - except explorer 8 (pc) > > '; ?> > > It just goes into an endless loop but stays on the original page - > never going to page2.php > > > Q: Any idea how to fix this? > > > > > Thanks, > c...@hosting4days.com > > [HallMarc Websites] you are missing url=page2.php '; ?> __ Information from ESET Smart Security, version of virus signature database 4420 (20090912) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] ie6 "memory could not be read" help!
Wow. IMHO that is a really bad stance to take on IE 6. Most offices still have IE 6 for whatever reason. If you block them then you are blocking possible clients. There is still a large percentage that still use it. Thank you, Marc Hall HallMarc Websites 610.446.3346 > -Original Message- > From: Philip Thompson [mailto:philthath...@gmail.com] > Sent: Thursday, September 17, 2009 1:56 PM > To: PHP General list > Subject: Re: [PHP] ie6 "memory could not be read" help! > > On Sep 17, 2009, at 4:04 AM, Ashley Sheridan wrote: > > > On Thu, 2009-09-17 at 16:41 +0800, Shelley wrote: > >> Hi all, > >> > >> With IE6, > >> > >> After the pages i developed was loaded, there seems to be no > problem, > >> but when you then click a link, refresh the page, etc. it shows > >> "memory > >> could not be 'read'" error message. > >> > >> However, when you load other sites, google.com, for example, there > >> is no > >> such problem. > >> > >> Anybody knows how to fix this problem? > >> > >> Any help is appreciated & thanks in advance. > >> > > > > http://support.microsoft.com/kb/899811 > > > > first result from a Google search > > > > Thanks, > > Ash > > Since this post is not PHP-related, I'll continue the trend. Are > people still using IE6? In sites I design, I prevent the user from > viewing it. If they're still on IE6, I don't want them to use my sites. > > Cheers, > ~Philip > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > __ Information from ESET Smart Security, version of virus > signature database 4434 (20090917) __ > > The message was checked by ESET Smart Security. > > http://www.eset.com > __ Information from ESET Smart Security, version of virus signature database 4434 (20090917) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] how i assign a js variable to a php variable
> -Original Message- > From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] > Sent: Thursday, September 17, 2009 3:19 PM > To: saeed ahmed > Cc: php-general@lists.php.net > Subject: Re: [PHP] how i assign a js variable to a php variable > > On Fri, 2009-09-18 at 02:16 +0700, saeed ahmed wrote: > > hello guys, > > > > i'm new here in this list. guys i need a help. i can't assign a js > variable > > value to a php variable. how can i do this? > > > > > > -- > > Regards, > > Saeed Ahmed > > Rajshahi, Bangladesh > > Blog: http://saeed05.wordpress.com > > -- > > Follow Me Linkedin > > <http://www.linkedin.com/in/sas05>Twitter<http://twitter.com/saeed05> > > You can't. Javascript is executed in the browser, PHP is executed on > the > server. > > What are you trying to achieve, as maybe there is a better way to do > it. > > Thanks, > Ash > http://www.ashleysheridan.co.uk > > > I have to disagree Ash, you can pass js variable values to PHP but only through a page load. Then you could use $_REQUEST, $_POST, $_GET to retrieve it. I have done this before. [HallMarc Websites] __ Information from ESET Smart Security, version of virus signature database 4434 (20090917) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] how i assign a js variable to a php variable
> >> I have to disagree Ash, you can pass js variable values to PHP but > >> only > >> through a page load. Then you could use $_REQUEST, $_POST, $_GET to > >> retrieve > >> it. I have done this before. > > > > And I am sure Ash does it on daily basis, the problem is the used > > therm: I want to *assign* ... not pass, assign! > > > > I am quite sure that is what he meant, since I cannot count people > > reading in the middle of the page thinking it can interact > > directly with nodes and javascript, and being "a new one", I think > > Ash replied in the correct way. > > > > Regards > > > All true, and probably appropriate to clarify the relationship between > php and js. > > However, if the goal is to pre-set something in php land so you don't > have to pass it with your next page navigation, you could use ajax to > to pass the value to a simple php script that in turn updates a php > session variable, so that it is already set when you do your next real > page load. > > You would still be "calling a page" technically, but your current > displayed page would remain in place and php would have the value > available on its next page load. > Very true. I really didn't intend to dismiss everything you said Ash. I apologize for that. You were absolutely correct in your statement about not being able to directly assign the value of a javascript variable to a PHP variable. I just felt that your response would leave the reader to believe that that wasn't any way to pass the value at all. In my attempt to throw my two cents in I essentially did the same to your response. I'm afraid I left some thinking I was dismissing your entire statement. Sorry about that. Thank you, Marc Hall HallMarc Websites 610.446.3346 [HallMarc Websites] __ Information from ESET Smart Security, version of virus signature database 4435 (20090917) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] A little slow lately???
Slower than I was used to.. I wonder if it is because the economy is still sucking.. __ Information from ESET Smart Security, version of virus signature database 4437 (20090918) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP Header issue
http://us3.php.net/manual/en/function.header.php Thank you, Marc Hall HallMarc Websites 610.446.3346 __ Information from ESET Smart Security, version of virus signature database 4438 (20090918) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] A little slow lately???
yay for the infinite monkeys! I just had a client ask if I have 3-5 years experience developing websites in Linux. I agree with Jim - I hope you all have a great weekend! Thank you, Marc Hall HallMarc Websites 610.446.3346
RE: [PHP] PHP Header issue
I'm bewildered, bemused, astonished and am trying really hard not to lash out Thank you, Marc Hall HallMarc Websites 610.446.3346 __ Information from ESET Smart Security, version of virus signature database 4438 (20090918) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP Header issue
> -Original Message- > From: Jim Lucas [mailto:li...@cmsws.com] > Sent: Friday, September 18, 2009 1:33 PM > To: Ernie Kemp > Cc: php-general@lists.php.net > Subject: Re: [PHP] PHP Header issue > > Jim Lucas wrote: > > Ernie Kemp wrote: > >> > >> > >> > >> > >> > >> > >> Contact Us > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> The above is just snippet of the code but even this simple example > throws > >> the Header Warning / Error. > >> > >> Warning: Cannot modify header information - headers already sent by > (output > >> started at /home/content/g/t/a /html/yourestate/advertise.php:6) > >> in/home/content/g/t/a /html/yourestate/advertise.php on line 6 > >> > > > > http://us2.php.net/manual/en/function.header.php > > > > From the manual page: > > > > Quote: > > "Remember that header() must be called before any actual output is > sent, either > > by normal HTML tags, blank lines in a file, or from PHP. It is a very > common > > error to read code with include(), or require(), functions, or > another file > > access function, and have spaces or empty lines that are output > before header() > > is called. The same problem exists when using a single PHP/HTML > file." > > > >> The anwser may be simple but I have looked a blanks or spaces around > the > >> with no success. > >> > >> Ready need your help. > >> > >> Thanks, > >> > >> Ernie Kemp > >> > >> Phone: 416 577 5565 > >> > >> Email: ek...@digitalbiz4u.com > >> > >> ...man will occasionally stumble over the truth, but usually manages > to pick > >> himself up, walk over or around it, and carry on. > >> > > > > Isn't that the truth! > > > >> Winston S. Churchill > > > > > > > > Just to point out to everybody, you can actually do this. And most of > you > probably already know how. > > You can use output buffering. :) > > if you use ob_start() anywhere in your code before this statement, or > you have > output_buffering option enabled in the php configuration. > > Now, with that said, using output buffering to "fix" this "problem" is > the wrong > solution. But it does work. > > Jim I thought of that too and I ran a test on my server just to make sure - guess what? it doesn't work either and I am assuming that is because I have it turned off in my php.ini I prefer not to use the ob because I do a lot of development on my server and don't want to wonder if a PHP error got lost in the buffer because the PHP error handling nixed the script before the error was sent to the screen. The question I have is do you need this redirect to sit where it is? It would be so much easier to just write this page correctly. Thank you, Marc Hall HallMarc Websites 610.446.3346 __ Information from ESET Smart Security, version of virus signature database 4438 (20090918) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP Header issue
> -Original Message- > From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] > Sent: Friday, September 18, 2009 2:31 PM > To: Ernie Kemp > Cc: 'HallMarc Websites'; 'Jim Lucas'; php-general@lists.php.net > Subject: RE: [PHP] PHP Header issue > > On Fri, 2009-09-18 at 14:26 -0400, Ernie Kemp wrote: > > > The fundamental idea was to fill in a contact forum , submit it and > then go to an upload page. > > > > I need to go from one page to another page. > > > > Please point in the correct direction on this. > > > > Thanks, > > /Ernie > > +++ > > -Original Message- > > From: HallMarc Websites [mailto:m...@hallmarcwebsites.com] > > Sent: September-18-09 2:00 PM > > To: 'Jim Lucas'; 'Ernie Kemp' > > Cc: php-general@lists.php.net > > Subject: RE: [PHP] PHP Header issue > > > > > > > > > -Original Message- > > > From: Jim Lucas [mailto:li...@cmsws.com] > > > Sent: Friday, September 18, 2009 1:33 PM > > > To: Ernie Kemp > > > Cc: php-general@lists.php.net > > > Subject: Re: [PHP] PHP Header issue > > > > > > Jim Lucas wrote: > > > > Ernie Kemp wrote: > > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > > >> Contact Us > > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > > >> The above is just snippet of the code but even this simple > example > > > throws > > > >> the Header Warning / Error. > > > >> > > > >> Warning: Cannot modify header information - headers already sent > by > > > (output > > > >> started at /home/content/g/t/a /html/yourestate/advertise.php:6) > > > >> in/home/content/g/t/a /html/yourestate/advertise.php on line 6 > > > >> > > > > > > > > http://us2.php.net/manual/en/function.header.php > > > > > > > > From the manual page: > > > > > > > > Quote: > > > > "Remember that header() must be called before any actual output > is > > > sent, either > > > > by normal HTML tags, blank lines in a file, or from PHP. It is a > very > > > common > > > > error to read code with include(), or require(), functions, or > > > another file > > > > access function, and have spaces or empty lines that are output > > > before header() > > > > is called. The same problem exists when using a single PHP/HTML > > > file." > > > > > > > >> The anwser may be simple but I have looked a blanks or spaces > around > > > the > > > >> with no success. > > > >> > > > >> Ready need your help. > > > >> > > > >> Thanks, > > > >> > > > >> Ernie Kemp > > > >> > > > >> Phone: 416 577 5565 > > > >> > > > >> Email: ek...@digitalbiz4u.com > > > >> > > > >> ...man will occasionally stumble over the truth, but usually > manages > > > to pick > > > >> himself up, walk over or around it, and carry on. > > > >> > > > > > > > > Isn't that the truth! > > > > > > > >> Winston S. Churchill > > > > > > > > > > > > > > > > > > Just to point out to everybody, you can actually do this. And most > of > > > you > > > probably already know how. > > > > > > You can use output buffering. :) > > > > > > if you use ob_start() anywhere in your code before this statement, > or > > > you have > > > output_buffering option enabled in the php configuration. > > > > > > Now, with that said, using output buffering to "fix" this "problem" > is > > > the wrong > > > solution. But it does work. > > > > > > Jim > > > > > > > > I thought of that too and I ran a test on my server just to make sure > - guess what? it doesn't work either and I am assuming that is because > I have it turned off in my php.ini I prefer not to use the ob because I > do a lot of development on my server and don't want to wonder if a PHP > error got lost in the buffer because the PHP error handling nixed the > script before the error was sent to the screen. > > > > The question I have is do you need this redirect to sit where it is? > It would be so much easier to just write this page correctly. > > > > > > Thank you, > > Marc Hall > > HallMarc Websites > > 610.446.3346 > > > > > > __ Information from ESET Smart Security, version of virus > signature database 4438 (20090918) __ > > > > The message was checked by ESET Smart Security. > > > > http://www.eset.com > > > > > > > > > > Well, set the action of the form to the upload script. Then, in your > upload script, check to see that all the fields are as required, and > either upload the file from the form, or send them back to the form. > > I'd tend to have all the logic on the same PHP file, just for neatness. > > Thanks, > Ash > http://www.ashleysheridan.co.uk > > > You should be validating/cleansing the form input as a matter of SOP anyway. *opens a fresh can of worms* __ Information from ESET Smart Security, version of virus signature database 4438 (20090918) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] nl2br() question
Tedd, > -Original Message- > From: tedd [mailto:t...@sperling.com] > Sent: Saturday, September 26, 2009 11:23 AM > To: PHP General List > Subject: [PHP] nl2br() question > > Hi gang: > > The manual says: > > http://www.php.net/nl2br > > That I could use the function like so (Example #2): > > $new = nl2br($string, false); > > But when I do, I get: > > Warning: Wrong parameter count for nl2br() in /home... > > What's up with that? > > I am using PHP Version 5.2.10 > > Cheers, > > tedd > It seems to me that it doesn't think it is being passed a string. Have you tried putting in a static test string like $new = nl2br("Hello/n World!", false); echo $new; or alternatively echo $string; and see what is being passed. Thank you, Marc Hall HallMarc Websites 610.446.3346 __ Information from ESET Smart Security, version of virus signature database 4459 (20090926) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: WYSIWYG editor to change textarea
> -Original Message- > From: Ralph Deffke [mailto:ralph_def...@yahoo.de] > Sent: Monday, September 28, 2009 5:18 PM > To: php-general@lists.php.net > Subject: [PHP] Re: WYSIWYG editor to change textarea > > I can recomment the YAHOO editor for that. seemed to me they are very > conflictless with other js code > > http://developer.yahoo.com/yui/editor/ > > good luck > ralph_def...@yahoo.de > > > ""Angelo Zanetti"" wrote in message > news:20090928203015.0512b99...@smtp1.vodamail.co.za... > > Hi all, > > > > I have been looking to implement a WYSIWYG editor that will > automatically > > transform a into a Rich text area / WYSIWYG. We have lots > of > > dynamic content that is pulled from a database and files. Therefore > we > cant > > really change the field. > > > > I have tried the tinyMCE but its causing conflicts with some existing > JS > > code that cant really be rewritten. > > > > A lot of other editors actually generate the rich text area in a > strange > way > > and don't use the field at all. > > > > Are there any editors that you people will know of that operate in a > similar > > way to tinyMCE, IE you include the JS in your head and it will change > all > > the textarea fields to rich text areas? > > > > Thanks in advance. > > > > http://www.elemental.co.za > > http://www.wapit.co.za > > I will look at this Yahoo! thanks too. I wanted to throw my 2 cents in here: TinyMCE was the one I usually recommended yet your experience has been one of my biggest gripes about it. I would lean to believe that they were attempting to "Dummy Proof" it and in doing so made it frustrating to use unless, you learn how to use it the it was meant to be used and not how you expect it. Thank you, Marc Hall HallMarc Websites 610.446.3346 __ Information from ESET Smart Security, version of virus signature database 4465 (20090928) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Greate day for you,
-Original Message- From: Chris G [mailto:thunder...@gmail.com] Sent: Wednesday, April 07, 2010 12:11 PM To: denisema...@googlemail.com; derrick.h...@za.delarue.com; gc...@aceonline.com.au; ja...@shongololocomm.co.za; joc...@iamjochem.com; bonge...@mweb.co.za; johan.bong...@za.delarue.com; jonathanbus-...@telkomsa.net; kmfisc...@gmail.com; kell...@trtretail.co.za; kerry.gri...@gmail.com; kirst...@switchdesign.com; s.ku...@huxley.co.uk; lee.mais...@7layer.net; mik.gri...@za.delarue.com; paintball...@hotmail.com; paintball...@yahoo.com; php-general@lists.php.net; php-general-unsubscr...@lists.php.net; scot...@mkbgroup.co.za Subject: [PHP] Greate day for you, http://sites.google.com/site/vfgbyuhoi6/kewe2w -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php It looks like the mighty Gmail has been cracked. This is the second time today I have seen something like this and both have originated through actual gmail accounts and CC to people on their mailing lists. __ Information from ESET Smart Security, version of virus signature database 5007 (20100407) __ The message was checked by ESET Smart Security. http://www.eset.com __ Information from ESET Smart Security, version of virus signature database 5008 (20100407) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP Form submitting to MySQL not working...
-Original Message- From: Jim Lucas [mailto:li...@cmsws.com] Sent: Thursday, June 03, 2010 11:38 AM To: php General List Cc: Steve Marquez Subject: Re: [PHP] PHP Form submitting to MySQL not working... Steve Marquez wrote: > I am running Apache (not sure which version, where do I find that?) it is running on a Macbook Pro. > The error happened when I submitted the form. Sorry, should have been more specific. Where did you see the error? In your browser, error logs of your web server, etc... ? If this error was displayed in your browser, you should look in your apache error log file at that corresponding time to see if it has any more information. > > The MySQL DB is hosted locally on my machine. > > No cat here at the office, no children either, they are all at home. > > :) > -- Jim Lucas A: Maybe because some people are too annoyed by top-posting. Q: Why do I not get an answer to my question(s)? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php What did your error log file say? it should tell you the path and the name of the file that was being called; then go and look to see if the file exists. __ Information from ESET Smart Security, version of virus signature database 5169 (20100603) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP Form submitting to MySQL not working...
-Original Message- From: Jim Lucas [mailto:li...@cmsws.com] Sent: Thursday, June 03, 2010 11:38 AM To: php General List Cc: Steve Marquez Subject: Re: [PHP] PHP Form submitting to MySQL not working... Steve Marquez wrote: > I am running Apache (not sure which version, where do I find that?) it is running on a Macbook Pro. > The error happened when I submitted the form. Sorry, should have been more specific. Where did you see the error? In your browser, error logs of your web server, etc... ? If this error was displayed in your browser, you should look in your apache error log file at that corresponding time to see if it has any more information. > > The MySQL DB is hosted locally on my machine. > > No cat here at the office, no children either, they are all at home. > > :) > -- Jim Lucas A: Maybe because some people are too annoyed by top-posting. Q: Why do I not get an answer to my question(s)? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php On a side note; yes, as you can see I am still alive and well. Business has slowed down enough that I had time to actually read a few posts! Marc Hall HallMarc Websites www.hallmarcwebsites.com __ Information from ESET Smart Security, version of virus signature database 5169 (20100603) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] protecting email addresses on a web site
-Original Message- From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: Monday, June 14, 2010 8:06 AM To: David Mehler Cc: php-general Subject: Re: [PHP] protecting email addresses on a web site On Mon, 2010-06-14 at 08:02 -0400, David Mehler wrote: > Hello, > I've got a site that is needing to have two email addresses on it, one > for general contact and information and the other for webmaster for > site problems. I do not want these addresses to become harvested by > spammers yet i want to make it possible for people to email if needed. > I can not use javascript for this solution. > Suggestions appreciated. > Thanks. > Dave. > If Javascript isn't a solution (which I can understand for accessibility reasons) then the only method I've seen that seems to work is to have the email as an image in the same font style as it would be on the page if it were just text. Facebook uses this to display contact email addresses for people, and I've seen it used elsewhere also. The only other method I've seen is to add in extra characters with a small note to humans to remove them, but I find this quite a messy solution. Unfortunately, you can't get away with just a contact form these days if you're a business, as it's a legal requirement in some countries to have a contact details available, and not just a contact form. Thanks, Ash http://www.ashleysheridan.co.uk Another is a CSS solution where you type the email address backwards and then use the CSS style declaration: style="direction: rtl; unicode-bidi: bidi-override;" Marc Hall HallMarc Websites __ Information from ESET Smart Security, version of virus signature database 5194 (20100614) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] protecting email addresses on a web site
-Original Message- From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: Monday, June 14, 2010 10:52 AM To: Dotan Cohen Cc: HallMarc Websites; David Mehler; php-general Subject: Re: [PHP] protecting email addresses on a web site On Mon, 2010-06-14 at 17:50 +0300, Dotan Cohen wrote: > On 14 June 2010 15:36, HallMarc Websites wrote: > > Another is a CSS solution where you type the email address backwards and > > then use the CSS style declaration: > > style="direction: rtl; unicode-bidi: bidi-override;" > > > > How does that work with screen readers? How about copy-paste? > I don't think there's an accessible way of doing this. Anything that allows a screen reader to speak the email address would also be susceptible to spammers email scrapers. Thanks, Ash http://www.ashleysheridan.co.uk Copy-n-paste just gives you the email address backwards; screen readers, because we are using logical ordering and it is stored in memory the way we expect to read it, will read it correctly. I was not aware that email harvesters used screen readers. Do you have some documentation I could read to get up to speed on this? Marc Hall HallMarc Websites So many spammers, so few bullets... __ Information from ESET Smart Security, version of virus signature database 5199 (20100615) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] tutorial failure
-Original Message- From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: Thursday, August 19, 2010 11:33 AM To: e-letter Cc: David McGlone; php-general@lists.php.net Subject: Re: [PHP] tutorial failure On Thu, 2010-08-19 at 16:30 +0100, e-letter wrote: > On 19/08/2010, Ashley Sheridan wrote: > > As Colin suggested on another email, check to see if apache-mod_php was > > installed too. It seems likely that it wasn't for some reason. > > How to verify please? Also, the instruction to use task-lamp; it seems > this is for mysql but the database to be used is postgresql? Use the package manager to check and see if that was installed. I'm not familiar with the command line for rpmi, having used Yum on Fedora mostly, but on that you would just do a 'yum list apache-mod*' to see what apache mods were installed and available, so I assume something similar exists for rpmi. The task-lamp will be using MySQL, as it is the 'm' of lamp (Linux, Apache, MySQL & PHP) Thanks, Ash http://www.ashleysheridan.co.uk I agree with the earlier take on this situation; you need to start at the beginning and learn the basics regarding the technologies BEFORE you try and manage them. You're trying to drive a car when you don't even know what or car is and how to operate one so you keep crashing. Here are some great sites to check out: http://wiki.mandriva.com/en/ http://www.pcstats.com/articleview.cfm?articleID=1868 http://www.wikivs.com/wiki/MySQL_vs_PostgreSQL http://www.w3schools.com/ There are some great books out there as well to help you learn and I recommend getting the reference guides as well. Since the gist of this thread seems to be focused on the LAPP set-up and mainly an Apache (?) configuration issue you might try the forums and mailing lists found there as well. I hope you find this helpful. Marc Hall HallMarc Websites "Well, if all else fails; read the directions." - Dear old Dad, RIP __ Information from ESET Smart Security, version of virus signature database 5379 (20100819) __ The message was checked by ESET Smart Security. http://www.eset.com __ Information from ESET Smart Security, version of virus signature database 5379 (20100819) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Controlling Output Buffering via php.ini
-Original Message- From: MikeB [mailto:mpbr...@gmail.com] Sent: Monday, September 27, 2010 9:01 PM To: php-general@lists.php.net Subject: [PHP] Controlling Output Buffering via php.ini I want to turn off output buffering. In the php.ini section I found this and changed it as follows: ; Note: Output buffering can also be controlled via Output Buffering Control ; functions. ; Possible Values: ; On = Enabled and buffer is unlimited. (Use with caution) ; Off = Disabled ; Integer = Enables the buffer and sets its maximum size in bytes. ; Note: This directive is hardcoded to Off for the CLI SAPI ; Default Value: Off ; Development Value: 4096 ; Production Value: 4096 ; http://php.net/output-buffering ; Changed by MikeB 09/27/2010 ;output_buffering = 4096 output_buffering = Off Previously when I did a phpinfo(), I got the value of 4096. After my change, I get: output_bufferingno value Some other phpinfo() values (eg. Register Globals) display an "Off" value. Did I make the change correctly or is the syntax different? I did go to the url referenced above, but nowhere that I searched could I find the way to specify the value in the php.ini file. Thanks. Your output statement is commented out __ Information from ESET Smart Security, version of virus signature database 5484 (20100927) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Controlling Output Buffering via php.ini
-Original Message- From: MikeB [mailto:mpbr...@gmail.com] Sent: Monday, September 27, 2010 9:01 PM To: php-general@lists.php.net Subject: [PHP] Controlling Output Buffering via php.ini I want to turn off output buffering. In the php.ini section I found this and changed it as follows: ; Note: Output buffering can also be controlled via Output Buffering Control ; functions. ; Possible Values: ; On = Enabled and buffer is unlimited. (Use with caution) ; Off = Disabled ; Integer = Enables the buffer and sets its maximum size in bytes. ; Note: This directive is hardcoded to Off for the CLI SAPI ; Default Value: Off ; Development Value: 4096 ; Production Value: 4096 ; http://php.net/output-buffering ; Changed by MikeB 09/27/2010 ;output_buffering = 4096 output_buffering = Off Previously when I did a phpinfo(), I got the value of 4096. After my change, I get: output_bufferingno value Some other phpinfo() values (eg. Register Globals) display an "Off" value. Did I make the change correctly or is the syntax different? I did go to the url referenced above, but nowhere that I searched could I find the way to specify the value in the php.ini file. Thanks. Bah sorry misread your question __ Information from ESET Smart Security, version of virus signature database 5484 (20100927) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] cyberweaponry
> -Original Message- > From: Tedd Sperling [mailto:t...@sperling.com] > Sent: Thursday, May 31, 2012 1:21 PM > To: php-general General > Subject: [PHP] cyberweaponry > > Hi gang: > > This is a little early for Friday's "Open Comment" day, but my memory is > increasingly more short term and by tomorrow I might forget -- so, here > goes. > > I watched a interview today where an security expert claimed that the Flame > Virus was written in a scripted language named lua (http://www.lua.org/). > > He said that this was unusual because typically such viruses are written in > languages like Ruby-on-Rails and such. > > So, my question to the group -- has PHP produced any viruses? If not, could > it? If so, can anyone elaborate on the details? > Malware, Trojans and virii OH MY!!! But seriously, I think we may need to establish a parameter here to avoid mixing of virii with other types of non-viral malware. [>] Computer virus - a self-replicating program that can transmit itself from computer to computer. Other non-viral Malware - spyware, Trojans basically and program written with malicious intent that does not self-replicate. Or are we talking about malware in general? Marc Hall I'm broke so can I borrow 2 cents from Tedd? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] cyberweaponry
> -Original Message- > From: paras...@gmail.com [mailto:paras...@gmail.com] On Behalf Of > Daniel Brown > Sent: Thursday, May 31, 2012 1:52 PM > To: Tedd Sperling > Cc: php-general General > Subject: Re: [PHP] cyberweaponry > > On Thu, May 31, 2012 at 1:21 PM, Tedd Sperling wrote: > > > > So, my question to the group -- has PHP produced any viruses? If not, could > it? If so, can anyone elaborate on the details? > > To my own memory, viruses by definition, no. However, with that said, > there's tons of PHP malware, including self-replicating worms that target > certain vulnerabilities (such as known exploits in versions of WordPress). In > fact, one of the most common PHP-scripted attacks on the web is against an > individual script, which has been packaged in with many other PHP > applications - including WordPress - over the years. The script, known as > TimThumb, has an extremely well-known vulnerability in past versions, which > are still in widespread use today. > Just to be clear, WordPress core never included TimThumb. It was included in some Premium themes and various plugins (still is in some plugins). A lot of the vulnerabilities found in TimThumb have been patched however, the main issue with it has been the loading of files from external websites and then caching them on the server where the instance of WP resides. Just wanted to make sure we don't create a panic. [>] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] xmlrpc encoding problem
> *$server = xmlrpc_server_create();* > *xmlrpc_server_register_method($server, "showLog", "showLog_func");* > *xmlrpc_server_register_method($server, "showMaxLogId", > "showMaxLogId_func");* > *$request_xml = file_get_contents("php://input");* > *$response = xmlrpc_server_call_method($server, $request_xml, null);* > *print $response;* > *xmlrpc_server_destroy($server);* > ?> > > All the response given from the server has the header encoding="iso-8859-1"?> > > Is there anyway to change the encoding to utf-8? > > Thanks [>] Have you tried $xmlrpc_defencoding = "UTF8"; ? Marc Hall HallMarc Websites -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Delaying $(document).ready() in jQuery until php script finish
Maybe I misread this and it seems to me he is asking how they could trigger the jQuery event after the necessary PHP script is called. Maybe it is being over-thought, have you tried placing the javascript call after the PHP script? Maybe wrap it in a conditional statement that isn't satisfied until whatever necessary condition is met? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Delaying $(document).ready() in jQuery until php script finish
-Original Message- From: Steve Staples [mailto:sstap...@mnsi.net] Sent: Thursday, March 03, 2011 11:00 AM To: php-general@lists.php.net Subject: RE: [PHP] Delaying $(document).ready() in jQuery until php script finish On Thu, 2011-03-03 at 10:42 -0500, HallMarc Websites wrote: >> Maybe I misread this and it seems to me he is asking how they could >> trigger the jQuery event after the necessary PHP script is called. >> Maybe it is being over-thought, have you tried placing the javascript >> call after the PHP script? Maybe wrap it in a conditional statement >> that isn't satisfied until whatever necessary condition is met? >Could also echo the jQuery at the bottom of the PHP script, so that way, no >matter what, when the PHP is done, it will echo out (even if >buffered) once the script is completed is "thing". >What I don't get about the question is, is the document.ready() shouldn't >fire, until the page has completely loaded, and if the PHP script is still >>running, the "document" shouldn't be "ready" yet, should it? >Steve Well, at this point that is a JavaScript question and best left to the appropriate list. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Opensuse 11.4 - PHP returned as text?
> I'm trying to debug an issue which I think is more to do with Apache than > PHP, but perhaps someone else has experience with this. Using opensuse > 11.4, custom compile of kernel 2.6.38, custom compile of Apache httpd > 2.2.17, and PHP 3.3.6. phpinfo() page works correctly so my httpd.conf is > configured to deal with PHP. > > Using a plain .php file which contains a form with only a submit button, at first > the browser loads the .php correctly. Then click submit in the form, and the > browser asks me if I want to open or download and save locally the .php file I > have requested. This is disturbing since it is potentially a security issue. > > 1. This only happens with method=POST. method=GET works correctly. > 2. Using the same form as an .html file, same failure, so it is not directly > connected to PHP. I have posted an issue with Apache (50978) but no > response yet. Can you post a link; if not: Can you show the contents of the php file being downloaded or at least the first and last 15 lines? Not sure why the method would make the diff yet here we are. You could check the variables_order string in your php.ini file. And have you tried adding enctype="multipart/form-data" or enctype="application/x-www-form-urlencoded" (more suited for GET) to the FORM tag ie The reason I asked the last part is because you stated that it works fine if you pass via GET and not when you use POST and because they are both encoded differently and it could be that the server isn't set correctly to decode $_POST data and so does the download instead. More details about how you are collecting the form data and how the data is then processed would be helpful. Thank you, Marc Hall HallMarc Websites 610.446.3346 http://www.hallmarcwebsites.com/ Spread the word about my services and earn money! Contact me for details. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Opensuse 11.4 - PHP returned as text?
> Thanks for your interest. > Here is my complete test php file: > > echo "crash test"; > $cont = " type='submit' name='button' value='submit' /> "; echo $cont; echo > "ended"; ?> > > Running this file produces the form correctly at first. Then click submit and > the response of the server is to send the next page as text. > > In the background a child process dies. I guess this severs the link to the php > handler. If httpd is run with -X to generate a single process, this process dies > and the server stops, with no effort to serve up a file of any kind. > > If I take the above file and convert to regular html, same behaviour. > This is why I say it has little to do with PHP. However if used in connection > with php it can result in some nasty security implications. > > I did try adding enctype, but this did not help. I think this is because the > process is killed very early in dealing with the post method and never gets to > formulating something to send back. > > I did get a backtrace from gdb, and this is posted on the issues.apache.org > website. > Well, I can't say I have time to search issues.apache.org for this and I have to drop out of this thread as a huge project just appeared on my desk. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Permission Denied - Help Requested
Have you checked ownership? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] A Starter has prob in blog script
> > > Regards > Silvio > Sprechen sie deutsch? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Flattery will get you nowhere
> I just googled up "php tedd form validation" and can't find a single reference. > What does this mean, that I respect tedd's skills or that he needs better SEO? > OOH!! I KNOW! I KNOW! PICK ME! PICK ME! Um Both? No wait, maybe Tedd doesn't want his stuff found? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: An Invitation to Neuroscientists and Physicists: Singapore Citizen Mr. Teo En Ming (Zhang Enming) Reports First Hand Account of Mind Intrusion and Mind Reading
> On 17 May 2011 18:15, Daniel Brown wrote: > > On Tue, May 17, 2011 at 13:11, Michelle Konzack > > wrote: > >> Hmmm, this is now the 68th mailinglist (out of > >> 137 where I am subscribed) which he has spamed! > >> My concern is with the admission of belonging to 137 mailing lists! Where do you find the time? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] problem in onclick
And there are some hosting companies that offer servers that run JavaScript server side like Jaxer That is not an endorsement of any kind. I have yet to sign up for an account. I do know that the idea of running JavaScript server side has been kicked around since I think 1996. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] problem in onclick
> At 9:30 PM +0300 5/20/11, Andre Polykanine wrote: > >Hi Richard, Tedd, > > > >Hey guys, you did understand what I meant. I meant you > >can't just go and write a session variable by onclicking it in > >JavaScript. You need AJAX for that, don't you? > > AJAX = JavaScript. Not quite; AJAX is an acronym for Asynchronous JavaScript and XML and I think this helps to clear it up http://www.bestajaxscripts.com/ajax.html Thank you, Marc Hall HallMarc Websites 610.446.3346 http://www.hallmarcwebsites.com/ Spread the word about my services and earn money! Contact me for details. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] A Review Request
> >Making professional coding techniques visible to others can only be a > >good thing. I've been doing this for a while, but I'm still interested > >in how other people do these things. I never know when I might learn > >something. > > I've never meet a person who I couldn't learn from. > A great chef will always share the recipe. They know that it takes more than a recipe to make a memorable meal. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] problem in onclick
> And there are some hosting companies that offer servers that run JavaScript > server side like Jaxer That is not an endorsement of any kind. I have yet to > sign up for an account. I do know that the idea of running JavaScript server > side has been kicked around since I think 1996. I just took another look at Jaxer and it looks as if they are offering their SSJS (Server Side JavaScript) as a download with instructions on how to deploy it on your server. Sorry for the mix up. I'm fairly certain they used to offer it as a hosted service. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Repetitive answers . . .
PS Top posting is frowned upon on this list for reasons regarding how the information is parsed to the online archive. Not a reprimand, just a FYI -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Safari and PDF
I'm sure everyone here is aware that the latest Mac OS and Safari 5.1.x do not support opening PDFs in the browser window with Acrobat Reader plugin anymore. It is now necessary to open them with Preview instead. My question is this, does anyone know if it is possible to force Safari to use Preview with PHP? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Safari and PDF
> On the face of it, if you are writing a PHP application for others to use, > *forcing* a particular behaviour on them (on *their* own machine) is > probably not a good idea. Why not let the user deal with this as they see fit? > One can go way too far trying to ensure a uniform experience among users, > who may not even care what other users are experiencing. One size *never* > fits all. > > On the face of it; Apple needs to stop mucking with what already works! The issue is this, Apple in all of its wonderful glory decided to drop support for pdf via the acrobat plugin. Didn't bother to tell anyone about this. You now need to use their Preview feature ONLY if you want to view a pdf in your browser. Otherwise you get nothing but a big white empty screen. No notice, no warning, just a big white screen. Know what I've been getting from my clients? Grief! I'm the one writing the code for their site and since Apple can do no wrong it's me that must be the idiot. [>] Sorry, just sick and tired of Apple trying to bring everything under their tightly locked proprietary software mitts. As to why do I want to do this... because it is better than telling my client that they need to give their clients instruction on how to view something they have been comfortably using and viewing without issue until recently. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Safari and PDF
And in conclusion; sorry, I get uppity after a long day LOL. It's as I already thought; the answer is NO. So here is what I will do for any of you looking for an answer and stumbling across my slight rant, I will detect if it is Safari 5.1.x and then just remove the view link and leave them with a download link only. Sucks if you ask me. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: RE: [PHP] Safari and PDF
> I have to say that I still really have no clue what you are talking about. Why > would anyone with OS X want Acrobat Reader, when there is a perfectly > good [1] application (note: application, not "feature") available that does > the > task just as well. And when the PDF shows up in Safari you can choose to > view it there or open in Preview. I only do the latter if I intend to save the > PDF, which is not always the case. > > [1] Preview also allows me to adjust images when I can't be bothered to fire > up Elements. > > -- > Cheers -- Tim [>] Seems strange that you are given a choice. My clients have been telling me that they are told to get the latest Acrobat Reader by Safari. Which they have done (again why allow a plugin that isn't supported get installed to begin with) only to be told the same exact thing the next time the click on a pdf. Anyway, I realize this topic is now slightly off list. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Sniping on the List
> > > To all: > > > > Okay, so now that we have had people reply, here's my take. > > > > The Unix timestamp started on 01 Jan 1970 00:00:00 + -- and that was a > Thursday. > > > > The second before (i.e., 31 December, 1969 23:59:59:59 + ) was null, > which was Wednesday. > > I take issue with this. The second before was -1 seconds from the epoch. Null > is the absence of a value, so you can't get to null by simple arithmetic. I learnt > about negative numbers from the Greeks. And no, I'm not going to comment > on their current mathematical difficulties. > > Hmm. > > D'oh! > > But the point still stands: -1 !== null. > > -Stuart > What if we were to throw in quantum duality in here? Null and !Null at the same time -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Looking for PHP/JS/MySQL gurus in the Northern VA area
> -Original Message- > From: paras...@gmail.com [mailto:paras...@gmail.com] On Behalf Of > Daniel Brown > Sent: Thursday, December 08, 2011 1:27 PM > To: Rob Gould > Cc: php-general@lists.php.net > Subject: Re: [PHP] Looking for PHP/JS/MySQL gurus in the Northern VA area > > On Wed, Dec 7, 2011 at 23:11, Rob Gould wrote: > > Can anyone tell me if there are folks on this list in the Northern VA area? I > need to find a freelancer who knows PHP, Javascript, and mySQL. My client > likes face-to-face meetings on occasion, so I really need someone local. > > None of the older regulars here are from the area (I'm probably closest, up > in Scranton), but one of the newer folks may be. [>] I'm closer. :0) I'm in Philly and my graphic designer/advertising guy is in DC and could meet the client. Marc Hall HallMarc Websites www.HallMarcWebsites.com 610-446-3346 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Virus warning
> -Original Message- > From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] > Sent: Sunday, December 11, 2011 10:04 AM > To: PHP General List > Subject: [PHP] Virus warning > > Did anyone else receive an odd message today about a message to the list > bouncing back because of a virus warning? From the looks of it someone > spoofed an email to the list from my address, which meant I got the warning > email, but I wondered if anyone else was having the same issue? > > -- > Thanks, > Ash > http://www.ashleysheridan.co.uk > [>] I got it too this morning. :\ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Virus warning
Yes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Need Part-time Coder
> -Original Message- > From: rickycorn...@gmail.com [mailto:rickycorn...@gmail.com] On Behalf Of > John R. Cornell II > Sent: Tuesday, December 27, 2011 5:29 PM > To: php-general@lists.php.net > Subject: [PHP] Need Part-time Coder > > Email PHP sample for consideration [>] Is this the same person that was looking a month ago or...? Either way, asking for a "Sample" is not the best way to determine a coders capabilities. Anyone including a three year old could copy and paste anything and claim it as their own. When it comes to contracting a coder it is probably best to ask them for a portfolio and/or references. If you want to hire them instead as an employee then maybe you could have a competent coder interview them. Thanks for playing. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP code problem with pages
> > Maybe my subject line is not descriptive as I wish, but I just did not know > how to put on it. > > I have the following problem, I'm using jQuery to make a slide effect > (horizontal), everything seems to be working find, but I have to add a mask > with a white color background, I did this by CSS, now I have 6 pages in total, > this is managed by wp anyway, it shows the white bakground mask in every > page, and I want it to show in every page but not the home page; [>] Carlos, this looks like it would better suit your support needs to post this question on the wordpress.org forums. Here is what I can tell you, you need to make use of the functions built into WP and the theme you are using. The function(s) you need to use are as such: is_front_page(); is_home_page(); is_page(); etc and you can find the documentation in the Wordpress Codex here http://codex.wordpress.org/Conditional_Tags You could, alternatively, create your slider as a plugin; create a shortcode hook, and then call the sliders to the page with the shortcode in the dashboard WYSIWYG for that page/post. Marc Hall HallMarc Websites -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] html_entity_decode is trying to kill me
> Ugh. The problem is that the EvalMath class doesn't death with comparisons > between numbers, it only performs calculations. Barking up the wrong tree > for 2 hours is fun on a Friday! > Sorry, I just noticed death; seems your fingers contracted deal with into death. Interersting... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php