php-general Digest 26 Feb 2006 20:15:09 - Issue 3986
Topics (messages 231096 through 231112):
Parsing PHP variables in XML document
231096 by: Ivan Nedialkov
231100 by: Bogdan Ribic
231101 by: Bogdan Ribic
231104 by: chris smith
Re: How do I read Exif data
On Sat, Feb 25, 2006 at 01:41:06PM -0900, Chris Lott wrote:
I'm making the switch from Windows to Linux for mydesktop and
development environment and would greatly appreciate suggestions for
development tools on this platform. Ubuntu seems to be getting all the
press, but suggestions about
Hi,
I have the following problem. I want to import data into my site via PHP
XML Parser, but I also want to include php string variables into
the .xml file and when the xml file is parsed the variables are replaced
whit the corresponding string.
So far all my attempts have been unsuccessful.
Niels wrote:
I think you misunderstand the situation.
[snip]
I've got a database of images (image data) and their exif data, I'm not
uploading any files. I want to make new entries in that DB, new images that
are thumbnails of the present images. I can do that without creating files,
but I
Hi Chris,
Goal was to get postgre to execute/import an sql dump file, ie not to
write import-export functionality myself. In the end, I used piping,
something like this:
system(type $filename | \C:\Program
Files\PostgreSQL\8.1\bin\psql.exe\ -h localhost -p 5432 X6tmp
\postgres\);
Goal was to get postgre to execute/import an sql dump file, ie not to
write import-export functionality myself. In the end, I used piping,
something like this:
system(type $filename | \C:\Program
Files\PostgreSQL\8.1\bin\psql.exe\ -h localhost -p 5432 X6tmp
\postgres\);
But thanx
Hi Ivan,
You might be able to use output buffering in conjunction with
including your xml file. Something like:
ob_start();
include $xml_file;
$content = ob_end_flush();
and then parse the $content string. If you are doing this from within
a function and you want access to global
Hmmm, come to think of it, it would only work if short_open_tags ini
directive is turned OFF, which in most cases it won't be :(
Bogdan Ribic wrote:
Hi Ivan,
You might be able to use output buffering in conjunction with
including your xml file. Something like:
ob_start();
include
Hello,
Most sites today seems to be based on this style:
include(top);
include(current_page);
include(bottom);
If one wants to set cookies from current_page, how should that be handled with
as clean source as possible?
Before I had the top and bottom output as functions that are called from
Most sites today seems to be based on this style:
include(top);
include(current_page);
include(bottom);
If one wants to set cookies from current_page, how should that be handled
with as clean source as possible?
From the php manual:
Like other headers, cookies must be sent before any
On 2/26/06, Bogdan Ribic [EMAIL PROTECTED] wrote:
Hmmm, come to think of it, it would only work if short_open_tags ini
directive is turned OFF, which in most cases it won't be :(
You can turn it off with a htaccess file.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
You can also use output buffering, write cookies from anywhere, and at
the end of execution buffers will auto-flush.
[EMAIL PROTECTED] wrote:
Hello,
Most sites today seems to be based on this style:
include(top);
include(current_page);
include(bottom);
If one wants to set cookies from
Chris Lott wrote:
I'm making the switch from Windows to Linux for mydesktop and
development environment and would greatly appreciate suggestions for
development tools on this platform. Ubuntu seems to be getting all the
press, but suggestions about Linux distributions are welcome as well!
c
Sameer said:
To get the thumbnails you must rewrite the resized file to some
place (if you want real thumbnail image).
No, that's not correct. You can take an image from a db, create a
thumbnail while it is in memory and display it. You don't need to
make it a file first.
tedd
--
I am a linux newbie but just compiled freetds on my fedora box. I used the
basic options:
./configure
make
make install
make clean
According to the docs it should install to /usr/local/freetds
After all this I don't have a freetds folder in /local/. If I go into
/usr/local/bin, I do have a
Hello,
on 02/24/2006 11:28 PM Mark said the following:
Does anyone know if its possible or how difficult it would be to have a user
send an email from outlook express to a websites mysql database and update
records.
If the message goes to an address with a POP3 mailbox, you can always
get the
tedd wrote:
Sameer said:
To get the thumbnails you must rewrite the resized file to some place
(if you want real thumbnail image).
No, that's not correct. You can take an image from a db, create a
thumbnail while it is in memory and display it. You don't need to make
it a file first.
That
Have you tried GoDaddy support?
On 2/25/06, Nicolas Verhaeghe [EMAIL PROTECTED] wrote:
Has anybody heard (or done it himself) how to upgrade PHP on a Go Daddy
virtual server?
Current version is 4.3.11 and I'd like to upgrade to 5.1.2.
All I know is that this server is a Red Hat Fedora 2.
I'm not sure if this is the same thing (expat and patxml)
http://www.weberdev.com/ViewArticle-441.html
http://www.weberdev.com/ViewArticle-444.html
berber
-Original Message-
From: Gustav Wiberg [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 26, 2006 12:19 AM
To: PHP General
Well isn't there a way instead of using only variables, to use sth like
?php echo $foo; ?
I tried it but it doesnt work
The parser returns blank!
On Sun, 2006-02-26 at 12:02 +0100, Bogdan Ribic wrote:
Hmmm, come to think of it, it would only work if short_open_tags ini
directive is turned
Can't help. They basically tell you you are on your own.
-Original Message-
From: Gerry Danen [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 26, 2006 12:15 PM
To: Nicolas Verhaeghe
Cc: PHP General (E-mail)
Subject: Re: [PHP] PHP upgrade on Go Daddy virtual server
Have you tried
I am trying to recompile php 5 with freetds so am using this :
./configure '--with-apxs2=/usr/local/apache2/bin/apxs'
'--with-mysql=/root/mysql-standard-4.1.9-pc-linux-gnu-i686'
'--with-mssql=/usr/local/freetds'
Things seem ok so I do make and at the end of make I get this error:
tedd wrote:
Sameer said:
To get the thumbnails you must rewrite the resized file to some
place (if you want real thumbnail image).
No, that's not correct. You can take an image from a db, create a
thumbnail while it is in memory and display it. You don't need to
make it a file first.
That
On Sunday 26 February 2006 10:59, Sameer N Ingole wrote:
In PHP its not easy to keep EXIF data of JPEG or TIF files as it is if
you use PHP functions to recreate the temporary files in some dir.
Basically when you use tempnam() it creates a temporary file. To get the
thumbnails you must
Nicolas Verhaeghe wrote:
Can't help. They basically tell you you are on your own.
http://us2.php.net/manual/en/install.php
--
By-Tor.com
...it's all about the Rush
http://www.by-tor.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ivan,
Did you try entering the code with debugger, or at least printing out
what output buffer was holding, ie $content var in my example? Can you
post exact code? Also, is short_tags turned on or off in php.ini? If it
is on, php will get confused on first line of your xml file, it will
Can I give visibility to a class constan.
some thing like this
class foo
{
}
--
***
Si se encuentra bien, no se preocupe. Se le pasarĂ¡.
Can I give visibility to a class constant.
something like this
class foo
{
private const = aaa;
protected const = bbb;
public const = ccc;
}
I dont want the user of my class can access to the constant.
and I cant use public static fields because I dont want the content can be
modified
Adrian Cid Almaguer wrote:
Can I give visibility to a class constant.
something like this
class foo
{
private const = aaa;
protected const = bbb;
public const = ccc;
}
I dont want the user of my class can access to the constant.
and I cant use public static fields because I dont want
Dear all,
I wanna mail to x user that x can't see my IP address.
Do you know same function?
--Mohsen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The message from Post Office, sent on 2/27/2006 05:43 was quarantined
because it contained either an executable file, a batch file or a screen saver
file. All of these types of attachments are considered security risks. Please
consult your mail administrator who can release the message.
--
I learned PHP from an old O'Reilly book, and regarding Unicode it said
PHP's strings are always encoded in UTF-8. Since then I never gave it
much thought, though I see a lot of ranting and wailing about lack of
Unicode support in PHP. I also see a bunch of articles about work-arounds
and
32 matches
Mail list logo