Re: [PHP] $date("l-m");

2005-06-04 Thread Sebastian
is it possible for $mydata->lastinsalled to have -MM-DD format? ie: 2004-05-31 you can use strtotime to convert it to unix timestamp to compare...something like this: $stamp = strtotime('2004-06-31'); // $mydata->lastinsalled if($stamp >= strtotime('1 year ago')) { echo 'less than 1 y

[PHP] $date("l-m");

2005-06-04 Thread John Taylor-Johnston
$mydata->lastinsalled = "2004-05"; How can I determne if $mydata->lastinsalled is one year or more older than the current $date("l-m"); Anyting simple and over looked? I have been browsing the manual:: http://ca.php.net/manual/en/function.strtotime.php http://ca.php.net/manual/en/function.date

[PHP] extended charsets

2005-06-04 Thread Philip Washington
We have 2 different linux servers running apache and php. On one of the servers the information pulled from the data show degree symbols or greek lettering, which are supposed to be there. On the other server the places where these symbols are supposed to appear shows blank spaces. One serve

Re: [PHP] Deerpark (aka Firefox 1.1 alpha) URI's and PHP

2005-06-04 Thread Richard Lynch
On Sat, June 4, 2005 3:53 am, Chris Drozdowski said: > Will PHP scripts that work properly with the current version (1.0.4) of > Firefox need to be modified for the feature detailed below in Firefox > 1.1? > > See: > http://www.mozilla.org/projects/deerpark/new-web-dev-features.html > > "URIs alway

Re: [PHP] mozilla & urlencode

2005-06-04 Thread John Taylor-Johnston
This works: "District of St. Francis" http://www.glquebec.org/tezt.php#District+of+St.+Francis This does not: "Montréal District #2" http://www.glquebec.org/tezt.php#Montr%E9al+District+%232 I'm beginning to see the problem lies with the French character "é". I don't see it being #. In any

Re: [PHP] url by mail

2005-06-04 Thread Mark Cain
$lines = file('http://www.example.com/'); foreach ($lines as $line) { echo $line . "\n"; } This ought to do it. Try it and see. But be aware that if the "allow_url_fopen" was not enable at the compile time, this won't work. Mark Cain - Original Message - From: "vlad georgescu" <[E

Re: [PHP] about PHP Graphic .

2005-06-04 Thread Richard Lynch
On Sat, June 4, 2005 3:47 am, NeginGostar.com :: Administrator said: > I want know about PHP Graphic . > I want use graphic in php but i cant setup GD library , in my server > My Server is Windows 2003 > and i want install graphic in php First, make a PHP file with in it, and surf to it. Then, f

RE: [PHP] dynamic drop down

2005-06-04 Thread Danny Brow
On Wed, 2005-06-01 at 11:49 +0100, Mark Rees wrote: > The dropdown list is on the client (browser). Javascript runs on the > client. PHP runs on the server. > > You have 2 options > > - one is to do as Richard says and use javascript to change the contents > of one select box when an option is

Re: [PHP] Frames or iframes? (Basically "The devil or deap sea" or "A rock and a hard place" etc) - - - -> (0T)

2005-06-04 Thread Marek Kilimajer
Ryan A wrote: Hey, Thanks for replying. Since its a forum and she is not doing any advertising its important the search engines index the site properly or shes going to have a big forum with no visitors. Then I read that the search engines dont like frames muchso I was thinking of

[PHP] url by mail

2005-06-04 Thread vlad georgescu
how can i send a webpage by mail ? i'v tryed something like that $fd = fopen ($url, "r"); $contents = fread($fd, 102400); print $contents; fclose ($fd); mail($adr,$url,$contents); but the message is blank :( what's the problem ?

Re: [PHP] Frames or iframes? (Basically "The devil or deap sea" or "A rock and a hard place" etc) - - - -> (0T)

2005-06-04 Thread JamesBenson
You could write a script which uses a cookie to remember which users have seen the animation or not, I personally wouldnt use frames but thats just my opinion. Ryan A wrote: On 6/4/2005 5:30:14 PM, Marek Kilimajer ([EMAIL PROTECTED]) wrote: Ryan A wrote: I had a real good flash header

Re: [PHP] Frames or iframes? (Basically "The devil or deap sea" or "A rock and a hard place" etc) - - - -> (0T)

2005-06-04 Thread Mark Cain
perhaps you can change the swf to non-play state with a JavaScript on all of the pages other than the first one. in the swf OBJECT tag have the following "id" tag: id="test1" in the EMBED tag have the following "name" tag: NAME="test1" in the body of all pages other than the first Somewhere i

Re: [PHP] ampersands in href's

2005-06-04 Thread Leon Poon
The simplest way to make sure everything work well regardless of what the values are: "; ?> htmlspecialchars() changes characters '&', '"', ''', '<', '>' into the HTML equivilant. And yup, you should do this for all *ML pages as long as the thing being printed is not part of the mark-up synta

RE: [PHP] Frames or iframes? (Basically "The devil or deap sea" or "A rock and a hard place" etc) - - - -> (0T)

2005-06-04 Thread Ryan A
Hey, Thanks for replying. > > Since its a forum and she is not doing any advertising its important the search engines index the site > > properly or shes going to have a big forum with no visitors. Then I read that the search engines dont like > > frames muchso I was thinking of using iframes

RE: [PHP] Frames or iframes? (Basically "The devil or deap sea" or "A rock and a hard place" etc) - - - -> (0T)

2005-06-04 Thread Murray @ PlanetThoughtful
> Since its a forum and she is not doing any advertising its important the > search engines index the site > properly or shes going to have a big forum with no visitors. > Then I read that the search engines dont like frames muchso I was > thinking of using iframes and > then I read about the "

Re: [PHP] Frames or iframes? (Basically "The devil or deap sea" or "A rock and a hard place" etc) - - - -> (0T)

2005-06-04 Thread Ryan A
Hey, > >>.swf files are not cached by the browsers? Seems they are, so you > don't > >>need to care about frames. Simply output the html needed to load the > >>flash file each time, the flash will be downloaded only once. .. > > Yep, but the animation and the intro music will play each tim

Re: [PHP] Frames or iframes? (Basically "The devil or deap sea" or "A rock and a hard place" etc) - - - -> (0T)

2005-06-04 Thread Marek Kilimajer
Ryan A wrote: On 6/4/2005 5:30:14 PM, Marek Kilimajer ([EMAIL PROTECTED]) wrote: Ryan A wrote: I had a real good flash header which she too liked, so I modified the header and she really liked it, problem is, its around 230kb to load, so I thought I'll put it in a frame (top frame ->

Re: [PHP] Frames or iframes? (Basically "The devil or deap sea" or "A rock and a hard place" etc) - - - -> (0T)

2005-06-04 Thread Ryan A
On 6/4/2005 5:30:14 PM, Marek Kilimajer ([EMAIL PROTECTED]) wrote: > Ryan A wrote: > > > > I had a real good flash header which she too liked, so I modified the > header > > and she really liked it, > > problem is, its around 230kb to load, so I thought > I'll put it in a frame > > (top frame -> h

Re: [PHP] Frames or iframes? (Basically "The devil or deap sea" or "A rock and a hard place" etc) - - - -> (0T)

2005-06-04 Thread Marek Kilimajer
Ryan A wrote: I had a real good flash header which she too liked, so I modified the header and she really liked it, problem is, its around 230kb to load, so I thought I'll put it in a frame (top frame -> header, bottom frame-> content and forum) so the flash part won't reload on each page reques

[PHP] Frames or iframes? (Basically "The devil or deap sea" or "A rock and a hard place" etc) - - - -> (0T)

2005-06-04 Thread Ryan A
Hey, The end of the world is at hand how do I know this? coz my mom wants her own site! My mom; the person who hated computers coz "those 'things' are too damn complicated"! Anyway, thought I'll do it for her to kind of repay a bit of carrying me for whole 9 months, and tough delivery etc etc.

Re: [PHP] ampersands in href's

2005-06-04 Thread Jack Jackson
Rory Browne wrote: On 6/4/05, Jack Jackson <[EMAIL PROTECTED]> wrote: Hi, Rory Rory Browne wrote: I think you have the idea. The &'s are used to seperate the various variables. If you want to set $p to something like 'Tom & Jerry' then personally I'd do something like: That's nice. To

Re: [PHP] ampersands in href's

2005-06-04 Thread Marek Kilimajer
Jack Jackson wrote: Murray @ PlanetThoughtful wrote: If I want to make a link to a URL which includes some GETs can I just do: Depends very much on the document type of your page. Valid XHTML (transitional, at least), for example, doesn't like single ampersands in href=> links. For XH

Re: [PHP] ampersands in href's

2005-06-04 Thread Jack Jackson
Murray @ PlanetThoughtful wrote: If I want to make a link to a URL which includes some GETs can I just do: Depends very much on the document type of your page. Valid XHTML (transitional, at least), for example, doesn't like single ampersands in links. For XHTML, you need to replace "&"s wi

Re: [PHP] ampersands in href's

2005-06-04 Thread Rory Browne
On 6/4/05, Jack Jackson <[EMAIL PROTECTED]> wrote: > Hi, Rory > > Rory Browne wrote: > > I think you have the idea. The &'s are used to seperate the various > > variables. If you want to set $p to something like 'Tom & Jerry' then > > personally I'd do something like: > > > > > > > $p = "Tom & Je

RE: [PHP] ampersands in href's

2005-06-04 Thread Murray @ PlanetThoughtful
> If I want to make a link to a URL which includes some GETs can I just do: > > > or must I escape the ampersand somehow? Depends very much on the document type of your page. Valid XHTML (transitional, at least), for example, doesn't like single ampersands in links. For XHTML, you need to repl

Re: [PHP] ampersands in href's

2005-06-04 Thread Jack Jackson
Hi, Rory Rory Browne wrote: I think you have the idea. The &'s are used to seperate the various variables. If you want to set $p to something like 'Tom & Jerry' then personally I'd do something like: $p = "Tom & Jerry"; $s = "Cat & Mouse"; printf(" That's nice. To get more specific (becau

Re: [PHP] ampersands in href's

2005-06-04 Thread Rory Browne
I think you have the idea. The &'s are used to seperate the various variables. If you want to set $p to something like 'Tom & Jerry' then personally I'd do something like: On 6/4/05, Jack Jackson <[EMAIL PROTECTED]> wrote: > Hi, > > If I want to make a link to a URL which includes some GETs can

[PHP] ampersands in href's

2005-06-04 Thread Jack Jackson
Hi, If I want to make a link to a URL which includes some GETs can I just do: http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] autocomplete a field

2005-06-04 Thread Burhan Khalid
xfedex wrote: Hi, Anyone know if theres a way to disable this feature for user using old browsers or not suporting JS/XML? Look up -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] htmlArea - a 'client editor'

2005-06-04 Thread M Saleh EG
www.FCKEditor.net FCKEditor is the best i've ever seen. Check it out. On 6/3/05, Rory Browne <[EMAIL PROTECTED]> wrote: > > htmlArea afaik only works on MSIE 5+. It doesn't work on > Mozilla/Firefox/etc. > > On 6/3/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Re: [PHP] Exporting to MS Word or Excel

2005-06-04 Thread Rory Browne
On 6/3/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > To export it exactly as displayed (like when you print to a virtual printer > to generate a PDF) might be tricky, but you can definitely create Excel and I > believe Word files without even having Excel or Word installed. If you DO > ha

[PHP] Returned mail: Data format error

2005-06-04 Thread Post Office
ALERT! This e-mail, in its original form, contained one or more attached files that were infected with a virus, worm, or other type of security threat. This e-mail was sent from a Road Runner IP address. As part of our continuing initiative to stop the spread of malicious viruses, Road Runner s

Re: [PHP] autocomplete a field

2005-06-04 Thread Rory Browne
On 6/4/05, xfedex <[EMAIL PROTECTED]> wrote: > Hi, > > Anyone know if theres a way to disable this feature for user using old > browsers or not suporting JS/XML? Put your JS Code in html comments, like as follows... > > Thanks, > pancarne. > > -- PHP General

Re: [PHP] mozilla & urlencode

2005-06-04 Thread Marek Kilimajer
John Taylor-Johnston wrote: I seem to have a problem with Mozilla or with IE? echo "district)."\">"; http://foo.org/_private/directory.php#Montr%E9al+District+%234 works in IE6, but Mozilla will not accept it. Mozilla does not work. Am I approaching this wrong? Should I create my HTML this

[PHP] Deerpark (aka Firefox 1.1 alpha) URI's and PHP

2005-06-04 Thread Chris Drozdowski
Will PHP scripts that work properly with the current version (1.0.4) of Firefox need to be modified for the feature detailed below in Firefox 1.1? See: http://www.mozilla.org/projects/deerpark/new-web-dev-features.html "URIs always sent as UTF8 URIs are now always sent to the server as UTF8,

[PHP] about PHP Graphic .

2005-06-04 Thread NeginGostar.com :: Administrator
Hello Dear I want know about PHP Graphic . I want use graphic in php but i cant setup GD library , in my server My Server is Windows 2003 and i want install graphic in php please help me, thanks

[PHP] Re: mozilla & urlencode

2005-06-04 Thread JamesBenson
Your code is wrong, there is nothing wrong with Firefox's support for anchor tags (that im aware of) and IE dont do too badly with them either. Paste the following into a blank HTML file Shoule work...does for me, no problem. click me />/>/> Ha, you clicked me, should work in Firefox

[PHP] Re: missing $_GET

2005-06-04 Thread JamesBenson
Possibly the PHP version your using, try looking at the PHP manual and also getting your PHP version by placing into a file and running it in your browser, see this document for other methods:- http://php.net/manual/en/reserved.variables.php#reserved.variables.get Ric Manalac wrote: Hell