Re: [PHP] php and apache path...
Analysis Solutions wrote: On Tue, Jul 02, 2002 at 10:34:32PM +0200, Nightshade wrote: Analysis Solutions wrote: Document root doensn't solve my problem... ... snip ... Any solution? Read and heed what I already said: Whenever you have a question like this, run phpinfo() and see what's there which produces the variable you're looking for. If that doesn't have what you're looking for, you need to craft your own solution. --Dan Yea,I understood. But my question is: is right that my Document_root (shown in phpinfo) is /var/www/html/ and not /var/www/html/mysite? And if isn't right where I can change this? tnx again -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] php and apache path...
Hi there.That's my question...A file that is in the 4th level's subdir must read a file that's in the 1st level. but I wish avoid to use millions of ../../../thefile.php I hope have been clear... is there a unix like ~/ , to access to root directory of my site, so open the file? tnx in advance, jonny -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php and apache path...
Analysis Solutions wrote: On Tue, Jul 02, 2002 at 03:47:20PM +0200, Nightshade wrote: is there a unix like ~/ , to access to root directory of my site Does $_SERVER['DOCUMENT_ROOT'] help? Whenever you have a question like this, run phpinfo() and see what's there which produces the variable you're looking for. --Dan Do you advice me to use $_SERVER['DOCUMENT_ROOT'] . remaining_path/ in all my files? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php and apache path...
Analysis Solutions wrote: On Tue, Jul 02, 2002 at 03:47:20PM +0200, Nightshade wrote: is there a unix like ~/ , to access to root directory of my site Does $_SERVER['DOCUMENT_ROOT'] help? Whenever you have a question like this, run phpinfo() and see what's there which produces the variable you're looking for. --Dan Sorry again... Document root doensn't solve my problem... the var contain /var/www/html instead of /var/www/html/mysite maybe I should set something up? Any solution? tnx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Sendmail doesn't send...
Hi, that's my configuration: I've Mdk 8.2 Today I've installed sendmail for 1st time... I tryed to use mail() function, but effectively works only when I send mail to [EMAIL PROTECTED] no mails go to the other local user, and specially to external user: i.e. mail([EMAIL PROTECTED],$subj,$msg); Any idea? tnx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Sendmail doesn't send...
Adi wrote: Look in var/log/maillog or similar for errors - Original Message - From: Nightshade [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 26, 2002 3:18 PM Subject: [PHP] Sendmail doesn't send... [mail function] SMTP= localhost ;for win32 only sendmail_from = [EMAIL PROTECTED];for win32 only sendmail_path = /usr/sbin/ ;for unix only, may supply arguments as well (default is sendmail -t) what's wrong on my config? tnx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] header() and explorer
Hi there, I've read that explorer has a bug when a form post data to another page that calls header() function. Any idea to avoid this? Tnx in advance jonny -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Question about tag ??
Hi there, I'm working with PHP since 3 weeks, so I'm newbie and maybe I could say some bull :-) That's my question: Let's suppose that I make a ...mmm...forum. Now, in a Textbox i write my comment and I add also this ? //some instruction to erase my site's root directory ? So I post all I wrote to db. Ok, when I gonna read this record from database with the other comments, is here the possibility that piece of code, is executed, making some disaster into my directory? I hope you understand my question,and sorry x my english... :) tia, jonny -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php