Re: [PHP] Need some help plz

2001-03-10 Thread Gianluca Baldo
Mick - M> Warning: Failed opening '/usr/local/apache/htdocs/mick/domain.php' for M> inclusion (include_path='') in Unknown on line 0 if you get this error it probably means you don't have permissions set up correctly. Check the owner of your apache process and set owner/permission for your php fi

Re: [PHP] Headers

2001-03-17 Thread Gianluca Baldo
Clayton, PHP has a function for that: headers_sent (PHP 3>= 3.0.8, PHP 4 >= 4.0b2) headers_sent -- Returns true if headers have been sent Description boolean headers_sent (void) This function returns true if the HTTP headers have already been sent, false otherwise. See also header() Cheers,

Re: [PHP] Please "\n" problem????

2002-01-12 Thread Gianluca Baldo
Dani - D> echo "Result :\n"; ->>> THIS DOESN'T GIVE ME A D> NEW LINE- WHY ? If you look at the source code of your page you'll see a new line there. If you want a new line in the browser output, you must place a at that point, not a \n since it's HTML. Hope this he

[PHP] [ANNOUNCEMENT] Phpauction 2.1 released

2002-01-29 Thread Gianluca Baldo
PHPAUCTION 2.1 has been released and is available in the downloads section at http://phpauction.org .- This release includes an installation script, edit live auctions, & post a question to the seller. We have fixed bugs to make this a stable version. Regards, Gianluca -- ALBASOFTWARE

Re: [PHP] Poor results with GD

2002-04-16 Thread Gianluca Baldo
gt; You'll see what I mean if you look at www.msear.com/paintings/ where the > > images are currently all generated with GD (but not for long, I think!) > > > > Cheers, > > Mick > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php -- Gianluca Baldo Mallorca 186 - 3º 1ª 08036 Barcelona (Spain) tel/fax +34 93 454 93 24 http://www.phpauction.org http://www.gianlucabaldo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PayPal: Instant Payment Notification

2002-04-27 Thread Gianluca Baldo
Gianluca > > I have to write a system that enables payments via this service, but I'm > > low on documentation and this service is a new one for me. > > > > An overview of the process and pointers would be great! > > Paypal provides some

Re[2]: [PHP] Running WML (WAP services) under PHP

2001-12-09 Thread Gianluca Baldo
Try \n"; ?> Cheers, Gianluca JD> i think that php sends out headers showing that the page is html.not JD> sure bout this, but you might have to send a diff header.. JD> -Original Message- JD> From: M [mailto:[EMAIL PROTECTED]] JD> Sent: Sunday, December 09, 2001 5

Re: [PHP] Looking for a function

2001-12-24 Thread Gianluca Baldo
VVP> Hello, cannot find function to convert all dangerous symbols (spaces,dots VVP> etc) into %20 variant. VVP> Is there any standard, or i have to develop my own? Look at urlencode(), it shoud be what you are lookingfor. Cheers, Gianluca -- ALBASOFTWARE C/ Mallorca 186 -

Re: [PHP] How to I convert the PHP variable back into Javascript?

2001-04-13 Thread Gianluca Baldo
SF> I have not been able to put the php variable back into javascript variable SF> for javascript scripting. I doubt if it would work if I assign the php SF> variable to the html variable then have the javascript pick it up. You don't have "HTML variables"... you have form's fields with a VALU

Re[2]: [PHP] php as cron

2001-06-22 Thread Gianluca Baldo
AB> If I execute this from the shell ./pop it works OK. AB> But as a cron job I get an error message sent to my mail box AB> "Your terminal lacks the ability to clear the screen or position the AB> cursor.", AB> hence this 'clear' bit in my script to try to sort the problem but no joy. I have ha

Re: [PHP] Batch Coding Help Please

2001-06-25 Thread Gianluca Baldo
Hi, I do the following in a similar case: - I have a table with the emails to send (the addresses) - I run a PHP script as a cronjob every X minutes (15 in my case) - the script sends up to 1000 e-mail and delete the corresponding entry from the table for each e-mail sent (you may want to simply

Re[2]: [PHP] Auction PHP Solution?

2001-06-28 Thread Gianluca Baldo
Hi - MT> There was some development on PHP-Auction, I did a custom-rolled one for a MT> client but it's not like e-bay. Not yet! (just joking) - This is the status of phpauction: - we are finally near to the first stable release - the features are the basic feature needed by an auction package

[PHP] [ANNOUCE] PHPAUCTION 1.0 is out

2001-07-04 Thread Gianluca Baldo
It is (finally!) available at http://www.phpauction.org - Everyone interested in helping with the localization project, translating to other languages than english is welcome! Thanks Gianluca -- ALBASOFTWARE C/ Mallorca 186 - 3º 1ª 08036 Barcelona (Spain) Tel. +34 93454009 - +34 934549324

[PHP] SHA-1

2001-07-19 Thread Gianluca Baldo
Hi all- I searched the mailing list archive but without success. What I am looking for is a PHP implementation of the SHA-1 algorithm. Does anybody know if it is available somewhere? Cheers, Gianluca -- ALBASOFTWARE C/ Mallorca 186 - 3º 1ª 08036 Barcelona (Spain) Tel. +34 93454009 - +34 9

Re[2]: [PHP] SHA-1

2001-07-20 Thread Gianluca Baldo
uca JC> Try the MHASH library. See http://www.php.net/manual/en/ref.mhash.php JC> HTH, JC> -- Joe JC> - Original Message - JC> From: "Gianluca Baldo" <[EMAIL PROTECTED]> JC> To: <[EMAIL PROTECTED]> JC> Sent: Thursday, July 19, 2001 5:25

Re: [PHP] mySQL query grief

2001-07-22 Thread Gianluca Baldo
Justin - there's an error in your query. I think it should be: $sql = "SELECT * FROM staff WHERE id='$username'"; Anyway, to see which is the problem just after $result = mysql_query($sql); HTH Gianluca JF> newbie to MySQL... JF> I get this error: JF> Supplied argument is not a valid MySQ

Re: [PHP] Drop Down Menu

2001-07-28 Thread Gianluca Baldo
It's a javascript issue. blue licht red yellow Cheers, Gianluca MV> I have the following question : if i make a selection in the drop down menu MV> and click on submit button then the color will send to form2.php MV> I w

Re: [PHP] Time problem

2001-08-08 Thread Gianluca Baldo
Pierre - py> In other words, how do you change this 997271630.08651 py> in 08:14:32 ? you can use date() in conjunction with mktime(). Have a look at the manual there are good examples and users comments there. Cheers, Gianluca [EMAIL PROTECTED] BcnInédita EURO RSCG INTERACTION www.bcnin

Re[2]: [PHP] Dnsquery

2001-08-17 Thread Gianluca Baldo
JH> I think you need to assign it to a variable and then echo that: JH> $dnsquery = exec("dnsquery -h domain.net"); JH> echo $dnsquery; This is from the manual: "exec() executes the given command, however it does not output anything" Use system instead. Cheers, Gianluca JH> -Origina

Re: [PHP] php query for mysql table

2001-08-20 Thread Gianluca Baldo
You should use the "like" clause whch allows the use of wild cards % and ?. Have a look at the MySQL manual, it should be explained there. HTH Gianluca WS> I am a newbie to php + mysql and wanted to ask for some help on a WS> particular item which I can't seem to find "the right key" in

Re: [PHP] mkdir Question

2001-08-26 Thread Gianluca Baldo
Jeff JO> mkdir ("/usr/www/users//blah/blah/$username", 0777); JO> it sets it to nobody instead of my username. "Nobody" is the user runng the Apache process that's why it is the owner of the directory. You can "chown" the direcotry from your PHP script after you create it or "chmod" the files

[PHP] witing for a post

2001-09-22 Thread Gianluca Baldo
Hi all - i have set up a credit card gateway interface. The gateway sends an answer to a URL (i.e. http://www.domain.com/answer.php) I pass to it with the some other data. My bank documentation is poor and the support is worst. My question is: how do I make my script at http://www.domain.com/answ

Re[2]: [PHP] witing for a post

2001-09-22 Thread Gianluca Baldo
nd display a final confirmation or output a "transaction not successful". Thanks Gianluca JD> not sure i follow Gianluca...the script will stay there, its not going JD> anywhere, so why does it need to "wait"? it'll process whatever info is sent JD> to it...