Re: [PHP] WAP?

2006-11-05 Thread clive
Richard Lynch wrote: On Fri, November 3, 2006 3:14 am, clive wrote: http://www.acousticdemo.com/nationalsystems/pizzahut.com/wap/index.wml tried the url on my nokia 6230i and get your first card displaying correctly. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

Re: [PHP] WAP?

2006-11-05 Thread clive
Richard Lynch wrote: On Fri, November 3, 2006 3:14 am, clive wrote: The closest I can come is with a deck whose entire contents spew out at once to a handset: Is there any reason why you insist on using WAP 1.X? clive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Sorting MySQL queries

2006-11-05 Thread clive
Current code: $query = "SELECT subject FROM table ORDER BY subject asc"; $result = mysql_query($query); I dont seen any php code to do any sorting,just a mysql query, perhaps a mysql list or maybe you should try doing it in php yourself first. Not that I know the answer, but mysql does have

Re: [PHP] Re: Frameworks

2006-11-05 Thread John . H
I have just watched the Code Igniter Video Tutorials and found thtat it is very easy to make a MVC module by using this framework,and it is very similar to the CMS I just developed.Also I still pay attention to other framework,and I hope to find a framework that can be really helpful to my work,bu

Re: [PHP] image commands (again)

2006-11-05 Thread Rasmus Lerdorf
Google Kreme wrote: > On 05 Nov 2006, at 15:31 , Ron Piggott (PHP) wrote: >> Content-type: image/ >> >> the browser expects only the image to output to the screen and no HTML > > As if should. > > Save the image in a temporary location and then send html that include > and tag You don't need to

Re: [PHP] image commands (again)

2006-11-05 Thread Google Kreme
On 05 Nov 2006, at 15:31 , Ron Piggott (PHP) wrote: Content-type: image/ the browser expects only the image to output to the screen and no HTML As if should. Save the image in a temporary location and then send html that include and tag -- Though it's cold and lonely in the deep dark ni

[PHP] Re: Frameworks

2006-11-05 Thread Bruce Cowin
Hi Tony, On the installation instructions for Radicore, I see a lot of mention of Apache but no mention of IIS set up. Does Radicore work on IIS? Thanks. Regards, Bruce >>> "Tony Marston" <[EMAIL PROTECTED]> 3/11/2006 11:10:12 p.m. >>> It totally depends on what type of application you are

[PHP] image commands (again)

2006-11-05 Thread Ron Piggott (PHP)
I created a form that I have on my site --- it is at http://www.actsministrieschristianevangelism.org/development_tools/textart/details.html If I run this script it creates a graphic image of the text the user typed in with the appropriate options selected I would now like to have the image creat

Re: [PHP] Issue when inserting Slovak characters in database via PHP code

2006-11-05 Thread M
The important steps: 1. display the form on utf-8 page: header('Content-Type: text/html; codepage=utf-8'); ... and the same in tag 2. use pg_set_client_encoding('UTF8') after connecting to posgres 3. have your database, tables and rows in UTF8 (you have already) 4. again, when ret

[PHP] imageloadfont

2006-11-05 Thread Ron Piggott (PHP)
How do you make .gdf files for use with imageloadfont ? Ron

Re: [PHP] Sorting MySQL queries

2006-11-05 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2006-11-05 15:13:19 +0200: > I have a list of subjects, such as "Linux", "Open Source", and "the > World Wide Web". The subjects are stored in a database and being > retrieved via php. I currently organize them alphabetically with SQL's > ORDER BY ASC argument, however, if the

Re: [PHP] [newbie in session] Is is right behavior???

2006-11-05 Thread Jürgen Wind
Mariusz Topczewski wrote: > > On some PC when i load the page, the is no content, and on other PC the > page > is loaded properly. On computer where the page is blank i have to press F5 > (refresh), and the page appear ?. > this problem can also be observed on some win boxes when running php

Re: [PHP] Closing a connection to browser without exiting the script

2006-11-05 Thread Larry Garfield
Well, really you can't do that. A PHP request only takes interrupt input when it starts, from the GET, POST, COOKIE, and SESSION magic variables. It doesn't run as a daemon. A fresh Ajax call to the script starts a new instance of the script. Fortunately, PHP's engine is fast enough that the

Re: [PHP] XML Sending problem

2006-11-05 Thread Myron Turner
Your question interested me for my own work, so I found this url: http://www.zend.com/zend/spotlight/mimocsumissions.php The script, disentangled from the commentary (& with a few of my own comments) is as follows: function post_it($datastream, $url) { $url = preg_replace("@^http://@i"

Re: [PHP] in_array() related problem

2006-11-05 Thread tamcy
Hi, Thanks for your reply. After a sleep overnight I found I said something really stupid. Arrays are compared in deep, and also for objects. I really forgot the old PHP4 way and thought PHP5 compares object simply by address when using ==, which is not the real case. I need to use === for compar

Re: [PHP] XML Sending problem

2006-11-05 Thread Stut
Rosen wrote: "Unknown Sender" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi Rosen, You can do this for some ways. The simplest: 1. Send via ftp - http://php.net/ftp 2. Send via scp using ssh2 - http://php.net/ssh2 Regards Michael Thanks Michael, but I want if it is possible to

Re: [PHP] Trying to create an encryption method

2006-11-05 Thread John Meyer
Modified the script, and that's what I needed, thanks. Jochem Maas wrote: > $secret = "HalloWorld"; > $encoded = ""; > > $a = $b = range("a","z"); > shuffle($b); > $c = array_combine($a, $b); > > foreach (str_split(strtolower($secret)) as $v) > $encoded .= isset($c[ $v ]) ? $c[ $v ] : $v; >

[PHP] PHP in Kenya

2006-11-05 Thread Mark Steudel
I'm currently serving in Peace Corps in Kenya and I was looking for other PHP web developers that are doing e-commerce that I could ping about what requirements/paperwork etc is involved in setting up e-commerce accounts in Kenya. Thanks, Mark

[PHP] Sorting MySQL queries

2006-11-05 Thread Dotan Cohen
I have a list of subjects, such as "Linux", "Open Source", and "the World Wide Web". The subjects are stored in a database and being retrieved via php. I currently organize them alphabetically with SQL's ORDER BY ASC argument, however, if there is a preceding "the " or "a " then that is considered

Re: [PHP] XML Sending problem

2006-11-05 Thread Rosen
"Unknown Sender" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi Rosen, > You can do this for some ways. > The simplest: > 1. Send via ftp - http://php.net/ftp > 2. Send via scp using ssh2 - http://php.net/ssh2 > > Regards > Michael > Thanks Michael, but I want if it is possible

Re: [PHP] Trying to create an encryption method

2006-11-05 Thread Jochem Maas
$secret = "HalloWorld"; $encoded = ""; $a = $b = range("a","z"); shuffle($b); $c = array_combine($a, $b); foreach (str_split(strtolower($secret)) as $v) $encoded .= isset($c[ $v ]) ? $c[ $v ] : $v; var_dump($c, $secret, $encoded); Paul Novitski wrote: > At 11/4/2006 08:15 PM, John Me

Re: [PHP] XML Sending problem

2006-11-05 Thread Michal Manko
Hi Rosen, You can do this for some ways. The simplest: 1. Send via ftp - http://php.net/ftp 2. Send via scp using ssh2 - http://php.net/ssh2 Regards Michael Rosen said: Hi, I need to create an XML file and send it to another server, where script process the XML. With creation and processing o

Re: [PHP] Closing a connection to browser without exiting the script

2006-11-05 Thread David Négrier
Hi All, Thanks a lot for your numerous answers. I've learned a lot from all your suggestions. Actually, combining all your answers, I'll come up with a solution. To be more explicit on what I want to do, I want in fact to start a script, I want that script to display a page, and then, I want tha

[PHP] XML Sending problem

2006-11-05 Thread Rosen
Hi, I need to create an XML file and send it to another server, where script process the XML. With creation and processing of XML I don't have a promlems, but how I can send XML to the processing script on another server ? Thanks in advance, Rosen -- PHP General Mailing List (http://www.php

Re: [PHP] imagejpeg

2006-11-05 Thread Dotan Cohen
On 05/11/06, Ron Piggott (PHP) <[EMAIL PROTECTED]> wrote: Is there a way to specify a font when using imagejpeg ? Ron On this page: http://il.php.net/imagejpeg Take a look at the comment by Olav Alexander Mjelde. Dotan Cohen http://what-is-what.com/what_is/sitepoint.html http://technology