Re: [PHP] Convert PDF Files to PCL-Files

2008-07-04 Thread Ray Hauge
jogisarge wrote: Hello @all, i am running php5 on a IBM i5 V5R4. now i have to print exisiting pdf-files. the problem is, i cant use external programms like pdftops or other stuff like this, because the php core runs in the pase environment. is there any possibility to convert existing pdfs to

[PHP] Trying to keep a dropdown selection sticky

2008-07-04 Thread Michael S. Dunsavage
I have a form I want to keep sticky, but I can't figure out how. I got all the 's to be sticky The select script State'; echo ''; foreach ($state_list as $key => $value) { echo " $value\n"; } echo ''; echo ''; ?> so now how do I keep that sticky? -- Mic

Re: [PHP] Scrambling a word

2008-07-04 Thread Ron Piggott
Is there a way to output the results with a space between each character? $shuffled = str_shuffle($str); On Sat, 2008-07-05 at 01:20 +0200, Stefano Esposito wrote: > On Fri, 04 Jul 2008 18:52:49 -0400 > Ron Piggott <[EMAIL PROTECTED]> wrote: > > > I am using PHP 4 > > > > I am trying to figure

Re: [PHP] Scrambling a word

2008-07-04 Thread Stefano Esposito
On Fri, 04 Jul 2008 18:52:49 -0400 Ron Piggott <[EMAIL PROTECTED]> wrote: > I am using PHP 4 > > I am trying to figure out how to scramble a word. > > Example: hello so the output might be elolh > > Any ideas? > > Ron > > str_shuffle() -- Email.it, the professional e-mail, gratis pe

Re: [PHP] Scrambling a word

2008-07-04 Thread Michael S. Dunsavage
On Fri, 2008-07-04 at 18:52 -0400, Ron Piggott wrote: > I am using PHP 4 > > I am trying to figure out how to scramble a word. > > Example: hello so the output might be elolh > > Any ideas? > > Ron > > http://koivi.com/letter-scramble/ -- Michael S. Dunsavage -- PHP General Mailing Lis

[PHP] Scrambling a word

2008-07-04 Thread Ron Piggott
I am using PHP 4 I am trying to figure out how to scramble a word. Example: hello so the output might be elolh Any ideas? Ron -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Hi,

2008-07-04 Thread Shawn McKenzie
John Jairo Vega Angulo wrote: Hi, How are u doing these days?Yesterday I found a web of a large trading company from china,which is an agent of all the well-known digital product factories,and facing to both wholesalers,retailsalers,and personal customer all over the world. They export all kind

[PHP] Re: No Database Connection possible (mySQL)

2008-07-04 Thread M. Sokolewicz
David Robley wrote: Aviation Coding wrote: Hi all, I am having problems with a connection to a mysql database. I am using function con() { mysql_connect("localhost","user","pass") or die(mysql_error()); mysql_select_db("tava") or die(mysql_error()); } Now, when I call the _functio

[PHP] Creating XML files

2008-07-04 Thread It flance
Hi all, Some months ago i worked with XML. And i remember that i was able to create xml files quite easily. Now i don`t have the book i used by the time. I made many searches in google and i don't find something interesting. So i'm wondering if somebody can give a good link with examples. If i

[PHP] Convert PDF Files to PCL-Files

2008-07-04 Thread jogisarge
Hello @all, i am running php5 on a IBM i5 V5R4. now i have to print exisiting pdf-files. the problem is, i cant use external programms like pdftops or other stuff like this, because the php core runs in the pase environment. is there any possibility to convert existing pdfs to pcl files ? bye

[PHP] Re: No Database Connection possible (mySQL)

2008-07-04 Thread David Robley
Aviation Coding wrote: > Hi all, > > I am having problems with a connection to a mysql database. > > I am using > > > function con() > { > mysql_connect("localhost","user","pass") or die(mysql_error()); > mysql_select_db("tava") or die(mysql_error()); > } > > > Now, when I call the _

[PHP] Re: Installed 5.2.6 but phpinfo() still says 5.0.2

2008-07-04 Thread David Robley
x0ml wrote: > For some reason this first post didn't "post" to this newsgroup... > > > "x0ml" <[EMAIL PROTECTED]> wrote in message news:... >> I've installed PHP version 5.2.6 but phpinfo() and php -v both report >> back >> the old version 5.0.2. I even copied php.ini-dist from the distribution

RE: [PHP] FW: [SPAM] [PHP] No Database Connection possible (mySQL)

2008-07-04 Thread Chris Haensel
-Original Message- From: Chris Scott [mailto:[EMAIL PROTECTED] Sent: Friday, July 04, 2008 11:41 AM To: php-general@lists.php.net Subject: [PHP] FW: [SPAM] [PHP] No Database Connection possible (mySQL) Importance: Low > -Original Message- > From: Aviation Coding [mailto:[EMAIL

[PHP] FW: [SPAM] [PHP] No Database Connection possible (mySQL)

2008-07-04 Thread Chris Scott
> -Original Message- > From: Aviation Coding [mailto:[EMAIL PROTECTED] > Sent: Friday, July 04, 2008 10:15 AM > To: php-general@lists.php.net > Subject: [SPAM] [PHP] No Database Connection possible (mySQL) > Importance: Low > > Hi all, > > I am having problems with a connection to a mysql

[PHP] No Database Connection possible (mySQL)

2008-07-04 Thread Aviation Coding
Hi all, I am having problems with a connection to a mysql database. I am using function con() { mysql_connect("localhost","user","pass") or die(mysql_error()); mysql_select_db("tava") or die(mysql_error()); } Now, when I call the _function_ (!) con() or die("no con"); I get

[PHP] Re: Installed 5.2.6 but phpinfo() still says 5.0.2

2008-07-04 Thread Colin Guthrie
x0ml wrote: I've installed PHP version 5.2.6 but phpinfo() and php -v both report back the old version 5.0.2. I even copied php.ini-dist from the distribution to /etc/php.ini and restarted the physical server. It still does show version 5.2.6 as the current version. As a sidenote, I'm havin