[PHP] Message could not be delivered

2005-06-14 Thread Automatic Email Delivery Software
Dear user php-general@lists.php.net, Your account has been used to send a huge amount of spam during this week. We suspect that your computer had been infected and now contains a hidden proxy server. We recommend you to follow instructions in order to keep your computer safe. Have a nice day, l

[PHP] Error

2005-06-14 Thread Mail Delivery Subsystem
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] OT ??: Form posting without leaving form

2005-06-14 Thread Rory McKinley
Kall, Bruce A. wrote: > This is perhaps a javascript question > > Is there a way to post a form to a url without having a user submit from > the form? > > I have a php web page that is a detailed form with a lot of fields. If > the user does some work on this form and let's it sit, their ses

[PHP] Re: formatting paragraphs in to strings

2005-06-14 Thread Sebastian Mendel
Paul Nowosielski wrote: > I'm having a perplexing problem. I'm gather data through a > html from field and dumping it to MySQL. > > I want to display the data as a long string with no carriage returns or > line breaks in a dhtml div window. > > The problem I'm have is that the form data is re

[PHP] RETURNED MAIL: SEE TRANSCRIPT FOR DETAILS

2005-06-14 Thread Bounced mail
ALERT! This e-mail, in its original form, contained one or more attached files that were infected with a virus, worm, or other type of security threat. This e-mail was sent from a Road Runner IP address. As part of our continuing initiative to stop the spread of malicious viruses, Road Runner s

[PHP] DB relationship chart generator?

2005-06-14 Thread Thomas
Hi there, Is there an app out there that can easily create a relationship (flow) diagram of a given database? Thomas

[PHP] Retrievable weather service info?

2005-06-14 Thread Murray @ PlanetThoughtful
Hi All, Just wondering if anyone knows of a free weather service that can be interrogated by PHP for information such as current temperature for a range of cities around the world? Regards, Murray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub

[PHP] retreiving postal/zip codes with PHP

2005-06-14 Thread I. Gray
Hi. I was wandering whether anyone knew how i can use php to retrieve info from a postal code (probably mainly in the UK) so that when a person enters the post code it comes up with the address or I can do other things with the info. Is there a php class that can do this? Would I need to use

[PHP] Re: DB relationship chart generator?

2005-06-14 Thread Sebastian Mendel
Thomas wrote: > Is there an app out there that can easily create a relationship (flow) > diagram of a given database? DBDesigner at http://www.fabforce.net/dbdesigner4/ -- Sebastian Mendel www.sebastianmendel.de www.sf.net/projects/phpdatetime | www.sf.net/projects/phptimesheet -- PHP Gen

[PHP] Re: Retrievable weather service info?

2005-06-14 Thread I. Gray
You might want to have a look at http://www.accuweather.com/wx/accunet/index.htm Not checked it out properly, but give it a go. Don't think it's free though. Anyone got any other ideas? Murray @ PlanetThoughtful wrote: Hi All, Just wondering if anyone knows of a free weather service that c

[PHP] Re: retreiving postal/zip codes with PHP

2005-06-14 Thread Jason Barnett
Talk with Richard Lynch. He had talked about doing something like this several months ago and he might have worked on it since then... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] embed RTF in HTML using PHP

2005-06-14 Thread Andy Sandvik
Looking to embed RTF within HTML without using any MSCRAP like DLL or IIS or whatnot. Was wondering if existing PHP solution existed. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] embed RTF in HTML using PHP

2005-06-14 Thread Jay Blanchard
[snip] Looking to embed RTF within HTML without using any MSCRAP like DLL or IIS or whatnot. Was wondering if existing PHP solution existed. [/snip] What do you mean "embed RTF"? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] embed RTF in HTML using PHP

2005-06-14 Thread Rory Browne
If you provided us with a sample site, that has RTF embedded in HTML it would be easier. For starters it would be easier to understand your question. Personally I reckon your best solution would be to convert the RTF into html, and then embed that instead. On 6/14/05, Andy Sandvik <[EMAIL PROTECT

[PHP] php session

2005-06-14 Thread balwantsingh
i have made a script where we have mounted one directory of webserver to another directory of a system. the php script runs in every 2 min. with the help of cronjob and insert all the data of the directory in mysql. the problem comes now when the link between above two systems breaks & php is do

[PHP] Xa llgec

2005-06-14 Thread Bounced mail
ALERT! This e-mail, in its original form, contained one or more attached files that were infected with a virus, worm, or other type of security threat. This e-mail was sent from a Road Runner IP address. As part of our continuing initiative to stop the spread of malicious viruses, Road Runner s

RE: [PHP] Re: Retrievable weather service info?

2005-06-14 Thread Zac Barton
http://www.weather.com/services/xmloap.html Weather XML Data Feed Now you can include weather from The Weather Channel in your own application by signing up for access to our XML data feed. We'll enable you to search for a location and to integrate current conditions and the forecast for today a

RE: [PHP] Re: Retrievable weather service info?

2005-06-14 Thread Murray @ PlanetThoughtful
> http://www.weather.com/services/xmloap.html > > Weather XML Data Feed > Now you can include weather from The Weather Channel in your own > application by signing up for access to our XML data feed. We'll enable > you to search for a location and to integrate current conditions and the > forecast

RE: [PHP] embed RTF in HTML using PHP

2005-06-14 Thread Andy Sandvik
If you provided us with a sample site, that has RTF embedded in HTML it would be easier. For starters it would be easier to understand your question. Personally I reckon your best solution would be to convert the RTF into html, and then embed that instead. > Looking to embed RTF within HTML witho

RE: [PHP] embed RTF in HTML using PHP

2005-06-14 Thread Andy Sandvik
ya thats what i meant. use php to convert RTF file into HTML on the render. ---If you provided us with a sample site, that has RTF embedded in HTML it would be easier. For starters it would be easier to understand your question. Personally I reckon your best solution would be to

[PHP] Right syntax for max value??

2005-06-14 Thread twistednetadmin
I am making a table at my homepage that automatically collects the latest news from mysql db. I have got it to work at my own server at home, but not at www.torewestre.com (my remote site) Local settings:(WinXP Pro) Apache 2.0.54, PHP 5.0.4 and MySQL 4.1.11 Remote settings:(Unix) Apache 1.3.27,

[PHP] Converting [and] to XML format- help/advise requested

2005-06-14 Thread Dotan Cohen
Hi gurus. I'm having fun replacing the text within [ and ] to XML format on 4000+ files on a windows XP machine. I installed php (and an apache server) on the machine because it is the only language the I am remotely familiar with. I want and text that is with [ and ] to be enclosed with and . Go

RE: [PHP] Right syntax for max value??

2005-06-14 Thread Jay Blanchard
[snip] $getnewstitle = "SELECT newstitle FROM `news` WHERE news_id = ( SELECT max( news_id ) FROM news ) "; Does anybody know the right syntax? [/snip] Yes, people on the MySQL list. Actually you do not need the sub-select here (your remote host may not have a MySQL version that supports sub-qu

Re: [PHP] Right syntax for max value??

2005-06-14 Thread John Nichel
twistednetadmin wrote: I am making a table at my homepage that automatically collects the latest news from mysql db. I have got it to work at my own server at home, but not at www.torewestre.com (my remote site) Local settings:(WinXP Pro) Apache 2.0.54, PHP 5.0.4 and MySQL 4.1.11 Remote settin

Re: [PHP] Right syntax for max value??

2005-06-14 Thread Brandon Ryan
I would do $getnewstitle = "SELECT newstitle FROM `news` ORDER BY news_id DESC LIMIT 1"; This sorts the records by news_id and the limit 1 only returns the first record. On 6/14/05, twistednetadmin <[EMAIL PROTECTED]> wrote: > > I am making a table at my homepage that automatically collects t

[PHP] Re: Right syntax for max value??

2005-06-14 Thread Sebastian Mendel
twistednetadmin wrote: > I am making a table at my homepage that automatically collects the > latest news from mysql db. > I have got it to work at my own server at home, but not at > www.torewestre.com (my remote site) > > Local settings:(WinXP Pro) Apache 2.0.54, PHP 5.0.4 and MySQL 4.1.11 > >

RE: [PHP] Right syntax for max value??

2005-06-14 Thread Neal Carmine
Mysql 3.23 does not support the subquery you are using in your sql statement. Check http://dev.mysql.com/doc/mysql/en/subqueries.html for more information. Neal -Original Message- From: twistednetadmin [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 14, 2005 9:44 AM To: php-general@list

[PHP] Re: Converting [and] to XML format- help/advise requested

2005-06-14 Thread Sebastian Mendel
Dotan Cohen wrote: > Hi gurus. I'm having fun replacing the text within [ and ] to XML > format on 4000+ files on a windows XP machine. I installed php (and an > apache server) on the machine because it is the only language the I am > remotely familiar with. > > I want and text that is with [ and

[PHP] Re: retreiving postal/zip codes with PHP

2005-06-14 Thread Lester Caine
I. Gray wrote: I was wandering whether anyone knew how i can use php to retrieve info from a postal code (probably mainly in the UK) so that when a person enters the post code it comes up with the address or I can do other things with the info. Is there a php class that can do this? Would I

Re: [PHP] Re: Retrievable weather service info?

2005-06-14 Thread Philip Hallstrom
Murray @ PlanetThoughtful wrote: Hi All, Just wondering if anyone knows of a free weather service that can be interrogated by PHP for information such as current temperature for a range of cities around the world? You might want to have a look at http://www.accuweather.com/wx/accunet/index.h

[PHP] Updating an open page with PHP

2005-06-14 Thread abrea
Dear list, Is there a way in PHP to update information on an open web page (e.g. to say "Hello, user, I have just logged in"), without the user having to refresh the page himself each time? Thank you Alberto Brea

RE: [PHP] Updating an open page with PHP

2005-06-14 Thread Warren Vail
> Is there a way in PHP to update information on an open web > page (e.g. to say > "Hello, user, I have just logged in"), without the user > having to refresh > the page himself each time? Technically, I don't believe so, but I can think of a way you might be able to fake it. If you have a br

RE: [PHP] Updating an open page with PHP

2005-06-14 Thread Jay Blanchard
[snip] Dear list, Is there a way in PHP to update information on an open web page (e.g. to say "Hello, user, I have just logged in"), without the user having to refresh the page himself each time? [/snip] No. PHP is server-side, you are looking for something client-side, like JavaScript. -- PHP

RE: [PHP] Re: Retrievable weather service info?

2005-06-14 Thread Murray @ PlanetThoughtful
> http://weather.noaa.gov/pub/data/forecasts/zone/ Hi Philip, This would probably have been ideal for what I have in mind (don't mind going to a little effort to parse the text files) but appears to be limited to US information only, whereas I'm hoping to be able to randomly select a city from ar

[PHP] form inside an email

2005-06-14 Thread Ross
Hi, I would like to send a form to customers to get some information. The form will be a HTML email and collect a few bits of data...name. age etc. Can I put this inside an html email so customers do not have to open an external webpage to fill in the fields. How can this then be processed? I

[PHP] Re: retreiving postal/zip codes with PHP

2005-06-14 Thread JB05UK
ive used royal mail before for my ebay sales, they give so many lookups per day for free, not enough for a website to use, im not sure any other service would be accurate or free but let us know if you do find any which are because I need something like this also. I. Gray wrote: Hi. I was

RE: [PHP] Updating an open page with PHP

2005-06-14 Thread Jim Moseby
> > Dear list, > Is there a way in PHP to update information on an open web > page (e.g. to say > "Hello, user, I have just logged in"), without the user > having to refresh > the page himself each time? > Thank you > Alberto Brea PHP is server-side, you need a java applet to do what you are

Re: [PHP] Re: Converting [and] to XML format- help/advise requested

2005-06-14 Thread Dotan Cohen
On 6/14/05, Sebastian Mendel <[EMAIL PROTECTED]> wrote: > Dotan Cohen wrote: > > Hi gurus. I'm having fun replacing the text within [ and ] to XML > > format on 4000+ files on a windows XP machine. I installed php (and an > > apache server) on the machine because it is the only language the I am >

[PHP] Re: form inside an email

2005-06-14 Thread M. Sokolewicz
Ross wrote: Hi, I would like to send a form to customers to get some information. The form will be a HTML email and collect a few bits of data...name. age etc. Can I put this inside an html email so customers do not have to open an external webpage to fill in the fields. How can this then b

Re: [PHP] form inside an email

2005-06-14 Thread abrea
Doesn't this work?: inside your email: http://yoursite.com/yourpage.php";> yourpage.php: Alberto Brea [EMAIL PROTECTED] -Original Message- From: "Ross" <[EMAIL PROTECTED]> To: php-general@lists.php.net Date: Tue, 14 Jun 2005 19:11:26 +0100 Subject: [PHP] form inside an email > Hi, >

RE: [PHP] form inside an email

2005-06-14 Thread Jim Moseby
> Hi, > > I would like to send a form to customers to get some information. > > The form will be a HTML email and collect a few bits of > data...name. age > etc. > > Can I put this inside an html email so customers do not have > to open an > external webpage to fill in the fields. How can th

RE: [PHP] Updating an open page with PHP

2005-06-14 Thread abrea
Yes, but then the user would always have to reload the imbedded frame. -Original Message- From: "Warren Vail" <[EMAIL PROTECTED]> To: "'abrea'" <[EMAIL PROTECTED]>, "'PHP General List'" Date: Tue, 14 Jun 2005 10:31:29 -0700 Subject: RE: [PHP] Updating an open page with PHP > > Is there

RE: [PHP] Updating an open page with PHP

2005-06-14 Thread Jay Blanchard
[snip] Yes, but then the user would always have to reload the imbedded frame. [/snip] Actually you could use meta-refresh for the imbedded frame. I have done something similar for a notes update in a ticketing system. Also, you could start an endless loop in the imbedded frame. Here is an example

[PHP] Re: form inside an email

2005-06-14 Thread Matthew Weier O'Phinney
* "Ross" <[EMAIL PROTECTED]>: > I would like to send a form to customers to get some information. > > The form will be a HTML email and collect a few bits of data...name. age > etc. > > Can I put this inside an html email so customers do not have to open an > external webpage to fill in the field

Re: [PHP] Updating an open page with PHP

2005-06-14 Thread Brandon Ryan
No, not necessarily... Javascript actions on the main page, including form submits or timers can load a new page in the hidden IFRAME. The new page in the IFRAME could be a php page, that generates new javascript code which is then run when the page in the IFRAME is loaded. The javascript code

RE: [PHP] form inside an email

2005-06-14 Thread Mike Johnson
From: Ross [mailto:[EMAIL PROTECTED] > Hi, > > I would like to send a form to customers to get some information. > > The form will be a HTML email and collect a few bits of > data...name. age etc. > > Can I put this inside an html email so customers do not have to > open an external webpage

RE: [PHP] Updating an open page with PHP

2005-06-14 Thread Warren Vail
Alberto, I believe this comes under the heading of "no such thing as a free lunch", something needs to be reloaded to get the update from the server. Even an java applet with a direct database connection would need to go back to the database on the server to accomplish the update, but we were tal

Re: [PHP] Updating an open page with PHP

2005-06-14 Thread Brent Baisley
Not PHP exactly, but javascript can talk to the server and update the page without refreshing the page. What you are looking for is called AJAX, or as it is know technically XMLHttpRequest. The technology has been around for a while, but it has only recently taken off when Google used it in gm

[PHP] Message could not be delivered

2005-06-14 Thread The Post Office
ALERT! This e-mail, in its original form, contained one or more attached files that were infected with a virus, worm, or other type of security threat. This e-mail was sent from a Road Runner IP address. As part of our continuing initiative to stop the spread of malicious viruses, Road Runner s

Re: [PHP] php session

2005-06-14 Thread Richard Lynch
On Tue, June 14, 2005 7:02 am, balwantsingh said: > i have made a script where we have mounted one directory of webserver to > another directory of a system. > the php script runs in every 2 min. with the help of cronjob and insert > all the data of the directory in mysql. > the problem comes now w

Re: [PHP] Re: retreiving postal/zip codes with PHP

2005-06-14 Thread Richard Lynch
On Tue, June 14, 2005 6:35 am, Jason Barnett said: > Talk with Richard Lynch. He had talked about doing something like this > several months ago and he might have worked on it since then... I've worked on it some, but not enough to be really useful yet. Not even ready for SourceForge posting. C

RE: [PHP] Displaying an Outlook Calendar on a webpage using PHP

2005-06-14 Thread Richard Lynch
On Mon, June 13, 2005 6:36 pm, [EMAIL PROTECTED] said: > Hi, perhaps someone might be able to look at this code - it works when I > run it from the command line, but not when viewed through a web page. I > am running IIS 6 on Windows 2003 server. The most likely problem is either: Permisssions --

Re: [PHP] Re: Converting [and] to XML format- help/advise requested

2005-06-14 Thread Dotan Cohen
On 6/14/05, Sebastian Mendel <[EMAIL PROTECTED]> wrote: > Dotan Cohen wrote: > > Hi gurus. I'm having fun replacing the text within [ and ] to XML > > format on 4000+ files on a windows XP machine. I installed php (and an > > apache server) on the machine because it is the only language the I am >

Re: [PHP] OT ??: Form posting without leaving form

2005-06-14 Thread Richard Lynch
On Mon, June 13, 2005 10:28 am, Kall, Bruce A. said: > I have a php web page that is a detailed form with a lot of fields. If > the user does some work on this form and let's it sit, their session can > time out (I had this happen to the user after it sat for 2 hours). Is > there some way to have

[PHP] Checkboxes From Intersection Redux

2005-06-14 Thread Jack Jackson
Hi, With your help I got some checkboxes generated the other day for a form. I would like some help getting a similar problem solved. I am now making a form to edit db entries made in the previous form. I have three tables involved: art, media and media_art. I need to show checkboxes for all

Re: [PHP] Optimizing Help

2005-06-14 Thread Jack Jackson
Jochem, I cannot believe you spent this much time helping me with this. I really appreciate it. I will go through and make ALL those changes. I am grateful. Especially the changes which cleaned up jibberish and tightened from several lines to one - really! Thank you thank you thank you! --JJ

Re[2]: [PHP] Re: Converting [and] to XML format- help/advise requested

2005-06-14 Thread Tom Rogers
Hi, Wednesday, June 15, 2005, 4:42:24 AM, you wrote: DC> On 6/14/05, Sebastian Mendel <[EMAIL PROTECTED]> wrote: >> Dotan Cohen wrote: >> > Hi gurus. I'm having fun replacing the text within [ and ] to XML >> > format on 4000+ files on a windows XP machine. I installed php (and an >> > apache serv

Re: [PHP] form inside an email

2005-06-14 Thread Tom Rogers
Hi, Wednesday, June 15, 2005, 4:11:26 AM, you wrote: R> Hi, R> I would like to send a form to customers to get some information. R> The form will be a HTML email and collect a few bits of data...name. age R> etc. R> Can I put this inside an html email so customers do not have to open an R> exte

[PHP] split()?

2005-06-14 Thread pineriver
How would I do this ? Take this string and return everything between [ ] as an array output doesnt have to inlude [ ] $rr="thisscritjajsj[ OUT1 ]ajdamsda;sjo;tkpdk[ OUT2 ]sdfmjs[ OUT3 ]dfjlsd"; $a = some function echo ''; print_r($a); [0] => [ OUT1 ] [1] => [ OUT2 ] [2] => [ OUT3

[PHP] Re: split()?

2005-06-14 Thread Matthew Weier O'Phinney
* [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > How would I do this ? > > Take this string and return everything between [ ] as an array output doesnt > have to inlude [ ] > $rr="thisscritjajsj[ OUT1 ]ajdamsda;sjo;tkpdk[ OUT2 ]sdfmjs[ OUT3 ]dfjlsd"; > > $a = some function > > echo ''; > print_r($a); > >

[PHP] Re: Retrievable weather service info?

2005-06-14 Thread Matthew Weier O'Phinney
* "Murray @ PlanetThoughtful" <[EMAIL PROTECTED]>: > Just wondering if anyone knows of a free weather service that can be > interrogated by PHP for information such as current temperature for a range > of cities around the world? www.wunderground.com has free banner 'stickers' you can use (i.e., g

Re: [PHP] split()?

2005-06-14 Thread Mark Cain
Here is one way to do it: $rr="thisscritjajsj[ OUT1 ]ajdamsda;sjo;tkpdk[ OUT2 ]sdfmjs[ OUT3 ]dfjlsd"; preg_match("/.*\[(.*)\].*\[(.*)\].*\[(.*)\].*/", $rr, $match); list($whole_match[],$a[],$a[],$a[]) = $match; print ""; print_r ($a); print ""; exit; Mark Cain - Original Message - F

Re: [PHP] split()?

2005-06-14 Thread Matthew Weier O'Phinney
* "Mark Cain" <[EMAIL PROTECTED]> : > Here is one way to do it: > > $rr="thisscritjajsj[ OUT1 ]ajdamsda;sjo;tkpdk[ OUT2 ]sdfmjs[ OUT3 ]dfjlsd"; > > preg_match("/.*\[(.*)\].*\[(.*)\].*\[(.*)\].*/", $rr, $match); > > list($whole_match[],$a[],$a[],$a[]) = $match; This is fine as long as there's preci

Re: [PHP] OT ??: Form posting without leaving form

2005-06-14 Thread Reginald Alex Mullin
Bruce, You can use JavaScript to automatically post the form after a set time. For example, you can use the 'SetTimeout' function or the 'onunload' event handler. You should Google these to get a better understanding of how they work. Listed below are two very basic examples. SetTimeout('Jav

[PHP] unable to load php_gd2.dll

2005-06-14 Thread ddiffa
Okay I at loss. I have tried but i can seem to get the php_gd2.dll to work properly. Any help this is what i have done so far. I have in my php.ini file, ; Directory in which the loadable extensions (modules) reside. extension_dir = "C:\PHP\extensions" I have also uncommented the extensi