php-general Digest 7 Oct 2006 23:50:04 -0000 Issue 4388

2006-10-07 Thread php-general-digest-help
php-general Digest 7 Oct 2006 23:50:04 - Issue 4388 Topics (messages 242796 through 242804): Re: Testing people 242796 by: Ryan A Re: Unicode Problem 242797 by: tedd Re: Set Variable = Long HTML String? 242798 by: sit1way 242799 by: John Wells

Re: [PHP] Testing people

2006-10-07 Thread Ryan A
Thats why I love this list... people share and help so unselfishly. Thanks Rich, sure didnt think of the way you wrote the solution till i read your code! Have a fab one! Richard Lynch [EMAIL PROTECTED] wrote: I thought of having a hidden text box everytime for each question... but that can

Re: [PHP] Testing people

2006-10-07 Thread Ryan A
Thanks! Will give it a look-see! Cheers! Dotan Cohen [EMAIL PROTECTED] wrote: It's not exactly what you describe, but you should take a look at: http://www.bigredspark.com/survey.html Dotan Cohen http://what-is-what.com 7 -- - The faulty interface lies between the chair and the

RE: [PHP] Unicode Problem

2006-10-07 Thread tedd
At 4:15 PM -0500 10/6/06, Richard Lynch wrote: Perhaps you would care to extend your browsercam test to some regression testing of more ancient browsers -- on Mac OS. The following goes back to IE 5.2 for the Mac -- that's as far back as BrowserCam goes.

[PHP] Re: Set Variable = Long HTML String?

2006-10-07 Thread sit1way
Hey all. I'm overhauling my PHP based CMS and want to know how to set a variable equal to an HTML string, but without having to escape all the quotes! Example: $var = form name=events method=POST action= select class=menus name=news

Re: [PHP] Re: Set Variable = Long HTML String?

2006-10-07 Thread John Wells
On 10/7/06, sit1way [EMAIL PROTECTED] wrote: I'm overhauling my PHP based CMS and want to know how to set a variable equal to an HTML string, but without having to escape all the quotes! Noah, meet HEREDOC. HEREDOC, meet Noah:

Re: [PHP] Re: Set Variable = Long HTML String?

2006-10-07 Thread David Tulloh
You can mingle double and singal quotes. So choose one for the PHP quotes and one for the HTML quotes, HTML will use both interchangably. For example your string could become: $var = form name='events' ...; I'd also look at the echo's inside the string, they look like they shouldn't be there.

Re: [PHP] Re: Set Variable = Long HTML String?

2006-10-07 Thread John Wells
On 10/7/06, Noah Cutler [EMAIL PROTECTED] wrote: Yah, John. Just found it via Google. I remembered seeing this somewhere a couple years back but never used it. Very cool -- performance hit using this, or just a really useful function? From what I understand it suffers the same hit as

Re: [PHP] set cookie with non-english

2006-10-07 Thread Ahmad Al-Twaijiry
BTW I want to access the (cookie or session) variable from php javascript, so I don't think session is a solution so again, does anyone know how to resolve the problem so I can write the cookie output to UTF-8 html page ? On 10/5/06, Richard Lynch [EMAIL PROTECTED] wrote: On Tue, October 3,

[PHP] Re: Separate PHP Code From HTML || Pros Cons?

2006-10-07 Thread sit1way
Hey all. I've built a simple, yet effective PHP based CMS, one that I use in all sites I develop. Unfortunately, from site-to-site, functionality may be different; i.e. I often have to extend the original CMS to account for custom client needs, which means grabbing the most recent version of

[PHP] FTP

2006-10-07 Thread Raphael Martins
Hi, When I send files via FTP, the file size is limited to the php.ini max upload value? Thank you!

Re: [PHP] Re: Separate PHP Code From HTML || Pros Cons

2006-10-07 Thread Thiago Silva
On 10/7/06, sit1way [EMAIL PROTECTED] wrote: Hey all. This presents problems in that any updates I make to the CMS only affect the site I'm working on. So, while working on one site I may make changes to the CMS, changes that improve the app., but other older sites do not get updated -- it's

Re: [PHP] FTP

2006-10-07 Thread Brad Chow
Hi Martins, Of course. You can alter it you want. I remember that file size limit devided into two type: 1) local access 2) remote access file size limit only limit remote access because I can upload file from local more than limit. Good luck!! Brad On 10/8/06, Raphael Martins [EMAIL

Re: [PHP] Re: Separate PHP Code From HTML || Pros Cons

2006-10-07 Thread Tony Di Croce
I dont think its so bad. What I do is keep the PHP and HTML seperate, but in the same file: php on top, html in a here document at the bottom. I COULD go one step farther and have the HTML in a seperate file, but I just dont see the point. td On 10/7/06, Thiago Silva [EMAIL PROTECTED]

[PHP] Re: set cookie with non-english

2006-10-07 Thread Nisse Engström
On Tue, 3 Oct 2006 01:15:59 +0300, Ahmad Al-Twaijiry wrote: Hi everyone in my PHP code I use the following command to set a cookie with non-english word (UTF-8) : @setcookie (UserName,$Check[1]); and in my html page I get this cookie using javascript : [Snipped] but the result from