Re: [PHP] How about a saveXHTML for the DOM?

2009-04-10 Thread Michael A. Peters
Raymond Irving wrote: Thanks for the feedback Michael. I will look into your suggesstions. Is there an option on the DOMDocument that we can set to not have saveXML() append to the end of the tags? This is normally the case if the html content was loaded using loadHTMLFile() I think I've

Re: [PHP] How about a saveXHTML for the DOM?

2009-04-10 Thread Raymond Irving
Thanks for the feedback Michael. I will look into your suggesstions. Is there an option on the DOMDocument that we can set to not have saveXML() append to the end of the tags? This is normally the case if the html content was loaded using loadHTMLFile() __ Raymond Irving --- On Fri, 4/10/0

Re: [PHP] How about a saveXHTML for the DOM?

2009-04-10 Thread Michael A. Peters
Michael A. Peters wrote: $myxhtml->loadXML($xmlstring); $elements = $myxhtml->getElementsByTagName("html"); $xmlHtml = $elements->item(0); ?> forgot this tidbit - setAttribute("xmlns","http://www.w3.org/1999/xhtml";); $xmlHtml->setAttributeNS('http://www.w3.org/XML/1998/namespace','xml:lang'

Re: [PHP] Re: unknown number of inputs

2009-04-10 Thread PJ
Michael A. Peters wrote: > Phpster wrote: >> >> >> On Apr 10, 2009, at 12:44, Al wrote: >> >>> >>> PJ wrote: I have a script with $_POST and to load data with text input. Situation: enter name of author(s) for book. I have the script set up to enter first_name, last_name for A

Re: [PHP] How about a saveXHTML for the DOM?

2009-04-10 Thread Michael A. Peters
Raymond Irving wrote: --- On Wed, 4/8/09, Michael A. Peters wrote: From: Michael A. Peters Subject: Re: [PHP] How about a saveXHTML for the DOM? saveXML() already does what is needed to provide valid xhtml output. From my test it sometimes generate this like at the end of the page ele

Re: [PHP] Escape Data In/Out of db [solved]

2009-04-10 Thread tedd
At 9:12 PM -0700 4/9/09, Jim Lucas wrote: tedd wrote: At 5:03 PM +0200 4/9/09, Jan G.B. wrote: You might want to use htmlspecialchars($str, ENT_QUOTES) OUT from db to html and mysql_real_escape_string(stripslashes($_POST['yourself'])); The above tells me that you probably need to look

Re: [PHP] Re: unknown number of inputs

2009-04-10 Thread Phpster
On Apr 10, 2009, at 15:21, Al wrote: Phpster wrote: On Apr 10, 2009, at 12:44, Al wrote: PJ wrote: I have a script with $_POST and to load data with text input. Situation: enter name of author(s) for book. I have the script set up to enter first_name, last_name for Author1 and the

Re: [PHP] Re: unknown number of inputs

2009-04-10 Thread Michael A. Peters
Phpster wrote: On Apr 10, 2009, at 12:44, Al wrote: PJ wrote: I have a script with $_POST and to load data with text input. Situation: enter name of author(s) for book. I have the script set up to enter first_name, last_name for Author1 and the same for Author 2. Check if entry 1 exists t

Re: [PHP] A Tool For Building PHP Web Apps

2009-04-10 Thread Raymond Irving
Maybe this can help: http://www.intorel.com/index.php?page=ActiveSiteCompiler-default_asp --- On Fri, 4/10/09, Paul M Foster wrote: > From: Paul M Foster > Subject: [PHP] A Tool For Building PHP Web Apps > To: php-general@lists.php.net > Date: Friday, April 10, 2009, 1:28 AM > Here's a hai

Re: [PHP] How about a saveXHTML for the DOM?

2009-04-10 Thread Raymond Irving
--- On Wed, 4/8/09, Michael A. Peters wrote: > From: Michael A. Peters > Subject: Re: [PHP] How about a saveXHTML for the DOM? > > saveXML() already does what is needed to provide valid > xhtml output. From my test it sometimes generate this like at the end of the page elements. It also

[PHP] ServInt feedback

2009-04-10 Thread la...@garfieldtech.com
Hi folks. A while back I inquired about "managed VPS" hosting services. I have since gotten a recommendation for ServInt.net, which seems to offer an actual managed VPS or something very close to it. Does anyone else have experience with them, good or bad? Are they decently responsible ab

Re: [PHP] Re: unknown number of inputs

2009-04-10 Thread Al
Phpster wrote: On Apr 10, 2009, at 12:44, Al wrote: PJ wrote: I have a script with $_POST and to load data with text input. Situation: enter name of author(s) for book. I have the script set up to enter first_name, last_name for Author1 and the same for Author 2. Check if entry 1 exists

Re: [PHP] Caching

2009-04-10 Thread דניאל דנון
Hey! About " Header set Expires "Thu, 15 Apr 2010 20:00:00 GMT" " The problem is the files might change, lets say - every week. How can I use " Header set Expires "Thu, 15 Apr 2010 20:00:00 GMT"" to something like Header set Expires "today plus week" (or X seconds / y minutes / etc...) On Fri,

Re: [PHP] Re: unknown number of inputs

2009-04-10 Thread Phpster
On Apr 10, 2009, at 12:44, Al wrote: PJ wrote: I have a script with $_POST and to load data with text input. Situation: enter name of author(s) for book. I have the script set up to enter first_name, last_name for Author1 and the same for Author 2. Check if entry 1 exists then proceed a

[PHP] Help on how to grab data from a page?

2009-04-10 Thread Terion Miller
I'm trying to grab our towns restaurant inspection results , store them in a db ... I have a script that is able to pull the inspections and divides them by the paragraphs, now I need a way to grab each line (I think) so that I can hopefully store the data with fields like RestName, RestAddress etc

[PHP] Re: unknown number of inputs

2009-04-10 Thread Al
PJ wrote: I have a script with $_POST and to load data with text input. Situation: enter name of author(s) for book. I have the script set up to enter first_name, last_name for Author1 and the same for Author 2. Check if entry 1 exists then proceed accordingly Check if entry 2 exists then proce

Re: [PHP] convert video files to FLV

2009-04-10 Thread Michael Shadle
On Fri, Apr 10, 2009 at 9:12 AM, Ashley Sheridan wrote: > If you'll note, the original question was to find a way which did not > require ffmpeg. I should really have rephrased that to say "I know of no > way you can do this without ffmpeg". I've used ffmpeg and mencoder > myself to transcode vid

Re: [PHP] convert video files to FLV

2009-04-10 Thread Ashley Sheridan
On Fri, 2009-04-10 at 09:01 -0700, Michael Shadle wrote: > On Fri, Apr 10, 2009 at 4:31 AM, Ashley Sheridan > wrote: > > > I know of no way you can do this. Not only would any potential solution > > be too slow, but it would affect other users of the server, and more > > than likely result in an

Re: [PHP] convert video files to FLV

2009-04-10 Thread Michael Shadle
On Fri, Apr 10, 2009 at 4:31 AM, Ashley Sheridan wrote: > I know of no way you can do this. Not only would any potential solution > be too slow, but it would affect other users of the server, and more > than likely result in an email from you hosting provider! > > Have you considered using YouTub

Re: [PHP] How can I echo a javascript var in an email subject line? Possible? (Yes!)RESOLVED

2009-04-10 Thread Terion Miller
Thanks Terion Happy Freecycling Free the List !! www.freecycle.org Over Moderation of Freecycle List Prevents Post Timeliness. Report Moderator Abuse Here: http://www.freecycle.org/faq/faq/contact-info Or Email Your Complaint to: f...@freecycle.org or i...@freecycle.org ---

Re: [PHP] A Tool For Building PHP Web Apps

2009-04-10 Thread Yannick Mortier
2009/4/10 Marcus Gnaß : > Paul M Foster wrote: >> >> On Fri, Apr 10, 2009 at 09:01:14AM -0400, Bob McConnell wrote: >> >> >>> >>> From: Paul M Foster >>> Here's a hairbrained idea I was kicking around. I object to the idea >>> >>> of >>> including 15 or 30 files in a PHP ap

Re: [PHP] A Tool For Building PHP Web Apps

2009-04-10 Thread Marcus Gnaß
Paul M Foster wrote: On Fri, Apr 10, 2009 at 09:01:14AM -0400, Bob McConnell wrote: From: Paul M Foster Here's a hairbrained idea I was kicking around. I object to the idea of including 15 or 30 files in a PHP application just to display one page on the internet. It makes

Re: [PHP] A Tool For Building PHP Web Apps

2009-04-10 Thread Leonard Burton
Correct me if I am wrong, but wasn't there a few PHP code generators that did what the OP is asking? I remember hearing about Code Generation a few years ago, but that has been about it. On Fri, Apr 10, 2009 at 9:48 AM, Paul M Foster wrote: > On Fri, Apr 10, 2009 at 09:01:14AM -0400, Bob McConne

Re: [PHP] A Tool For Building PHP Web Apps

2009-04-10 Thread Paul M Foster
On Fri, Apr 10, 2009 at 09:01:14AM -0400, Bob McConnell wrote: > From: Paul M Foster > > > > Here's a hairbrained idea I was kicking around. I object to the idea > of > > including 15 or 30 files in a PHP application just to display one page > > on the internet. It makes the coding faster, but it

RE: [PHP] A Tool For Building PHP Web Apps

2009-04-10 Thread Bob McConnell
From: Paul M Foster > > Here's a hairbrained idea I was kicking around. I object to the idea of > including 15 or 30 files in a PHP application just to display one page > on the internet. It makes the coding faster, but it makes the display > slower and seems silly to me. > > So what if you had a

Re: [PHP] A Tool For Building PHP Web Apps

2009-04-10 Thread Phpster
Roadsend is very beta when I last checked and while promising seemed to be geared more towards taking php and moving it to the desktop without using gtk. I could see the uses but I think adobe air fits that model better with less to worry about. Personally, I am leaning more and more towa

Re: [PHP] convert video files to FLV

2009-04-10 Thread Ashley Sheridan
On Wed, 2009-04-08 at 22:34 -0700, Michael Shadle wrote: > On Wed, Apr 8, 2009 at 10:30 PM, Gevorg Harutyunyan > wrote: > > Hi, > > > > I need to convert video files to FLV using php. > > > > The only solution that I found is to use ffmpeg, but because I am using > > shared hosting I am not allow

Re: [PHP] extracting text - regex

2009-04-10 Thread Ashley Sheridan
On Wed, 2009-04-08 at 17:14 +0200, Merlin Morgenstern wrote: > > George Larson wrote: > > On Wed, Apr 8, 2009 at 9:13 AM, George Larson > > wrote: > > > >> I'm what you might consider rather green, myself. > >> I certainly wouldn't use this code for production but if you're just > >> debugging o

Re: [PHP] wana join ur group

2009-04-10 Thread 9el
Welcome Sabrina, you are already in the giant php mailing listin the world. Enjoy Questioning here. Regards Lenin www.twitter.com/nine_L -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] wana join ur group

2009-04-10 Thread abdulazeez alugo
Date: Fri, 10 Apr 2009 15:29:58 +0600 Subject: Re: [PHP] wana join ur group From: lizzeel...@gmail.com To: defati...@hotmail.com hello Alugo, Thanks for your reply. I hope its not a auto reply mail. I really dont know how to join. and where to login. Can you please instruct me? Hi Liz

RE: [PHP] wana join ur group

2009-04-10 Thread abdulazeez alugo
> Date: Fri, 10 Apr 2009 15:14:53 +0600 > From: lizzeel...@gmail.com > To: php-general@lists.php.net > Subject: [PHP] wana join ur group > > With Regards > > Sabrina Akter > Web App. Developer > 'IBACS' - www.ibacs.co.uk Greetings Sabrina, You're welcome to this maili

Re: [PHP] Caching

2009-04-10 Thread Richard Heyes
Hi, > I started caching some of the static files on my application, > I was wondering - Lets say I have an article on my website and I *want* to > cache it. How will I cache it AND will be able to make my visitors > "re-cache" it if it has been changed? Work from the last modified date/time on th

[PHP] wana join ur group

2009-04-10 Thread Sabrina Akter
With Regards Sabrina Akter Web App. Developer 'IBACS' - www.ibacs.co.uk

Re: [PHP] Please Help Me ASAP

2009-04-10 Thread Jignesh Thummar
whenever you want to print HTMLs in your code you don't need to call echo or print everytime. You can use plain HTML in your php code this way. your HTML code your HTML code or you can use HEREDOC to print long string ( http://in.php.net/types.string) - Jignesh On Fri, Apr 10, 2009 at 12:37 P

Re: [PHP] Please Help Me ASAP

2009-04-10 Thread Bipin Upadhyay
kunal sharma wrote: Hello, I'm building my own website without any knowledge of PHP, & i'm almost done with that..as my website works fine on my local server i:e WAMPSERVER 2.0, but the same code is not working on server...n i'm rilli 'd of coz of that... The error is :"PHP Parse error: syn