[PHP] doubt regarding link

2006-02-25 Thread suresh kumar
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

[PHP] Re: PHP Manual in PDF format

2006-02-25 Thread zerof
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RSS / XML

2006-02-25 Thread Gustav Wiberg
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: PHP Manual in PDF format

2006-02-25 Thread zerof
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] How can I make postgre execute file with SQL code, on windows platform

2006-02-25 Thread Bogdan Ribic
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

[PHP] Re: doubt regarding link

2006-02-25 Thread El Bekko
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

[PHP] How do I read Exif data without a file?

2006-02-25 Thread Niels
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

Re: [PHP] email to db

2006-02-25 Thread Mark Charette
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.

[PHP] Re: How do I read Exif data without a file?

2006-02-25 Thread Niels
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

[PHP] Re: How can I stop PHP from resolving symlinks?

2006-02-25 Thread James Benson
is_link() perhaps ? http://php.net/is_link James -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] RSS / XML

2006-02-25 Thread Weber Sites LTD
Here are a few (from easy to hard) Parsing XML With DOMXML And PHP http://www.weberdev.com/ViewArticle-158.html Converting XML Into a PHP Data Structure http://www.weberdev.com/ViewArticle-389.html Building XML Trees with PEAR's XML_Tree Class http://www.weberdev.com/ViewArticle-345.html

Re: [PHP] RSS / XML

2006-02-25 Thread Gustav Wiberg
- Original Message - From: Weber Sites LTD [EMAIL PROTECTED] To: 'Gustav Wiberg' [EMAIL PROTECTED]; 'PHP General' php-general@lists.php.net Sent: Saturday, February 25, 2006 7:37 PM Subject: RE: [PHP] RSS / XML Here are a few (from easy to hard) Parsing XML With DOMXML And PHP

[PHP] PHP upgrade on Go Daddy virtual server

2006-02-25 Thread Nicolas Verhaeghe
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 have SSH access and root as well. Thanks for your help! -- PHP General Mailing List

[PHP] Error compiling php 5.1.2

2006-02-25 Thread Paul Reinheimer
Hi, I'm trying to compile PHP 5.1.2. My ./configure is: './configure' '--with-mysql=/usr/local/mysql' '--with-apxs=/etc/httpd/bin/apxs' '--with-gd' '--with-png' '--with-zlib-dir=/root/zlib-1.2.2' '--enable-gd-native-ttf' '--with-ttf' '--with-jpeg-dir=/usr/local/lib/jpeg-6b/'

[PHP] Expat + PHP Examples...

2006-02-25 Thread Gustav Wiberg
Hi there! I've found out that I can use expat XML, but I can't figure out HOW to use... it seems simple, but I tried and can't figure it out... I'd like to get retrieve info from http://www.frisim.com/frisim/servlet/rss?searchString=google and convert it to html... I've read a lot a of text

[PHP] defined

2006-02-25 Thread sub
I'm having kind of a weird problem I want $MailSubject to contain a the value prayer unless I tell it other wise. // on a form processor. $MailSubject = Praise; include_once(mailit.php); // then in mailit.php include form2mail.php; // and in formtomail.php if(!defined($MailSubject)) // This

[PHP] not sure, what now

2006-02-25 Thread Schalk
Greetings All, I am pretty new to PHP and are tasked to move a clients site from: www.domain.com/somedirectory/home.php to www.home.php Sounds simple at first but, when I moved the files to the root of the httpdocs I get an array of errors in the vain of: *Warning*: main(): open_basedir

[PHP] Linux distributions and tools for Linux/Apache/PHP/MySQL dev

2006-02-25 Thread Chris Lott
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 -- PHP General Mailing

Re: [PHP] Re: How do I read Exif data without a file?

2006-02-25 Thread chris smith
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

Re: [PHP] Re: How do I read Exif data without a file?

2006-02-25 Thread Niels
On Saturday 25 February 2006 23:42, chris smith wrote: 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

Re: [PHP] not sure, what now

2006-02-25 Thread Rory Browne
On 2/25/06, Schalk [EMAIL PROTECTED] wrote: Greetings All, I am pretty new to PHP and are tasked to move a clients site from: www.domain.com/somedirectory/home.php to www.home.php Is there a .php tld? Sounds simple at first but, when I moved the files to the root of the httpdocs I get

Re: [PHP] Linux distributions and tools for Linux/Apache/PHP/MySQL dev

2006-02-25 Thread chris smith
On 2/26/06, Chris Lott [EMAIL PROTECTED] 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

Re: [PHP] Re: How do I read Exif data without a file?

2006-02-25 Thread chris smith
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. You only need to do it once - then store it back in the database. That info isn't

Re: [PHP] Re: How do I read Exif data without a file?

2006-02-25 Thread Niels
On Saturday 25 February 2006 23:55, chris smith wrote: 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. You only need to do it once -

Re: [PHP] not sure, what now

2006-02-25 Thread chris smith
On 2/26/06, Schalk [EMAIL PROTECTED] wrote: Greetings All, I am pretty new to PHP and are tasked to move a clients site from: www.domain.com/somedirectory/home.php to www.home.php If you're moving a clients site wouldn't your work be a better place to ask? They will have processes etc to

Re: [PHP] defined

2006-02-25 Thread Philip Hallstrom
I'm having kind of a weird problem I want $MailSubject to contain a the value prayer unless I tell it other wise. // on a form processor. $MailSubject = Praise; include_once(mailit.php); // then in mailit.php include form2mail.php; // and in formtomail.php if(!defined($MailSubject)) // This

Re: [PHP] defined

2006-02-25 Thread chris smith
On 2/26/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'm having kind of a weird problem I want $MailSubject to contain a the value prayer unless I tell it other wise. // on a form processor. $MailSubject = Praise; include_once(mailit.php); // then in mailit.php include form2mail.php;

Re: [PHP] defined

2006-02-25 Thread sub
Well ain't that a kick in the pants? Works great now, thanks. And now I see the difference between empty() and defined(). Again, many thanks, ~Drew www.drewpydraws.com - Original Message - From: Philip Hallstrom [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: php-general@lists.php.net

Re: [PHP] How can I make postgre execute file with SQL code, on windows platform

2006-02-25 Thread chris smith
On 2/26/06, Bogdan Ribic [EMAIL PROTECTED] wrote: 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

Re: [PHP] Error compiling php 5.1.2

2006-02-25 Thread chris smith
On 2/26/06, Paul Reinheimer [EMAIL PROTECTED] wrote: Hi, I'm trying to compile PHP 5.1.2. My ./configure is: './configure' '--with-mysql=/usr/local/mysql' '--with-apxs=/etc/httpd/bin/apxs' '--with-gd' '--with-png' '--with-zlib-dir=/root/zlib-1.2.2' '--enable-gd-native-ttf' '--with-ttf'

Re: [PHP] not sure, what now

2006-02-25 Thread Schalk
chris smith wrote: On 2/26/06, Schalk [EMAIL PROTECTED] wrote: Greetings All, I am pretty new to PHP and are tasked to move a clients site from: www.domain.com/somedirectory/home.php to www.home.php If you're moving a clients site wouldn't your work be a better place to ask? They

[PHP] HTML_QuickForm

2006-02-25 Thread Atif Khan
Hello there, I am having an issue with HTML_QuickForm. When I try to send the form to another page, it does not seem to validate the form. Any suggestions. // Load the main class require_once 'HTML/QuickForm.php'; // Instantiate the HTML_QuickForm object $form = new

Re: [PHP] not sure, what now

2006-02-25 Thread chris smith
Where is Open_basedir set? In a global php setting or can it be done site by site? And if so, what is the most logical place to put the file that controls this? It's set by apache and unless you have root access you don't have any control over it. Re-read the error message, php tells you all

Re: [PHP] HTML_QuickForm

2006-02-25 Thread chris smith
On 2/26/06, Atif Khan [EMAIL PROTECTED] wrote: Hello there, I am having an issue with HTML_QuickForm. When I try to send the form to another page, it does not seem to validate the form. Any suggestions. // Load the main class require_once 'HTML/QuickForm.php'; // Instantiate the

Re: [PHP] Error compiling php 5.1.2

2006-02-25 Thread Paul Reinheimer
Thanks, I've subscribed to and posted to the instalation list. I'm going to try and stay off internals@ if I have a choice. thanks paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] defined

2006-02-25 Thread tedd
I'm having kind of a weird problem I want $MailSubject to contain a the value prayer unless I tell it other wise. // on a form processor. $MailSubject = Praise; include_once(mailit.php); // then in mailit.php include form2mail.php; // and in formtomail.php if(!defined($MailSubject)) // This

Re: [PHP] not sure, what now

2006-02-25 Thread Richard Lynch
Find your php.ini and read it. Actually, find your httpd.conf and read it, because you can change JUST DocumentRoot in httpd.conf, and not move any files around. 'Course, you'll have to put the files back, but you won't have to change any of the paths embedded in the PHP web application. On

Re: [PHP] defined

2006-02-25 Thread Richard Lynch
On Sat, February 25, 2006 4:18 pm, [EMAIL PROTECTED] wrote: I'm having kind of a weird problem I want $MailSubject to contain a the value prayer unless I tell it other wise. // on a form processor. $MailSubject = Praise; include_once(mailit.php); // then in mailit.php include

Re: [PHP] Linux distributions and tools for Linux/Apache/PHP/MySQL dev

2006-02-25 Thread Ozz
On Sun, 26 Feb 2006 09:52:43 +1100, chris smith [EMAIL PROTECTED] wrote: Ubuntu or debian are good choices (ubuntu is kept more up to date, the debian-stable branch only gets updated with security releases between major versions). Having said that, Debian Sid is usually pretty

Re: [PHP] Error compiling php 5.1.2

2006-02-25 Thread Richard Lynch
On Sat, February 25, 2006 4:08 pm, Paul Reinheimer wrote: './configure' '--with-mysql=/usr/local/mysql' '--with-apxs=/etc/httpd/bin/apxs' '--with-gd' '--with-png' '--with-zlib-dir=/root/zlib-1.2.2' '--enable-gd-native-ttf' '--with-ttf' '--with-jpeg-dir=/usr/local/lib/jpeg-6b/'

Re: [PHP] not sure, what now

2006-02-25 Thread Michael Hulse
On Feb 25, 2006, at 2:22 PM, Schalk wrote: *Warning*: main(): open_basedir restriction in effect. File(../inc/siteconfig.php) is not within the allowed path(s): (/home/httpd/vhosts/sealbeachprofessionals.com/httpdocs:/tmp) in /home/httpd/vhosts/sealbeachprofessionals.com/httpdocs/home.php on

Re: [PHP] not sure, what now

2006-02-25 Thread Michael Hulse
To be more specific: Based on error message you posted: #Start from server root: include($_SERVER['DOCUMENT_ROOT'].'/inc/siteconfig.php'); Hth, gl, M On Feb 25, 2006, at 7:31 PM, Michael Hulse wrote: Try changing all includes that look like this: include('/folder/file.php'); ... to this:

Re: [PHP] Error compiling php 5.1.2

2006-02-25 Thread Paul Reinheimer
I posted the full output of make earlier in this thread, as well as the configure command i'm using, what are you looking for? The ./configure output lines that reference libxml say nothing out of the ordinary. paul On 2/25/06, Richard Lynch [EMAIL PROTECTED] wrote: On Sat, February 25,