[PHP] ECHO $variable

2006-10-07 Thread Ron Piggott (PHP)
In one of my scripts I have where $saved_message_title is 1 Peter 5:7 "Cast all your cares on Him for He cares about you" --- note the " When this is displayed on the screen $saved_message_title reads 1 Peter 5:7 I am assuming the " closes the value= How may I echo this to the screen and

[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

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]> wrot

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 PROTEC

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

[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!

[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 m

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,

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 do

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 = " Hey all. > > I'm overhauling my PHP based CMS and want to know how to set a variable > equal to an HTML string

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: http://uk.php.net/manual/en/language.types.string.php#language.t

[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 = " News Options doc_path ?>admin/news/add/1/>Add doc_path ?>admin/news/update/1/>

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. http://www.browsercam.com/public.asp

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 keyboa

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