Re: [PHP] Running script produces no output

2003-08-06 Thread Jacob Vennervald Madsen
Does the script work when you run it by hand? Try to insert an echo TESTER in the top the shell script to make sure something is sent to stdout. And then check in your php script that you receive the message. Best regards, Jacob Vennervald On Wed, 2003-08-06 at 08:38, Chris Blake wrote:

Re: [PHP] Displaying MySQL data inside of a table

2003-07-28 Thread Jacob Vennervald Madsen
Hi Next time you can find a lot of information about this on www.php.net. Check out this example: ?php $conn = mysql_connect(localhost, mysql_user, mysql_password); if (!$conn) { echo Unable to connect to DB: . mysql_error(); exit; } if

Re: [PHP] a stupid question

2003-07-24 Thread Jacob Vennervald Madsen
Download it and then check it. But if you need to check a lot of files that's probably to slow. Jacob Vennervald On Thu, 2003-07-24 at 06:03, Joe wrote: how to check the filetype of remote file because is_dir(), is_file() can't work on remote file thx a lot -- PHP General Mailing

Re: [PHP] Array cookie

2003-07-22 Thread Jacob Vennervald Madsen
You could serialize your an array and save it in the cookie, but I would also recommend using a session and then save the serialized array in this instead. Jacob Vennervald On Tue, 2003-07-22 at 09:36, Curt Zirzow wrote: * Thus wrote Shantanu Oak ([EMAIL PROTECTED]): Hi, I have written a

Re: [PHP] CLI php: how to use different php.ini file

2003-07-22 Thread Jacob Vennervald Madsen
php -c php.ini-file Jacob Vennervald On Tue, 2003-07-22 at 12:52, Jean-Christian IMbeault wrote: I am running some cronjob scripts that are written in PHP. However things are not working as expected because my php.ini file auto-prepends a file. This auto-prepending is meant for my PHP web

Re: [PHP] Passing Serialized Array via Hidden field

2003-07-21 Thread Jacob Vennervald Madsen
Just tried it out and you should use htmlspecialchars() instead of urlencode(). When you put it in a hidden field the browser is responsable for urlencoding the data. Jacob On Mon, 2003-07-21 at 09:24, Andrei Verovski wrote: Hi, I am need to pass serialized assotiative array via form hidden

[PHP] PHP code beautifier?

2003-07-17 Thread Jacob Vennervald Madsen
Hi List Does anybody know any good PHP code beautifiers/formaters? Preferably one which is configurable so I can specify the exact format I want. Cheers, Jacob Vennervald -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP code beautifier?

2003-07-17 Thread Jacob Vennervald Madsen
/ http://www.trita.com/ http://www.beautifier.org/ This should get you started. I think PHPEdit has a code beautifier feature too. Btw, I found all of these on the first two pages of a simple Google search. Might be worth trying in the future. :-) Joseph Jacob Vennervald Madsen

Re: [PHP] Re: PHP code beautifier?

2003-07-17 Thread Jacob Vennervald Madsen
Actually I did search Google first and I did get the same results you got. But what I was looking for was actually not a list of different beautifiers but comments from developers having experience with a specific beautier that they find does the job well. Jacob Vennervald On Thu, 2003-07-17 at