Re: [PHP] Generate XHTML (HTML compatible) Code using DOMDocument

2009-04-15 Thread Michael Shadle
I use XHTML 1.0 transitional and I've yet to have anyone tell me my sites don't work. Mobile and desktop browsers too. So I'm not sure that's an issue at all (?) On Apr 15, 2009, at 6:31 PM, Raymond Irving wrote: Thanks for the feedback. I too like xhtml but I think I like the option of

Re: [PHP] cURL - Error 400

2009-04-15 Thread David
Except I also need to POST data to the server to login. After I've logged in, I then need to use cookies to maintain a session. Doing that via file_get_contents() just isn't possible. Thanks On Thu, Apr 16, 2009 at 2:30 AM, haliphax wrote: > On Wed, Apr 15, 2009 at 10:36 AM, David >> wrote:

Re: [PHP] ftp_put issues

2009-04-15 Thread Chris
James wrote: Hi, I'm trying to upload a pdf file from a local drive to the server using a php routine. I've done it server to server before with no issues but this just keeps failing on me. This is the function I'm calling, it connects and logs in just fine, but it will not upload the file. T

[PHP] ftp_put issues

2009-04-15 Thread James
Hi, I'm trying to upload a pdf file from a local drive to the server using a php routine. I've done it server to server before with no issues but this just keeps failing on me. This is the function I'm calling, it connects and logs in just fine, but it will not upload the file. The file I'm sen

Re: [PHP] Generate XHTML (HTML compatible) Code using DOMDocument

2009-04-15 Thread Raymond Irving
Thanks for the feedback. I too like xhtml but I think I like the option of serving both. My only concern is that a proxy server might cache an xhtml page and then serve it to a non-xhtml browser. Do you think it's possible that a proxy might serve the xhtml source to the wrong browser? __ Ra

Re: [PHP] Generate XHTML (HTML compatible) Code using DOMDocument

2009-04-15 Thread Raymond Irving
Thanks for your feedback. __ Raymond Irving --- On Tue, 4/14/09, Michael A. Peters wrote: > From: Michael A. Peters > Subject: Re: [PHP] Generate XHTML (HTML compatible) Code using DOMDocument > To: "Raymond Irving" > Cc: php-general@lists.php.net > Date: Tuesday, April 14, 2009, 8:09 PM >

[PHP] Re: try - catch is not so clear to me...

2009-04-15 Thread Al
Lamp Lists wrote: hi to all! actually, the statement in the Subject line is not 100% correct. I understand the purpose and how it works (at least I think I understand :-)) but to me it's so complicated way? let's take a look in example from php.net(http://us3.php.net/try) getMessage(), "\

Re: [PHP] redirect to a page the fist time a site is accessed

2009-04-15 Thread Don
"Andrew Ballard" wrote in message news:b6023aa40904150926g3e6fb478s36b18b6a53ec3...@mail.gmail.com... On Tue, Apr 14, 2009 at 10:30 PM, Jason Pruim wrote: > > > On Apr 14, 2009, at 10:11 PM, "Don" wrote: > >> Hi, >> >> I have some code in my index.php file that check the user agent and >> redi

Re: [PHP] alt() - unknown function?

2009-04-15 Thread Paul M Foster
On Wed, Apr 15, 2009 at 03:23:19PM +0100, Tom Calpin wrote: > Hi all, > > I've just started looking at the code of an e-commerce site we are taking > over the development of, that another company has previously developed . > Coupled with the difficulty of taking over development of someone else's

Re: [PHP] GIS with PHP tutorial

2009-04-15 Thread Adam Williams
have you looked into this? http://postgis.refractions.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] help with statement

2009-04-15 Thread Terion Miller
I'm trying to take a paragraph then break it into linebreaks and grab each line separately but it's not working, I can get the paragraph but my lines are not I get the object id #6 or #7 everytime Here's my code // grab all the paragraphs on the page $xpath = new DOMXPath($dom); //$graphs = $xpath

[PHP] GIS with PHP tutorial

2009-04-15 Thread Diptanjan
Hi Gurus, I was just wondering if there is any good tutorial on GIS with PHP ? Tried googling but did'nt find anything real good. Any help will be appreciated. Regards Diptanjan -- View this message in context: http://www.nabble.com/GIS-with-PHP-tutorial-tp23065797p23065797.html Sent from t

Re: [PHP] cURL - Error 400

2009-04-15 Thread haliphax
On Wed, Apr 15, 2009 at 10:36 AM, David wrote: > I was wondering if anyone could please help me with this cURL script since I > keep getting error 400 from the web server: > > http://pastebin.ca/1392840 > > It worked until around a month ago which is when they presumably made > changes to the site

Re: [PHP] bug or expected, mbstring.func_overload not changeable by .htaccess 5.2.8/5.2.9

2009-04-15 Thread Thodoris
Hello, following in my .htaccess works with php 5.2.6 (mod_php) php_value mbstring.func_overload 2 Seems that since (5.2.7?) 5.2.8/5.2.9 this value is not any more accepted by php in .htaccess. mbstring.func_overload should be changeable by PHP_INI_PERDIR which includes .htaccess Other valu

[PHP] Re: header() and passing sessions

2009-04-15 Thread Shawn McKenzie
Adam Williams wrote: > I need some help passing a session variable with a header() function. > According to www.php.net/header, the documentation states: > > *Note*: Session ID is not passed with Location header even if > session.use_trans_sid > is enabled. It > must by passed manually using *SI

Re: [PHP] https and Credit Cards

2009-04-15 Thread דניאל דנון
You are right - Decline the job, you don't want any credit-card stealing on your head On Wed, Apr 15, 2009 at 1:10 PM, Richard Heyes wrote: > Hi, > > > To add to what others have said: CC processors with which I have worked > will > > audit your site *before* certifying your site to accept CC in

Re: [PHP] PDO fetch_obj - question

2009-04-15 Thread talofo talofo
Thanks. I will see. The script for my database was been generated so, I will doublecheck this uppercase "issue"... Regards, Márcio 2009/4/15 Thodoris > > Hi there, I’ve made a fetch_obj and, as stated on some sites, it returns >> a anonymous >> object where the properties will have the name o

Re: [PHP] header() and passing sessions

2009-04-15 Thread Adam Williams
abdulazeez alugo wrote: Hi, Well I'ld say the reason is quite obvious. You have simply not set $_session["username"] . I'ld have done something like: -- option.php -- header('Location: http://intra.mdah.state.ms.us/helpdesk/viewpending.php?PHPSESSID='.SID); //

Re: [PHP] redirect to a page the fist time a site is accessed

2009-04-15 Thread Andrew Ballard
On Tue, Apr 14, 2009 at 10:30 PM, Jason Pruim wrote: > > > On Apr 14, 2009, at 10:11 PM, "Don" wrote: > >> Hi, >> >> I have some code in my index.php file that check the user agent and >> redirects to a warning page if IE 6 or less is encountered. >> >> 1. I'm using a framework and so calls to al

RE: [PHP] header() and passing sessions

2009-04-15 Thread abdulazeez alugo
> Date: Wed, 15 Apr 2009 11:09:19 -0500 > From: awill...@mdah.state.ms.us > To: php-general@lists.php.net > Subject: [PHP] header() and passing sessions > > I need some help passing a session variable with a header() function. > According to www.php.net/header, the documentation states: > >

[PHP] header() and passing sessions

2009-04-15 Thread Adam Williams
I need some help passing a session variable with a header() function. According to www.php.net/header, the documentation states: *Note*: Session ID is not passed with Location header even if session.use_trans_sid is enabled. It must by passed manually using *SID* constant. so, I'm trying

[PHP] cURL - Error 400

2009-04-15 Thread David
Hi I was wondering if anyone could please help me with this cURL script since I keep getting error 400 from the web server: http://pastebin.ca/1392840 It worked until around a month ago which is when they presumably made changes to the site. Except I can't figure out what configuration option i

Re: [PHP] PDO fetch_obj - question

2009-04-15 Thread Thodoris
Hi there, I’ve made a fetch_obj and, as stated on some sites, it returns a anonymous object where the properties will have the name of our columns database. However, when I do this, I notice that instead of giving me the column names as they are typed on the DB I get them uppercase. So, wh

Re: [PHP] alt() - unknown function?

2009-04-15 Thread Richard Heyes
> grep gets my vote, since i don't use netbeans I'd go for grep too (unix or Win32): grep -rin "function alt" * What's the exact error? -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.net (Updated April 11th) -- PHP General Mailing List (http:

Re: [PHP] alt() - unknown function?

2009-04-15 Thread Thodoris
This is someplace where NetBeans really benefits me. You can hit CTRL-B, or right-click, to take you to a definition. Holding CTRL turns darned-near everything into a hyperlink, doing the same thing. Lastly, CTRL-SHIFT-F lets you search through every file in the project for your string. Find

Re: [PHP] alt() - unknown function?

2009-04-15 Thread Bastien Koert
On Wed, Apr 15, 2009 at 10:58 AM, George Larson wrote: > This is someplace where NetBeans really benefits me. You can hit CTRL-B, > or > right-click, to take you to a definition. Holding CTRL turns darned-near > everything into a hyperlink, doing the same thing. > > Lastly, CTRL-SHIFT-F lets you

Re: [PHP] alt() - unknown function?

2009-04-15 Thread George Larson
This is someplace where NetBeans really benefits me. You can hit CTRL-B, or right-click, to take you to a definition. Holding CTRL turns darned-near everything into a hyperlink, doing the same thing. Lastly, CTRL-SHIFT-F lets you search through every file in the project for your string. Finding

Re: [PHP] alt() - unknown function?

2009-04-15 Thread Thodoris
Hi all, I've just started looking at the code of an e-commerce site we are taking over the development of, that another company has previously developed . Coupled with the difficulty of taking over development of someone else's code (also poorly commented), I've been stumped by a fatal error on

[PHP] alt() - unknown function?

2009-04-15 Thread Tom Calpin
Hi all, I've just started looking at the code of an e-commerce site we are taking over the development of, that another company has previously developed . Coupled with the difficulty of taking over development of someone else's code (also poorly commented), I've been stumped by a fatal error on a

Re: [PHP] https and Credit Cards

2009-04-15 Thread Richard Heyes
Hi, > To add to what others have said: CC processors with which I have worked will > audit your site *before* certifying your site to accept CC information. In > other words, if you don't do SSL, you won't be *allowed* to process cards. FWIW, companies exist that will host your "buy" page(s), so