Re: [PHP] No is_date() function?

2007-07-26 Thread Richard Lynch
On Wed, July 25, 2007 8:55 am, Ken Tozier wrote: > I wrote a serialization function to turn arbitrary PHP variables into > Macintosh plist compatible XML but see that there is no "is_date" > tester as there is for bool, object, array etc. Is there a relatively > simple (and robust) way to detect if

Re: [PHP] problem with install php 5.2.3 on apache 2.2.4 in windows xp sp2

2007-07-26 Thread Richard Lynch
On Fri, July 20, 2007 7:57 pm, arvin lee wrote: > system: windows xp sp 2 > apache: apache_2.2.4-win32-x86-no_ssl > PHP: php-5.2.3-win32-installer.msi > > i try to install php on my computer so that i can finish my homework, > but > after download these files nightmare begins. Install apache wi

Re: [PHP] Creating a text file

2007-07-26 Thread Richard Lynch
On Mon, July 23, 2007 8:10 am, Daniel Brown wrote: > On 7/20/07, Richard Lynch <[EMAIL PROTECTED]> wrote: >> On Thu, July 19, 2007 8:33 am, Daniel Brown wrote: >> >> > extract($_POST); >> >> You might as well just turn register_globals back ON (bad!) because >> you've just done a work-aroun

Re: [PHP] About XML XSLT

2007-07-26 Thread Richard Lynch
On Sat, July 21, 2007 12:17 am, Kelvin Park wrote: > I'm trying to make a web site that it entirely XML/XSLT/PHP driven, > without > MYSQL. > However, since I need to reuse the database from my last web site, I > had to > parse XML with PHP and save it as a file (e.g. xmlFile.xml) in my > htdocs >

Re: [PHP] Notice warnings and performance

2007-07-26 Thread Richard Lynch
On Wed, July 25, 2007 3:39 am, Erfan Shirazi wrote: > The site I'm working on has a lot of notice warnings, thousands. And > they are all about: (Notice: Undefined variable..) > > I was wondering if I set the php.ini file to not log these in file or > display them, does all of these notice warnings

Re: [PHP] How to skipping the range of values from each element of array??

2007-07-26 Thread Richard Lynch
On Sat, July 21, 2007 3:19 am, Jim Lucas wrote: > sivasakthi wrote: >> Hi All, >> >> I have an array like that below, >> >> array( >> 'test %ts.%03tu %6tr %>a %Ss/%03Hs %>st %rm %ru %un >> %Sh/%>A >> %mt %rv %>st', >> 'squid %ts.%03tu %6tr %>a %Ss/%03Hs %>st %rm %ru %un >> %

Re: [PHP] Pirate PHP books online?

2007-07-26 Thread Richard Lynch
On Wed, July 25, 2007 5:15 am, David Powers wrote: > Richard Lynch wrote: >> At no point did I intend to sound unsympathetic to your plight! >> >> I only wanted to make it clear that 99.9% of musicians are in >> the >> same boat with you, despite what you read in the newspapers. > > Understood.

Re: [PHP] Find file version

2007-07-26 Thread Matt Carlson
Ya, I'm thinking it will be all exe's. I found microsoft's "Filever" program, but I can't get exec working properly (well, I can't get the results properly). I'm gonna keep searching, and hope I find how it determines file info. - Original Message From: Richard Lynch <[EMAIL PROTECTED

Re: [PHP] Pirate PHP books online?

2007-07-26 Thread Richard Lynch
On Mon, July 23, 2007 4:41 am, Sancar Saran wrote: > Those publishers ripping the authors then they blame the pirates... > > Real steal was %95 of book prices Do feel free to start your own publishing company and print up some books at prices you consider more fair. -- Some people have a "gi

Re: [PHP] Pirate PHP books online?

2007-07-26 Thread Richard Lynch
On Mon, July 23, 2007 6:00 am, David Powers wrote: > The Harry Potter books have sold an estimated 325 million copies. Even > if the author gets only 10 cents a book, that adds up to $32.5 > million. > I'm sure she gets a lot more than 10 cents a book, but it's the number > of books sold that makes

Re: [PHP] Find file version

2007-07-26 Thread Richard Lynch
On Wed, July 25, 2007 12:26 am, Matt Carlson wrote: > I've been recently toying with the idea of creating a php script to > emulate the function of File Hippo's program checker (checks certain > programs for their version, and then uploads to file hippo to compare > with what it is released to show

Re: [PHP] temp files

2007-07-26 Thread Richard Lynch
On Wed, July 25, 2007 3:55 am, admin wrote: > $lines = gzfile("http://www.example.com/some/resource";); > > for its internal needs gzfile() creates a temp file such as > /var/tmp/phpFjJxNX where the gzipped resource is kept. The file stays > there forever and eventually the fs runs out of inodes. A

Re: [PHP] Objects

2007-07-26 Thread Richard Lynch
On Wed, July 25, 2007 6:33 am, Suporte - DPRJ Sistemas wrote: > Is there anyone here interested in teaching (lond distance, off > course) OOP? > > I would like to learn how to use objects (I have been working all my > life using structured language). All the books I have tried just > "talk" about t

Re: [PHP] Re: The Official OT "Name Tedd's Grandson" Thread

2007-07-26 Thread Richard Lynch
On Thu, July 26, 2007 8:47 am, Daniel Brown wrote: > On 7/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote: >> or am I going retarded again? > > > This has been confirmed. For whatever reason, Gmail isn't showing > me the [PHP] mark in the subject for this thread. Perhaps because I'm >

RE: [PHP] Malformed Email Date Header

2007-07-26 Thread Chris Aitken
> Looks to me like the \270 is some kinda Unicode character instead of, > like, you know ASCII '+'... > > Dunno how you managed to convince your mail system that you wanted it > to convert + to Unicode \270, mind you, but there it is. > Hi Richard, Odd thing is all of the other headers of th

Re: [PHP] Malformed Email Date Header

2007-07-26 Thread Chris
X-Amavis-Alert: BAD HEADER Non-encoded 8-bit data (char B8 hex): Date: Wed, 04 Jul 2007 10:11:39 \2701000\n Looks like a problem when you're building the headers. Are you doing this manually (building the headers)? What's the code look like to do this? -- Postgresql & php tutorials

Re: [PHP] global variable does not exist anymore?

2007-07-26 Thread Richard Lynch
It's register_globals, and you should fix this ancient script to not rely on register_globals being "on" On Wed, July 25, 2007 5:30 pm, Patrik Hasibuan wrote: > Dear my friends... > > I create a very simple script in html and php as a first step. I use > suse, apache2, mysql and php. > > I wonder

Re: [PHP] Re: Malformed Email Date Header

2007-07-26 Thread Richard Lynch
If the sysadmin told the BIOS that s/he was using UTC, but told the OS that s/he was not using UTC (or vice versa) and then the clocks are being adjusted, and if it's in time zone -5, then you'd have the 10-hour offset right there, I think... Course, that has zilch to do with the \270 for '+' mind

Re: [PHP] Malformed Email Date Header

2007-07-26 Thread Richard Lynch
Looks to me like the \270 is some kinda Unicode character instead of, like, you know ASCII '+'... Dunno how you managed to convince your mail system that you wanted it to convert + to Unicode \270, mind you, but there it is. On Wed, July 25, 2007 11:22 pm, Chris Aitken wrote: > Hi All, > > > > Ju

Re: [PHP] DOM

2007-07-26 Thread Richard Lynch
On Thu, July 26, 2007 7:39 am, Man-wai Chang wrote: > Does Web 2.0 or maybe 3.0 offer some new types, say something > like a real grid, or maybe a modal child popup? No, that would be a useful feature, and browser-makers have much more important (read: inane) features to implement. :-) -- Some

RE: [PHP] Hide the real URL

2007-07-26 Thread Richard Lynch
On Thu, July 26, 2007 10:40 pm, Chris Aitken wrote: >> > There's a couple of "protect your image" schemes that will >> frustrate >> > the typical user, but they can be easily broken, like the one I >> > created here: >> > >> > http://www.webbytedd.com/b/protect_image/ >> > >> >> Firefox -> Tools ->

Re: [PHP] Hide the real URL

2007-07-26 Thread Richard Lynch
On Thu, July 26, 2007 8:41 am, Eric Butera wrote: > filenames. Are you trying to protect them from unauthorized viewing? If you are trying to protect from unauthorized viewing, they probably shouldn't be in the webtree at all, as it's not exactly rocket science to guess that your images are in an

Re: [PHP] Hide the real URL

2007-07-26 Thread Richard Lynch
On Thu, July 26, 2007 8:18 am, elk dolk wrote: > Hi all, > > I want to hide the real URL to my images by masking it with PHP > the code looks like this: > > $query = "SELECT * FROM table"; > $result=mysql_query($query); > > while ($row = mysql_fetch_array($result)) > { > echo ""; > } > > if you loo

Re: [PHP] HTML Email Composing Problem.

2007-07-26 Thread Richard Lynch
On Thu, July 26, 2007 2:46 pm, Tom Ray [Lists] wrote: > I'm trying to use PHP to compose an HTML formatted email Don't do that... > 3) Spam Assassin doesn't like it either way and tags the email as SPAM > for the following reasons: > > 0.6 HTML_SHORT_LENGTH BODY: HTML is extremely short >

Re: [PHP] HELP: Text editor that deals with BOM very well

2007-07-26 Thread Chris
Ryan Lao wrote: Hello everyone, Just need to ask a simple question, where can a find a text editor that deals with byte order mark very well? I've been using dreamweaver for a few years now but im not impressed by how it deals with BOM. i need a text editor that can view a bom and can remove

Re: [PHP] Is it possible to stop an image from being cached?

2007-07-26 Thread Richard Lynch
On Thu, July 26, 2007 6:32 pm, Tijnema wrote: > Also, if you use solution 2, the image will still stay forever in the Not forever. Just until something else being downloaded shoves it out due to the folder size restriction. The browser might even be "smart" and keep oft-used resources in the cac

Re: [PHP] Is it possible to stop an image from being cached?

2007-07-26 Thread Richard Lynch
On Thu, July 26, 2007 4:56 pm, Dan wrote: > Is there any tactic short of changing the name constantly of the image > to > avoid browser caching of an image? You can try to use all the zillion header calls people will send you. Somewhere out there is a really stupid browser that will insist on cac

RE: [PHP] Hide the real URL

2007-07-26 Thread Paul Novitski
At 7/26/2007 08:40 PM, Chris Aitken wrote: > > There's a couple of "protect your image" schemes that will frustrate > > the typical user, but they can be easily broken, like the one I > > created here: > > > > http://www.webbytedd.com/b/protect_image/ > > > > Firefox -> Tools -> Page Info -> Medi

RE: [PHP] Hide the real URL

2007-07-26 Thread Chris Aitken
> > There's a couple of "protect your image" schemes that will frustrate > > the typical user, but they can be easily broken, like the one I > > created here: > > > > http://www.webbytedd.com/b/protect_image/ > > > > Firefox -> Tools -> Page Info -> Media -> Scroll Till Find -> Bingo! > Say Fire

[PHP] HELP: Text editor that deals with BOM very well

2007-07-26 Thread Ryan Lao
Hello everyone, Just need to ask a simple question, where can a find a text editor that deals with byte order mark very well? I've been using dreamweaver for a few years now but im not impressed by how it deals with BOM. i need a text editor that can view a bom and can remove it from the file a

Re: [PHP] Hide the real URL

2007-07-26 Thread Robert Cummings
On Thu, 2007-07-26 at 22:08 -0400, tedd wrote: > > There's a couple of "protect your image" schemes that will frustrate > the typical user, but they can be easily broken, like the one I > created here: > > http://www.webbytedd.com/b/protect_image/ > > Others might have done it, but I haven't se

[PHP] error reporting

2007-07-26 Thread Bruce Cowin
I'm running PHP 5.1 on IIS. My dev environment is all local on my machine. My php.ini has the following error reporting settings: error_reporting = E_ALL display_errors = Off display_startup_errors = Off log_errors = On log_errors_max_len = 1024 ignore_repeated_errors = Off ignore_repeated_sou

Re: [PHP] Hide the real URL

2007-07-26 Thread tedd
At 6:18 AM -0700 7/26/07, elk dolk wrote: Hi all, I want to hide the real URL to my images by masking it with PHP the code looks like this: if you look at the source in browser you will see: how can I show it like this: elk: Yes, but for what purpose do you want to hide the image url, f

Re: [PHP] Re: DOM

2007-07-26 Thread Larry Garfield
On Thursday 26 July 2007, Man-wai Chang wrote: > > Does Web 2.0 or maybe 3.0 offer some new types, say something > > like a real grid, or maybe a modal child popup? > > Java is just a specialized DOM... in my opinion. Java has absolutely nothing to do with the subject at hand. Java is a compile

Re: [PHP] DOM

2007-07-26 Thread Larry Garfield
On Thursday 26 July 2007, Man-wai Chang wrote: > Out of curiosity, is there any effort in creating a new DOM that's > easier for application builders (something like Visual Foxpro)? > > Does Web 2.0 or maybe 3.0 offer some new types, say something > like a real grid, or maybe a modal child popup?

[PHP] Re: need help,pls

2007-07-26 Thread Dan
While we can point you in the right direction we can't build your project for you. You cover such a wide range of topics it's like you're trying to write a huge project but don't know actually how to use PHP. My recomendation is to go get a good PHP book, there's been a lot of discussion abou

Re: [PHP] Is it possible to stop an image from being cached?

2007-07-26 Thread Dan
Awesome, seems to work. Thanks Tijnema! - Dan ""Dan"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Well, this is only one specific image that constantly changes, the rest of the page is handled regularly. From what you've said if I go with this header("Cache-Control: no-cache,

Re: [PHP] Is it possible to stop an image from being cached?

2007-07-26 Thread Dan
Well, this is only one specific image that constantly changes, the rest of the page is handled regularly. From what you've said if I go with this header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1 header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past That will effec

Re: [PHP] No is_date() function?

2007-07-26 Thread Jim Lucas
Ken Tozier wrote: Hi I wrote a serialization function to turn arbitrary PHP variables into Macintosh plist compatible XML but see that there is no "is_date" tester as there is for bool, object, array etc. Is there a relatively simple (and robust) way to detect if a variable is a date? For exa

Re: [PHP] Is it possible to stop an image from being cached?

2007-07-26 Thread Tijnema
On 7/27/07, Dan <[EMAIL PROTECTED]> wrote: Is this header you're refering to the header of the page which contains the image, or the image itself? - Dan The image itself. Also note, that if you use my solution 2, you still might get problems, as the page that is calling might be cached, and i

Re: [PHP] Is it possible to stop an image from being cached?

2007-07-26 Thread Dan
Is this header you're refering to the header of the page which contains the image, or the image itself? - Dan "Tijnema" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On 7/27/07, brian <[EMAIL PROTECTED]> wrote: Tijnema wrote: > On 7/26/07, Dan <[EMAIL PROTECTED]> wrote: > >> I

Re: [PHP] Is it possible to stop an image from being cached?

2007-07-26 Thread Tijnema
On 7/27/07, Chris Aitken <[EMAIL PROTECTED]> wrote: >> header('Cache-Control: no-store, no-cache, must-revalidate, >> Post-Check=0, Pre-Check=0'); >> >> brian > >That's HTTP/1.1 only, but this is what I got from PHP site: >header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1 >header("E

Re: [PHP] How to get stored procedure return values via PDO?

2007-07-26 Thread Bruce Cowin
I had a similar problem using PDO on MS Sql Server where I was trying to return the id of an inserted row. I ended up giving up and doing a second query to get @@IDENTITY. Regards, Bruce >>> Richard Davey <[EMAIL PROTECTED]> 27/07/2007 12:51 a.m. >>> Hi, I'm calling a MySQL Stored Procedure v

RE: [PHP] Is it possible to stop an image from being cached?

2007-07-26 Thread Chris Aitken
>> header('Cache-Control: no-store, no-cache, must-revalidate, >> Post-Check=0, Pre-Check=0'); >> >> brian > >That's HTTP/1.1 only, but this is what I got from PHP site: >header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1 >header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in th

Re: [PHP] Is it possible to stop an image from being cached?

2007-07-26 Thread Tijnema
On 7/27/07, brian <[EMAIL PROTECTED]> wrote: Tijnema wrote: > On 7/26/07, Dan <[EMAIL PROTECTED]> wrote: > >> I have a situation where there is a single image let's call it >> somebody.jpg. >> I want to be able to dynamicly create this image using php, basicilly >> I have >> PHP set to handle .jp

Re: [PHP] Is it possible to stop an image from being cached?

2007-07-26 Thread brian
Tijnema wrote: On 7/26/07, Dan <[EMAIL PROTECTED]> wrote: I have a situation where there is a single image let's call it somebody.jpg. I want to be able to dynamicly create this image using php, basicilly I have PHP set to handle .jpg files also, so I then go through and create an image base

RE: [PHP] Re: Malformed Email Date Header

2007-07-26 Thread Chris Aitken
> Most likely it's the server's time/date problem. Did you check to make > sure that the time/date is in the correct timezone, etc? I know this > isn't really the right way to do it, but you could always just move the > server's clock back 10 hours if it's really always 10 hours ahead of time

RE: [PHP] Is it possible to stop an image from being cached?

2007-07-26 Thread Chris Aitken
> Solution 1: > Send a header() that avoids caching (can't remember it exactly) > Solution 2: > Call the image like this: > > Or if you were creating it with a php script: > My preferred way of doing it, and making sure its reloaded each time is to do it this way... the U variable pretty much gu

Re: [PHP] need help,pls

2007-07-26 Thread Alan Milnes
On 26/07/07, esimaje juan toritseju <[EMAIL PROTECTED]> wrote: hi, My name is Juan, i need help from you and i will be greatful if you could assist me,i have got an academic project to create a website .Within the page i should create a login session > for users ,i will have a database to sav

Re: [PHP] Is it possible to stop an image from being cached?

2007-07-26 Thread Tijnema
On 7/26/07, Dan <[EMAIL PROTECTED]> wrote: I have a situation where there is a single image let's call it somebody.jpg. I want to be able to dynamicly create this image using php, basicilly I have PHP set to handle .jpg files also, so I then go through and create an image based upon some info I g

[PHP] Is it possible to stop an image from being cached?

2007-07-26 Thread Dan
I have a situation where there is a single image let's call it somebody.jpg. I want to be able to dynamicly create this image using php, basicilly I have PHP set to handle .jpg files also, so I then go through and create an image based upon some info I get from a database call and then use head

[PHP] need help,pls

2007-07-26 Thread esimaje juan toritseju
hi, My name is Juan, i need help from you and i will be greatful if you could assist me,i have got an academic project to create a website .Within the page i should create a login session for users ,i will have a database to save designs, i do know how to create the database but, do not know

[PHP] Re: HTML Email Composing Problem.

2007-07-26 Thread Dan
I know it's not specificly a fix to your problem but it might be the easiest solution. Check out http://phpmailer.sourceforge.net/ it lets you specify an html and text body meaning it handles all the content-type stuff for you. It's really a nice solution. ""Tom Ray [Lists]"" <[EMAIL PROTECT

[PHP] Re: Malformed Email Date Header

2007-07-26 Thread Dan
Most likely it's the server's time/date problem. Did you check to make sure that the time/date is in the correct timezone, etc? I know this isn't really the right way to do it, but you could always just move the server's clock back 10 hours if it's really always 10 hours ahead of time. You a

[PHP] Found the problem...

2007-07-26 Thread Rob Adams
Found the problem. The piece of code was outside of a block where $db had been created, so it was a non-object the whole time... Easily fixed, but a hard error to find when I'm assuming it's my brand new class that's the problem. -- Rob ""Rob Adams"" <[EMAIL PROTECTED]> wrote in message n

[PHP] Createing a Test DB Object.

2007-07-26 Thread Rob Adams
I need to test a bunch of code that extensively uses a mysql database (both selects and inserts), and I want to do it without actually writing to the database.. Instead of commenting out all of the $db->query($insert_query) statements and echoing $insert_query, I thought I'd make the following

[PHP] HTML Email Composing Problem.

2007-07-26 Thread Tom Ray [Lists]
I'm trying to use PHP to compose an HTML formatted email and I'm running into some small problems. 1) When using "Content-Type: multipart/mixed" during my testing both Thunderbird and Gmail display the plain text and html version of the email and Firefox attaches the html portion as an attache

Re: [PHP] Hide the real URL

2007-07-26 Thread Nathan Nobbe
eric, thanks for taking time to explain this. -nathan On 7/26/07, Eric Butera <[EMAIL PROTECTED]> wrote: On 7/26/07, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > eric, > > ive seen this technique mentioned once or twice on the list now; do you know > of an article online > you could share that e

Re: [PHP] Hide the real URL

2007-07-26 Thread Eric Butera
On 7/26/07, Nathan Nobbe <[EMAIL PROTECTED]> wrote: eric, ive seen this technique mentioned once or twice on the list now; do you know of an article online you could share that explains it? -nathan On 7/26/07, Eric Butera <[EMAIL PROTECTED]> wrote: > > On 7/26/07, elk dolk <[EMAIL PROTECTED]>

Re[2]: [PHP] Sessions?

2007-07-26 Thread Luc
Hello brian, Thursday, July 26, 2007, 2:47:55 PM, you wrote: > The way that i generally handle this is to use a class. I instantiate an > object when the page loads, whether the form has been submitted or not. Tnx for the response Brian. Being a newbie i'll read your post carefully, trying to u

RE: [PHP] Re: The Official OT "Name Tedd's Grandson" Thread

2007-07-26 Thread Ford, Mike
On 26 July 2007 16:10, M. Sokolewicz wrote: > Daniel Brown wrote: > > On 7/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote: > > > or am I going retarded again? > > > > > >This has been confirmed. For whatever reason, Gmail isn't > > showing me the [PHP] mark in the subject for this t

Re: [PHP] Re: Pirate PHP books online?

2007-07-26 Thread Tijnema
On 7/26/07, Stut <[EMAIL PROTECTED]> wrote: Man-wai Chang wrote: > You could open a sample book in bookstores, scan the chapters to > decide whether you are gonna buy it. Not even slightly relevant, but it made me think of this (seemingly neverending) thread. http://xkcd.com/294/ -Stut Haha

Re: [PHP] Re: Pirate PHP books online?

2007-07-26 Thread Stut
Man-wai Chang wrote: You could open a sample book in bookstores, scan the chapters to decide whether you are gonna buy it. Not even slightly relevant, but it made me think of this (seemingly neverending) thread. http://xkcd.com/294/ -Stut -- http://stut.net/ -- PHP General Mailing List (h

Re: [PHP] Sessions?

2007-07-26 Thread brian
Luc wrote: Good morning list, I have my form up and running but something is missing: if you omit required fields, the form returns an error like: please fill in ... please fill in... the error message is displayed above the form on the same page. The problem is that upon showing the

Re: [PHP] Re: Pirate PHP books online?

2007-07-26 Thread Tijnema
On 7/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote: On 7/26/07, Tijnema <[EMAIL PROTECTED]> wrote: > On 7/26/07, Stut <[EMAIL PROTECTED]> wrote: > > Man-wai Chang wrote: > > > You could open a sample book in bookstores, scan the chapters to > > > decide whether you are gonna buy it. > > > > Not e

Re: [PHP] Re: Pirate PHP books online?

2007-07-26 Thread Daniel Brown
On 7/26/07, Tijnema <[EMAIL PROTECTED]> wrote: On 7/26/07, Stut <[EMAIL PROTECTED]> wrote: > Man-wai Chang wrote: > > You could open a sample book in bookstores, scan the chapters to > > decide whether you are gonna buy it. > > Not even slightly relevant, but it made me think of this (seemingly >

Re: [PHP] Re: The Official OT "Name Tedd's Grandson" Thread

2007-07-26 Thread Daniel Brown
Yeah, that's what I narrowed it down to as well. Must be a Gmail thing. On 7/26/07, Tijnema <[EMAIL PROTECTED]> wrote: On 7/26/07, Ford, Mike <[EMAIL PROTECTED]> wrote: > On 26 July 2007 16:10, M. Sokolewicz wrote: > > > Daniel Brown wrote: > > > On 7/26/07, Daniel Brown <[EMAIL PROTECTED]>

Re: [PHP] Re: The Official OT "Name Tedd's Grandson" Thread

2007-07-26 Thread Tijnema
On 7/26/07, Ford, Mike <[EMAIL PROTECTED]> wrote: On 26 July 2007 16:10, M. Sokolewicz wrote: > Daniel Brown wrote: > > On 7/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote: > > > or am I going retarded again? > > > > > >This has been confirmed. For whatever reason, Gmail isn't > > s

Re: [PHP] Re: The Official OT "Name Tedd's Grandson" Thread

2007-07-26 Thread Daniel Brown
On 7/26/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Thu, 2007-07-26 at 16:24 +0100, Colin Guthrie wrote: > M. Sokolewicz wrote: > > It's not the only, about 50% of threads have it, and another 50% don't. > > For instance, the DOM thread does not have it, this thread has it in > > between Re

[PHP] Re: The Official OT "Name Tedd's Grandson" Thread

2007-07-26 Thread Colin Guthrie
M. Sokolewicz wrote: > It's not the only, about 50% of threads have it, and another 50% don't. > For instance, the DOM thread does not have it, this thread has it in > between Re:'s, Hide the real URL has it, Pirate PHP books doesn't, etc. I don't get them on any of my messages but then I read the

[PHP] Re: The Official OT "Name Tedd's Grandson" Thread

2007-07-26 Thread Colin Guthrie
Daniel Brown wrote: > On 7/26/07, Robert Cummings <[EMAIL PROTECTED]> wrote: >> On Thu, 2007-07-26 at 16:24 +0100, Colin Guthrie wrote: >> > I don't get them on any of my messages but then I read them all via >> nntp >> > and Gmane.org >> >> I get it in every message... must be a mail client th

Re: [PHP] Hide the real URL

2007-07-26 Thread Paul Novitski
At 7/26/2007 08:08 AM, M. Sokolewicz wrote: // output to browser, suppressing error message why are you suppressing error messages?? @readfile($Filename); http://php.net/readfile "Reads a file and writes it to the output buffer

Re: [PHP] Re: The Official OT "Name Tedd's Grandson" Thread

2007-07-26 Thread Robert Cummings
On Thu, 2007-07-26 at 16:24 +0100, Colin Guthrie wrote: > M. Sokolewicz wrote: > > It's not the only, about 50% of threads have it, and another 50% don't. > > For instance, the DOM thread does not have it, this thread has it in > > between Re:'s, Hide the real URL has it, Pirate PHP books doesn't,

[PHP] Re: Hide the real URL

2007-07-26 Thread elk dolk
Paul Novitski <[EMAIL PROTECTED]> wrote: Date: Thu, 26 Jul 2007 06:50:47 -0700 To: php-general@lists.php.net From: Paul Novitski <[EMAIL PROTECTED]> Subject: Re: [PHP] Hide the real URL Thank you Paul and everybody for the useful suggestions I need some time to test all of them. elk -

Re: [PHP] Re: The Official OT "Name Tedd's Grandson" Thread

2007-07-26 Thread M. Sokolewicz
Daniel Brown wrote: On 7/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote: or am I going retarded again? This has been confirmed. For whatever reason, Gmail isn't showing me the [PHP] mark in the subject for this thread. Perhaps because I'm the OP. /me shrugs. It's not the o

Re: [PHP] Hide the real URL

2007-07-26 Thread M. Sokolewicz
Paul Novitski wrote: At 7/26/2007 06:18 AM, elk dolk wrote: I want to hide the real URL to my images by masking it with PHP the code looks like this: $query = "SELECT * FROM table"; $result=mysql_query($query); while ($row = mysql_fetch_array($result)) { echo ""; } if you look at the source i

Re: [PHP] Hide the real URL

2007-07-26 Thread Paul Novitski
At 7/26/2007 06:18 AM, elk dolk wrote: I want to hide the real URL to my images It should be pointed out that you can't really hide the real URL of your images. If an image appears in a browser, the browser will accurately report its location to the user, and the user can save it to their

Re: [PHP] Hide the real URL

2007-07-26 Thread Nathan Nobbe
eric, ive seen this technique mentioned once or twice on the list now; do you know of an article online you could share that explains it? -nathan On 7/26/07, Eric Butera <[EMAIL PROTECTED]> wrote: On 7/26/07, elk dolk <[EMAIL PROTECTED]> wrote: > Hi all, > > I want to hide the real URL to my

[PHP] Re: Pirate PHP books online?

2007-07-26 Thread Michelle Konzack
Am 2007-07-23 15:56:12, schrieb Sancar Saran: > It was still ripping, They got 18 USD you got 2 USD. This is sucks. I'm not > sure author of Harry Potter acceps same condition. > > You made everyone rich except yourself... From the 18 USD, they payed me the proofreader and helped me to get bette

Re: [PHP] Hide the real URL

2007-07-26 Thread Paul Novitski
At 7/26/2007 06:18 AM, elk dolk wrote: I want to hide the real URL to my images by masking it with PHP the code looks like this: $query = "SELECT * FROM table"; $result=mysql_query($query); while ($row = mysql_fetch_array($result)) { echo ""; } if you look at the source in browser you will see

Re: [PHP] Re: The Official OT "Name Tedd's Grandson" Thread

2007-07-26 Thread Daniel Brown
On 7/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote: or am I going retarded again? This has been confirmed. For whatever reason, Gmail isn't showing me the [PHP] mark in the subject for this thread. Perhaps because I'm the OP. /me shrugs. -- Daniel P. Brown [office] (570-) 58

Re: [PHP] Re: The Official OT "Name Tedd's Grandson" Thread

2007-07-26 Thread Daniel Brown
On 7/26/07, Colin Guthrie <[EMAIL PROTECTED]> wrote: Well I managed to convince the Irish domain people to let me register guthr.ie which I think is pretty cool. [snip] On the downside, as I use the domain quite a lot for numerous things, I now find it quite hard to write (type) my lastname /wi

Re: [PHP] Re: How to get stored procedure return values via PDO?

2007-07-26 Thread Richard Davey
Hi M., Thursday, July 26, 2007, 2:09:47 PM, you wrote: > Richard Davey wrote: >> Hi, >> >> I'm calling a MySQL Stored Procedure via PDO (PHP 5.2.3) >> >> $stmt = $dbh->prepare('CALL forum_post(?, ?, ?, ?, ?, @status, @thread_id, >> @message_id)'); >> >> At the moment in order to get the value

Re: [PHP] Hide the real URL

2007-07-26 Thread Eric Butera
On 7/26/07, elk dolk <[EMAIL PROTECTED]> wrote: Hi all, I want to hide the real URL to my images by masking it with PHP the code looks like this: $query = "SELECT * FROM table"; $result=mysql_query($query); while ($row = mysql_fetch_array($result)) { echo ""; } if you look at the source in br

Re: [PHP] Hide the real URL

2007-07-26 Thread Richard Heyes
how can I show it like this: 1. Make your links point to 2. In show.php, try the following: http://www.mnot.net/cache_docs/ or use Fiddler to // find out what headers are being sent to your browser: // http://www.fiddlertool.com header('Cont

[PHP] Re: DOM

2007-07-26 Thread M. Sokolewicz
Man-wai Chang wrote: Does Web 2.0 or maybe 3.0 offer some new types, say something like a real grid, or maybe a modal child popup? Java is just a specialized DOM... in my opinion. Where did you get this weird idea... JAVA by itself has nothing to do with the web or documents... It's commonly

[PHP] Hide the real URL

2007-07-26 Thread elk dolk
Hi all, I want to hide the real URL to my images by masking it with PHP the code looks like this: $query = "SELECT * FROM table"; $result=mysql_query($query); while ($row = mysql_fetch_array($result)) { echo ""; } if you look at the source in browser you will see: how can I show it like this

[PHP] Re: DOM

2007-07-26 Thread Man-wai Chang
Does Web 2.0 or maybe 3.0 offer some new types, say something like a real grid, or maybe a modal child popup? Java is just a specialized DOM... in my opinion. -- @~@ Might, Courage, Vision, SINCERITY. / v \ Simplicity is Beauty! May the Force and Farce be with you! /( _ )\ (Xubuntu 7.04)

[PHP] Re: How to get stored procedure return values via PDO?

2007-07-26 Thread M. Sokolewicz
Richard Davey wrote: Hi, I'm calling a MySQL Stored Procedure via PDO (PHP 5.2.3) $stmt = $dbh->prepare('CALL forum_post(?, ?, ?, ?, ?, @status, @thread_id, @message_id)'); At the moment in order to get the values of status, thread_id and message_id I need to issue a second query: $sql = "SE

[PHP] How to get stored procedure return values via PDO?

2007-07-26 Thread Richard Davey
Hi, I'm calling a MySQL Stored Procedure via PDO (PHP 5.2.3) $stmt = $dbh->prepare('CALL forum_post(?, ?, ?, ?, ?, @status, @thread_id, @message_id)'); At the moment in order to get the values of status, thread_id and message_id I need to issue a second query: $sql = "SELECT @status AS status,

Re: [PHP] query not working properly

2007-07-26 Thread Richard Davey
Hi Joey, Thursday, July 26, 2007, 1:36:37 PM, you wrote: > Hi everyone, > I'mt trying to do the below query which itself works correctly, but when I > add a order by statement just bombs. > $query = "select * from articles where ( {$now} BETWEEN startdate > AND enddate) and categoryid =

[PHP] DOM

2007-07-26 Thread Man-wai Chang
Out of curiosity, is there any effort in creating a new DOM that's easier for application builders (something like Visual Foxpro)? Does Web 2.0 or maybe 3.0 offer some new types, say something like a real grid, or maybe a modal child popup? -- @~@ Might, Courage, Vision, SINCERITY. / v \

[PHP] query not working properly

2007-07-26 Thread Joey B
Hi everyone, I'mt trying to do the below query which itself works correctly, but when I add a order by statement just bombs. $query = "select * from articles where ( {$now} BETWEEN startdate AND enddate) and categoryid = 1 limit 0,3"; $query = "select * from articles order by st

[PHP] Re: appendChild(), removeChild()

2007-07-26 Thread Man-wai Chang
JavaScript (The main part of AJAX) runs on the client. Using AJAX you can have it call stuff on your server, but mainly it is client side only. THX -- @~@ Might, Courage, Vision, SINCERITY. / v \ Simplicity is Beauty! May the Force and Farce be with you! /( _ )\ (Xubuntu 7.04) Linux 2.

[PHP] Sessions?

2007-07-26 Thread Luc
Good morning list, I have my form up and running but something is missing: if you omit required fields, the form returns an error like: please fill in ... please fill in... the error message is displayed above the form on the same page. The problem is that upon showing the error messag

Re: [PHP] Re: appendChild(), removeChild()

2007-07-26 Thread Richard Heyes
Man-wai Chang wrote: If the child refers to a file, is it client-side only? I meant it's nothing like AJAX, right? Since JS runs on the client, yes. ... or unless the file was cached, right? I am reading about these stuffs lately. :) JavaScript (The main part of AJAX) runs on the client. Us

[PHP] Re: appendChild(), removeChild()

2007-07-26 Thread Man-wai Chang
If the child refers to a file, is it client-side only? I meant it's nothing like AJAX, right? Since JS runs on the client, yes. ... or unless the file was cached, right? I am reading about these stuffs lately. :) -- @~@ Might, Courage, Vision, SINCERITY. / v \ Simplicity is Beauty! May

Re: [PHP] appendChild(), removeChild()

2007-07-26 Thread Richard Heyes
Man-wai Chang wrote: > If the child refers to a file, is it client-side only? I meant it's > nothing like AJAX, right? Since JS runs on the client, yes. -- Richard Heyes +44 (0)844 801 1072 http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software that can cut the cost of online

[PHP] appendChild(), removeChild()

2007-07-26 Thread Man-wai Chang
If the child refers to a file, is it client-side only? I meant it's nothing like AJAX, right? -- @~@ Might, Courage, Vision, SINCERITY. / v \ Simplicity is Beauty! May the Force and Farce be with you! /( _ )\ (Xubuntu 7.04) Linux 2.6.22.1 ^ ^ 18:44:01 up 14 days 20:48 1 user load aver

[PHP] Re: The Official OT "Name Tedd's Grandson" Thread

2007-07-26 Thread Colin Guthrie
tedd wrote: > At 8:53 AM -0400 7/25/07, Daniel Brown wrote: >>First of all, congrats to Tedd on his 9th grandchild, a boy, at >> 8lbs. 9oz. Congrats do Tedd and to your son and his partner! > My son just informed me that the baby's name is Jacob William Sperling. > I now have a grandson who's

  1   2   >