php-general Digest 4 Oct 2005 17:30:30 - Issue 3719
Topics (messages 223590 through 223614):
Re: chown function
223590 by: Jasper Bryant-Greene
223595 by: Keith Spiller
Re: Handling competing edits in a wiki engine?
223591 by: Terence
223596 by: Murray .
Terence wrote:
Murray @ PlanetThoughtful wrote:
Hi All,
I've recently been working on building my own wiki engine for my blog
site. While the majority of the engine is complete, a remaining concern
I have is how to handle competing edits (ie when two or more people are
editing the same
Your document is attached.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How can I disable auto-commit for a Postgres connection? Apparently
server-side autocommit was thrown out in Postgres 8.0, and clients have to
issue their own setting (which is sensible).
The default is on (which I don't want). psql is apparently able to set or
unset the AUTOCOMMIT option, but I
Hello,
I've been installing php-4.4.0 and php-5.0.5, and it both cases I can't find
the pear executable in the install directory. For instance:
# ls /usr/local/php-5.0.5/bin/
php php-config phpize
IIRC, pear executable (ie. the package manager) used to be bundled with PHP.
In fact, I think a
Quoting Skippy [EMAIL PROTECTED]:
How can I disable auto-commit for a Postgres connection? Apparently
server-side autocommit was thrown out in Postgres 8.0, and clients have to
issue their own setting (which is sensible).
Apparently this will work (or at least it will be accepted by
On Tuesday 04 October 2005 12:42 am, Erik Barba wrote:
hi im new in the list i dont know where to write the email so i did it
here, i am having a problem
I have a xml file and im parsing with domit 1.0 but im from mexico, and we
use é í ó ú á ñ
the xml acept it but when the php show the
[EMAIL PROTECTED] wrote:
Admittedly I've only dealt with PEAR a little bit, but the two times I
installed it, it didn't seem to involve any 'executable'. PEAR appears to be
totally PHP script based.
I dont mean to give an RTFM type response here, but if you follow the
instructions at the
I believe you're right, they used to include it with PHP. I believe the PEAR
docs even say something about it being included. Maybe they don't anymore so
you have to go to the PEAR site to get the latest installer. That way they
don't get people using an older installer/package manager that
could you imagine that somebody who has never seen your code,
has no idea how it is put together or even what platform it
requires (php4/php5?) might not have clue what your on about?
matt VanDeWalle wrote:
hello again
I was writing and rewriting my user function for my chat server trying
to
Kevin Cloutier [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I'm new to this newsgroup and I'm psyched I found it. But, my newsreader
(Thunderbird), keeps returning a Connection to server news.php... has
timed out when ever I try to dload or refresh the messages.
Anyone
Erik Barba wrote:
hi im new in the list i dont know where to write the email so i did it here,
i am having a problem
I have a xml file and im parsing with domit 1.0 but im from mexico, and we
use é í ó ú á ñ
the xml acept it but when the php show the code in html, i cant see the
letters
Hi All,
I am in the process of looking for a webhost for the company I work
for. I must have PHP5 support as the CMS I am using only supports
PHP5. Does anyone know of any good quality hosts that also support
PHP5 and MySQL for less than $40/mo? Dedicated hosting is right out as
we obviously
On 10/4/05, Michael Crute [EMAIL PROTECTED] wrote:
I am in the process of looking for a webhost for the company I work
for. I must have PHP5 support as the CMS I am using only supports
PHP5. Does anyone know of any good quality hosts that also support
PHP5 and MySQL for less than $40/mo?
Michael Crute wrote:
Hi All,
I am in the process of looking for a webhost for the company I work
for. I must have PHP5 support as the CMS I am using only supports
PHP5. Does anyone know of any good quality hosts that also support
PHP5 and MySQL for less than $40/mo? Dedicated hosting is right
I am connecting to a PROGRESS DB through the MERANT ODBC driver, When I have
the 4th parameter SQL_CUR_USE_ODBC as shown, my queries return nothing but
if I have the 4th parameter as lower case it returns my query results but
with a PHP error complainning
*Notice*: Use of undefined constant
I am querying a MSSQL db where an jpg image is stored as a blog.
I have this code:
html
head
meta http-equiv=Content-Type content=image/jpg
/head
body
?
//Do the query
include_once(../includes.list.php);
$ms_sql= new ms_db();
$my_sql=new Database();
$query=select photo from cars where
did u set up a firewall?
maybe you want change the rule to let packets from port 119 go through.
or try add a new news account.
Good luck!
On 10/5/05, Dan Baker [EMAIL PROTECTED] wrote:
Kevin Cloutier [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I'm new to this newsgroup
Sorry, meant BLOB, not blog.
On 10/4/05, blackwater dev [EMAIL PROTECTED] wrote:
I am querying a MSSQL db where an jpg image is stored as a blog.
I have this code:
html
head
meta http-equiv=Content-Type content=image/jpg
/head
body
?
//Do the query
include_once(../includes.list.php);
It doesn't appear that gd is installed by my host as that function
throws undefined function errors and I don't see gd when I do
phpinfo();
On 10/4/05, Michael Crute [EMAIL PROTECTED] wrote:
On 10/4/05, blackwater dev [EMAIL PROTECTED] wrote:
I am querying a MSSQL db where an jpg image is
[snip]
On 10/4/05, blackwater dev [EMAIL PROTECTED] wrote:
I am querying a MSSQL db where an jpg image is stored as a blog.
But when viewed I just get all the junk code:
!1AQaq2B'¡±Á #3RðbrÑ
$4á%ñ'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz‚ƒ„…†‡ˆ‰Š'•–—˜™š¢£¤¥¦
cybermalandro cybermalandro wrote:
I am connecting to a PROGRESS DB through the MERANT ODBC driver, When I have
the 4th parameter SQL_CUR_USE_ODBC as shown, my queries return nothing but
if I have the 4th parameter as lower case it returns my query results but
with a PHP error complainning
you cant just mix html tags and image data and expect them to be on
the same page to get both html and images displayed.
if you want image, use a IMG tag, whose SRC attribute maybe a php
file, and this php file will output _only_ image data, i.e.
echo $obj-photo;
nothing more, except if you
You have to echo a single image and only the image(no html tags) as binary
for this to work. One must also set the header from the page to the correct
mime type for the image work.
ex:
Page: displayImg.php
header('Content-Type: image/jpeg'); // set correct header, more info
On Mon, 2005-10-03 at 18:08, John Taylor-Johnston wrote:
Use foreach to traverse the array and display each trolly entry nicely
This might be cleaner? I'm not sure if I'm using while and list right,
but somehting like that?
$glquery = mysql_query($sql);
while ($mydata =
cybermalandro cybermalandro wrote:
Thanks for your prompt response! Are you using the pear DB class
requiring odbc? I am not very familiar with this class and pear. I was
trying to do it the old way. Perhaps you can give me some more
examples? I really appreciate your help.
Thanks
On
I don't know if this will help you.
I use an openlink ODBC driver to connect to Progress via PHP like so:
$dbconn =
odbc_connect(MyDB_ODBC,$username,$password,SQL_CUR_USE_ODBC);
$strQry = SELECT * FROM mytable WHERE mytable.field = .$somevar;
$rsTable = odbc_do($dbconn, $strQry);
Hi,
I'd like to have a non-Javascript based general purpose Are you quite Sure?
PHP form submitter,
conventionally done using the Javascript Onsubmit Event.
One way would be to store all the Form Variables in hidden fields generated by
a foreach $_POST
but anyone have anything simpler?
--
Has anyone been to good PHP and/or LAMP training?
I was looking around and saw on a blog where they
really liked the security aspects of this one:
http://www.sans.org/ns2005/description.php?tid=249
Has anyone been to classes by sans.org?
Thanks,
Peter
__
Free 3000MB
Nope.. you're pretty much stuck using Javascript or processing it all on the
back end with PHP as you described. You could store the data in a database or
a $_SESSION variable but without using something client-side, you're going to
have to juggle it all with PHP.
-TG
= = = Original
oops, sorry about the lack of any code with my last problem message.
I am still having the same buffer problem where after asking for a
password, it doesn't stop and wait, just falling through to the next
prompt. here is basically what the new_user function looks like. I am
using php 4.3.10
I'm running FreeBSD 5.4-STABLE with PHP 5.05 (I can also reproduce
this with the same version on 7-CURRENT) and something in the soap
module is causing php/apache to sig11.
I'm using the soap module to connect to MapPoint to retrieve location
coordinates. This problem doesn't happen
On Tue, 4 Oct 2005 15:50:06 -0400, wrote:
Nope.. you're pretty much stuck using Javascript or processing it all on the
back end with PHP as you described. You could store the data in a database or
a $_SESSION variable but without using something client-side, you're going to
have to juggle it
Thanks for your reply, Jasper.
auto_append_file has been my first alternative approach too and so far
it seems to be the best option available. But the show-stopper to me is
that if you exit() out of your script, the file won't be appended.
I did write some sort of wrapper function to first
Murray @ PlanetThoughtful wrote:
Out of curiosity, does anyone know if it's possible to tell whether an
individual session is still alive from PHP? I don't mean from within
code being run for a particular user, but in code that, for example,
might be executed by a cron job, which would
I would like to see it in action, please.
Thanks.
--
Anas
On 10/4/05, Silvio Porcellana [EMAIL PROTECTED] wrote:
Murray @ PlanetThoughtful wrote:
Out of curiosity, does anyone know if it's possible to tell whether an
individual session is still alive from PHP? I don't mean from within
Any idea why I'm getting this error, and only on this page? I have the
same header on every other page?
http://testesp.flsh.usherb.ca/thingstodo.html
The page contains a \n before I start my ?php. Is this doing it?
?php
session_name( 'CCLTrolley' );
session_start();
// Initialize the trolley.
John Taylor-Johnston wrote:
Any idea why I'm getting this error, and only on this page? I have the
same header on every other page?
http://testesp.flsh.usherb.ca/thingstodo.html
The page contains a \n before I start my ?php. Is this doing it?
Most likely, yes. Why didn't you try removing it
Michael Crute wrote:
The page contains a \n before I start my ?php. Is this doing it?
That \n is it. You can't send ANYTHING to the browser before you send
the headers and cookies are part of the headers. Take out the \n and
all should be well.
Thanks. Dreamweaver screwed me over ;)
Robert Cummings wrote:
On Mon, 2005-10-03 at 18:08, John Taylor-Johnston wrote:
Use foreach to traverse the array and display each trolly entry nicely
If list() works for you it's fine. I don't really use it so not entirely
sure of it's functionality with respect to looping.
I
John Taylor-Johnston wrote:
I ended up going with this. Wasn't sure how to use list anyhow. Look good?
$sql = 'SELECT * FROM '.$table.' ORDER BY RNum;';
echo !--.$sql.--;
$news = mysql_query($sql);
while ($mydata = mysql_fetch_object($news))
{
foreach ($_SESSION['TrolleyContents'] as
On Tuesday 04 October 2005 08:15 pm, John Taylor-Johnston wrote:
Any idea why I'm getting this error, and only on this page? I have the
same header on every other page?
http://testesp.flsh.usherb.ca/thingstodo.html
The page contains a \n before I start my ?php. Is this doing it?
yup
?php
hello friends,
i have a query in writng the content of one file to another.
i attempted it.
it only writes the html codings.it could not write the php scripts inside the
file.
i use the following code to accomplish my problem...
hello friends,
i have a query in writng the content of one file to another.
i attempted it.
it only writes the html codings.it could not write the php scripts inside the
file.
i use the following code to accomplish my problem...
44 matches
Mail list logo