RE: [PHP] mkdir after mkdir

2004-06-07 Thread Uttam
guess it has something to do with default directory rights for newly created directories?? the directory 'x' gives your script permission to create directory under it. so you are able to create directory 'y' inside 'x'. but the newly created directory 'y' does not gives your script permission to

[PHP] RE: Older Version problems

2003-07-16 Thread Uttam
have u tried using $HTTP_POST_FILES[] regds, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 08:50 To: [EMAIL PROTECTED] Subject: Older Version problems I'm moving some scripts to a new server but the PHP installation on the new server

[PHP] RE: session id

2003-03-25 Thread Uttam
session_start(); should be on the first line in the script. regds, -Original Message- From: Iggy [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 20:08 To: [EMAIL PROTECTED] Subject: session id can somebody tell me why I am getting this: Warning: session_start()

[PHP] RE: connecting to mysql db

2003-03-25 Thread Uttam
Yes, It is necessary because script executes ends for every request. Variables can be made persistent by using cookie/sessions but mysql connection is a resource which can not be saved restored as session variable. For efficient use of resources, you may use mysql_pconnect() (only when php is

[PHP] RE: Access DB PHP

2003-03-17 Thread Uttam
may be this snip from manual can show the way: snip You can decide whether or not you want a client disconnect to cause your script to be aborted. Sometimes it is handy to always have your scripts run to completion even if there is no remote browser receiving the output. The default behaviour is

RE: [PHP] SQL DISTINCT with MYSQL

2003-03-14 Thread Uttam
here's my solution: I presume you need the name of the file the user last accessed. This requires a datetime column in your useronline file which records the time a user has accessed a page. If the name of this field is atime then a) create a temporary table storing lact access time for each

[PHP] RE: Newbie MySQL INSERT Q

2003-03-14 Thread Uttam
PHP does not allow ';' character in query strings so you'll have to break these. regds, -Original Message- From: Charles Kline [mailto:[EMAIL PROTECTED] Sent: Friday, March 14, 2003 20:34 To: [EMAIL PROTECTED] Subject: Newbie MySQL INSERT Q Can I have a single SQL string do INSERTS into

[PHP] RE: what is session_name?

2003-03-13 Thread Uttam
it is the name of cookie variable which stores the unique session ID string. suppose you set session.name to SESSID in php.ini then a cookie variable named SESSID will be sent to client in which session ID string will be stored by client browser. If URL is used to propogate session variable then

[PHP] RE: Access

2003-03-07 Thread Uttam
Not yet. And if there ever will it can not be odbc_connect(), may be something like access_open()? regds, -Original Message- From: Kiswa [mailto:[EMAIL PROTECTED] Sent: Saturday, March 08, 2003 01:03 To: [EMAIL PROTECTED] Subject: Access Hi. Is their anyway to connect to a Access Db

[PHP] RE: Mysql Date got prob!

2003-03-01 Thread Uttam
try: select date_format(date_add(arrivaldate1, INTERVAL nights1 DAY), '%Y-%m-%d') as dept_date1 from mytable where (date_add(arrivaldate1, INTERVAL nights1 DAY) BETWEEN '2003-02-01' AND '2003-02-10') regds, -Original Message- From: Dhaval Desai [mailto:[EMAIL PROTECTED]

[PHP] RE: JP Graph

2003-02-28 Thread Uttam
localhost is the name of your own machine, for others localhost means their machines. redirect to the network ip address or host name of your server instead of localhost. regds, -Original Message- From: K [mailto:[EMAIL PROTECTED] Sent: Friday, February 28, 2003 09:47 To: [EMAIL

[PHP] RE: mysqldump

2003-02-27 Thread Uttam
snip from manual for -p option: |- -p[password], --password[=...] Password to use when connecting to server. If a password is not given on the command line, you will be prompted for it. Note that if you use the short form -p you can't have a space between the option and the

FW: [PHP] List problem

2003-02-17 Thread Uttam
please remove [EMAIL PROTECTED] from the list. -Original Message- From: David T-G [mailto:[EMAIL PROTECTED]] Sent: Monday, February 17, 2003 06:06 To: PHP General list Cc: Beauford.2002 Subject: Re: [PHP] List problem Beauford -- ...and then Beauford.2002 said... % % Does anyone else

RE: [PHP] Re: URL of calling page

2003-02-17 Thread Uttam
or $_SERVER[HTTP_REFERER] availability depends or server though... regds, -Original Message- From: Luke Woollard [mailto:[EMAIL PROTECTED]] Sent: Monday, February 17, 2003 10:48 To: PHP-general Subject: RE: [PHP] Re: URL of calling page dude - try this: echo $HTTP_REFERER; It'l give

[PHP] RE: Search engine PHP

2003-02-17 Thread Uttam
may be browsing through available classes will help you: http://uttam27.users.phpclasses.org/browse.html/class/22.html -Original Message- From: Andrian Ivanov [mailto:[EMAIL PROTECTED]] Sent: Monday, February 17, 2003 16:30 To: [EMAIL PROTECTED] Subject: Search engine PHP Hello, Can

[PHP] RE: call a website from a php script

2003-02-16 Thread Uttam
if (condition) { header(Location: http://www.gogle.com/;); } else { header(Location: http://www.yahoo.com/;); } regds, -Original Message- From: christian tischler [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 16, 2003 16:11 To: [EMAIL PROTECTED] Subject: call a website

[PHP] RE: SQL Query

2003-02-15 Thread Uttam
if i understand you correctly then this should give valid interests of a user: SELECT DISTINCT InterestsList.SubID FROM InterestsIndex INNER JOIN InterestList ON InterestIndex.InterestID=InterestList.ID WHERE InterestIndex.UserID='1' AND

RE: [PHP] Disable pic copy/save?

2003-01-23 Thread Uttam
alternate to right click is Shift-F10 in IE which i think can not be handled by javascript. uttam -Original Message- From: Martin Hudec [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 15:47 To: [EMAIL PROTECTED] Subject: Re: [PHP] Disable pic copy/save? H it might

[PHP] Who is foo what is bar?

2003-01-23 Thread Uttam
Hi list! I think this topic is worth discussion here... regds, -Original Message- From: Uttam [mailto:[EMAIL PROTECTED]] Sent: 21 January 2003 13:29 To:[EMAIL PROTECTED] Subject: [PHP-WIN] Who is foo what is bar? In many code examples in PHP documention ( others also), I have seen