php-general Digest 15 Apr 2009 16:09:29 -0000 Issue 6069

2009-04-15 Thread php-general-digest-help
php-general Digest 15 Apr 2009 16:09:29 - Issue 6069 Topics (messages 291517 through 291526): Re: https and Credit Cards 291517 by: Richard Heyes alt() - unknown function? 291518 by: Tom Calpin 291519 by: Thodoris 291520 by: George Larson 291521 by:

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 you

[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] 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

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.

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

2009-04-15 Thread Bastien Koert
On Wed, Apr 15, 2009 at 10:58 AM, George Larson george.g.lar...@gmail.comwrote: 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,

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.

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

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,

[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

[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 session.configuration.php#ini.session.use-trans-sid is enabled. It must by

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: *Note*:

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 ja...@jasonpruim.com wrote: On Apr 14, 2009, at 10:11 PM, Don d...@program-it.ca 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

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 -- ?php session_start(); if ($_POST[option] == View Pending Requests) { $_session[username]= true; //sets the session

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 t...@kinetix.gr Hi there, I’ve made a fetch_obj and, as stated on some sites, it returns a anonymous object where the properties will have

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 rich...@php.net 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

[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 session.configuration.php#ini.session.use-trans-sid is

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

Re: [PHP] cURL - Error 400

2009-04-15 Thread haliphax
On Wed, Apr 15, 2009 at 10:36 AM, David quick.webmas...@gmail.com 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

[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

[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 =

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

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] redirect to a page the fist time a site is accessed

2009-04-15 Thread Don
Andrew Ballard aball...@gmail.com wrote in message news:b6023aa40904150926g3e6fb478s36b18b6a53ec3...@mail.gmail.com... On Tue, Apr 14, 2009 at 10:30 PM, Jason Pruim ja...@jasonpruim.com wrote: On Apr 14, 2009, at 10:11 PM, Don d...@program-it.ca wrote: Hi, I have some code in my index.php

[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) ?php function

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 mpet...@mac.com wrote: From: Michael A. Peters mpet...@mac.com Subject: Re: [PHP] Generate XHTML (HTML compatible) Code using DOMDocument To: Raymond Irving xwis...@yahoo.com Cc: php-general@lists.php.net

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? __

[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

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.

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 halip...@gmail.com wrote: On Wed, Apr 15, 2009 at 10:36

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 xwis...@yahoo.com wrote: Thanks for the feedback. I too like xhtml but I think I