[PHP] Re: $mydata->StampDate

2005-06-26 Thread Jasper Bryant-Greene
John Taylor-Johnston wrote: > I could just change the field type. But how do you calculate it? I don't > see much to inspire a start. I'm not a full-time coder either. More of a > tinkerer. I don't want someone to do it for me, but need to get my head > around how to do it. > http://ca3.php.net/man

[PHP] Re: $mydata->StampDate

2005-06-26 Thread John Taylor-Johnston
I could just change the field type. But how do you calculate it? I don't see much to inspire a start. I'm not a full-time coder either. More of a tinkerer. I don't want someone to do it for me, but need to get my head around how to do it. http://ca3.php.net/manual/en/function.strtotime.php John

[PHP] Re: $mydata->StampDate

2005-06-26 Thread Jasper Bryant-Greene
John Taylor-Johnston wrote: > I created my own counter. I have a varchar (10) field that resembles a > date: 2005-06-26. Now I would like to parse out $mydata->StampDate to > find how many hits per day I have had since "2003-08-23". Where do I start? > >while ($mydata = mysql_fetch_object($new

Re: [PHP] Re: A Bug in string ' e

2005-06-26 Thread Jasper Bryant-Greene
Kevin L'Huillier wrote: > On 26/06/05, Jasper Bryant-Greene <[EMAIL PROTECTED]> wrote: > >>Kevin L'Huillier wrote: >> >>>Could you copy the relevant code into a message? >> >>Sure, either set the content-type to text/plain (to see the raw string >>rather than have the browser interpret it as HTML

[PHP] $mydata->StampDate

2005-06-26 Thread John Taylor-Johnston
I created my own counter. I have a varchar (10) field that resembles a date: 2005-06-26. Now I would like to parse out $mydata->StampDate to find how many hits per day I have had since "2003-08-23". Where do I start? while ($mydata = mysql_fetch_object($news)) { } John -- John Taylor

Re: [PHP] Re: A Bug in string ' e

2005-06-26 Thread Kevin L'Huillier
On 26/06/05, Jasper Bryant-Greene <[EMAIL PROTECTED]> wrote: > Kevin L'Huillier wrote: > > Could you copy the relevant code into a message? > > Sure, either set the content-type to text/plain (to see the raw string > rather than have the browser interpret it as HTML), like this: Sorry, Jasper.

[PHP] PHP search

2005-06-26 Thread Bruce Gilbert
Hello, I am fairly new to PHP, and I am looking to create a search functionality on a website using php. Can anyone point me to a good tutorial that can walk me through this? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: A Bug in string ' e

2005-06-26 Thread Jasper Bryant-Greene
Kevin L'Huillier wrote: > Could you copy the relevant code into a message? Seeing > pseudo-script is different from seeing what you are actually > doing. Sure, either set the content-type to text/plain (to see the raw string rather than have the browser interpret it as HTML), like this: or ht

Re: [PHP] Re: PHP web archeticture

2005-06-26 Thread Robert Cummings
On Sun, 2005-06-26 at 21:45, Greg Donald wrote: > On 6/24/05, Joe Muddah <[EMAIL PROTECTED]> wrote: > > Thanks a bunch. I have alot of work now ahead of me to decide which > > framework to use. Any opinions on which one is the best? > > I've used Mojavi heavily and I dabbled with Binarycloud a bit

Re: [PHP] Re: PHP web archeticture

2005-06-26 Thread Greg Donald
On 6/24/05, Joe Muddah <[EMAIL PROTECTED]> wrote: > Thanks a bunch. I have alot of work now ahead of me to decide which > framework to use. Any opinions on which one is the best? I've used Mojavi heavily and I dabbled with Binarycloud a bit. I like Ruby on Rails best: http://www.rubyonrails.org/

Re: [PHP] Re: A Bug in string ' e

2005-06-26 Thread Kevin L'Huillier
> Are you viewing this via a web server? It's probably returning > content-type text/html, which means that you might need to > htmlspecialchars() that string. That's what i was thinking. It looks like how some browsers would render that string. Could you copy the relevant code into a message?

Re: [PHP] PHP vs. ColdFusion

2005-06-26 Thread Jonathan Villa
Take a look at these, they are just some of the articles I've bookmarked over the past Oracle is now behind (well in support of) PHP http://www.oracle.com/technology/tech/php/index.html IBM is also behind PHP (well in support of) http://www-128.ibm.com/developerworks/websphere/techjournal/0505_kr

Re: [PHP] including the result of one query in another query

2005-06-26 Thread Jasper Bryant-Greene
Jochem Maas wrote: >> I have two databases, on for aeromodelistas (aeromodelling) and >> another for Códigos Postais (Postal Codes). I whant to do the > > what DB are you using? MySQL? > you can't select across multiple DBs in any RDMS that I know of ... > so it looks like either use 2 queries or

[PHP] Re: A Bug in string ' e

2005-06-26 Thread Jasper Bryant-Greene
cchereTieShou wrote: > You can actually try to use this to verify the problem: > > echo ' e > What you get? I got > Quite confusing. Anyone think this is a bug or something I missed? Are you viewing this via a web server? It's probably returning content-type text/html, which means that you migh

Re: [PHP] PHP vs. ColdFusion

2005-06-26 Thread Jochem Maas
Rick Emery wrote: My employer has (finally) decided to take full advantage of our intranet, and wants to move from client-server applications to web-based applications. To that end, we're trying to determine the best platform for our applications. We're a Microsoft shop, with Microsoft SQL Serv

Re: [PHP] the BACKSLASH

2005-06-26 Thread Martín Marqués
El Dom 26 Jun 2005 18:12, Jochem Maas escribió: > the backslash has caught us all out when we first started, and beyond. > many 'noobs' have had the fortune of being explained, in depth, > how and why concerning the backslash by a singular Richard Lynch ... > > but obviously nobody is immune (spot

Re: [PHP] A Bug in string ' e

2005-06-26 Thread Martín Marqués
El Dom 26 Jun 2005 17:31, cchereTieShou escribió: > I found this quite weired problem when I was trying to generate a > mysql query string, something like > > WHERE TheDate > The query string returns something like > > WHERE TheDate > > Withought the left part. > > You can actually

Re: [PHP] the BACKSLASH

2005-06-26 Thread Sebastian
backslash was invented for windows ;) Jochem Maas wrote: the backslash has caught us all out when we first started, and beyond. many 'noobs' have had the fortune of being explained, in depth, how and why concerning the backslash by a singular Richard Lynch ... but obviously nobody is immune (s

[PHP] the BACKSLASH

2005-06-26 Thread Jochem Maas
the backslash has caught us all out when we first started, and beyond. many 'noobs' have had the fortune of being explained, in depth, how and why concerning the backslash by a singular Richard Lynch ... but obviously nobody is immune (spot the mistake): http://www.zend.com/codex.php?id=15&single

[PHP] A Bug in string ' e

2005-06-26 Thread cchereTieShou
I found this quite weired problem when I was trying to generate a mysql query string, something like WHERE TheDate e Quite confusing. Anyone think this is a bug or something I missed? -- If you have a minute, please visit http://www.cchere.com -- PHP General Mailing List (http://www.php.ne

[PHP] snmpgetnext not working (get, walk and walkoid work fine)

2005-06-26 Thread kbapat
Any help appreciated. Thanks Kundan. Version PHP 4.3.11 and the corresponding snmp package. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Stop spreading PEAR FUD; WAS Re: [PHP] Re: PHP web archeticture

2005-06-26 Thread M Saleh EG
In general, anyone could then say oh ".Net" framework, "Java" framework, "CPAN", or then any other full blown frameworks bloated! I believe these kind of posts would not effect noone but it might create a bad perception for the net/platform voyagers! Every framework, be it based on a language or

[PHP] Re: PHP vs. ColdFusion

2005-06-26 Thread Ke'tszeri Csaba
Hello, I can't give out exact numbers, but have worked for a portal in 2001 with around 100K page impressions per day. First they stared with cf, three massive, Intel based HP web servers and one SUN for the Oracle. The system hardly managed this load, so they fired the firm wrote the the CF,

[PHP] Mail System Error - Returned Mail

2005-06-26 Thread Mail Administrator
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP vs. ColdFusion

2005-06-26 Thread Rick Emery
My employer has (finally) decided to take full advantage of our intranet, and wants to move from client-server applications to web-based applications. To that end, we're trying to determine the best platform for our applications. We're a Microsoft shop, with Microsoft SQL Server 2000 for all of

Re: [PHP] $_SESSION and header()

2005-06-26 Thread Alessandro Rosa
Does (c) have at the top of its page: André > You have to pass the session ID between pages, either by setting > session.use_cookies = 1 (so that the session ID is passed using a > cookie where possible) or append the session ID to the URL you are > redirecting to as part of the query parameter

Re: [PHP] $_SESSION and header()

2005-06-26 Thread Paul Waring
On Sun, Jun 26, 2005 at 04:33:30PM +0200, Alessandro Rosa wrote: > But, when I'm in the new page of (c), the $_SESSION variables stored > in (a) are no longer available and I can get anymore their values then, > (I can't say if they have been unset or erased). You have to pass the session ID betwe

[PHP] $_SESSION and header()

2005-06-26 Thread Alessandro Rosa
(a) : After saving a couple of data into two $_SESSION variables from a form, (b) : I used the header() function to redirect the browser to (c) : display another page. But, when I'm in the new page of (c), the $_SESSION variables stored in (a) are no longer available and I can get anymore their va

[PHP] Re: css/html expertise??

2005-06-26 Thread David Dorward
bruce wrote: > i'm playing around with css (classes/ids/etc...) does anybody here have > any experience with this or could answer a few questions?? http://www.css-discuss.org/ http://groups-beta.google.com/group/comp.infosystems.www.authoring.stylesheets -- David Dorward

Re: [PHP] including the result of one query in another query

2005-06-26 Thread Brian V Bonini
On Sun, 2005-06-26 at 06:38, Pedro Quaresma de Almeida wrote: > Hi > > I have two databases, on for aeromodelistas (aeromodelling) and > another for Códigos Postais (Postal Codes). I whant to do the > following query > > SELECT CódigoPostal FROM Aeromodelistas > WHERE CódigoPostal IN > (SELEC

Re: [PHP] including the result of one query in another query

2005-06-26 Thread Jochem Maas
Pedro Quaresma de Almeida wrote: Hi its not a php question. I have two databases, on for aeromodelistas (aeromodelling) and another for Códigos Postais (Postal Codes). I whant to do the what DB are you using? MySQL? you can't select across multiple DBs in any RDMS that I know of ... so it

[PHP] including the result of one query in another query

2005-06-26 Thread Pedro Quaresma de Almeida
Hi I have two databases, on for aeromodelistas (aeromodelling) and another for Códigos Postais (Postal Codes). I whant to do the following query SELECT CódigoPostal FROM Aeromodelistas WHERE CódigoPostal IN (SELECT distinct(CP4) FROM codigopostal.LOCART,codigopostal.DISTRITO WHERE codigopo

[PHP] array_diff php version

2005-06-26 Thread André Le Tissier
Help! Array_diff is the perfect function for what I am try to do but I have a php version 4.1.5. Is there any replacement I can use to achieve the same result Many thanks, André Le Tissier