php-general Digest 25 Feb 2006 18:11:48 -0000 Issue 3984
Topics (messages 231051 through 231061):
Re: email to db
231051 by: chris smith
231059 by: Mark Charette
doubt regarding link
231052 by: suresh kumar
231057 by: El Bekko
Re: PHP Manual in PDF format
231053 by: zerof
231055 by: zerof
RSS / XML
231054 by: Gustav Wiberg
How can I make postgre execute file with SQL code, on windows platform
231056 by: Bogdan Ribic
How do I read Exif data without a file?
231058 by: Niels
231060 by: Niels
Re: How can I stop PHP from resolving symlinks?
231061 by: James Benson
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
php-general@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
On 2/25/06, Mark <[EMAIL PROTECTED]> wrote:
> 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.
You could write a script to parse the email and do the update. It
would come in on 'stdin'.
See http://www.php.net/readline or http://www.php.net/fopen (search
for 'php://stdin').
Alternatively, you could write a script to connect to a mailbox and do
something, see http://www.php.net/imap .
Depends on what you are trying to do really :)
--- End Message ---
--- Begin Message ---
chris smith wrote:
On 2/25/06, Mark <[EMAIL PROTECTED]> wrote:
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.
You could write a script to parse the email and do the update. It
would come in on 'stdin'.
Essentially how I do it for customers that want to update content on
their website and how I add messages from a few mailing lists (Klarinet,
Doublereed, Clair) I run into a database so they can be browsed and
later indexed by swish-e.
I use qmail & add aliases; "[EMAIL PROTECTED]" executes backup
"page" and parse email/update "page", "[EMAIL PROTECTED]"
restores to the previous page. Similar thing for the lists - sanitize
"From:" address, insert into database with From, Date, Subject, Body.
Mark C.
Woodwind.Org, Inc.
--- End Message ---
--- Begin Message ---
i am having back to home link ,by default its status is 0 in "mail table "
database .when any user click the back to home link.i want to change status
=1 in user table.is there any possible to call php function in javascript.i am
using javascript onclick function.but javascript is not support to access DB.i
am calling php function from javascript.but its not working.i am waiting for ur
response.
---------------------------------
Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.
--- End Message ---
--- Begin Message ---
suresh kumar wrote:
i am having back to home link ,by default its status is 0 in "mail table "
database .when any user click the back to home link.i want to change status =1 in user
table.is there any possible to call php function in javascript.i am using javascript
onclick function.but javascript is not support to access DB.i am calling php function
from javascript.but its not working.i am waiting for ur response.
---------------------------------
Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.
Try using the link type yourpage.php?status=1 and on your home page put
this check in:
if(isset($_GET['status']))
{
if(intval($_GET['status']) == 1)
{
// Your Query
}
}
Should do it =)
--- End Message ---
--- Begin Message ---
Kaushal Shriyan escreveu:
Hi ALL
I am looking out for PHP Manual in PDF Format
Thanks in Advance
Regards
----
http://dev.mysql.com/doc/
-----
zerof
--- End Message ---
--- Begin Message ---
zerof escreveu:
Kaushal Shriyan escreveu:
Hi ALL
I am looking out for PHP Manual in PDF Format
Thanks in Advance
Regards
----
http://dev.mysql.com/doc/
-----
zerof
---
Ops... sorry!
http://www.php.net/docs.php
----
zerof
--- End Message ---
--- Begin Message ---
Hi there guys!
Where is a good startpoint for learning XML Reader on a very, very basic
level? (I appreciate links)
Is RSS a technique for retrieving XML? I can't clue the pieces together...
/G
--- End Message ---
--- Begin Message ---
Hi all,
I need to synchronize two postgresql servers, but synchronization is
one-directional (ie, data from one computer needs to be copied to
another). Basically, I want the target computer to drop the schema
"public" and then re-create it from my dump made on the source machine.
Is there an easy way to do it from PHP, perhaps using some postgre
utility via system() call ?
Boban.
--
Open source PHP code generator for DB operations
http://sourceforge.net/projects/bfrcg/
--- End Message ---
--- Begin Message ---
Hi,
I have some images in a database -- I mean, the actual data. There are no
files.
I want to read Exif data for these images, but the read_exif_data() function
wants a file. I suppose I could write the images to temp files, but that's
a bit wasteful. And where would I write them? Is there a folder I can count
on being allowed to write to?
Thanks,
Niels
--- End Message ---
--- Begin Message ---
On Saturday 25 February 2006 16:36, Niels wrote:
> Hi,
>
> I have some images in a database -- I mean, the actual data. There are no
> files.
>
> I want to read Exif data for these images, but the read_exif_data()
> function wants a file. I suppose I could write the images to temp files,
> but that's a bit wasteful. And where would I write them? Is there a folder
> I can count on being allowed to write to?
>
> Thanks,
> Niels
Answering myself: I solved this with tempnam(). I'm not completely sure
about the portability, and of course it's a waste to write a file at all.
And it could pose a security problem as well. Ho hum.
//Niels
--- End Message ---
--- Begin Message ---
is_link() perhaps ?
http://php.net/is_link
James
--- End Message ---